Skip to content

Latest commit

 

History

History
440 lines (239 loc) · 13.9 KB

PatchedPlexSourceRequest.md

File metadata and controls

440 lines (239 loc) · 13.9 KB

PatchedPlexSourceRequest

Properties

Name Type Description Notes
Name Pointer to string Source's display Name. [optional]
Slug Pointer to string Internal source name, used in URLs. [optional]
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 Pointer to string Plex token used to check friends [optional]

Methods

NewPatchedPlexSourceRequest

func NewPatchedPlexSourceRequest() *PatchedPlexSourceRequest

NewPatchedPlexSourceRequest instantiates a new PatchedPlexSourceRequest 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

NewPatchedPlexSourceRequestWithDefaults

func NewPatchedPlexSourceRequestWithDefaults() *PatchedPlexSourceRequest

NewPatchedPlexSourceRequestWithDefaults instantiates a new PatchedPlexSourceRequest 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

GetName

func (o *PatchedPlexSourceRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PatchedPlexSourceRequest) 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.

SetName

func (o *PatchedPlexSourceRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PatchedPlexSourceRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetSlug

func (o *PatchedPlexSourceRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *PatchedPlexSourceRequest) 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.

SetSlug

func (o *PatchedPlexSourceRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *PatchedPlexSourceRequest) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetEnabled

func (o *PatchedPlexSourceRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *PatchedPlexSourceRequest) 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.

SetEnabled

func (o *PatchedPlexSourceRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *PatchedPlexSourceRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetAuthenticationFlow

func (o *PatchedPlexSourceRequest) GetAuthenticationFlow() string

GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.

GetAuthenticationFlowOk

func (o *PatchedPlexSourceRequest) 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.

SetAuthenticationFlow

func (o *PatchedPlexSourceRequest) SetAuthenticationFlow(v string)

SetAuthenticationFlow sets AuthenticationFlow field to given value.

HasAuthenticationFlow

func (o *PatchedPlexSourceRequest) HasAuthenticationFlow() bool

HasAuthenticationFlow returns a boolean if a field has been set.

SetAuthenticationFlowNil

func (o *PatchedPlexSourceRequest) SetAuthenticationFlowNil(b bool)

SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil

UnsetAuthenticationFlow

func (o *PatchedPlexSourceRequest) UnsetAuthenticationFlow()

UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil

GetEnrollmentFlow

func (o *PatchedPlexSourceRequest) GetEnrollmentFlow() string

GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.

GetEnrollmentFlowOk

func (o *PatchedPlexSourceRequest) 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.

SetEnrollmentFlow

func (o *PatchedPlexSourceRequest) SetEnrollmentFlow(v string)

SetEnrollmentFlow sets EnrollmentFlow field to given value.

HasEnrollmentFlow

func (o *PatchedPlexSourceRequest) HasEnrollmentFlow() bool

HasEnrollmentFlow returns a boolean if a field has been set.

SetEnrollmentFlowNil

func (o *PatchedPlexSourceRequest) SetEnrollmentFlowNil(b bool)

SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil

UnsetEnrollmentFlow

func (o *PatchedPlexSourceRequest) UnsetEnrollmentFlow()

UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil

GetUserPropertyMappings

func (o *PatchedPlexSourceRequest) GetUserPropertyMappings() []string

GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.

GetUserPropertyMappingsOk

func (o *PatchedPlexSourceRequest) 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.

SetUserPropertyMappings

func (o *PatchedPlexSourceRequest) SetUserPropertyMappings(v []string)

SetUserPropertyMappings sets UserPropertyMappings field to given value.

HasUserPropertyMappings

func (o *PatchedPlexSourceRequest) HasUserPropertyMappings() bool

HasUserPropertyMappings returns a boolean if a field has been set.

GetGroupPropertyMappings

func (o *PatchedPlexSourceRequest) GetGroupPropertyMappings() []string

GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.

GetGroupPropertyMappingsOk

func (o *PatchedPlexSourceRequest) 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.

SetGroupPropertyMappings

func (o *PatchedPlexSourceRequest) SetGroupPropertyMappings(v []string)

SetGroupPropertyMappings sets GroupPropertyMappings field to given value.

HasGroupPropertyMappings

func (o *PatchedPlexSourceRequest) HasGroupPropertyMappings() bool

HasGroupPropertyMappings returns a boolean if a field has been set.

GetPolicyEngineMode

func (o *PatchedPlexSourceRequest) GetPolicyEngineMode() PolicyEngineMode

GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.

GetPolicyEngineModeOk

func (o *PatchedPlexSourceRequest) 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.

SetPolicyEngineMode

func (o *PatchedPlexSourceRequest) SetPolicyEngineMode(v PolicyEngineMode)

SetPolicyEngineMode sets PolicyEngineMode field to given value.

HasPolicyEngineMode

func (o *PatchedPlexSourceRequest) HasPolicyEngineMode() bool

HasPolicyEngineMode returns a boolean if a field has been set.

GetUserMatchingMode

func (o *PatchedPlexSourceRequest) GetUserMatchingMode() UserMatchingModeEnum

GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.

GetUserMatchingModeOk

func (o *PatchedPlexSourceRequest) 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.

SetUserMatchingMode

func (o *PatchedPlexSourceRequest) SetUserMatchingMode(v UserMatchingModeEnum)

SetUserMatchingMode sets UserMatchingMode field to given value.

HasUserMatchingMode

func (o *PatchedPlexSourceRequest) HasUserMatchingMode() bool

HasUserMatchingMode returns a boolean if a field has been set.

GetUserPathTemplate

func (o *PatchedPlexSourceRequest) GetUserPathTemplate() string

GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.

GetUserPathTemplateOk

func (o *PatchedPlexSourceRequest) 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.

SetUserPathTemplate

func (o *PatchedPlexSourceRequest) SetUserPathTemplate(v string)

SetUserPathTemplate sets UserPathTemplate field to given value.

HasUserPathTemplate

func (o *PatchedPlexSourceRequest) HasUserPathTemplate() bool

HasUserPathTemplate returns a boolean if a field has been set.

GetGroupMatchingMode

func (o *PatchedPlexSourceRequest) GetGroupMatchingMode() GroupMatchingModeEnum

GetGroupMatchingMode returns the GroupMatchingMode field if non-nil, zero value otherwise.

GetGroupMatchingModeOk

func (o *PatchedPlexSourceRequest) 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.

SetGroupMatchingMode

func (o *PatchedPlexSourceRequest) SetGroupMatchingMode(v GroupMatchingModeEnum)

SetGroupMatchingMode sets GroupMatchingMode field to given value.

HasGroupMatchingMode

func (o *PatchedPlexSourceRequest) HasGroupMatchingMode() bool

HasGroupMatchingMode returns a boolean if a field has been set.

GetClientId

func (o *PatchedPlexSourceRequest) GetClientId() string

GetClientId returns the ClientId field if non-nil, zero value otherwise.

GetClientIdOk

func (o *PatchedPlexSourceRequest) 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.

SetClientId

func (o *PatchedPlexSourceRequest) SetClientId(v string)

SetClientId sets ClientId field to given value.

HasClientId

func (o *PatchedPlexSourceRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

GetAllowedServers

func (o *PatchedPlexSourceRequest) GetAllowedServers() []string

GetAllowedServers returns the AllowedServers field if non-nil, zero value otherwise.

GetAllowedServersOk

func (o *PatchedPlexSourceRequest) 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.

SetAllowedServers

func (o *PatchedPlexSourceRequest) SetAllowedServers(v []string)

SetAllowedServers sets AllowedServers field to given value.

HasAllowedServers

func (o *PatchedPlexSourceRequest) HasAllowedServers() bool

HasAllowedServers returns a boolean if a field has been set.

GetAllowFriends

func (o *PatchedPlexSourceRequest) GetAllowFriends() bool

GetAllowFriends returns the AllowFriends field if non-nil, zero value otherwise.

GetAllowFriendsOk

func (o *PatchedPlexSourceRequest) 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.

SetAllowFriends

func (o *PatchedPlexSourceRequest) SetAllowFriends(v bool)

SetAllowFriends sets AllowFriends field to given value.

HasAllowFriends

func (o *PatchedPlexSourceRequest) HasAllowFriends() bool

HasAllowFriends returns a boolean if a field has been set.

GetPlexToken

func (o *PatchedPlexSourceRequest) GetPlexToken() string

GetPlexToken returns the PlexToken field if non-nil, zero value otherwise.

GetPlexTokenOk

func (o *PatchedPlexSourceRequest) 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.

SetPlexToken

func (o *PatchedPlexSourceRequest) SetPlexToken(v string)

SetPlexToken sets PlexToken field to given value.

HasPlexToken

func (o *PatchedPlexSourceRequest) HasPlexToken() bool

HasPlexToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]