Name | Type | Description | Notes |
---|---|---|---|
Id | string | The unique identifier of this group in WorkOS. Not the unique ID from GitBook. | |
IdpId | string | The identity provider's unique ID for this group, should be used to generate the team's unique ID when syncing the groups. | |
DirectoryId | string | The unique ID of the directory this group is owned by in WorkOS. Is not a unique ID from our database. | |
Name | string | The name of the group from the identity provider, it should always be set according to the WorkOS documentation. | |
TeamKey | Pointer to string | The unique ID of the GitBook team already synced to this group, if applicable. | [optional] |
func NewOrganizationDirectorySyncGroup(id string, idpId string, directoryId string, name string, ) *OrganizationDirectorySyncGroup
NewOrganizationDirectorySyncGroup instantiates a new OrganizationDirectorySyncGroup 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 NewOrganizationDirectorySyncGroupWithDefaults() *OrganizationDirectorySyncGroup
NewOrganizationDirectorySyncGroupWithDefaults instantiates a new OrganizationDirectorySyncGroup 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 *OrganizationDirectorySyncGroup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OrganizationDirectorySyncGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationDirectorySyncGroup) SetId(v string)
SetId sets Id field to given value.
func (o *OrganizationDirectorySyncGroup) GetIdpId() string
GetIdpId returns the IdpId field if non-nil, zero value otherwise.
func (o *OrganizationDirectorySyncGroup) GetIdpIdOk() (*string, bool)
GetIdpIdOk returns a tuple with the IdpId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationDirectorySyncGroup) SetIdpId(v string)
SetIdpId sets IdpId field to given value.
func (o *OrganizationDirectorySyncGroup) GetDirectoryId() string
GetDirectoryId returns the DirectoryId field if non-nil, zero value otherwise.
func (o *OrganizationDirectorySyncGroup) GetDirectoryIdOk() (*string, bool)
GetDirectoryIdOk returns a tuple with the DirectoryId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationDirectorySyncGroup) SetDirectoryId(v string)
SetDirectoryId sets DirectoryId field to given value.
func (o *OrganizationDirectorySyncGroup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OrganizationDirectorySyncGroup) 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 *OrganizationDirectorySyncGroup) SetName(v string)
SetName sets Name field to given value.
func (o *OrganizationDirectorySyncGroup) GetTeamKey() string
GetTeamKey returns the TeamKey field if non-nil, zero value otherwise.
func (o *OrganizationDirectorySyncGroup) GetTeamKeyOk() (*string, bool)
GetTeamKeyOk returns a tuple with the TeamKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationDirectorySyncGroup) SetTeamKey(v string)
SetTeamKey sets TeamKey field to given value.
func (o *OrganizationDirectorySyncGroup) HasTeamKey() bool
HasTeamKey returns a boolean if a field has been set.