Documentation
¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
- func (a *APIClient) AddMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
- func (a *APIClient) ListMembersExecute(ctx context.Context, resourceType string, resourceId string) (*ListMembersResponse, error)
- func (a *APIClient) ListPermissions(ctx context.Context) ApiListPermissionsRequest
- func (a *APIClient) ListPermissionsExecute(ctx context.Context) (*ListPermissionsResponse, error)
- func (a *APIClient) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
- func (a *APIClient) ListRolesExecute(ctx context.Context, resourceType string, resourceId string) (*RolesResponse, error)
- func (a *APIClient) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
- func (a *APIClient) ListUserMembershipsExecute(ctx context.Context, email string) (*ListUserMembershipsResponse, error)
- func (a *APIClient) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
- func (a *APIClient) ListUserPermissionsExecute(ctx context.Context, email string) (*ListUserPermissionsResponse, error)
- func (a *APIClient) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
- func (a *APIClient) RemoveMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)
- type AddMembersPayload
- func (o *AddMembersPayload) GetMembers() *[]Member
- func (o *AddMembersPayload) GetMembersOk() (*[]Member, bool)
- func (o *AddMembersPayload) GetResourceType() *string
- func (o *AddMembersPayload) GetResourceTypeOk() (*string, bool)
- func (o *AddMembersPayload) SetMembers(v *[]Member)
- func (o *AddMembersPayload) SetResourceType(v *string)
- func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
- type ApiAddMembersRequest
- type ApiListMembersRequest
- type ApiListPermissionsRequest
- type ApiListRolesRequest
- type ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
- func (r ApiListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
- type ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
- func (r ApiListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
- type ApiRemoveMembersRequest
- type DefaultApiService
- type ErrorResponse
- func (o *ErrorResponse) GetError() *string
- func (o *ErrorResponse) GetErrorOk() (*string, bool)
- func (o *ErrorResponse) GetMessage() *string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetPath() *string
- func (o *ErrorResponse) GetPathOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() *int64
- func (o *ErrorResponse) GetStatusOk() (*int64, bool)
- func (o *ErrorResponse) GetTimeStamp() *time.Time
- func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
- func (o *ErrorResponse) SetError(v *string)
- func (o *ErrorResponse) SetMessage(v *string)
- func (o *ErrorResponse) SetPath(v *string)
- func (o *ErrorResponse) SetStatus(v *int64)
- func (o *ErrorResponse) SetTimeStamp(v *time.Time)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type ExistingPermission
- func (o *ExistingPermission) GetDescription() *string
- func (o *ExistingPermission) GetDescriptionOk() (*string, bool)
- func (o *ExistingPermission) GetName() *string
- func (o *ExistingPermission) GetNameOk() (*string, bool)
- func (o *ExistingPermission) SetDescription(v *string)
- func (o *ExistingPermission) SetName(v *string)
- func (o ExistingPermission) ToMap() (map[string]interface{}, error)
- type ListMembersResponse
- func (o *ListMembersResponse) GetMembers() *[]Member
- func (o *ListMembersResponse) GetMembersOk() (*[]Member, bool)
- func (o *ListMembersResponse) GetResourceId() *string
- func (o *ListMembersResponse) GetResourceIdOk() (*string, bool)
- func (o *ListMembersResponse) GetResourceType() *string
- func (o *ListMembersResponse) GetResourceTypeOk() (*string, bool)
- func (o *ListMembersResponse) SetMembers(v *[]Member)
- func (o *ListMembersResponse) SetResourceId(v *string)
- func (o *ListMembersResponse) SetResourceType(v *string)
- func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
- type ListPermissionsResponse
- type ListUserMembershipsResponse
- type ListUserPermissionsResponse
- type MappedNullable
- type Member
- type MembersResponse
- func (o *MembersResponse) GetMembers() *[]Member
- func (o *MembersResponse) GetMembersOk() (*[]Member, bool)
- func (o *MembersResponse) GetResourceId() *string
- func (o *MembersResponse) GetResourceIdOk() (*string, bool)
- func (o *MembersResponse) GetResourceType() *string
- func (o *MembersResponse) GetResourceTypeOk() (*string, bool)
- func (o *MembersResponse) GetWrittenAt() *Zookie
- func (o *MembersResponse) GetWrittenAtOk() (*Zookie, bool)
- func (o *MembersResponse) HasWrittenAt() bool
- func (o *MembersResponse) SetMembers(v *[]Member)
- func (o *MembersResponse) SetResourceId(v *string)
- func (o *MembersResponse) SetResourceType(v *string)
- func (o *MembersResponse) SetWrittenAt(v *Zookie)
- func (o MembersResponse) ToMap() (map[string]interface{}, error)
- type NullableAddMembersPayload
- func (v NullableAddMembersPayload) Get() *AddMembersPayload
- func (v NullableAddMembersPayload) IsSet() bool
- func (v NullableAddMembersPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddMembersPayload) Set(val *AddMembersPayload)
- func (v *NullableAddMembersPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddMembersPayload) Unset()
- type NullableBool
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableExistingPermission
- func (v NullableExistingPermission) Get() *ExistingPermission
- func (v NullableExistingPermission) IsSet() bool
- func (v NullableExistingPermission) MarshalJSON() ([]byte, error)
- func (v *NullableExistingPermission) Set(val *ExistingPermission)
- func (v *NullableExistingPermission) UnmarshalJSON(src []byte) error
- func (v *NullableExistingPermission) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListMembersResponse
- func (v NullableListMembersResponse) Get() *ListMembersResponse
- func (v NullableListMembersResponse) IsSet() bool
- func (v NullableListMembersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListMembersResponse) Set(val *ListMembersResponse)
- func (v *NullableListMembersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListMembersResponse) Unset()
- type NullableListPermissionsResponse
- func (v NullableListPermissionsResponse) Get() *ListPermissionsResponse
- func (v NullableListPermissionsResponse) IsSet() bool
- func (v NullableListPermissionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListPermissionsResponse) Set(val *ListPermissionsResponse)
- func (v *NullableListPermissionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListPermissionsResponse) Unset()
- type NullableListUserMembershipsResponse
- func (v NullableListUserMembershipsResponse) Get() *ListUserMembershipsResponse
- func (v NullableListUserMembershipsResponse) IsSet() bool
- func (v NullableListUserMembershipsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUserMembershipsResponse) Set(val *ListUserMembershipsResponse)
- func (v *NullableListUserMembershipsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUserMembershipsResponse) Unset()
- type NullableListUserPermissionsResponse
- func (v NullableListUserPermissionsResponse) Get() *ListUserPermissionsResponse
- func (v NullableListUserPermissionsResponse) IsSet() bool
- func (v NullableListUserPermissionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUserPermissionsResponse) Set(val *ListUserPermissionsResponse)
- func (v *NullableListUserPermissionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUserPermissionsResponse) Unset()
- type NullableMember
- type NullableMembersResponse
- func (v NullableMembersResponse) Get() *MembersResponse
- func (v NullableMembersResponse) IsSet() bool
- func (v NullableMembersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMembersResponse) Set(val *MembersResponse)
- func (v *NullableMembersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMembersResponse) Unset()
- type NullablePermission
- type NullableRemoveMembersPayload
- func (v NullableRemoveMembersPayload) Get() *RemoveMembersPayload
- func (v NullableRemoveMembersPayload) IsSet() bool
- func (v NullableRemoveMembersPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRemoveMembersPayload) Set(val *RemoveMembersPayload)
- func (v *NullableRemoveMembersPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRemoveMembersPayload) Unset()
- type NullableRole
- type NullableRolesResponse
- func (v NullableRolesResponse) Get() *RolesResponse
- func (v NullableRolesResponse) IsSet() bool
- func (v NullableRolesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRolesResponse) Set(val *RolesResponse)
- func (v *NullableRolesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRolesResponse) Unset()
- type NullableString
- type NullableTime
- type NullableUserMembership
- func (v NullableUserMembership) Get() *UserMembership
- func (v NullableUserMembership) IsSet() bool
- func (v NullableUserMembership) MarshalJSON() ([]byte, error)
- func (v *NullableUserMembership) Set(val *UserMembership)
- func (v *NullableUserMembership) UnmarshalJSON(src []byte) error
- func (v *NullableUserMembership) Unset()
- type NullableUserPermission
- func (v NullableUserPermission) Get() *UserPermission
- func (v NullableUserPermission) IsSet() bool
- func (v NullableUserPermission) MarshalJSON() ([]byte, error)
- func (v *NullableUserPermission) Set(val *UserPermission)
- func (v *NullableUserPermission) UnmarshalJSON(src []byte) error
- func (v *NullableUserPermission) Unset()
- type NullableZookie
- type Permission
- func (o *Permission) GetDescription() *string
- func (o *Permission) GetDescriptionOk() (*string, bool)
- func (o *Permission) GetName() *string
- func (o *Permission) GetNameOk() (*string, bool)
- func (o *Permission) SetDescription(v *string)
- func (o *Permission) SetName(v *string)
- func (o Permission) ToMap() (map[string]interface{}, error)
- type RemoveMembersPayload
- func (o *RemoveMembersPayload) GetForceRemove() *bool
- func (o *RemoveMembersPayload) GetForceRemoveOk() (*bool, bool)
- func (o *RemoveMembersPayload) GetMembers() *[]Member
- func (o *RemoveMembersPayload) GetMembersOk() (*[]Member, bool)
- func (o *RemoveMembersPayload) GetResourceType() *string
- func (o *RemoveMembersPayload) GetResourceTypeOk() (*string, bool)
- func (o *RemoveMembersPayload) HasForceRemove() bool
- func (o *RemoveMembersPayload) SetForceRemove(v *bool)
- func (o *RemoveMembersPayload) SetMembers(v *[]Member)
- func (o *RemoveMembersPayload) SetResourceType(v *string)
- func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
- type Role
- func (o *Role) GetDescription() *string
- func (o *Role) GetDescriptionOk() (*string, bool)
- func (o *Role) GetId() *string
- func (o *Role) GetIdOk() (*string, bool)
- func (o *Role) GetName() *string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetPermissions() *[]Permission
- func (o *Role) GetPermissionsOk() (*[]Permission, bool)
- func (o *Role) HasId() bool
- func (o *Role) SetDescription(v *string)
- func (o *Role) SetId(v *string)
- func (o *Role) SetName(v *string)
- func (o *Role) SetPermissions(v *[]Permission)
- func (o Role) ToMap() (map[string]interface{}, error)
- type RolesResponse
- func (o *RolesResponse) GetResourceId() *string
- func (o *RolesResponse) GetResourceIdOk() (*string, bool)
- func (o *RolesResponse) GetResourceType() *string
- func (o *RolesResponse) GetResourceTypeOk() (*string, bool)
- func (o *RolesResponse) GetRoles() *[]Role
- func (o *RolesResponse) GetRolesOk() (*[]Role, bool)
- func (o *RolesResponse) SetResourceId(v *string)
- func (o *RolesResponse) SetResourceType(v *string)
- func (o *RolesResponse) SetRoles(v *[]Role)
- func (o RolesResponse) ToMap() (map[string]interface{}, error)
- type UserMembership
- func (o *UserMembership) GetResourceId() *string
- func (o *UserMembership) GetResourceIdOk() (*string, bool)
- func (o *UserMembership) GetResourceType() *string
- func (o *UserMembership) GetResourceTypeOk() (*string, bool)
- func (o *UserMembership) GetRole() *string
- func (o *UserMembership) GetRoleOk() (*string, bool)
- func (o *UserMembership) GetSubject() *string
- func (o *UserMembership) GetSubjectOk() (*string, bool)
- func (o *UserMembership) SetResourceId(v *string)
- func (o *UserMembership) SetResourceType(v *string)
- func (o *UserMembership) SetRole(v *string)
- func (o *UserMembership) SetSubject(v *string)
- func (o UserMembership) ToMap() (map[string]interface{}, error)
- type UserPermission
- func (o *UserPermission) GetPermissions() *[]ExistingPermission
- func (o *UserPermission) GetPermissionsOk() (*[]ExistingPermission, bool)
- func (o *UserPermission) GetResourceId() *string
- func (o *UserPermission) GetResourceIdOk() (*string, bool)
- func (o *UserPermission) GetResourceType() *string
- func (o *UserPermission) GetResourceTypeOk() (*string, bool)
- func (o *UserPermission) SetPermissions(v *[]ExistingPermission)
- func (o *UserPermission) SetResourceId(v *string)
- func (o *UserPermission) SetResourceType(v *string)
- func (o UserPermission) ToMap() (map[string]interface{}, error)
- type Zookie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Membership API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) AddMembers ¶
func (a *APIClient) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
AddMembers: Add members to a resource
Add members to the given resource with specified roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceId @return ApiAddMembersRequest
func (*APIClient) AddMembersExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) ListMembers ¶
func (a *APIClient) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
ListMembers: Get members to a resource
List members of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @return ApiListMembersRequest
func (*APIClient) ListMembersExecute ¶
func (*APIClient) ListPermissions ¶
func (a *APIClient) ListPermissions(ctx context.Context) ApiListPermissionsRequest
ListPermissions: Get available permissions
Get available permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPermissionsRequest
func (*APIClient) ListPermissionsExecute ¶
func (a *APIClient) ListPermissionsExecute(ctx context.Context) (*ListPermissionsResponse, error)
func (*APIClient) ListRoles ¶
func (a *APIClient) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
ListRoles: Get roles and permissions of a resource
Get roles and permissions of a resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @return ApiListRolesRequest
func (*APIClient) ListRolesExecute ¶
func (*APIClient) ListUserMemberships ¶
func (a *APIClient) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
ListUserMemberships: List memberships of a user
List memberships of a user. An administrative access is needed to list any user's memberships, while the user can do it on his/her own email. You can use filters to scope the request to a project/folder/organization. In this case -if caller is not the subject-, owner permissions are required. Because of hierarchical role bindings, the user might have permissions on more resources.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param email @return ApiListUserMembershipsRequest
func (*APIClient) ListUserMembershipsExecute ¶
func (*APIClient) ListUserPermissions ¶ added in v0.4.0
func (a *APIClient) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
ListUserPermissions: List permissions of a user
List permissions of a user. An administrative access is needed to list any user's permissions, while the user can do it on his/her own email. Lists every resource of the given type where the user has any effective permissions. When requested, also lists why the permission is present.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param email @return ApiListUserPermissionsRequest
func (*APIClient) ListUserPermissionsExecute ¶ added in v0.4.0
func (*APIClient) RemoveMembers ¶
func (a *APIClient) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
RemoveMembers: Remove members from a resource
Remove members from the given resource with specified roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceId @return ApiRemoveMembersRequest
func (*APIClient) RemoveMembersExecute ¶
type AddMembersPayload ¶
type AddMembersPayload struct { // REQUIRED Members *[]Member `json:"members"` // REQUIRED ResourceType *string `json:"resourceType"` }
AddMembersPayload struct for AddMembersPayload
func NewAddMembersPayload ¶ added in v0.4.0
func NewAddMembersPayload(members *[]Member, resourceType *string) *AddMembersPayload
NewAddMembersPayload instantiates a new AddMembersPayload 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 NewAddMembersPayloadWithDefaults ¶ added in v0.4.0
func NewAddMembersPayloadWithDefaults() *AddMembersPayload
NewAddMembersPayloadWithDefaults instantiates a new AddMembersPayload 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 (*AddMembersPayload) GetMembers ¶ added in v0.4.0
func (o *AddMembersPayload) GetMembers() *[]Member
GetMembers returns the Members field value
func (*AddMembersPayload) GetMembersOk ¶ added in v0.4.0
func (o *AddMembersPayload) GetMembersOk() (*[]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*AddMembersPayload) GetResourceType ¶ added in v0.4.0
func (o *AddMembersPayload) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*AddMembersPayload) GetResourceTypeOk ¶ added in v0.4.0
func (o *AddMembersPayload) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*AddMembersPayload) SetMembers ¶ added in v0.4.0
func (o *AddMembersPayload) SetMembers(v *[]Member)
SetMembers sets field value
func (*AddMembersPayload) SetResourceType ¶ added in v0.4.0
func (o *AddMembersPayload) SetResourceType(v *string)
SetResourceType sets field value
func (AddMembersPayload) ToMap ¶ added in v0.4.0
func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
type ApiAddMembersRequest ¶
type ApiAddMembersRequest struct {
// contains filtered or unexported fields
}
func (ApiAddMembersRequest) AddMembersPayload ¶
func (r ApiAddMembersRequest) AddMembersPayload(addMembersPayload AddMembersPayload) ApiAddMembersRequest
func (ApiAddMembersRequest) Execute ¶
func (r ApiAddMembersRequest) Execute() (*MembersResponse, error)
type ApiListMembersRequest ¶
type ApiListMembersRequest struct {
// contains filtered or unexported fields
}
func (ApiListMembersRequest) Execute ¶
func (r ApiListMembersRequest) Execute() (*ListMembersResponse, error)
func (ApiListMembersRequest) Subject ¶
func (r ApiListMembersRequest) Subject(subject string) ApiListMembersRequest
type ApiListPermissionsRequest ¶
type ApiListPermissionsRequest struct {
// contains filtered or unexported fields
}
func (ApiListPermissionsRequest) Execute ¶
func (r ApiListPermissionsRequest) Execute() (*ListPermissionsResponse, error)
func (ApiListPermissionsRequest) ResourceType ¶
func (r ApiListPermissionsRequest) ResourceType(resourceType string) ApiListPermissionsRequest
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*RolesResponse, error)
type ApiListUserMembershipsRequest ¶
type ApiListUserMembershipsRequest struct {
// contains filtered or unexported fields
}
func (ApiListUserMembershipsRequest) Execute ¶
func (r ApiListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
func (ApiListUserMembershipsRequest) ParentResourceId ¶
func (r ApiListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
func (ApiListUserMembershipsRequest) ResourceId ¶
func (r ApiListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
func (ApiListUserMembershipsRequest) ResourceType ¶
func (r ApiListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
type ApiListUserPermissionsRequest ¶ added in v0.4.0
type ApiListUserPermissionsRequest struct {
// contains filtered or unexported fields
}
func (ApiListUserPermissionsRequest) Execute ¶ added in v0.4.0
func (r ApiListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
func (ApiListUserPermissionsRequest) Permissions ¶ added in v0.4.0
func (r ApiListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
func (ApiListUserPermissionsRequest) Resource ¶ added in v0.4.0
func (r ApiListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
func (ApiListUserPermissionsRequest) ResourceType ¶ added in v0.4.0
func (r ApiListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
type ApiRemoveMembersRequest ¶
type ApiRemoveMembersRequest struct {
// contains filtered or unexported fields
}
func (ApiRemoveMembersRequest) Execute ¶
func (r ApiRemoveMembersRequest) Execute() (*MembersResponse, error)
func (ApiRemoveMembersRequest) RemoveMembersPayload ¶
func (r ApiRemoveMembersRequest) RemoveMembersPayload(removeMembersPayload RemoveMembersPayload) ApiRemoveMembersRequest
type ErrorResponse ¶
type ErrorResponse struct { // REQUIRED Error *string `json:"error"` // REQUIRED Message *string `json:"message"` // REQUIRED Path *string `json:"path"` // REQUIRED Status *int64 `json:"status"` // REQUIRED TimeStamp *time.Time `json:"timeStamp"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v0.4.0
func NewErrorResponse(error_ *string, message *string, path *string, status *int64, timeStamp *time.Time) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶ added in v0.4.0
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetError ¶ added in v0.4.0
func (o *ErrorResponse) GetError() *string
GetError returns the Error field value
func (*ErrorResponse) GetErrorOk ¶ added in v0.4.0
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶ added in v0.4.0
func (o *ErrorResponse) GetMessage() *string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶ added in v0.4.0
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetPath ¶ added in v0.4.0
func (o *ErrorResponse) GetPath() *string
GetPath returns the Path field value
func (*ErrorResponse) GetPathOk ¶ added in v0.4.0
func (o *ErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶ added in v0.4.0
func (o *ErrorResponse) GetStatus() *int64
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶ added in v0.4.0
func (o *ErrorResponse) GetStatusOk() (*int64, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetTimeStamp ¶ added in v0.4.0
func (o *ErrorResponse) GetTimeStamp() *time.Time
GetTimeStamp returns the TimeStamp field value
func (*ErrorResponse) GetTimeStampOk ¶ added in v0.4.0
func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (*ErrorResponse) SetError ¶ added in v0.4.0
func (o *ErrorResponse) SetError(v *string)
SetError sets field value
func (*ErrorResponse) SetMessage ¶ added in v0.4.0
func (o *ErrorResponse) SetMessage(v *string)
SetMessage sets field value
func (*ErrorResponse) SetPath ¶ added in v0.4.0
func (o *ErrorResponse) SetPath(v *string)
SetPath sets field value
func (*ErrorResponse) SetStatus ¶ added in v0.4.0
func (o *ErrorResponse) SetStatus(v *int64)
SetStatus sets field value
func (*ErrorResponse) SetTimeStamp ¶ added in v0.4.0
func (o *ErrorResponse) SetTimeStamp(v *time.Time)
SetTimeStamp sets field value
func (ErrorResponse) ToMap ¶ added in v0.4.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type ExistingPermission ¶
type ExistingPermission struct { // REQUIRED Description *string `json:"description"` // REQUIRED Name *string `json:"name"` }
ExistingPermission struct for ExistingPermission
func NewExistingPermission ¶ added in v0.4.0
func NewExistingPermission(description *string, name *string) *ExistingPermission
NewExistingPermission instantiates a new ExistingPermission 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 NewExistingPermissionWithDefaults ¶ added in v0.4.0
func NewExistingPermissionWithDefaults() *ExistingPermission
NewExistingPermissionWithDefaults instantiates a new ExistingPermission 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 (*ExistingPermission) GetDescription ¶ added in v0.4.0
func (o *ExistingPermission) GetDescription() *string
GetDescription returns the Description field value
func (*ExistingPermission) GetDescriptionOk ¶ added in v0.4.0
func (o *ExistingPermission) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ExistingPermission) GetName ¶ added in v0.4.0
func (o *ExistingPermission) GetName() *string
GetName returns the Name field value
func (*ExistingPermission) GetNameOk ¶ added in v0.4.0
func (o *ExistingPermission) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ExistingPermission) SetDescription ¶ added in v0.4.0
func (o *ExistingPermission) SetDescription(v *string)
SetDescription sets field value
func (*ExistingPermission) SetName ¶ added in v0.4.0
func (o *ExistingPermission) SetName(v *string)
SetName sets field value
func (ExistingPermission) ToMap ¶ added in v0.4.0
func (o ExistingPermission) ToMap() (map[string]interface{}, error)
type ListMembersResponse ¶
type ListMembersResponse struct { // REQUIRED Members *[]Member `json:"members"` // REQUIRED ResourceId *string `json:"resourceId"` // REQUIRED ResourceType *string `json:"resourceType"` }
ListMembersResponse struct for ListMembersResponse
func NewListMembersResponse ¶ added in v0.4.0
func NewListMembersResponse(members *[]Member, resourceId *string, resourceType *string) *ListMembersResponse
NewListMembersResponse instantiates a new ListMembersResponse 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 NewListMembersResponseWithDefaults ¶ added in v0.4.0
func NewListMembersResponseWithDefaults() *ListMembersResponse
NewListMembersResponseWithDefaults instantiates a new ListMembersResponse 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 (*ListMembersResponse) GetMembers ¶ added in v0.4.0
func (o *ListMembersResponse) GetMembers() *[]Member
GetMembers returns the Members field value
func (*ListMembersResponse) GetMembersOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetMembersOk() (*[]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*ListMembersResponse) GetResourceId ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceId() *string
GetResourceId returns the ResourceId field value
func (*ListMembersResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*ListMembersResponse) GetResourceType ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*ListMembersResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*ListMembersResponse) SetMembers ¶ added in v0.4.0
func (o *ListMembersResponse) SetMembers(v *[]Member)
SetMembers sets field value
func (*ListMembersResponse) SetResourceId ¶ added in v0.4.0
func (o *ListMembersResponse) SetResourceId(v *string)
SetResourceId sets field value
func (*ListMembersResponse) SetResourceType ¶ added in v0.4.0
func (o *ListMembersResponse) SetResourceType(v *string)
SetResourceType sets field value
func (ListMembersResponse) ToMap ¶ added in v0.4.0
func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { // REQUIRED Permissions *[]Permission `json:"permissions"` }
ListPermissionsResponse struct for ListPermissionsResponse
func NewListPermissionsResponse ¶ added in v0.4.0
func NewListPermissionsResponse(permissions *[]Permission) *ListPermissionsResponse
NewListPermissionsResponse instantiates a new ListPermissionsResponse 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 NewListPermissionsResponseWithDefaults ¶ added in v0.4.0
func NewListPermissionsResponseWithDefaults() *ListPermissionsResponse
NewListPermissionsResponseWithDefaults instantiates a new ListPermissionsResponse 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 (*ListPermissionsResponse) GetPermissions ¶ added in v0.4.0
func (o *ListPermissionsResponse) GetPermissions() *[]Permission
GetPermissions returns the Permissions field value
func (*ListPermissionsResponse) GetPermissionsOk ¶ added in v0.4.0
func (o *ListPermissionsResponse) GetPermissionsOk() (*[]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ListPermissionsResponse) SetPermissions ¶ added in v0.4.0
func (o *ListPermissionsResponse) SetPermissions(v *[]Permission)
SetPermissions sets field value
func (ListPermissionsResponse) ToMap ¶ added in v0.4.0
func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)
type ListUserMembershipsResponse ¶
type ListUserMembershipsResponse struct { // REQUIRED Items *[]UserMembership `json:"items"` }
ListUserMembershipsResponse struct for ListUserMembershipsResponse
func NewListUserMembershipsResponse ¶ added in v0.4.0
func NewListUserMembershipsResponse(items *[]UserMembership) *ListUserMembershipsResponse
NewListUserMembershipsResponse instantiates a new ListUserMembershipsResponse 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 NewListUserMembershipsResponseWithDefaults ¶ added in v0.4.0
func NewListUserMembershipsResponseWithDefaults() *ListUserMembershipsResponse
NewListUserMembershipsResponseWithDefaults instantiates a new ListUserMembershipsResponse 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 (*ListUserMembershipsResponse) GetItems ¶ added in v0.4.0
func (o *ListUserMembershipsResponse) GetItems() *[]UserMembership
GetItems returns the Items field value
func (*ListUserMembershipsResponse) GetItemsOk ¶ added in v0.4.0
func (o *ListUserMembershipsResponse) GetItemsOk() (*[]UserMembership, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListUserMembershipsResponse) SetItems ¶ added in v0.4.0
func (o *ListUserMembershipsResponse) SetItems(v *[]UserMembership)
SetItems sets field value
func (ListUserMembershipsResponse) ToMap ¶ added in v0.4.0
func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)
type ListUserPermissionsResponse ¶
type ListUserPermissionsResponse struct { // REQUIRED Items *[]UserPermission `json:"items"` }
ListUserPermissionsResponse struct for ListUserPermissionsResponse
func NewListUserPermissionsResponse ¶ added in v0.4.0
func NewListUserPermissionsResponse(items *[]UserPermission) *ListUserPermissionsResponse
NewListUserPermissionsResponse instantiates a new ListUserPermissionsResponse 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 NewListUserPermissionsResponseWithDefaults ¶ added in v0.4.0
func NewListUserPermissionsResponseWithDefaults() *ListUserPermissionsResponse
NewListUserPermissionsResponseWithDefaults instantiates a new ListUserPermissionsResponse 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 (*ListUserPermissionsResponse) GetItems ¶ added in v0.4.0
func (o *ListUserPermissionsResponse) GetItems() *[]UserPermission
GetItems returns the Items field value
func (*ListUserPermissionsResponse) GetItemsOk ¶ added in v0.4.0
func (o *ListUserPermissionsResponse) GetItemsOk() (*[]UserPermission, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListUserPermissionsResponse) SetItems ¶ added in v0.4.0
func (o *ListUserPermissionsResponse) SetItems(v *[]UserPermission)
SetItems sets field value
func (ListUserPermissionsResponse) ToMap ¶ added in v0.4.0
func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Member ¶
type Member struct { // REQUIRED Role *string `json:"role"` // REQUIRED Subject *string `json:"subject"` }
Member struct for Member
func NewMember ¶ added in v0.4.0
NewMember instantiates a new Member 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 NewMemberWithDefaults ¶ added in v0.4.0
func NewMemberWithDefaults() *Member
NewMemberWithDefaults instantiates a new Member 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 (*Member) GetRoleOk ¶ added in v0.4.0
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*Member) GetSubject ¶ added in v0.4.0
GetSubject returns the Subject field value
func (*Member) GetSubjectOk ¶ added in v0.4.0
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (*Member) SetSubject ¶ added in v0.4.0
SetSubject sets field value
type MembersResponse ¶
type MembersResponse struct { // REQUIRED Members *[]Member `json:"members"` // REQUIRED ResourceId *string `json:"resourceId"` // REQUIRED ResourceType *string `json:"resourceType"` WrittenAt *Zookie `json:"writtenAt,omitempty"` }
MembersResponse struct for MembersResponse
func NewMembersResponse ¶ added in v0.4.0
func NewMembersResponse(members *[]Member, resourceId *string, resourceType *string) *MembersResponse
NewMembersResponse instantiates a new MembersResponse 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 NewMembersResponseWithDefaults ¶ added in v0.4.0
func NewMembersResponseWithDefaults() *MembersResponse
NewMembersResponseWithDefaults instantiates a new MembersResponse 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 (*MembersResponse) GetMembers ¶ added in v0.4.0
func (o *MembersResponse) GetMembers() *[]Member
GetMembers returns the Members field value
func (*MembersResponse) GetMembersOk ¶ added in v0.4.0
func (o *MembersResponse) GetMembersOk() (*[]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*MembersResponse) GetResourceId ¶ added in v0.4.0
func (o *MembersResponse) GetResourceId() *string
GetResourceId returns the ResourceId field value
func (*MembersResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *MembersResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*MembersResponse) GetResourceType ¶ added in v0.4.0
func (o *MembersResponse) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*MembersResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *MembersResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*MembersResponse) GetWrittenAt ¶ added in v0.4.0
func (o *MembersResponse) GetWrittenAt() *Zookie
GetWrittenAt returns the WrittenAt field value if set, zero value otherwise.
func (*MembersResponse) GetWrittenAtOk ¶ added in v0.4.0
func (o *MembersResponse) GetWrittenAtOk() (*Zookie, bool)
GetWrittenAtOk returns a tuple with the WrittenAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MembersResponse) HasWrittenAt ¶ added in v0.4.0
func (o *MembersResponse) HasWrittenAt() bool
HasWrittenAt returns a boolean if a field has been set.
func (*MembersResponse) SetMembers ¶ added in v0.4.0
func (o *MembersResponse) SetMembers(v *[]Member)
SetMembers sets field value
func (*MembersResponse) SetResourceId ¶ added in v0.4.0
func (o *MembersResponse) SetResourceId(v *string)
SetResourceId sets field value
func (*MembersResponse) SetResourceType ¶ added in v0.4.0
func (o *MembersResponse) SetResourceType(v *string)
SetResourceType sets field value
func (*MembersResponse) SetWrittenAt ¶ added in v0.4.0
func (o *MembersResponse) SetWrittenAt(v *Zookie)
SetWrittenAt gets a reference to the given Zookie and assigns it to the WrittenAt field.
func (MembersResponse) ToMap ¶ added in v0.4.0
func (o MembersResponse) ToMap() (map[string]interface{}, error)
type NullableAddMembersPayload ¶ added in v0.4.0
type NullableAddMembersPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddMembersPayload ¶ added in v0.4.0
func NewNullableAddMembersPayload(val *AddMembersPayload) *NullableAddMembersPayload
func (NullableAddMembersPayload) Get ¶ added in v0.4.0
func (v NullableAddMembersPayload) Get() *AddMembersPayload
func (NullableAddMembersPayload) IsSet ¶ added in v0.4.0
func (v NullableAddMembersPayload) IsSet() bool
func (NullableAddMembersPayload) MarshalJSON ¶ added in v0.4.0
func (v NullableAddMembersPayload) MarshalJSON() ([]byte, error)
func (*NullableAddMembersPayload) Set ¶ added in v0.4.0
func (v *NullableAddMembersPayload) Set(val *AddMembersPayload)
func (*NullableAddMembersPayload) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableAddMembersPayload) UnmarshalJSON(src []byte) error
func (*NullableAddMembersPayload) Unset ¶ added in v0.4.0
func (v *NullableAddMembersPayload) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableErrorResponse ¶ added in v0.4.0
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶ added in v0.4.0
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶ added in v0.4.0
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶ added in v0.4.0
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶ added in v0.4.0
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶ added in v0.4.0
func (v *NullableErrorResponse) Unset()
type NullableExistingPermission ¶ added in v0.4.0
type NullableExistingPermission struct {
// contains filtered or unexported fields
}
func NewNullableExistingPermission ¶ added in v0.4.0
func NewNullableExistingPermission(val *ExistingPermission) *NullableExistingPermission
func (NullableExistingPermission) Get ¶ added in v0.4.0
func (v NullableExistingPermission) Get() *ExistingPermission
func (NullableExistingPermission) IsSet ¶ added in v0.4.0
func (v NullableExistingPermission) IsSet() bool
func (NullableExistingPermission) MarshalJSON ¶ added in v0.4.0
func (v NullableExistingPermission) MarshalJSON() ([]byte, error)
func (*NullableExistingPermission) Set ¶ added in v0.4.0
func (v *NullableExistingPermission) Set(val *ExistingPermission)
func (*NullableExistingPermission) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableExistingPermission) UnmarshalJSON(src []byte) error
func (*NullableExistingPermission) Unset ¶ added in v0.4.0
func (v *NullableExistingPermission) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListMembersResponse ¶ added in v0.4.0
type NullableListMembersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListMembersResponse ¶ added in v0.4.0
func NewNullableListMembersResponse(val *ListMembersResponse) *NullableListMembersResponse
func (NullableListMembersResponse) Get ¶ added in v0.4.0
func (v NullableListMembersResponse) Get() *ListMembersResponse
func (NullableListMembersResponse) IsSet ¶ added in v0.4.0
func (v NullableListMembersResponse) IsSet() bool
func (NullableListMembersResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableListMembersResponse) MarshalJSON() ([]byte, error)
func (*NullableListMembersResponse) Set ¶ added in v0.4.0
func (v *NullableListMembersResponse) Set(val *ListMembersResponse)
func (*NullableListMembersResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListMembersResponse) UnmarshalJSON(src []byte) error
func (*NullableListMembersResponse) Unset ¶ added in v0.4.0
func (v *NullableListMembersResponse) Unset()
type NullableListPermissionsResponse ¶ added in v0.4.0
type NullableListPermissionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListPermissionsResponse ¶ added in v0.4.0
func NewNullableListPermissionsResponse(val *ListPermissionsResponse) *NullableListPermissionsResponse
func (NullableListPermissionsResponse) Get ¶ added in v0.4.0
func (v NullableListPermissionsResponse) Get() *ListPermissionsResponse
func (NullableListPermissionsResponse) IsSet ¶ added in v0.4.0
func (v NullableListPermissionsResponse) IsSet() bool
func (NullableListPermissionsResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableListPermissionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListPermissionsResponse) Set ¶ added in v0.4.0
func (v *NullableListPermissionsResponse) Set(val *ListPermissionsResponse)
func (*NullableListPermissionsResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListPermissionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListPermissionsResponse) Unset ¶ added in v0.4.0
func (v *NullableListPermissionsResponse) Unset()
type NullableListUserMembershipsResponse ¶ added in v0.4.0
type NullableListUserMembershipsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUserMembershipsResponse ¶ added in v0.4.0
func NewNullableListUserMembershipsResponse(val *ListUserMembershipsResponse) *NullableListUserMembershipsResponse
func (NullableListUserMembershipsResponse) Get ¶ added in v0.4.0
func (v NullableListUserMembershipsResponse) Get() *ListUserMembershipsResponse
func (NullableListUserMembershipsResponse) IsSet ¶ added in v0.4.0
func (v NullableListUserMembershipsResponse) IsSet() bool
func (NullableListUserMembershipsResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableListUserMembershipsResponse) MarshalJSON() ([]byte, error)
func (*NullableListUserMembershipsResponse) Set ¶ added in v0.4.0
func (v *NullableListUserMembershipsResponse) Set(val *ListUserMembershipsResponse)
func (*NullableListUserMembershipsResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListUserMembershipsResponse) UnmarshalJSON(src []byte) error
func (*NullableListUserMembershipsResponse) Unset ¶ added in v0.4.0
func (v *NullableListUserMembershipsResponse) Unset()
type NullableListUserPermissionsResponse ¶ added in v0.4.0
type NullableListUserPermissionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUserPermissionsResponse ¶ added in v0.4.0
func NewNullableListUserPermissionsResponse(val *ListUserPermissionsResponse) *NullableListUserPermissionsResponse
func (NullableListUserPermissionsResponse) Get ¶ added in v0.4.0
func (v NullableListUserPermissionsResponse) Get() *ListUserPermissionsResponse
func (NullableListUserPermissionsResponse) IsSet ¶ added in v0.4.0
func (v NullableListUserPermissionsResponse) IsSet() bool
func (NullableListUserPermissionsResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableListUserPermissionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListUserPermissionsResponse) Set ¶ added in v0.4.0
func (v *NullableListUserPermissionsResponse) Set(val *ListUserPermissionsResponse)
func (*NullableListUserPermissionsResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListUserPermissionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListUserPermissionsResponse) Unset ¶ added in v0.4.0
func (v *NullableListUserPermissionsResponse) Unset()
type NullableMember ¶ added in v0.4.0
type NullableMember struct {
// contains filtered or unexported fields
}
func NewNullableMember ¶ added in v0.4.0
func NewNullableMember(val *Member) *NullableMember
func (NullableMember) Get ¶ added in v0.4.0
func (v NullableMember) Get() *Member
func (NullableMember) IsSet ¶ added in v0.4.0
func (v NullableMember) IsSet() bool
func (NullableMember) MarshalJSON ¶ added in v0.4.0
func (v NullableMember) MarshalJSON() ([]byte, error)
func (*NullableMember) Set ¶ added in v0.4.0
func (v *NullableMember) Set(val *Member)
func (*NullableMember) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableMember) UnmarshalJSON(src []byte) error
func (*NullableMember) Unset ¶ added in v0.4.0
func (v *NullableMember) Unset()
type NullableMembersResponse ¶ added in v0.4.0
type NullableMembersResponse struct {
// contains filtered or unexported fields
}
func NewNullableMembersResponse ¶ added in v0.4.0
func NewNullableMembersResponse(val *MembersResponse) *NullableMembersResponse
func (NullableMembersResponse) Get ¶ added in v0.4.0
func (v NullableMembersResponse) Get() *MembersResponse
func (NullableMembersResponse) IsSet ¶ added in v0.4.0
func (v NullableMembersResponse) IsSet() bool
func (NullableMembersResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableMembersResponse) MarshalJSON() ([]byte, error)
func (*NullableMembersResponse) Set ¶ added in v0.4.0
func (v *NullableMembersResponse) Set(val *MembersResponse)
func (*NullableMembersResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableMembersResponse) UnmarshalJSON(src []byte) error
func (*NullableMembersResponse) Unset ¶ added in v0.4.0
func (v *NullableMembersResponse) Unset()
type NullablePermission ¶ added in v0.4.0
type NullablePermission struct {
// contains filtered or unexported fields
}
func NewNullablePermission ¶ added in v0.4.0
func NewNullablePermission(val *Permission) *NullablePermission
func (NullablePermission) Get ¶ added in v0.4.0
func (v NullablePermission) Get() *Permission
func (NullablePermission) IsSet ¶ added in v0.4.0
func (v NullablePermission) IsSet() bool
func (NullablePermission) MarshalJSON ¶ added in v0.4.0
func (v NullablePermission) MarshalJSON() ([]byte, error)
func (*NullablePermission) Set ¶ added in v0.4.0
func (v *NullablePermission) Set(val *Permission)
func (*NullablePermission) UnmarshalJSON ¶ added in v0.4.0
func (v *NullablePermission) UnmarshalJSON(src []byte) error
func (*NullablePermission) Unset ¶ added in v0.4.0
func (v *NullablePermission) Unset()
type NullableRemoveMembersPayload ¶ added in v0.4.0
type NullableRemoveMembersPayload struct {
// contains filtered or unexported fields
}
func NewNullableRemoveMembersPayload ¶ added in v0.4.0
func NewNullableRemoveMembersPayload(val *RemoveMembersPayload) *NullableRemoveMembersPayload
func (NullableRemoveMembersPayload) Get ¶ added in v0.4.0
func (v NullableRemoveMembersPayload) Get() *RemoveMembersPayload
func (NullableRemoveMembersPayload) IsSet ¶ added in v0.4.0
func (v NullableRemoveMembersPayload) IsSet() bool
func (NullableRemoveMembersPayload) MarshalJSON ¶ added in v0.4.0
func (v NullableRemoveMembersPayload) MarshalJSON() ([]byte, error)
func (*NullableRemoveMembersPayload) Set ¶ added in v0.4.0
func (v *NullableRemoveMembersPayload) Set(val *RemoveMembersPayload)
func (*NullableRemoveMembersPayload) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableRemoveMembersPayload) UnmarshalJSON(src []byte) error
func (*NullableRemoveMembersPayload) Unset ¶ added in v0.4.0
func (v *NullableRemoveMembersPayload) Unset()
type NullableRole ¶ added in v0.4.0
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶ added in v0.4.0
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶ added in v0.4.0
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶ added in v0.4.0
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶ added in v0.4.0
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶ added in v0.4.0
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶ added in v0.4.0
func (v *NullableRole) Unset()
type NullableRolesResponse ¶ added in v0.4.0
type NullableRolesResponse struct {
// contains filtered or unexported fields
}
func NewNullableRolesResponse ¶ added in v0.4.0
func NewNullableRolesResponse(val *RolesResponse) *NullableRolesResponse
func (NullableRolesResponse) Get ¶ added in v0.4.0
func (v NullableRolesResponse) Get() *RolesResponse
func (NullableRolesResponse) IsSet ¶ added in v0.4.0
func (v NullableRolesResponse) IsSet() bool
func (NullableRolesResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableRolesResponse) MarshalJSON() ([]byte, error)
func (*NullableRolesResponse) Set ¶ added in v0.4.0
func (v *NullableRolesResponse) Set(val *RolesResponse)
func (*NullableRolesResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableRolesResponse) UnmarshalJSON(src []byte) error
func (*NullableRolesResponse) Unset ¶ added in v0.4.0
func (v *NullableRolesResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUserMembership ¶ added in v0.4.0
type NullableUserMembership struct {
// contains filtered or unexported fields
}
func NewNullableUserMembership ¶ added in v0.4.0
func NewNullableUserMembership(val *UserMembership) *NullableUserMembership
func (NullableUserMembership) Get ¶ added in v0.4.0
func (v NullableUserMembership) Get() *UserMembership
func (NullableUserMembership) IsSet ¶ added in v0.4.0
func (v NullableUserMembership) IsSet() bool
func (NullableUserMembership) MarshalJSON ¶ added in v0.4.0
func (v NullableUserMembership) MarshalJSON() ([]byte, error)
func (*NullableUserMembership) Set ¶ added in v0.4.0
func (v *NullableUserMembership) Set(val *UserMembership)
func (*NullableUserMembership) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableUserMembership) UnmarshalJSON(src []byte) error
func (*NullableUserMembership) Unset ¶ added in v0.4.0
func (v *NullableUserMembership) Unset()
type NullableUserPermission ¶ added in v0.4.0
type NullableUserPermission struct {
// contains filtered or unexported fields
}
func NewNullableUserPermission ¶ added in v0.4.0
func NewNullableUserPermission(val *UserPermission) *NullableUserPermission
func (NullableUserPermission) Get ¶ added in v0.4.0
func (v NullableUserPermission) Get() *UserPermission
func (NullableUserPermission) IsSet ¶ added in v0.4.0
func (v NullableUserPermission) IsSet() bool
func (NullableUserPermission) MarshalJSON ¶ added in v0.4.0
func (v NullableUserPermission) MarshalJSON() ([]byte, error)
func (*NullableUserPermission) Set ¶ added in v0.4.0
func (v *NullableUserPermission) Set(val *UserPermission)
func (*NullableUserPermission) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableUserPermission) UnmarshalJSON(src []byte) error
func (*NullableUserPermission) Unset ¶ added in v0.4.0
func (v *NullableUserPermission) Unset()
type NullableZookie ¶ added in v0.4.0
type NullableZookie struct {
// contains filtered or unexported fields
}
func NewNullableZookie ¶ added in v0.4.0
func NewNullableZookie(val *Zookie) *NullableZookie
func (NullableZookie) Get ¶ added in v0.4.0
func (v NullableZookie) Get() *Zookie
func (NullableZookie) IsSet ¶ added in v0.4.0
func (v NullableZookie) IsSet() bool
func (NullableZookie) MarshalJSON ¶ added in v0.4.0
func (v NullableZookie) MarshalJSON() ([]byte, error)
func (*NullableZookie) Set ¶ added in v0.4.0
func (v *NullableZookie) Set(val *Zookie)
func (*NullableZookie) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableZookie) UnmarshalJSON(src []byte) error
func (*NullableZookie) Unset ¶ added in v0.4.0
func (v *NullableZookie) Unset()
type Permission ¶
type Permission struct { // REQUIRED Description *string `json:"description"` // REQUIRED Name *string `json:"name"` }
Permission struct for Permission
func NewPermission ¶ added in v0.4.0
func NewPermission(description *string, name *string) *Permission
NewPermission instantiates a new Permission 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 NewPermissionWithDefaults ¶ added in v0.4.0
func NewPermissionWithDefaults() *Permission
NewPermissionWithDefaults instantiates a new Permission 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 (*Permission) GetDescription ¶ added in v0.4.0
func (o *Permission) GetDescription() *string
GetDescription returns the Description field value
func (*Permission) GetDescriptionOk ¶ added in v0.4.0
func (o *Permission) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Permission) GetName ¶ added in v0.4.0
func (o *Permission) GetName() *string
GetName returns the Name field value
func (*Permission) GetNameOk ¶ added in v0.4.0
func (o *Permission) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Permission) SetDescription ¶ added in v0.4.0
func (o *Permission) SetDescription(v *string)
SetDescription sets field value
func (*Permission) SetName ¶ added in v0.4.0
func (o *Permission) SetName(v *string)
SetName sets field value
func (Permission) ToMap ¶ added in v0.4.0
func (o Permission) ToMap() (map[string]interface{}, error)
type RemoveMembersPayload ¶
type RemoveMembersPayload struct { ForceRemove *bool `json:"forceRemove,omitempty"` // REQUIRED Members *[]Member `json:"members"` // REQUIRED ResourceType *string `json:"resourceType"` }
RemoveMembersPayload struct for RemoveMembersPayload
func NewRemoveMembersPayload ¶ added in v0.4.0
func NewRemoveMembersPayload(members *[]Member, resourceType *string) *RemoveMembersPayload
NewRemoveMembersPayload instantiates a new RemoveMembersPayload 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 NewRemoveMembersPayloadWithDefaults ¶ added in v0.4.0
func NewRemoveMembersPayloadWithDefaults() *RemoveMembersPayload
NewRemoveMembersPayloadWithDefaults instantiates a new RemoveMembersPayload 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 (*RemoveMembersPayload) GetForceRemove ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetForceRemove() *bool
GetForceRemove returns the ForceRemove field value if set, zero value otherwise.
func (*RemoveMembersPayload) GetForceRemoveOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetForceRemoveOk() (*bool, bool)
GetForceRemoveOk returns a tuple with the ForceRemove field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RemoveMembersPayload) GetMembers ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetMembers() *[]Member
GetMembers returns the Members field value
func (*RemoveMembersPayload) GetMembersOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetMembersOk() (*[]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*RemoveMembersPayload) GetResourceType ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*RemoveMembersPayload) GetResourceTypeOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*RemoveMembersPayload) HasForceRemove ¶ added in v0.4.0
func (o *RemoveMembersPayload) HasForceRemove() bool
HasForceRemove returns a boolean if a field has been set.
func (*RemoveMembersPayload) SetForceRemove ¶ added in v0.4.0
func (o *RemoveMembersPayload) SetForceRemove(v *bool)
SetForceRemove gets a reference to the given bool and assigns it to the ForceRemove field.
func (*RemoveMembersPayload) SetMembers ¶ added in v0.4.0
func (o *RemoveMembersPayload) SetMembers(v *[]Member)
SetMembers sets field value
func (*RemoveMembersPayload) SetResourceType ¶ added in v0.4.0
func (o *RemoveMembersPayload) SetResourceType(v *string)
SetResourceType sets field value
func (RemoveMembersPayload) ToMap ¶ added in v0.4.0
func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
type Role ¶
type Role struct { // REQUIRED Description *string `json:"description"` Id *string `json:"id,omitempty"` // REQUIRED Name *string `json:"name"` // REQUIRED Permissions *[]Permission `json:"permissions"` }
Role struct for Role
func NewRole ¶ added in v0.4.0
func NewRole(description *string, name *string, permissions *[]Permission) *Role
NewRole instantiates a new Role 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 NewRoleWithDefaults ¶ added in v0.4.0
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role 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 (*Role) GetDescription ¶ added in v0.4.0
GetDescription returns the Description field value
func (*Role) GetDescriptionOk ¶ added in v0.4.0
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Role) GetIdOk ¶ added in v0.4.0
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶ added in v0.4.0
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Role) GetPermissions ¶ added in v0.4.0
func (o *Role) GetPermissions() *[]Permission
GetPermissions returns the Permissions field value
func (*Role) GetPermissionsOk ¶ added in v0.4.0
func (o *Role) GetPermissionsOk() (*[]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*Role) SetDescription ¶ added in v0.4.0
SetDescription sets field value
func (*Role) SetId ¶ added in v0.4.0
SetId gets a reference to the given string and assigns it to the Id field.
func (*Role) SetPermissions ¶ added in v0.4.0
func (o *Role) SetPermissions(v *[]Permission)
SetPermissions sets field value
type RolesResponse ¶
type RolesResponse struct { // REQUIRED ResourceId *string `json:"resourceId"` // REQUIRED ResourceType *string `json:"resourceType"` // REQUIRED Roles *[]Role `json:"roles"` }
RolesResponse struct for RolesResponse
func NewRolesResponse ¶ added in v0.4.0
func NewRolesResponse(resourceId *string, resourceType *string, roles *[]Role) *RolesResponse
NewRolesResponse instantiates a new RolesResponse 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 NewRolesResponseWithDefaults ¶ added in v0.4.0
func NewRolesResponseWithDefaults() *RolesResponse
NewRolesResponseWithDefaults instantiates a new RolesResponse 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 (*RolesResponse) GetResourceId ¶ added in v0.4.0
func (o *RolesResponse) GetResourceId() *string
GetResourceId returns the ResourceId field value
func (*RolesResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *RolesResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*RolesResponse) GetResourceType ¶ added in v0.4.0
func (o *RolesResponse) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*RolesResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *RolesResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*RolesResponse) GetRoles ¶ added in v0.4.0
func (o *RolesResponse) GetRoles() *[]Role
GetRoles returns the Roles field value
func (*RolesResponse) GetRolesOk ¶ added in v0.4.0
func (o *RolesResponse) GetRolesOk() (*[]Role, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*RolesResponse) SetResourceId ¶ added in v0.4.0
func (o *RolesResponse) SetResourceId(v *string)
SetResourceId sets field value
func (*RolesResponse) SetResourceType ¶ added in v0.4.0
func (o *RolesResponse) SetResourceType(v *string)
SetResourceType sets field value
func (*RolesResponse) SetRoles ¶ added in v0.4.0
func (o *RolesResponse) SetRoles(v *[]Role)
SetRoles sets field value
func (RolesResponse) ToMap ¶ added in v0.4.0
func (o RolesResponse) ToMap() (map[string]interface{}, error)
type UserMembership ¶
type UserMembership struct { // REQUIRED ResourceId *string `json:"resourceId"` // REQUIRED ResourceType *string `json:"resourceType"` // REQUIRED Role *string `json:"role"` // REQUIRED Subject *string `json:"subject"` }
UserMembership struct for UserMembership
func NewUserMembership ¶ added in v0.4.0
func NewUserMembership(resourceId *string, resourceType *string, role *string, subject *string) *UserMembership
NewUserMembership instantiates a new UserMembership 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 NewUserMembershipWithDefaults ¶ added in v0.4.0
func NewUserMembershipWithDefaults() *UserMembership
NewUserMembershipWithDefaults instantiates a new UserMembership 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 (*UserMembership) GetResourceId ¶ added in v0.4.0
func (o *UserMembership) GetResourceId() *string
GetResourceId returns the ResourceId field value
func (*UserMembership) GetResourceIdOk ¶ added in v0.4.0
func (o *UserMembership) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UserMembership) GetResourceType ¶ added in v0.4.0
func (o *UserMembership) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*UserMembership) GetResourceTypeOk ¶ added in v0.4.0
func (o *UserMembership) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*UserMembership) GetRole ¶ added in v0.4.0
func (o *UserMembership) GetRole() *string
GetRole returns the Role field value
func (*UserMembership) GetRoleOk ¶ added in v0.4.0
func (o *UserMembership) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*UserMembership) GetSubject ¶ added in v0.4.0
func (o *UserMembership) GetSubject() *string
GetSubject returns the Subject field value
func (*UserMembership) GetSubjectOk ¶ added in v0.4.0
func (o *UserMembership) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (*UserMembership) SetResourceId ¶ added in v0.4.0
func (o *UserMembership) SetResourceId(v *string)
SetResourceId sets field value
func (*UserMembership) SetResourceType ¶ added in v0.4.0
func (o *UserMembership) SetResourceType(v *string)
SetResourceType sets field value
func (*UserMembership) SetRole ¶ added in v0.4.0
func (o *UserMembership) SetRole(v *string)
SetRole sets field value
func (*UserMembership) SetSubject ¶ added in v0.4.0
func (o *UserMembership) SetSubject(v *string)
SetSubject sets field value
func (UserMembership) ToMap ¶ added in v0.4.0
func (o UserMembership) ToMap() (map[string]interface{}, error)
type UserPermission ¶
type UserPermission struct { // REQUIRED Permissions *[]ExistingPermission `json:"permissions"` // REQUIRED ResourceId *string `json:"resourceId"` // REQUIRED ResourceType *string `json:"resourceType"` }
UserPermission struct for UserPermission
func NewUserPermission ¶ added in v0.4.0
func NewUserPermission(permissions *[]ExistingPermission, resourceId *string, resourceType *string) *UserPermission
NewUserPermission instantiates a new UserPermission 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 NewUserPermissionWithDefaults ¶ added in v0.4.0
func NewUserPermissionWithDefaults() *UserPermission
NewUserPermissionWithDefaults instantiates a new UserPermission 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 (*UserPermission) GetPermissions ¶ added in v0.4.0
func (o *UserPermission) GetPermissions() *[]ExistingPermission
GetPermissions returns the Permissions field value
func (*UserPermission) GetPermissionsOk ¶ added in v0.4.0
func (o *UserPermission) GetPermissionsOk() (*[]ExistingPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*UserPermission) GetResourceId ¶ added in v0.4.0
func (o *UserPermission) GetResourceId() *string
GetResourceId returns the ResourceId field value
func (*UserPermission) GetResourceIdOk ¶ added in v0.4.0
func (o *UserPermission) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UserPermission) GetResourceType ¶ added in v0.4.0
func (o *UserPermission) GetResourceType() *string
GetResourceType returns the ResourceType field value
func (*UserPermission) GetResourceTypeOk ¶ added in v0.4.0
func (o *UserPermission) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*UserPermission) SetPermissions ¶ added in v0.4.0
func (o *UserPermission) SetPermissions(v *[]ExistingPermission)
SetPermissions sets field value
func (*UserPermission) SetResourceId ¶ added in v0.4.0
func (o *UserPermission) SetResourceId(v *string)
SetResourceId sets field value
func (*UserPermission) SetResourceType ¶ added in v0.4.0
func (o *UserPermission) SetResourceType(v *string)
SetResourceType sets field value
func (UserPermission) ToMap ¶ added in v0.4.0
func (o UserPermission) ToMap() (map[string]interface{}, error)
type Zookie ¶
type Zookie struct {
Zookie *string `json:"zookie,omitempty"`
}
Zookie struct for Zookie
func NewZookie ¶ added in v0.4.0
func NewZookie() *Zookie
NewZookie instantiates a new Zookie 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 NewZookieWithDefaults ¶ added in v0.4.0
func NewZookieWithDefaults() *Zookie
NewZookieWithDefaults instantiates a new Zookie 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 (*Zookie) GetZookie ¶ added in v0.4.0
GetZookie returns the Zookie field value if set, zero value otherwise.
func (*Zookie) GetZookieOk ¶ added in v0.4.0
GetZookieOk returns a tuple with the Zookie field value if set, nil otherwise and a boolean to check if the value has been set.
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_add_members_payload.go
- model_error_response.go
- model_existing_permission.go
- model_list_members_response.go
- model_list_permissions_response.go
- model_list_user_memberships_response.go
- model_list_user_permissions_response.go
- model_member.go
- model_members_response.go
- model_permission.go
- model_remove_members_payload.go
- model_role.go
- model_roles_response.go
- model_user_membership.go
- model_user_permission.go
- model_zookie.go
- utils.go