Name | Type | Description | Notes |
---|---|---|---|
Organizations | Pointer to []OrganizationMembershipResponse | [optional] | |
UserId | Pointer to int64 | [optional] | |
Admin | Pointer to bool | [optional] |
func NewUserServiceMembershipResponse() *UserServiceMembershipResponse
NewUserServiceMembershipResponse instantiates a new UserServiceMembershipResponse 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 NewUserServiceMembershipResponseWithDefaults() *UserServiceMembershipResponse
NewUserServiceMembershipResponseWithDefaults instantiates a new UserServiceMembershipResponse 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 *UserServiceMembershipResponse) GetOrganizations() []OrganizationMembershipResponse
GetOrganizations returns the Organizations field if non-nil, zero value otherwise.
func (o *UserServiceMembershipResponse) GetOrganizationsOk() (*[]OrganizationMembershipResponse, bool)
GetOrganizationsOk returns a tuple with the Organizations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserServiceMembershipResponse) SetOrganizations(v []OrganizationMembershipResponse)
SetOrganizations sets Organizations field to given value.
func (o *UserServiceMembershipResponse) HasOrganizations() bool
HasOrganizations returns a boolean if a field has been set.
func (o *UserServiceMembershipResponse) GetUserId() int64
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *UserServiceMembershipResponse) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserServiceMembershipResponse) SetUserId(v int64)
SetUserId sets UserId field to given value.
func (o *UserServiceMembershipResponse) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *UserServiceMembershipResponse) GetAdmin() bool
GetAdmin returns the Admin field if non-nil, zero value otherwise.
func (o *UserServiceMembershipResponse) GetAdminOk() (*bool, bool)
GetAdminOk returns a tuple with the Admin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserServiceMembershipResponse) SetAdmin(v bool)
SetAdmin sets Admin field to given value.
func (o *UserServiceMembershipResponse) HasAdmin() bool
HasAdmin returns a boolean if a field has been set.