Name | Type | Description | Notes |
---|---|---|---|
Name | string | Source's display Name. | |
Slug | string | Internal source name, used in URLs. | |
Enabled | Pointer to bool | [optional] | |
AuthenticationFlow | Pointer to NullableString | Flow to use when authenticating existing users. | [optional] |
EnrollmentFlow | Pointer to NullableString | Flow to use when enrolling new users. | [optional] |
UserPropertyMappings | Pointer to []string | [optional] | |
GroupPropertyMappings | Pointer to []string | [optional] | |
PolicyEngineMode | Pointer to PolicyEngineMode | [optional] | |
UserMatchingMode | Pointer to UserMatchingModeEnum | How the source determines if an existing user should be authenticated or a new user enrolled. | [optional] |
UserPathTemplate | Pointer to string | [optional] | |
GroupMatchingMode | Pointer to GroupMatchingModeEnum | How the source determines if an existing group should be used or a new group created. | [optional] |
ClientId | Pointer to string | Client identifier used to talk to Plex. | [optional] |
AllowedServers | Pointer to []string | Which servers a user has to be a member of to be granted access. Empty list allows every server. | [optional] |
AllowFriends | Pointer to bool | Allow friends to authenticate, even if you don't share a server. | [optional] |
PlexToken | string | Plex token used to check friends |
func NewPlexSourceRequest(name string, slug string, plexToken string, ) *PlexSourceRequest
NewPlexSourceRequest instantiates a new PlexSourceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlexSourceRequestWithDefaults() *PlexSourceRequest
NewPlexSourceRequestWithDefaults instantiates a new PlexSourceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PlexSourceRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PlexSourceRequest) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *PlexSourceRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *PlexSourceRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetAuthenticationFlow() string
GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetAuthenticationFlowOk() (*string, bool)
GetAuthenticationFlowOk returns a tuple with the AuthenticationFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetAuthenticationFlow(v string)
SetAuthenticationFlow sets AuthenticationFlow field to given value.
func (o *PlexSourceRequest) HasAuthenticationFlow() bool
HasAuthenticationFlow returns a boolean if a field has been set.
func (o *PlexSourceRequest) SetAuthenticationFlowNil(b bool)
SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil
func (o *PlexSourceRequest) UnsetAuthenticationFlow()
UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil
func (o *PlexSourceRequest) GetEnrollmentFlow() string
GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetEnrollmentFlowOk() (*string, bool)
GetEnrollmentFlowOk returns a tuple with the EnrollmentFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetEnrollmentFlow(v string)
SetEnrollmentFlow sets EnrollmentFlow field to given value.
func (o *PlexSourceRequest) HasEnrollmentFlow() bool
HasEnrollmentFlow returns a boolean if a field has been set.
func (o *PlexSourceRequest) SetEnrollmentFlowNil(b bool)
SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil
func (o *PlexSourceRequest) UnsetEnrollmentFlow()
UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil
func (o *PlexSourceRequest) GetUserPropertyMappings() []string
GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetUserPropertyMappingsOk() (*[]string, bool)
GetUserPropertyMappingsOk returns a tuple with the UserPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetUserPropertyMappings(v []string)
SetUserPropertyMappings sets UserPropertyMappings field to given value.
func (o *PlexSourceRequest) HasUserPropertyMappings() bool
HasUserPropertyMappings returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetGroupPropertyMappings() []string
GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetGroupPropertyMappingsOk() (*[]string, bool)
GetGroupPropertyMappingsOk returns a tuple with the GroupPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetGroupPropertyMappings(v []string)
SetGroupPropertyMappings sets GroupPropertyMappings field to given value.
func (o *PlexSourceRequest) HasGroupPropertyMappings() bool
HasGroupPropertyMappings returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetPolicyEngineMode() PolicyEngineMode
GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetPolicyEngineModeOk() (*PolicyEngineMode, bool)
GetPolicyEngineModeOk returns a tuple with the PolicyEngineMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetPolicyEngineMode(v PolicyEngineMode)
SetPolicyEngineMode sets PolicyEngineMode field to given value.
func (o *PlexSourceRequest) HasPolicyEngineMode() bool
HasPolicyEngineMode returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetUserMatchingMode() UserMatchingModeEnum
GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetUserMatchingModeOk() (*UserMatchingModeEnum, bool)
GetUserMatchingModeOk returns a tuple with the UserMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetUserMatchingMode(v UserMatchingModeEnum)
SetUserMatchingMode sets UserMatchingMode field to given value.
func (o *PlexSourceRequest) HasUserMatchingMode() bool
HasUserMatchingMode returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetUserPathTemplate() string
GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetUserPathTemplateOk() (*string, bool)
GetUserPathTemplateOk returns a tuple with the UserPathTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetUserPathTemplate(v string)
SetUserPathTemplate sets UserPathTemplate field to given value.
func (o *PlexSourceRequest) HasUserPathTemplate() bool
HasUserPathTemplate returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetGroupMatchingMode() GroupMatchingModeEnum
GetGroupMatchingMode returns the GroupMatchingMode field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetGroupMatchingModeOk() (*GroupMatchingModeEnum, bool)
GetGroupMatchingModeOk returns a tuple with the GroupMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetGroupMatchingMode(v GroupMatchingModeEnum)
SetGroupMatchingMode sets GroupMatchingMode field to given value.
func (o *PlexSourceRequest) HasGroupMatchingMode() bool
HasGroupMatchingMode returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetClientId() string
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetClientId(v string)
SetClientId sets ClientId field to given value.
func (o *PlexSourceRequest) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetAllowedServers() []string
GetAllowedServers returns the AllowedServers field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetAllowedServersOk() (*[]string, bool)
GetAllowedServersOk returns a tuple with the AllowedServers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetAllowedServers(v []string)
SetAllowedServers sets AllowedServers field to given value.
func (o *PlexSourceRequest) HasAllowedServers() bool
HasAllowedServers returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetAllowFriends() bool
GetAllowFriends returns the AllowFriends field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetAllowFriendsOk() (*bool, bool)
GetAllowFriendsOk returns a tuple with the AllowFriends field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetAllowFriends(v bool)
SetAllowFriends sets AllowFriends field to given value.
func (o *PlexSourceRequest) HasAllowFriends() bool
HasAllowFriends returns a boolean if a field has been set.
func (o *PlexSourceRequest) GetPlexToken() string
GetPlexToken returns the PlexToken field if non-nil, zero value otherwise.
func (o *PlexSourceRequest) GetPlexTokenOk() (*string, bool)
GetPlexTokenOk returns a tuple with the PlexToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlexSourceRequest) SetPlexToken(v string)
SetPlexToken sets PlexToken field to given value.