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 (a *APIClient) AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
- func (a *APIClient) AddRoleExecute(ctx context.Context, resourceType string, resourceId string) (*AddCustomRoleResponse, error)
- func (a *APIClient) DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
- func (a *APIClient) DeleteRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*DeleteRoleResponse, error)
- func (a *APIClient) GetAssignableSubjects(ctx context.Context, resourceType string, resourceId string) ApiGetAssignableSubjectsRequest
- func (a *APIClient) GetAssignableSubjectsExecute(ctx context.Context, resourceType string, resourceId string) (*ListAssignableSubjectsResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
- func (a *APIClient) GetRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*GetRoleResponse, error)
- 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)
- func (a *APIClient) UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
- func (a *APIClient) UpdateRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*UpdateRoleResponse, error)
- type AddCustomRoleResponse
- func (o *AddCustomRoleResponse) GetResourceId() (ret AddCustomRoleResponseGetResourceIdRetType)
- func (o *AddCustomRoleResponse) GetResourceIdOk() (ret AddCustomRoleResponseGetResourceIdRetType, ok bool)
- func (o *AddCustomRoleResponse) GetResourceType() (ret AddCustomRoleResponseGetResourceTypeRetType)
- func (o *AddCustomRoleResponse) GetResourceTypeOk() (ret AddCustomRoleResponseGetResourceTypeRetType, ok bool)
- func (o *AddCustomRoleResponse) GetRole() (ret AddCustomRoleResponseGetRoleRetType)
- func (o *AddCustomRoleResponse) GetRoleOk() (ret AddCustomRoleResponseGetRoleRetType, ok bool)
- func (o *AddCustomRoleResponse) SetResourceId(v AddCustomRoleResponseGetResourceIdRetType)
- func (o *AddCustomRoleResponse) SetResourceType(v AddCustomRoleResponseGetResourceTypeRetType)
- func (o *AddCustomRoleResponse) SetRole(v AddCustomRoleResponseGetRoleRetType)
- func (o AddCustomRoleResponse) ToMap() (map[string]interface{}, error)
- type AddCustomRoleResponseGetResourceIdArgType
- type AddCustomRoleResponseGetResourceIdAttributeType
- type AddCustomRoleResponseGetResourceIdRetType
- type AddCustomRoleResponseGetResourceTypeArgType
- type AddCustomRoleResponseGetResourceTypeAttributeType
- type AddCustomRoleResponseGetResourceTypeRetType
- type AddCustomRoleResponseGetRoleArgType
- type AddCustomRoleResponseGetRoleAttributeType
- type AddCustomRoleResponseGetRoleRetType
- type AddMembersPayload
- func (o *AddMembersPayload) GetMembers() (ret AddMembersPayloadGetMembersRetType)
- func (o *AddMembersPayload) GetMembersOk() (ret AddMembersPayloadGetMembersRetType, ok bool)
- func (o *AddMembersPayload) GetResourceType() (ret AddMembersPayloadGetResourceTypeRetType)
- func (o *AddMembersPayload) GetResourceTypeOk() (ret AddMembersPayloadGetResourceTypeRetType, ok bool)
- func (o *AddMembersPayload) SetMembers(v AddMembersPayloadGetMembersRetType)
- func (o *AddMembersPayload) SetResourceType(v AddMembersPayloadGetResourceTypeRetType)
- func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
- type AddMembersPayloadGetMembersArgType
- type AddMembersPayloadGetMembersAttributeType
- type AddMembersPayloadGetMembersRetType
- type AddMembersPayloadGetResourceTypeArgType
- type AddMembersPayloadGetResourceTypeAttributeType
- type AddMembersPayloadGetResourceTypeRetType
- type AddMembersRequest
- type AddRolePayload
- func (o *AddRolePayload) GetDescription() (ret AddRolePayloadGetDescriptionRetType)
- func (o *AddRolePayload) GetDescriptionOk() (ret AddRolePayloadGetDescriptionRetType, ok bool)
- func (o *AddRolePayload) GetName() (ret AddRolePayloadGetNameRetType)
- func (o *AddRolePayload) GetNameOk() (ret AddRolePayloadGetNameRetType, ok bool)
- func (o *AddRolePayload) GetPermissions() (ret AddRolePayloadGetPermissionsRetType)
- func (o *AddRolePayload) GetPermissionsOk() (ret AddRolePayloadGetPermissionsRetType, ok bool)
- func (o *AddRolePayload) SetDescription(v AddRolePayloadGetDescriptionRetType)
- func (o *AddRolePayload) SetName(v AddRolePayloadGetNameRetType)
- func (o *AddRolePayload) SetPermissions(v AddRolePayloadGetPermissionsRetType)
- func (o AddRolePayload) ToMap() (map[string]interface{}, error)
- type AddRolePayloadGetDescriptionArgType
- type AddRolePayloadGetDescriptionAttributeType
- type AddRolePayloadGetDescriptionRetType
- type AddRolePayloadGetNameArgType
- type AddRolePayloadGetNameAttributeType
- type AddRolePayloadGetNameRetType
- type AddRolePayloadGetPermissionsArgType
- type AddRolePayloadGetPermissionsAttributeType
- type AddRolePayloadGetPermissionsRetType
- type AddRoleRequest
- type ApiAddMembersRequest
- type ApiAddRoleRequest
- type ApiDeleteRoleRequest
- type ApiGetAssignableSubjectsRequest
- type ApiGetRoleRequest
- type ApiListMembersRequest
- type ApiListPermissionsRequest
- type ApiListRolesRequest
- type ApiListUserMembershipsRequest
- type ApiListUserPermissionsRequest
- type ApiRemoveMembersRequest
- type ApiUpdateRoleRequest
- type AssignableSubject
- func (o *AssignableSubject) GetDisplayName() (res AssignableSubjectGetDisplayNameRetType)
- func (o *AssignableSubject) GetDisplayNameOk() (ret AssignableSubjectGetDisplayNameRetType, ok bool)
- func (o *AssignableSubject) GetSubject() (ret AssignableSubjectGetSubjectRetType)
- func (o *AssignableSubject) GetSubjectOk() (ret AssignableSubjectGetSubjectRetType, ok bool)
- func (o *AssignableSubject) HasDisplayName() bool
- func (o *AssignableSubject) SetDisplayName(v AssignableSubjectGetDisplayNameRetType)
- func (o *AssignableSubject) SetSubject(v AssignableSubjectGetSubjectRetType)
- func (o AssignableSubject) ToMap() (map[string]interface{}, error)
- type AssignableSubjectGetDisplayNameArgType
- type AssignableSubjectGetDisplayNameAttributeType
- type AssignableSubjectGetDisplayNameRetType
- type AssignableSubjectGetSubjectArgType
- type AssignableSubjectGetSubjectAttributeType
- type AssignableSubjectGetSubjectRetType
- type DefaultApi
- type DefaultApiService
- type DeleteRoleRequest
- type DeleteRoleResponse
- func (o *DeleteRoleResponse) GetWrittenAt() (ret DeleteRoleResponseGetWrittenAtRetType)
- func (o *DeleteRoleResponse) GetWrittenAtOk() (ret DeleteRoleResponseGetWrittenAtRetType, ok bool)
- func (o *DeleteRoleResponse) SetWrittenAt(v DeleteRoleResponseGetWrittenAtRetType)
- func (o DeleteRoleResponse) ToMap() (map[string]interface{}, error)
- type DeleteRoleResponseGetWrittenAtArgType
- type DeleteRoleResponseGetWrittenAtAttributeType
- type DeleteRoleResponseGetWrittenAtRetType
- type ErrorResponse
- func (o *ErrorResponse) GetError() (ret ErrorResponseGetErrorRetType)
- func (o *ErrorResponse) GetErrorOk() (ret ErrorResponseGetErrorRetType, ok bool)
- func (o *ErrorResponse) GetMessage() (ret ErrorResponseGetMessageRetType)
- func (o *ErrorResponse) GetMessageOk() (ret ErrorResponseGetMessageRetType, ok bool)
- func (o *ErrorResponse) GetPath() (ret ErrorResponseGetPathRetType)
- func (o *ErrorResponse) GetPathOk() (ret ErrorResponseGetPathRetType, ok bool)
- func (o *ErrorResponse) GetStatus() (ret ErrorResponseGetStatusRetType)
- func (o *ErrorResponse) GetStatusOk() (ret ErrorResponseGetStatusRetType, ok bool)
- func (o *ErrorResponse) GetTimeStamp() (ret ErrorResponseGetTimeStampRetType)
- func (o *ErrorResponse) GetTimeStampOk() (ret ErrorResponseGetTimeStampRetType, ok bool)
- func (o *ErrorResponse) SetError(v ErrorResponseGetErrorRetType)
- func (o *ErrorResponse) SetMessage(v ErrorResponseGetMessageRetType)
- func (o *ErrorResponse) SetPath(v ErrorResponseGetPathRetType)
- func (o *ErrorResponse) SetStatus(v ErrorResponseGetStatusRetType)
- func (o *ErrorResponse) SetTimeStamp(v ErrorResponseGetTimeStampRetType)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type ErrorResponseGetErrorArgType
- type ErrorResponseGetErrorAttributeType
- type ErrorResponseGetErrorRetType
- type ErrorResponseGetMessageArgType
- type ErrorResponseGetMessageAttributeType
- type ErrorResponseGetMessageRetType
- type ErrorResponseGetPathArgType
- type ErrorResponseGetPathAttributeType
- type ErrorResponseGetPathRetType
- type ErrorResponseGetStatusArgType
- type ErrorResponseGetStatusAttributeType
- type ErrorResponseGetStatusRetType
- type ErrorResponseGetTimeStampArgType
- type ErrorResponseGetTimeStampAttributeType
- type ErrorResponseGetTimeStampRetType
- type ExistingPermission
- func (o *ExistingPermission) GetDescription() (ret ExistingPermissionGetDescriptionRetType)
- func (o *ExistingPermission) GetDescriptionOk() (ret ExistingPermissionGetDescriptionRetType, ok bool)
- func (o *ExistingPermission) GetName() (ret ExistingPermissionGetNameRetType)
- func (o *ExistingPermission) GetNameOk() (ret ExistingPermissionGetNameRetType, ok bool)
- func (o *ExistingPermission) SetDescription(v ExistingPermissionGetDescriptionRetType)
- func (o *ExistingPermission) SetName(v ExistingPermissionGetNameRetType)
- func (o ExistingPermission) ToMap() (map[string]interface{}, error)
- type ExistingPermissionGetDescriptionArgType
- type ExistingPermissionGetDescriptionAttributeType
- type ExistingPermissionGetDescriptionRetType
- type ExistingPermissionGetNameArgType
- type ExistingPermissionGetNameAttributeType
- type ExistingPermissionGetNameRetType
- type GetAssignableSubjectsRequest
- type GetRoleRequest
- type GetRoleResponse
- func (o *GetRoleResponse) GetResourceId() (ret GetRoleResponseGetResourceIdRetType)
- func (o *GetRoleResponse) GetResourceIdOk() (ret GetRoleResponseGetResourceIdRetType, ok bool)
- func (o *GetRoleResponse) GetResourceType() (ret GetRoleResponseGetResourceTypeRetType)
- func (o *GetRoleResponse) GetResourceTypeOk() (ret GetRoleResponseGetResourceTypeRetType, ok bool)
- func (o *GetRoleResponse) GetRole() (ret GetRoleResponseGetRoleRetType)
- func (o *GetRoleResponse) GetRoleOk() (ret GetRoleResponseGetRoleRetType, ok bool)
- func (o *GetRoleResponse) SetResourceId(v GetRoleResponseGetResourceIdRetType)
- func (o *GetRoleResponse) SetResourceType(v GetRoleResponseGetResourceTypeRetType)
- func (o *GetRoleResponse) SetRole(v GetRoleResponseGetRoleRetType)
- func (o GetRoleResponse) ToMap() (map[string]interface{}, error)
- type GetRoleResponseGetResourceIdArgType
- type GetRoleResponseGetResourceIdAttributeType
- type GetRoleResponseGetResourceIdRetType
- type GetRoleResponseGetResourceTypeArgType
- type GetRoleResponseGetResourceTypeAttributeType
- type GetRoleResponseGetResourceTypeRetType
- type GetRoleResponseGetRoleArgType
- type GetRoleResponseGetRoleAttributeType
- type GetRoleResponseGetRoleRetType
- type ListAssignableSubjectsResponse
- func (o *ListAssignableSubjectsResponse) GetResourceId() (ret ListAssignableSubjectsResponseGetResourceIdRetType)
- func (o *ListAssignableSubjectsResponse) GetResourceIdOk() (ret ListAssignableSubjectsResponseGetResourceIdRetType, ok bool)
- func (o *ListAssignableSubjectsResponse) GetResourceType() (ret ListAssignableSubjectsResponseGetResourceTypeRetType)
- func (o *ListAssignableSubjectsResponse) GetResourceTypeOk() (ret ListAssignableSubjectsResponseGetResourceTypeRetType, ok bool)
- func (o *ListAssignableSubjectsResponse) GetSubjects() (ret ListAssignableSubjectsResponseGetSubjectsRetType)
- func (o *ListAssignableSubjectsResponse) GetSubjectsOk() (ret ListAssignableSubjectsResponseGetSubjectsRetType, ok bool)
- func (o *ListAssignableSubjectsResponse) SetResourceId(v ListAssignableSubjectsResponseGetResourceIdRetType)
- func (o *ListAssignableSubjectsResponse) SetResourceType(v ListAssignableSubjectsResponseGetResourceTypeRetType)
- func (o *ListAssignableSubjectsResponse) SetSubjects(v ListAssignableSubjectsResponseGetSubjectsRetType)
- func (o ListAssignableSubjectsResponse) ToMap() (map[string]interface{}, error)
- type ListAssignableSubjectsResponseGetResourceIdArgType
- type ListAssignableSubjectsResponseGetResourceIdAttributeType
- type ListAssignableSubjectsResponseGetResourceIdRetType
- type ListAssignableSubjectsResponseGetResourceTypeArgType
- type ListAssignableSubjectsResponseGetResourceTypeAttributeType
- type ListAssignableSubjectsResponseGetResourceTypeRetType
- type ListAssignableSubjectsResponseGetSubjectsArgType
- type ListAssignableSubjectsResponseGetSubjectsAttributeType
- type ListAssignableSubjectsResponseGetSubjectsRetType
- type ListMembersRequest
- type ListMembersResponse
- func (o *ListMembersResponse) GetMembers() (ret ListMembersResponseGetMembersRetType)
- func (o *ListMembersResponse) GetMembersOk() (ret ListMembersResponseGetMembersRetType, ok bool)
- func (o *ListMembersResponse) GetResourceId() (ret ListMembersResponseGetResourceIdRetType)
- func (o *ListMembersResponse) GetResourceIdOk() (ret ListMembersResponseGetResourceIdRetType, ok bool)
- func (o *ListMembersResponse) GetResourceType() (ret ListMembersResponseGetResourceTypeRetType)
- func (o *ListMembersResponse) GetResourceTypeOk() (ret ListMembersResponseGetResourceTypeRetType, ok bool)
- func (o *ListMembersResponse) SetMembers(v ListMembersResponseGetMembersRetType)
- func (o *ListMembersResponse) SetResourceId(v ListMembersResponseGetResourceIdRetType)
- func (o *ListMembersResponse) SetResourceType(v ListMembersResponseGetResourceTypeRetType)
- func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
- type ListMembersResponseGetMembersArgType
- type ListMembersResponseGetMembersAttributeType
- type ListMembersResponseGetMembersRetType
- type ListMembersResponseGetResourceIdArgType
- type ListMembersResponseGetResourceIdAttributeType
- type ListMembersResponseGetResourceIdRetType
- type ListMembersResponseGetResourceTypeArgType
- type ListMembersResponseGetResourceTypeAttributeType
- type ListMembersResponseGetResourceTypeRetType
- type ListPermissionsRequest
- type ListPermissionsResponse
- func (o *ListPermissionsResponse) GetPermissions() (ret ListPermissionsResponseGetPermissionsRetType)
- func (o *ListPermissionsResponse) GetPermissionsOk() (ret ListPermissionsResponseGetPermissionsRetType, ok bool)
- func (o *ListPermissionsResponse) SetPermissions(v ListPermissionsResponseGetPermissionsRetType)
- func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)
- type ListPermissionsResponseGetPermissionsArgType
- type ListPermissionsResponseGetPermissionsAttributeType
- type ListPermissionsResponseGetPermissionsRetType
- type ListRolesRequest
- type ListUserMembershipsRequest
- func (r ListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
- func (r ListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
- func (r ListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
- func (r ListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
- type ListUserMembershipsResponse
- func (o *ListUserMembershipsResponse) GetItems() (ret ListUserMembershipsResponseGetItemsRetType)
- func (o *ListUserMembershipsResponse) GetItemsOk() (ret ListUserMembershipsResponseGetItemsRetType, ok bool)
- func (o *ListUserMembershipsResponse) SetItems(v ListUserMembershipsResponseGetItemsRetType)
- func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)
- type ListUserMembershipsResponseGetItemsArgType
- type ListUserMembershipsResponseGetItemsAttributeType
- type ListUserMembershipsResponseGetItemsRetType
- type ListUserPermissionsRequest
- func (r ListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
- func (r ListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
- func (r ListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
- func (r ListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
- type ListUserPermissionsResponse
- func (o *ListUserPermissionsResponse) GetItems() (ret ListUserPermissionsResponseGetItemsRetType)
- func (o *ListUserPermissionsResponse) GetItemsOk() (ret ListUserPermissionsResponseGetItemsRetType, ok bool)
- func (o *ListUserPermissionsResponse) SetItems(v ListUserPermissionsResponseGetItemsRetType)
- func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)
- type ListUserPermissionsResponseGetItemsArgType
- type ListUserPermissionsResponseGetItemsAttributeType
- type ListUserPermissionsResponseGetItemsRetType
- type MappedNullable
- type Member
- func (o *Member) GetRole() (ret MemberGetRoleRetType)
- func (o *Member) GetRoleOk() (ret MemberGetRoleRetType, ok bool)
- func (o *Member) GetSubject() (ret MemberGetSubjectRetType)
- func (o *Member) GetSubjectOk() (ret MemberGetSubjectRetType, ok bool)
- func (o *Member) SetRole(v MemberGetRoleRetType)
- func (o *Member) SetSubject(v MemberGetSubjectRetType)
- func (o Member) ToMap() (map[string]interface{}, error)
- type MemberGetRoleArgType
- type MemberGetRoleAttributeType
- type MemberGetRoleRetType
- type MemberGetSubjectArgType
- type MemberGetSubjectAttributeType
- type MemberGetSubjectRetType
- type MembersResponse
- func (o *MembersResponse) GetMembers() (ret MembersResponseGetMembersRetType)
- func (o *MembersResponse) GetMembersOk() (ret MembersResponseGetMembersRetType, ok bool)
- func (o *MembersResponse) GetResourceId() (ret MembersResponseGetResourceIdRetType)
- func (o *MembersResponse) GetResourceIdOk() (ret MembersResponseGetResourceIdRetType, ok bool)
- func (o *MembersResponse) GetResourceType() (ret MembersResponseGetResourceTypeRetType)
- func (o *MembersResponse) GetResourceTypeOk() (ret MembersResponseGetResourceTypeRetType, ok bool)
- func (o *MembersResponse) GetWrittenAt() (res MembersResponseGetWrittenAtRetType)
- func (o *MembersResponse) GetWrittenAtOk() (ret MembersResponseGetWrittenAtRetType, ok bool)
- func (o *MembersResponse) HasWrittenAt() bool
- func (o *MembersResponse) SetMembers(v MembersResponseGetMembersRetType)
- func (o *MembersResponse) SetResourceId(v MembersResponseGetResourceIdRetType)
- func (o *MembersResponse) SetResourceType(v MembersResponseGetResourceTypeRetType)
- func (o *MembersResponse) SetWrittenAt(v MembersResponseGetWrittenAtRetType)
- func (o MembersResponse) ToMap() (map[string]interface{}, error)
- type MembersResponseGetMembersArgType
- type MembersResponseGetMembersAttributeType
- type MembersResponseGetMembersRetType
- type MembersResponseGetResourceIdArgType
- type MembersResponseGetResourceIdAttributeType
- type MembersResponseGetResourceIdRetType
- type MembersResponseGetResourceTypeArgType
- type MembersResponseGetResourceTypeAttributeType
- type MembersResponseGetResourceTypeRetType
- type MembersResponseGetWrittenAtArgType
- type MembersResponseGetWrittenAtAttributeType
- type MembersResponseGetWrittenAtRetType
- type NullableAddCustomRoleResponse
- func (v NullableAddCustomRoleResponse) Get() *AddCustomRoleResponse
- func (v NullableAddCustomRoleResponse) IsSet() bool
- func (v NullableAddCustomRoleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAddCustomRoleResponse) Set(val *AddCustomRoleResponse)
- func (v *NullableAddCustomRoleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAddCustomRoleResponse) Unset()
- 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 NullableAddRolePayload
- func (v NullableAddRolePayload) Get() *AddRolePayload
- func (v NullableAddRolePayload) IsSet() bool
- func (v NullableAddRolePayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddRolePayload) Set(val *AddRolePayload)
- func (v *NullableAddRolePayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddRolePayload) Unset()
- type NullableAssignableSubject
- func (v NullableAssignableSubject) Get() *AssignableSubject
- func (v NullableAssignableSubject) IsSet() bool
- func (v NullableAssignableSubject) MarshalJSON() ([]byte, error)
- func (v *NullableAssignableSubject) Set(val *AssignableSubject)
- func (v *NullableAssignableSubject) UnmarshalJSON(src []byte) error
- func (v *NullableAssignableSubject) Unset()
- type NullableBool
- type NullableDeleteRoleResponse
- func (v NullableDeleteRoleResponse) Get() *DeleteRoleResponse
- func (v NullableDeleteRoleResponse) IsSet() bool
- func (v NullableDeleteRoleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteRoleResponse) Set(val *DeleteRoleResponse)
- func (v *NullableDeleteRoleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteRoleResponse) Unset()
- 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 NullableGetRoleResponse
- func (v NullableGetRoleResponse) Get() *GetRoleResponse
- func (v NullableGetRoleResponse) IsSet() bool
- func (v NullableGetRoleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetRoleResponse) Set(val *GetRoleResponse)
- func (v *NullableGetRoleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetRoleResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListAssignableSubjectsResponse
- func (v NullableListAssignableSubjectsResponse) Get() *ListAssignableSubjectsResponse
- func (v NullableListAssignableSubjectsResponse) IsSet() bool
- func (v NullableListAssignableSubjectsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListAssignableSubjectsResponse) Set(val *ListAssignableSubjectsResponse)
- func (v *NullableListAssignableSubjectsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListAssignableSubjectsResponse) Unset()
- 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 NullablePermissionRequest
- func (v NullablePermissionRequest) Get() *PermissionRequest
- func (v NullablePermissionRequest) IsSet() bool
- func (v NullablePermissionRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePermissionRequest) Set(val *PermissionRequest)
- func (v *NullablePermissionRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePermissionRequest) Unset()
- 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 NullableUpdateRolePayload
- func (v NullableUpdateRolePayload) Get() *UpdateRolePayload
- func (v NullableUpdateRolePayload) IsSet() bool
- func (v NullableUpdateRolePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRolePayload) Set(val *UpdateRolePayload)
- func (v *NullableUpdateRolePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRolePayload) Unset()
- type NullableUpdateRoleResponse
- func (v NullableUpdateRoleResponse) Get() *UpdateRoleResponse
- func (v NullableUpdateRoleResponse) IsSet() bool
- func (v NullableUpdateRoleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRoleResponse) Set(val *UpdateRoleResponse)
- func (v *NullableUpdateRoleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRoleResponse) Unset()
- 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 NullableValue
- type NullableZookie
- type Permission
- func (o *Permission) GetDescription() (ret PermissionGetDescriptionRetType)
- func (o *Permission) GetDescriptionOk() (ret PermissionGetDescriptionRetType, ok bool)
- func (o *Permission) GetName() (ret PermissionGetNameRetType)
- func (o *Permission) GetNameOk() (ret PermissionGetNameRetType, ok bool)
- func (o *Permission) SetDescription(v PermissionGetDescriptionRetType)
- func (o *Permission) SetName(v PermissionGetNameRetType)
- func (o Permission) ToMap() (map[string]interface{}, error)
- type PermissionGetDescriptionArgType
- type PermissionGetDescriptionAttributeType
- type PermissionGetDescriptionRetType
- type PermissionGetNameArgType
- type PermissionGetNameAttributeType
- type PermissionGetNameRetType
- type PermissionRequest
- func (o *PermissionRequest) GetName() (ret PermissionRequestGetNameRetType)
- func (o *PermissionRequest) GetNameOk() (ret PermissionRequestGetNameRetType, ok bool)
- func (o *PermissionRequest) SetName(v PermissionRequestGetNameRetType)
- func (o PermissionRequest) ToMap() (map[string]interface{}, error)
- type PermissionRequestGetNameArgType
- type PermissionRequestGetNameAttributeType
- type PermissionRequestGetNameRetType
- type RemoveMembersPayload
- func (o *RemoveMembersPayload) GetForceRemove() (res RemoveMembersPayloadgetForceRemoveRetType)
- func (o *RemoveMembersPayload) GetForceRemoveOk() (ret RemoveMembersPayloadgetForceRemoveRetType, ok bool)
- func (o *RemoveMembersPayload) GetMembers() (ret RemoveMembersPayloadGetMembersRetType)
- func (o *RemoveMembersPayload) GetMembersOk() (ret RemoveMembersPayloadGetMembersRetType, ok bool)
- func (o *RemoveMembersPayload) GetResourceType() (ret RemoveMembersPayloadGetResourceTypeRetType)
- func (o *RemoveMembersPayload) GetResourceTypeOk() (ret RemoveMembersPayloadGetResourceTypeRetType, ok bool)
- func (o *RemoveMembersPayload) HasForceRemove() bool
- func (o *RemoveMembersPayload) SetForceRemove(v RemoveMembersPayloadgetForceRemoveRetType)
- func (o *RemoveMembersPayload) SetMembers(v RemoveMembersPayloadGetMembersRetType)
- func (o *RemoveMembersPayload) SetResourceType(v RemoveMembersPayloadGetResourceTypeRetType)
- func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
- type RemoveMembersPayloadGetMembersArgType
- type RemoveMembersPayloadGetMembersAttributeType
- type RemoveMembersPayloadGetMembersRetType
- type RemoveMembersPayloadGetResourceTypeArgType
- type RemoveMembersPayloadGetResourceTypeAttributeType
- type RemoveMembersPayloadGetResourceTypeRetType
- type RemoveMembersPayloadgetForceRemoveArgType
- type RemoveMembersPayloadgetForceRemoveAttributeType
- type RemoveMembersPayloadgetForceRemoveRetType
- type RemoveMembersRequest
- type Role
- func (o *Role) GetDescription() (ret RoleGetDescriptionRetType)
- func (o *Role) GetDescriptionOk() (ret RoleGetDescriptionRetType, ok bool)
- func (o *Role) GetEtag() (res RoleGetEtagRetType)
- func (o *Role) GetEtagOk() (ret RoleGetEtagRetType, ok bool)
- func (o *Role) GetId() (res RoleGetIdRetType)
- func (o *Role) GetIdOk() (ret RoleGetIdRetType, ok bool)
- func (o *Role) GetName() (ret RoleGetNameRetType)
- func (o *Role) GetNameOk() (ret RoleGetNameRetType, ok bool)
- func (o *Role) GetPermissions() (ret RoleGetPermissionsRetType)
- func (o *Role) GetPermissionsOk() (ret RoleGetPermissionsRetType, ok bool)
- func (o *Role) HasEtag() bool
- func (o *Role) HasId() bool
- func (o *Role) SetDescription(v RoleGetDescriptionRetType)
- func (o *Role) SetEtag(v RoleGetEtagRetType)
- func (o *Role) SetId(v RoleGetIdRetType)
- func (o *Role) SetName(v RoleGetNameRetType)
- func (o *Role) SetPermissions(v RoleGetPermissionsRetType)
- func (o Role) ToMap() (map[string]interface{}, error)
- type RoleGetDescriptionArgType
- type RoleGetDescriptionAttributeType
- type RoleGetDescriptionRetType
- type RoleGetEtagArgType
- type RoleGetEtagAttributeType
- type RoleGetEtagRetType
- type RoleGetIdArgType
- type RoleGetIdAttributeType
- type RoleGetIdRetType
- type RoleGetNameArgType
- type RoleGetNameAttributeType
- type RoleGetNameRetType
- type RoleGetPermissionsArgType
- type RoleGetPermissionsAttributeType
- type RoleGetPermissionsRetType
- type RolesResponse
- func (o *RolesResponse) GetResourceId() (ret RolesResponseGetResourceIdRetType)
- func (o *RolesResponse) GetResourceIdOk() (ret RolesResponseGetResourceIdRetType, ok bool)
- func (o *RolesResponse) GetResourceType() (ret RolesResponseGetResourceTypeRetType)
- func (o *RolesResponse) GetResourceTypeOk() (ret RolesResponseGetResourceTypeRetType, ok bool)
- func (o *RolesResponse) GetRoles() (ret RolesResponseGetRolesRetType)
- func (o *RolesResponse) GetRolesOk() (ret RolesResponseGetRolesRetType, ok bool)
- func (o *RolesResponse) SetResourceId(v RolesResponseGetResourceIdRetType)
- func (o *RolesResponse) SetResourceType(v RolesResponseGetResourceTypeRetType)
- func (o *RolesResponse) SetRoles(v RolesResponseGetRolesRetType)
- func (o RolesResponse) ToMap() (map[string]interface{}, error)
- type RolesResponseGetResourceIdArgType
- type RolesResponseGetResourceIdAttributeType
- type RolesResponseGetResourceIdRetType
- type RolesResponseGetResourceTypeArgType
- type RolesResponseGetResourceTypeAttributeType
- type RolesResponseGetResourceTypeRetType
- type RolesResponseGetRolesArgType
- type RolesResponseGetRolesAttributeType
- type RolesResponseGetRolesRetType
- type UpdateRolePayload
- func (o *UpdateRolePayload) GetDescription() (ret UpdateRolePayloadGetDescriptionRetType)
- func (o *UpdateRolePayload) GetDescriptionOk() (ret UpdateRolePayloadGetDescriptionRetType, ok bool)
- func (o *UpdateRolePayload) GetEtag() (res UpdateRolePayloadGetEtagRetType)
- func (o *UpdateRolePayload) GetEtagOk() (ret UpdateRolePayloadGetEtagRetType, ok bool)
- func (o *UpdateRolePayload) GetName() (ret UpdateRolePayloadGetNameRetType)
- func (o *UpdateRolePayload) GetNameOk() (ret UpdateRolePayloadGetNameRetType, ok bool)
- func (o *UpdateRolePayload) GetPermissions() (ret UpdateRolePayloadGetPermissionsRetType)
- func (o *UpdateRolePayload) GetPermissionsOk() (ret UpdateRolePayloadGetPermissionsRetType, ok bool)
- func (o *UpdateRolePayload) HasEtag() bool
- func (o *UpdateRolePayload) SetDescription(v UpdateRolePayloadGetDescriptionRetType)
- func (o *UpdateRolePayload) SetEtag(v UpdateRolePayloadGetEtagRetType)
- func (o *UpdateRolePayload) SetName(v UpdateRolePayloadGetNameRetType)
- func (o *UpdateRolePayload) SetPermissions(v UpdateRolePayloadGetPermissionsRetType)
- func (o UpdateRolePayload) ToMap() (map[string]interface{}, error)
- type UpdateRolePayloadGetDescriptionArgType
- type UpdateRolePayloadGetDescriptionAttributeType
- type UpdateRolePayloadGetDescriptionRetType
- type UpdateRolePayloadGetEtagArgType
- type UpdateRolePayloadGetEtagAttributeType
- type UpdateRolePayloadGetEtagRetType
- type UpdateRolePayloadGetNameArgType
- type UpdateRolePayloadGetNameAttributeType
- type UpdateRolePayloadGetNameRetType
- type UpdateRolePayloadGetPermissionsArgType
- type UpdateRolePayloadGetPermissionsAttributeType
- type UpdateRolePayloadGetPermissionsRetType
- type UpdateRoleRequest
- type UpdateRoleResponse
- func (o *UpdateRoleResponse) GetResourceId() (ret UpdateRoleResponseGetResourceIdRetType)
- func (o *UpdateRoleResponse) GetResourceIdOk() (ret UpdateRoleResponseGetResourceIdRetType, ok bool)
- func (o *UpdateRoleResponse) GetResourceType() (ret UpdateRoleResponseGetResourceTypeRetType)
- func (o *UpdateRoleResponse) GetResourceTypeOk() (ret UpdateRoleResponseGetResourceTypeRetType, ok bool)
- func (o *UpdateRoleResponse) GetRole() (ret UpdateRoleResponseGetRoleRetType)
- func (o *UpdateRoleResponse) GetRoleOk() (ret UpdateRoleResponseGetRoleRetType, ok bool)
- func (o *UpdateRoleResponse) SetResourceId(v UpdateRoleResponseGetResourceIdRetType)
- func (o *UpdateRoleResponse) SetResourceType(v UpdateRoleResponseGetResourceTypeRetType)
- func (o *UpdateRoleResponse) SetRole(v UpdateRoleResponseGetRoleRetType)
- func (o UpdateRoleResponse) ToMap() (map[string]interface{}, error)
- type UpdateRoleResponseGetResourceIdArgType
- type UpdateRoleResponseGetResourceIdAttributeType
- type UpdateRoleResponseGetResourceIdRetType
- type UpdateRoleResponseGetResourceTypeArgType
- type UpdateRoleResponseGetResourceTypeAttributeType
- type UpdateRoleResponseGetResourceTypeRetType
- type UpdateRoleResponseGetRoleArgType
- type UpdateRoleResponseGetRoleAttributeType
- type UpdateRoleResponseGetRoleRetType
- type UserMembership
- func (o *UserMembership) GetResourceId() (ret UserMembershipGetResourceIdRetType)
- func (o *UserMembership) GetResourceIdOk() (ret UserMembershipGetResourceIdRetType, ok bool)
- func (o *UserMembership) GetResourceType() (ret UserMembershipGetResourceTypeRetType)
- func (o *UserMembership) GetResourceTypeOk() (ret UserMembershipGetResourceTypeRetType, ok bool)
- func (o *UserMembership) GetRole() (ret UserMembershipGetRoleRetType)
- func (o *UserMembership) GetRoleOk() (ret UserMembershipGetRoleRetType, ok bool)
- func (o *UserMembership) GetSubject() (ret UserMembershipGetSubjectRetType)
- func (o *UserMembership) GetSubjectOk() (ret UserMembershipGetSubjectRetType, ok bool)
- func (o *UserMembership) SetResourceId(v UserMembershipGetResourceIdRetType)
- func (o *UserMembership) SetResourceType(v UserMembershipGetResourceTypeRetType)
- func (o *UserMembership) SetRole(v UserMembershipGetRoleRetType)
- func (o *UserMembership) SetSubject(v UserMembershipGetSubjectRetType)
- func (o UserMembership) ToMap() (map[string]interface{}, error)
- type UserMembershipGetResourceIdArgType
- type UserMembershipGetResourceIdAttributeType
- type UserMembershipGetResourceIdRetType
- type UserMembershipGetResourceTypeArgType
- type UserMembershipGetResourceTypeAttributeType
- type UserMembershipGetResourceTypeRetType
- type UserMembershipGetRoleArgType
- type UserMembershipGetRoleAttributeType
- type UserMembershipGetRoleRetType
- type UserMembershipGetSubjectArgType
- type UserMembershipGetSubjectAttributeType
- type UserMembershipGetSubjectRetType
- type UserPermission
- func (o *UserPermission) GetPermissions() (ret UserPermissionGetPermissionsRetType)
- func (o *UserPermission) GetPermissionsOk() (ret UserPermissionGetPermissionsRetType, ok bool)
- func (o *UserPermission) GetResourceId() (ret UserPermissionGetResourceIdRetType)
- func (o *UserPermission) GetResourceIdOk() (ret UserPermissionGetResourceIdRetType, ok bool)
- func (o *UserPermission) GetResourceType() (ret UserPermissionGetResourceTypeRetType)
- func (o *UserPermission) GetResourceTypeOk() (ret UserPermissionGetResourceTypeRetType, ok bool)
- func (o *UserPermission) SetPermissions(v UserPermissionGetPermissionsRetType)
- func (o *UserPermission) SetResourceId(v UserPermissionGetResourceIdRetType)
- func (o *UserPermission) SetResourceType(v UserPermissionGetResourceTypeRetType)
- func (o UserPermission) ToMap() (map[string]interface{}, error)
- type UserPermissionGetPermissionsArgType
- type UserPermissionGetPermissionsAttributeType
- type UserPermissionGetPermissionsRetType
- type UserPermissionGetResourceIdArgType
- type UserPermissionGetResourceIdAttributeType
- type UserPermissionGetResourceIdRetType
- type UserPermissionGetResourceTypeArgType
- type UserPermissionGetResourceTypeAttributeType
- type UserPermissionGetResourceTypeRetType
- type Zookie
- type ZookieGetZookieArgType
- type ZookieGetZookieAttributeType
- type ZookieGetZookieRetType
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) AddRole ¶ added in v0.11.0
func (a *APIClient) AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
AddRole: Add a new role
Add new, user specified roles to a resource, and bind permissions to them. Permissions are predefined.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @return ApiAddRoleRequest
func (*APIClient) AddRoleExecute ¶ added in v0.11.0
func (*APIClient) DeleteRole ¶ added in v0.11.0
func (a *APIClient) DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
DeleteRole: Delete an existing role
Delete a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @param roleId @return ApiDeleteRoleRequest
func (*APIClient) DeleteRoleExecute ¶ added in v0.11.0
func (*APIClient) GetAssignableSubjects ¶ added in v0.9.0
func (a *APIClient) GetAssignableSubjects(ctx context.Context, resourceType string, resourceId string) ApiGetAssignableSubjectsRequest
GetAssignableSubjects: Get subjects assignable to a resource
BFF endpoint for portal. List subjects assignable to a 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 ApiGetAssignableSubjectsRequest
func (*APIClient) GetAssignableSubjectsExecute ¶ added in v0.9.0
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) GetRole ¶ added in v0.11.0
func (a *APIClient) GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
GetRole: Get an existing role
Get a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @param roleId @return ApiGetRoleRequest
func (*APIClient) GetRoleExecute ¶ added in v0.11.0
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 ¶
func (*APIClient) UpdateRole ¶ added in v0.11.0
func (a *APIClient) UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
UpdateRole: Update an existing role
Update a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param resourceType @param resourceId @param roleId @return ApiUpdateRoleRequest
func (*APIClient) UpdateRoleExecute ¶ added in v0.11.0
type AddCustomRoleResponse ¶ added in v0.11.0
type AddCustomRoleResponse struct {
// REQUIRED
ResourceId AddCustomRoleResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType AddCustomRoleResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Role AddCustomRoleResponseGetRoleAttributeType `json:"role" required:"true"`
}
AddCustomRoleResponse struct for AddCustomRoleResponse
func NewAddCustomRoleResponse ¶ added in v0.11.0
func NewAddCustomRoleResponse(resourceId AddCustomRoleResponseGetResourceIdArgType, resourceType AddCustomRoleResponseGetResourceTypeArgType, role AddCustomRoleResponseGetRoleArgType) *AddCustomRoleResponse
NewAddCustomRoleResponse instantiates a new AddCustomRoleResponse 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 NewAddCustomRoleResponseWithDefaults ¶ added in v0.11.0
func NewAddCustomRoleResponseWithDefaults() *AddCustomRoleResponse
NewAddCustomRoleResponseWithDefaults instantiates a new AddCustomRoleResponse 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 (*AddCustomRoleResponse) GetResourceId ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetResourceId() (ret AddCustomRoleResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*AddCustomRoleResponse) GetResourceIdOk ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetResourceIdOk() (ret AddCustomRoleResponseGetResourceIdRetType, ok bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*AddCustomRoleResponse) GetResourceType ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetResourceType() (ret AddCustomRoleResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*AddCustomRoleResponse) GetResourceTypeOk ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetResourceTypeOk() (ret AddCustomRoleResponseGetResourceTypeRetType, ok bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*AddCustomRoleResponse) GetRole ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetRole() (ret AddCustomRoleResponseGetRoleRetType)
GetRole returns the Role field value
func (*AddCustomRoleResponse) GetRoleOk ¶ added in v0.11.0
func (o *AddCustomRoleResponse) GetRoleOk() (ret AddCustomRoleResponseGetRoleRetType, ok bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*AddCustomRoleResponse) SetResourceId ¶ added in v0.11.0
func (o *AddCustomRoleResponse) SetResourceId(v AddCustomRoleResponseGetResourceIdRetType)
SetResourceId sets field value
func (*AddCustomRoleResponse) SetResourceType ¶ added in v0.11.0
func (o *AddCustomRoleResponse) SetResourceType(v AddCustomRoleResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*AddCustomRoleResponse) SetRole ¶ added in v0.11.0
func (o *AddCustomRoleResponse) SetRole(v AddCustomRoleResponseGetRoleRetType)
SetRole sets field value
func (AddCustomRoleResponse) ToMap ¶ added in v0.11.0
func (o AddCustomRoleResponse) ToMap() (map[string]interface{}, error)
type AddCustomRoleResponseGetResourceIdArgType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceIdArgType = string
type AddCustomRoleResponseGetResourceIdAttributeType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceIdAttributeType = *string
isNotNullableString
type AddCustomRoleResponseGetResourceIdRetType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceIdRetType = string
type AddCustomRoleResponseGetResourceTypeArgType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceTypeArgType = string
type AddCustomRoleResponseGetResourceTypeAttributeType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceTypeAttributeType = *string
isNotNullableString
type AddCustomRoleResponseGetResourceTypeRetType ¶ added in v0.11.0
type AddCustomRoleResponseGetResourceTypeRetType = string
type AddCustomRoleResponseGetRoleArgType ¶ added in v0.11.0
type AddCustomRoleResponseGetRoleArgType = Role
type AddCustomRoleResponseGetRoleAttributeType ¶ added in v0.11.0
type AddCustomRoleResponseGetRoleAttributeType = *Role
isModel
type AddCustomRoleResponseGetRoleRetType ¶ added in v0.11.0
type AddCustomRoleResponseGetRoleRetType = Role
type AddMembersPayload ¶
type AddMembersPayload struct {
// REQUIRED
Members AddMembersPayloadGetMembersAttributeType `json:"members" required:"true"`
// REQUIRED
ResourceType AddMembersPayloadGetResourceTypeAttributeType `json:"resourceType" required:"true"`
}
AddMembersPayload struct for AddMembersPayload
func NewAddMembersPayload ¶ added in v0.4.0
func NewAddMembersPayload(members AddMembersPayloadGetMembersArgType, resourceType AddMembersPayloadGetResourceTypeArgType) *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() (ret AddMembersPayloadGetMembersRetType)
GetMembers returns the Members field value
func (*AddMembersPayload) GetMembersOk ¶ added in v0.4.0
func (o *AddMembersPayload) GetMembersOk() (ret AddMembersPayloadGetMembersRetType, ok 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() (ret AddMembersPayloadGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*AddMembersPayload) GetResourceTypeOk ¶ added in v0.4.0
func (o *AddMembersPayload) GetResourceTypeOk() (ret AddMembersPayloadGetResourceTypeRetType, ok 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 AddMembersPayloadGetMembersRetType)
SetMembers sets field value
func (*AddMembersPayload) SetResourceType ¶ added in v0.4.0
func (o *AddMembersPayload) SetResourceType(v AddMembersPayloadGetResourceTypeRetType)
SetResourceType sets field value
func (AddMembersPayload) ToMap ¶ added in v0.4.0
func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
type AddMembersPayloadGetMembersArgType ¶ added in v0.6.1
type AddMembersPayloadGetMembersArgType = []Member
type AddMembersPayloadGetMembersAttributeType ¶ added in v0.6.1
type AddMembersPayloadGetMembersAttributeType = *[]Member
isArray
type AddMembersPayloadGetMembersRetType ¶ added in v0.6.1
type AddMembersPayloadGetMembersRetType = []Member
type AddMembersPayloadGetResourceTypeArgType ¶ added in v0.6.1
type AddMembersPayloadGetResourceTypeArgType = string
type AddMembersPayloadGetResourceTypeAttributeType ¶ added in v0.6.1
type AddMembersPayloadGetResourceTypeAttributeType = *string
isNotNullableString
type AddMembersPayloadGetResourceTypeRetType ¶ added in v0.6.1
type AddMembersPayloadGetResourceTypeRetType = string
type AddMembersRequest ¶ added in v0.7.0
type AddMembersRequest struct {
// contains filtered or unexported fields
}
func (AddMembersRequest) AddMembersPayload ¶ added in v0.7.0
func (r AddMembersRequest) AddMembersPayload(addMembersPayload AddMembersPayload) ApiAddMembersRequest
func (AddMembersRequest) Execute ¶ added in v0.7.0
func (r AddMembersRequest) Execute() (*MembersResponse, error)
type AddRolePayload ¶ added in v0.11.0
type AddRolePayload struct {
// REQUIRED
Description AddRolePayloadGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
Name AddRolePayloadGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Permissions AddRolePayloadGetPermissionsAttributeType `json:"permissions" required:"true"`
}
AddRolePayload struct for AddRolePayload
func NewAddRolePayload ¶ added in v0.11.0
func NewAddRolePayload(description AddRolePayloadGetDescriptionArgType, name AddRolePayloadGetNameArgType, permissions AddRolePayloadGetPermissionsArgType) *AddRolePayload
NewAddRolePayload instantiates a new AddRolePayload 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 NewAddRolePayloadWithDefaults ¶ added in v0.11.0
func NewAddRolePayloadWithDefaults() *AddRolePayload
NewAddRolePayloadWithDefaults instantiates a new AddRolePayload 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 (*AddRolePayload) GetDescription ¶ added in v0.11.0
func (o *AddRolePayload) GetDescription() (ret AddRolePayloadGetDescriptionRetType)
GetDescription returns the Description field value
func (*AddRolePayload) GetDescriptionOk ¶ added in v0.11.0
func (o *AddRolePayload) GetDescriptionOk() (ret AddRolePayloadGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*AddRolePayload) GetName ¶ added in v0.11.0
func (o *AddRolePayload) GetName() (ret AddRolePayloadGetNameRetType)
GetName returns the Name field value
func (*AddRolePayload) GetNameOk ¶ added in v0.11.0
func (o *AddRolePayload) GetNameOk() (ret AddRolePayloadGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AddRolePayload) GetPermissions ¶ added in v0.11.0
func (o *AddRolePayload) GetPermissions() (ret AddRolePayloadGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*AddRolePayload) GetPermissionsOk ¶ added in v0.11.0
func (o *AddRolePayload) GetPermissionsOk() (ret AddRolePayloadGetPermissionsRetType, ok bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*AddRolePayload) SetDescription ¶ added in v0.11.0
func (o *AddRolePayload) SetDescription(v AddRolePayloadGetDescriptionRetType)
SetDescription sets field value
func (*AddRolePayload) SetName ¶ added in v0.11.0
func (o *AddRolePayload) SetName(v AddRolePayloadGetNameRetType)
SetName sets field value
func (*AddRolePayload) SetPermissions ¶ added in v0.11.0
func (o *AddRolePayload) SetPermissions(v AddRolePayloadGetPermissionsRetType)
SetPermissions sets field value
func (AddRolePayload) ToMap ¶ added in v0.11.0
func (o AddRolePayload) ToMap() (map[string]interface{}, error)
type AddRolePayloadGetDescriptionArgType ¶ added in v0.11.0
type AddRolePayloadGetDescriptionArgType = string
type AddRolePayloadGetDescriptionAttributeType ¶ added in v0.11.0
type AddRolePayloadGetDescriptionAttributeType = *string
isNotNullableString
type AddRolePayloadGetDescriptionRetType ¶ added in v0.11.0
type AddRolePayloadGetDescriptionRetType = string
type AddRolePayloadGetNameArgType ¶ added in v0.11.0
type AddRolePayloadGetNameArgType = string
type AddRolePayloadGetNameAttributeType ¶ added in v0.11.0
type AddRolePayloadGetNameAttributeType = *string
isNotNullableString
type AddRolePayloadGetNameRetType ¶ added in v0.11.0
type AddRolePayloadGetNameRetType = string
type AddRolePayloadGetPermissionsArgType ¶ added in v0.11.0
type AddRolePayloadGetPermissionsArgType = []PermissionRequest
type AddRolePayloadGetPermissionsAttributeType ¶ added in v0.11.0
type AddRolePayloadGetPermissionsAttributeType = *[]PermissionRequest
isArray
type AddRolePayloadGetPermissionsRetType ¶ added in v0.11.0
type AddRolePayloadGetPermissionsRetType = []PermissionRequest
type AddRoleRequest ¶ added in v0.11.0
type AddRoleRequest struct {
// contains filtered or unexported fields
}
func (AddRoleRequest) AddRolePayload ¶ added in v0.11.0
func (r AddRoleRequest) AddRolePayload(addRolePayload AddRolePayload) ApiAddRoleRequest
func (AddRoleRequest) Execute ¶ added in v0.11.0
func (r AddRoleRequest) Execute() (*AddCustomRoleResponse, error)
type ApiAddMembersRequest ¶
type ApiAddMembersRequest interface {
AddMembersPayload(addMembersPayload AddMembersPayload) ApiAddMembersRequest
Execute() (*MembersResponse, error)
}
type ApiAddRoleRequest ¶ added in v0.11.0
type ApiAddRoleRequest interface {
AddRolePayload(addRolePayload AddRolePayload) ApiAddRoleRequest
Execute() (*AddCustomRoleResponse, error)
}
type ApiDeleteRoleRequest ¶ added in v0.11.0
type ApiDeleteRoleRequest interface {
Etag(etag string) ApiDeleteRoleRequest
Execute() (*DeleteRoleResponse, error)
}
type ApiGetAssignableSubjectsRequest ¶ added in v0.9.0
type ApiGetAssignableSubjectsRequest interface {
Subject(subject string) ApiGetAssignableSubjectsRequest
Execute() (*ListAssignableSubjectsResponse, error)
}
type ApiGetRoleRequest ¶ added in v0.11.0
type ApiGetRoleRequest interface {
Execute() (*GetRoleResponse, error)
}
type ApiListMembersRequest ¶
type ApiListMembersRequest interface {
Subject(subject string) ApiListMembersRequest
Execute() (*ListMembersResponse, error)
}
type ApiListPermissionsRequest ¶
type ApiListPermissionsRequest interface {
ResourceType(resourceType string) ApiListPermissionsRequest
Execute() (*ListPermissionsResponse, error)
}
type ApiListRolesRequest ¶
type ApiListRolesRequest interface {
Execute() (*RolesResponse, error)
}
type ApiListUserMembershipsRequest ¶
type ApiListUserMembershipsRequest interface {
ResourceType(resourceType string) ApiListUserMembershipsRequest
ResourceId(resourceId string) ApiListUserMembershipsRequest
ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
Execute() (*ListUserMembershipsResponse, error)
}
type ApiListUserPermissionsRequest ¶ added in v0.4.0
type ApiListUserPermissionsRequest interface {
Resource(resource string) ApiListUserPermissionsRequest
ResourceType(resourceType string) ApiListUserPermissionsRequest
Permissions(permissions []string) ApiListUserPermissionsRequest
Execute() (*ListUserPermissionsResponse, error)
}
type ApiRemoveMembersRequest ¶
type ApiRemoveMembersRequest interface {
RemoveMembersPayload(removeMembersPayload RemoveMembersPayload) ApiRemoveMembersRequest
Execute() (*MembersResponse, error)
}
type ApiUpdateRoleRequest ¶ added in v0.11.0
type ApiUpdateRoleRequest interface {
UpdateRolePayload(updateRolePayload UpdateRolePayload) ApiUpdateRoleRequest
Execute() (*UpdateRoleResponse, error)
}
type AssignableSubject ¶ added in v0.9.0
type AssignableSubject struct {
DisplayName AssignableSubjectGetDisplayNameAttributeType `json:"displayName,omitempty"`
// REQUIRED
Subject AssignableSubjectGetSubjectAttributeType `json:"subject" required:"true"`
}
AssignableSubject struct for AssignableSubject
func NewAssignableSubject ¶ added in v0.9.0
func NewAssignableSubject(subject AssignableSubjectGetSubjectArgType) *AssignableSubject
NewAssignableSubject instantiates a new AssignableSubject 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 NewAssignableSubjectWithDefaults ¶ added in v0.9.0
func NewAssignableSubjectWithDefaults() *AssignableSubject
NewAssignableSubjectWithDefaults instantiates a new AssignableSubject 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 (*AssignableSubject) GetDisplayName ¶ added in v0.9.0
func (o *AssignableSubject) GetDisplayName() (res AssignableSubjectGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*AssignableSubject) GetDisplayNameOk ¶ added in v0.9.0
func (o *AssignableSubject) GetDisplayNameOk() (ret AssignableSubjectGetDisplayNameRetType, ok bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssignableSubject) GetSubject ¶ added in v0.9.0
func (o *AssignableSubject) GetSubject() (ret AssignableSubjectGetSubjectRetType)
GetSubject returns the Subject field value
func (*AssignableSubject) GetSubjectOk ¶ added in v0.9.0
func (o *AssignableSubject) GetSubjectOk() (ret AssignableSubjectGetSubjectRetType, ok bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (*AssignableSubject) HasDisplayName ¶ added in v0.9.0
func (o *AssignableSubject) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*AssignableSubject) SetDisplayName ¶ added in v0.9.0
func (o *AssignableSubject) SetDisplayName(v AssignableSubjectGetDisplayNameRetType)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*AssignableSubject) SetSubject ¶ added in v0.9.0
func (o *AssignableSubject) SetSubject(v AssignableSubjectGetSubjectRetType)
SetSubject sets field value
func (AssignableSubject) ToMap ¶ added in v0.9.0
func (o AssignableSubject) ToMap() (map[string]interface{}, error)
type AssignableSubjectGetDisplayNameArgType ¶ added in v0.9.0
type AssignableSubjectGetDisplayNameArgType = string
type AssignableSubjectGetDisplayNameAttributeType ¶ added in v0.9.0
type AssignableSubjectGetDisplayNameAttributeType = *string
isNotNullableString
type AssignableSubjectGetDisplayNameRetType ¶ added in v0.9.0
type AssignableSubjectGetDisplayNameRetType = string
type AssignableSubjectGetSubjectArgType ¶ added in v0.9.0
type AssignableSubjectGetSubjectArgType = string
type AssignableSubjectGetSubjectAttributeType ¶ added in v0.9.0
type AssignableSubjectGetSubjectAttributeType = *string
isNotNullableString
type AssignableSubjectGetSubjectRetType ¶ added in v0.9.0
type AssignableSubjectGetSubjectRetType = string
type DefaultApi ¶ added in v0.7.0
type DefaultApi interface {
/*
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
*/
AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
/*
AddMembersExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceId
@return MembersResponse
*/
AddMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)
/*
AddRole Add a new role
Add new, user specified roles to a resource, and bind permissions to them. Permissions are predefined.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return ApiAddRoleRequest
*/
AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
/*
AddRoleExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return AddCustomRoleResponse
*/
AddRoleExecute(ctx context.Context, resourceType string, resourceId string) (*AddCustomRoleResponse, error)
/*
DeleteRole Delete an existing role
Delete a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return ApiDeleteRoleRequest
*/
DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
/*
DeleteRoleExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return DeleteRoleResponse
*/
DeleteRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*DeleteRoleResponse, error)
/*
GetAssignableSubjects Get subjects assignable to a resource
BFF endpoint for portal. List subjects assignable to a 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 ApiGetAssignableSubjectsRequest
*/
GetAssignableSubjects(ctx context.Context, resourceType string, resourceId string) ApiGetAssignableSubjectsRequest
/*
GetAssignableSubjectsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return ListAssignableSubjectsResponse
*/
GetAssignableSubjectsExecute(ctx context.Context, resourceType string, resourceId string) (*ListAssignableSubjectsResponse, error)
/*
GetRole Get an existing role
Get a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return ApiGetRoleRequest
*/
GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
/*
GetRoleExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return GetRoleResponse
*/
GetRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*GetRoleResponse, error)
/*
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
*/
ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
/*
ListMembersExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return ListMembersResponse
*/
ListMembersExecute(ctx context.Context, resourceType string, resourceId string) (*ListMembersResponse, error)
/*
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
*/
ListPermissions(ctx context.Context) ApiListPermissionsRequest
/*
ListPermissionsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListPermissionsResponse
*/
ListPermissionsExecute(ctx context.Context) (*ListPermissionsResponse, error)
/*
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
*/
ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
/*
ListRolesExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return RolesResponse
*/
ListRolesExecute(ctx context.Context, resourceType string, resourceId string) (*RolesResponse, error)
/*
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
*/
ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
/*
ListUserMembershipsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param email
@return ListUserMembershipsResponse
*/
ListUserMembershipsExecute(ctx context.Context, email string) (*ListUserMembershipsResponse, error)
/*
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
*/
ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
/*
ListUserPermissionsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param email
@return ListUserPermissionsResponse
*/
ListUserPermissionsExecute(ctx context.Context, email string) (*ListUserPermissionsResponse, error)
/*
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
*/
RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
/*
RemoveMembersExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceId
@return MembersResponse
*/
RemoveMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)
/*
UpdateRole Update an existing role
Update a custom role by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return ApiUpdateRoleRequest
*/
UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
/*
UpdateRoleExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@param roleId
@return UpdateRoleResponse
*/
UpdateRoleExecute(ctx context.Context, resourceType string, resourceId string, roleId string) (*UpdateRoleResponse, error)
}
type DeleteRoleRequest ¶ added in v0.11.0
type DeleteRoleRequest struct {
// contains filtered or unexported fields
}
func (DeleteRoleRequest) Etag ¶ added in v0.11.0
func (r DeleteRoleRequest) Etag(etag string) ApiDeleteRoleRequest
func (DeleteRoleRequest) Execute ¶ added in v0.11.0
func (r DeleteRoleRequest) Execute() (*DeleteRoleResponse, error)
type DeleteRoleResponse ¶ added in v0.11.0
type DeleteRoleResponse struct {
// REQUIRED
WrittenAt DeleteRoleResponseGetWrittenAtAttributeType `json:"writtenAt" required:"true"`
}
DeleteRoleResponse struct for DeleteRoleResponse
func NewDeleteRoleResponse ¶ added in v0.11.0
func NewDeleteRoleResponse(writtenAt DeleteRoleResponseGetWrittenAtArgType) *DeleteRoleResponse
NewDeleteRoleResponse instantiates a new DeleteRoleResponse 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 NewDeleteRoleResponseWithDefaults ¶ added in v0.11.0
func NewDeleteRoleResponseWithDefaults() *DeleteRoleResponse
NewDeleteRoleResponseWithDefaults instantiates a new DeleteRoleResponse 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 (*DeleteRoleResponse) GetWrittenAt ¶ added in v0.11.0
func (o *DeleteRoleResponse) GetWrittenAt() (ret DeleteRoleResponseGetWrittenAtRetType)
GetWrittenAt returns the WrittenAt field value
func (*DeleteRoleResponse) GetWrittenAtOk ¶ added in v0.11.0
func (o *DeleteRoleResponse) GetWrittenAtOk() (ret DeleteRoleResponseGetWrittenAtRetType, ok bool)
GetWrittenAtOk returns a tuple with the WrittenAt field value and a boolean to check if the value has been set.
func (*DeleteRoleResponse) SetWrittenAt ¶ added in v0.11.0
func (o *DeleteRoleResponse) SetWrittenAt(v DeleteRoleResponseGetWrittenAtRetType)
SetWrittenAt sets field value
func (DeleteRoleResponse) ToMap ¶ added in v0.11.0
func (o DeleteRoleResponse) ToMap() (map[string]interface{}, error)
type DeleteRoleResponseGetWrittenAtArgType ¶ added in v0.11.0
type DeleteRoleResponseGetWrittenAtArgType = Zookie
type DeleteRoleResponseGetWrittenAtAttributeType ¶ added in v0.11.0
type DeleteRoleResponseGetWrittenAtAttributeType = *Zookie
isModel
type DeleteRoleResponseGetWrittenAtRetType ¶ added in v0.11.0
type DeleteRoleResponseGetWrittenAtRetType = Zookie
type ErrorResponse ¶
type ErrorResponse struct {
// REQUIRED
Error ErrorResponseGetErrorAttributeType `json:"error" required:"true"`
// REQUIRED
Message ErrorResponseGetMessageAttributeType `json:"message" required:"true"`
// REQUIRED
Path ErrorResponseGetPathAttributeType `json:"path" required:"true"`
// REQUIRED
Status ErrorResponseGetStatusAttributeType `json:"status" required:"true"`
// REQUIRED
TimeStamp ErrorResponseGetTimeStampAttributeType `json:"timeStamp" required:"true"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v0.4.0
func NewErrorResponse(error_ ErrorResponseGetErrorArgType, message ErrorResponseGetMessageArgType, path ErrorResponseGetPathArgType, status ErrorResponseGetStatusArgType, timeStamp ErrorResponseGetTimeStampArgType) *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() (ret ErrorResponseGetErrorRetType)
GetError returns the Error field value
func (*ErrorResponse) GetErrorOk ¶ added in v0.4.0
func (o *ErrorResponse) GetErrorOk() (ret ErrorResponseGetErrorRetType, ok 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() (ret ErrorResponseGetMessageRetType)
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶ added in v0.4.0
func (o *ErrorResponse) GetMessageOk() (ret ErrorResponseGetMessageRetType, ok 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() (ret ErrorResponseGetPathRetType)
GetPath returns the Path field value
func (*ErrorResponse) GetPathOk ¶ added in v0.4.0
func (o *ErrorResponse) GetPathOk() (ret ErrorResponseGetPathRetType, ok 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() (ret ErrorResponseGetStatusRetType)
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶ added in v0.4.0
func (o *ErrorResponse) GetStatusOk() (ret ErrorResponseGetStatusRetType, ok 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() (ret ErrorResponseGetTimeStampRetType)
GetTimeStamp returns the TimeStamp field value
func (*ErrorResponse) GetTimeStampOk ¶ added in v0.4.0
func (o *ErrorResponse) GetTimeStampOk() (ret ErrorResponseGetTimeStampRetType, ok 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 ErrorResponseGetErrorRetType)
SetError sets field value
func (*ErrorResponse) SetMessage ¶ added in v0.4.0
func (o *ErrorResponse) SetMessage(v ErrorResponseGetMessageRetType)
SetMessage sets field value
func (*ErrorResponse) SetPath ¶ added in v0.4.0
func (o *ErrorResponse) SetPath(v ErrorResponseGetPathRetType)
SetPath sets field value
func (*ErrorResponse) SetStatus ¶ added in v0.4.0
func (o *ErrorResponse) SetStatus(v ErrorResponseGetStatusRetType)
SetStatus sets field value
func (*ErrorResponse) SetTimeStamp ¶ added in v0.4.0
func (o *ErrorResponse) SetTimeStamp(v ErrorResponseGetTimeStampRetType)
SetTimeStamp sets field value
func (ErrorResponse) ToMap ¶ added in v0.4.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type ErrorResponseGetErrorArgType ¶ added in v0.6.1
type ErrorResponseGetErrorArgType = string
type ErrorResponseGetErrorAttributeType ¶ added in v0.6.1
type ErrorResponseGetErrorAttributeType = *string
isNotNullableString
type ErrorResponseGetErrorRetType ¶ added in v0.6.1
type ErrorResponseGetErrorRetType = string
type ErrorResponseGetMessageArgType ¶ added in v0.6.1
type ErrorResponseGetMessageArgType = string
type ErrorResponseGetMessageAttributeType ¶ added in v0.6.1
type ErrorResponseGetMessageAttributeType = *string
isNotNullableString
type ErrorResponseGetMessageRetType ¶ added in v0.6.1
type ErrorResponseGetMessageRetType = string
type ErrorResponseGetPathArgType ¶ added in v0.6.1
type ErrorResponseGetPathArgType = string
type ErrorResponseGetPathAttributeType ¶ added in v0.6.1
type ErrorResponseGetPathAttributeType = *string
isNotNullableString
type ErrorResponseGetPathRetType ¶ added in v0.6.1
type ErrorResponseGetPathRetType = string
type ErrorResponseGetStatusArgType ¶ added in v0.6.1
type ErrorResponseGetStatusArgType = int64
type ErrorResponseGetStatusAttributeType ¶ added in v0.6.1
type ErrorResponseGetStatusAttributeType = *int64
isInteger
type ErrorResponseGetStatusRetType ¶ added in v0.6.1
type ErrorResponseGetStatusRetType = int64
type ErrorResponseGetTimeStampArgType ¶ added in v0.6.1
type ErrorResponseGetTimeStampAttributeType ¶ added in v0.6.1
isDateTime
type ErrorResponseGetTimeStampRetType ¶ added in v0.6.1
type ExistingPermission ¶
type ExistingPermission struct {
// REQUIRED
Description ExistingPermissionGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
Name ExistingPermissionGetNameAttributeType `json:"name" required:"true"`
}
ExistingPermission struct for ExistingPermission
func NewExistingPermission ¶ added in v0.4.0
func NewExistingPermission(description ExistingPermissionGetDescriptionArgType, name ExistingPermissionGetNameArgType) *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() (ret ExistingPermissionGetDescriptionRetType)
GetDescription returns the Description field value
func (*ExistingPermission) GetDescriptionOk ¶ added in v0.4.0
func (o *ExistingPermission) GetDescriptionOk() (ret ExistingPermissionGetDescriptionRetType, ok 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() (ret ExistingPermissionGetNameRetType)
GetName returns the Name field value
func (*ExistingPermission) GetNameOk ¶ added in v0.4.0
func (o *ExistingPermission) GetNameOk() (ret ExistingPermissionGetNameRetType, ok 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 ExistingPermissionGetDescriptionRetType)
SetDescription sets field value
func (*ExistingPermission) SetName ¶ added in v0.4.0
func (o *ExistingPermission) SetName(v ExistingPermissionGetNameRetType)
SetName sets field value
func (ExistingPermission) ToMap ¶ added in v0.4.0
func (o ExistingPermission) ToMap() (map[string]interface{}, error)
type ExistingPermissionGetDescriptionArgType ¶ added in v0.6.1
type ExistingPermissionGetDescriptionArgType = string
type ExistingPermissionGetDescriptionAttributeType ¶ added in v0.6.1
type ExistingPermissionGetDescriptionAttributeType = *string
isNotNullableString
type ExistingPermissionGetDescriptionRetType ¶ added in v0.6.1
type ExistingPermissionGetDescriptionRetType = string
type ExistingPermissionGetNameArgType ¶ added in v0.6.1
type ExistingPermissionGetNameArgType = string
type ExistingPermissionGetNameAttributeType ¶ added in v0.6.1
type ExistingPermissionGetNameAttributeType = *string
isNotNullableString
type ExistingPermissionGetNameRetType ¶ added in v0.6.1
type ExistingPermissionGetNameRetType = string
type GetAssignableSubjectsRequest ¶ added in v0.9.0
type GetAssignableSubjectsRequest struct {
// contains filtered or unexported fields
}
func (GetAssignableSubjectsRequest) Execute ¶ added in v0.9.0
func (r GetAssignableSubjectsRequest) Execute() (*ListAssignableSubjectsResponse, error)
func (GetAssignableSubjectsRequest) Subject ¶ added in v0.9.0
func (r GetAssignableSubjectsRequest) Subject(subject string) ApiGetAssignableSubjectsRequest
type GetRoleRequest ¶ added in v0.11.0
type GetRoleRequest struct {
// contains filtered or unexported fields
}
func (GetRoleRequest) Execute ¶ added in v0.11.0
func (r GetRoleRequest) Execute() (*GetRoleResponse, error)
type GetRoleResponse ¶ added in v0.11.0
type GetRoleResponse struct {
// REQUIRED
ResourceId GetRoleResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType GetRoleResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Role GetRoleResponseGetRoleAttributeType `json:"role" required:"true"`
}
GetRoleResponse struct for GetRoleResponse
func NewGetRoleResponse ¶ added in v0.11.0
func NewGetRoleResponse(resourceId GetRoleResponseGetResourceIdArgType, resourceType GetRoleResponseGetResourceTypeArgType, role GetRoleResponseGetRoleArgType) *GetRoleResponse
NewGetRoleResponse instantiates a new GetRoleResponse 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 NewGetRoleResponseWithDefaults ¶ added in v0.11.0
func NewGetRoleResponseWithDefaults() *GetRoleResponse
NewGetRoleResponseWithDefaults instantiates a new GetRoleResponse 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 (*GetRoleResponse) GetResourceId ¶ added in v0.11.0
func (o *GetRoleResponse) GetResourceId() (ret GetRoleResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*GetRoleResponse) GetResourceIdOk ¶ added in v0.11.0
func (o *GetRoleResponse) GetResourceIdOk() (ret GetRoleResponseGetResourceIdRetType, ok bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*GetRoleResponse) GetResourceType ¶ added in v0.11.0
func (o *GetRoleResponse) GetResourceType() (ret GetRoleResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*GetRoleResponse) GetResourceTypeOk ¶ added in v0.11.0
func (o *GetRoleResponse) GetResourceTypeOk() (ret GetRoleResponseGetResourceTypeRetType, ok bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*GetRoleResponse) GetRole ¶ added in v0.11.0
func (o *GetRoleResponse) GetRole() (ret GetRoleResponseGetRoleRetType)
GetRole returns the Role field value
func (*GetRoleResponse) GetRoleOk ¶ added in v0.11.0
func (o *GetRoleResponse) GetRoleOk() (ret GetRoleResponseGetRoleRetType, ok bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*GetRoleResponse) SetResourceId ¶ added in v0.11.0
func (o *GetRoleResponse) SetResourceId(v GetRoleResponseGetResourceIdRetType)
SetResourceId sets field value
func (*GetRoleResponse) SetResourceType ¶ added in v0.11.0
func (o *GetRoleResponse) SetResourceType(v GetRoleResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*GetRoleResponse) SetRole ¶ added in v0.11.0
func (o *GetRoleResponse) SetRole(v GetRoleResponseGetRoleRetType)
SetRole sets field value
func (GetRoleResponse) ToMap ¶ added in v0.11.0
func (o GetRoleResponse) ToMap() (map[string]interface{}, error)
type GetRoleResponseGetResourceIdArgType ¶ added in v0.11.0
type GetRoleResponseGetResourceIdArgType = string
type GetRoleResponseGetResourceIdAttributeType ¶ added in v0.11.0
type GetRoleResponseGetResourceIdAttributeType = *string
isNotNullableString
type GetRoleResponseGetResourceIdRetType ¶ added in v0.11.0
type GetRoleResponseGetResourceIdRetType = string
type GetRoleResponseGetResourceTypeArgType ¶ added in v0.11.0
type GetRoleResponseGetResourceTypeArgType = string
type GetRoleResponseGetResourceTypeAttributeType ¶ added in v0.11.0
type GetRoleResponseGetResourceTypeAttributeType = *string
isNotNullableString
type GetRoleResponseGetResourceTypeRetType ¶ added in v0.11.0
type GetRoleResponseGetResourceTypeRetType = string
type GetRoleResponseGetRoleArgType ¶ added in v0.11.0
type GetRoleResponseGetRoleArgType = Role
type GetRoleResponseGetRoleAttributeType ¶ added in v0.11.0
type GetRoleResponseGetRoleAttributeType = *Role
isModel
type GetRoleResponseGetRoleRetType ¶ added in v0.11.0
type GetRoleResponseGetRoleRetType = Role
type ListAssignableSubjectsResponse ¶ added in v0.9.0
type ListAssignableSubjectsResponse struct {
// REQUIRED
ResourceId ListAssignableSubjectsResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType ListAssignableSubjectsResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Subjects ListAssignableSubjectsResponseGetSubjectsAttributeType `json:"subjects" required:"true"`
}
ListAssignableSubjectsResponse struct for ListAssignableSubjectsResponse
func NewListAssignableSubjectsResponse ¶ added in v0.9.0
func NewListAssignableSubjectsResponse(resourceId ListAssignableSubjectsResponseGetResourceIdArgType, resourceType ListAssignableSubjectsResponseGetResourceTypeArgType, subjects ListAssignableSubjectsResponseGetSubjectsArgType) *ListAssignableSubjectsResponse
NewListAssignableSubjectsResponse instantiates a new ListAssignableSubjectsResponse 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 NewListAssignableSubjectsResponseWithDefaults ¶ added in v0.9.0
func NewListAssignableSubjectsResponseWithDefaults() *ListAssignableSubjectsResponse
NewListAssignableSubjectsResponseWithDefaults instantiates a new ListAssignableSubjectsResponse 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 (*ListAssignableSubjectsResponse) GetResourceId ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetResourceId() (ret ListAssignableSubjectsResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*ListAssignableSubjectsResponse) GetResourceIdOk ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetResourceIdOk() (ret ListAssignableSubjectsResponseGetResourceIdRetType, ok bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*ListAssignableSubjectsResponse) GetResourceType ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetResourceType() (ret ListAssignableSubjectsResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*ListAssignableSubjectsResponse) GetResourceTypeOk ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetResourceTypeOk() (ret ListAssignableSubjectsResponseGetResourceTypeRetType, ok bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*ListAssignableSubjectsResponse) GetSubjects ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetSubjects() (ret ListAssignableSubjectsResponseGetSubjectsRetType)
GetSubjects returns the Subjects field value
func (*ListAssignableSubjectsResponse) GetSubjectsOk ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) GetSubjectsOk() (ret ListAssignableSubjectsResponseGetSubjectsRetType, ok bool)
GetSubjectsOk returns a tuple with the Subjects field value and a boolean to check if the value has been set.
func (*ListAssignableSubjectsResponse) SetResourceId ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) SetResourceId(v ListAssignableSubjectsResponseGetResourceIdRetType)
SetResourceId sets field value
func (*ListAssignableSubjectsResponse) SetResourceType ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) SetResourceType(v ListAssignableSubjectsResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*ListAssignableSubjectsResponse) SetSubjects ¶ added in v0.9.0
func (o *ListAssignableSubjectsResponse) SetSubjects(v ListAssignableSubjectsResponseGetSubjectsRetType)
SetSubjects sets field value
func (ListAssignableSubjectsResponse) ToMap ¶ added in v0.9.0
func (o ListAssignableSubjectsResponse) ToMap() (map[string]interface{}, error)
type ListAssignableSubjectsResponseGetResourceIdArgType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceIdArgType = string
type ListAssignableSubjectsResponseGetResourceIdAttributeType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceIdAttributeType = *string
isNotNullableString
type ListAssignableSubjectsResponseGetResourceIdRetType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceIdRetType = string
type ListAssignableSubjectsResponseGetResourceTypeArgType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceTypeArgType = string
type ListAssignableSubjectsResponseGetResourceTypeAttributeType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceTypeAttributeType = *string
isNotNullableString
type ListAssignableSubjectsResponseGetResourceTypeRetType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetResourceTypeRetType = string
type ListAssignableSubjectsResponseGetSubjectsArgType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetSubjectsArgType = []AssignableSubject
type ListAssignableSubjectsResponseGetSubjectsAttributeType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetSubjectsAttributeType = *[]AssignableSubject
isArray
type ListAssignableSubjectsResponseGetSubjectsRetType ¶ added in v0.9.0
type ListAssignableSubjectsResponseGetSubjectsRetType = []AssignableSubject
type ListMembersRequest ¶ added in v0.7.0
type ListMembersRequest struct {
// contains filtered or unexported fields
}
func (ListMembersRequest) Execute ¶ added in v0.7.0
func (r ListMembersRequest) Execute() (*ListMembersResponse, error)
func (ListMembersRequest) Subject ¶ added in v0.7.0
func (r ListMembersRequest) Subject(subject string) ApiListMembersRequest
type ListMembersResponse ¶
type ListMembersResponse struct {
// REQUIRED
Members ListMembersResponseGetMembersAttributeType `json:"members" required:"true"`
// REQUIRED
ResourceId ListMembersResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType ListMembersResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
}
ListMembersResponse struct for ListMembersResponse
func NewListMembersResponse ¶ added in v0.4.0
func NewListMembersResponse(members ListMembersResponseGetMembersArgType, resourceId ListMembersResponseGetResourceIdArgType, resourceType ListMembersResponseGetResourceTypeArgType) *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() (ret ListMembersResponseGetMembersRetType)
GetMembers returns the Members field value
func (*ListMembersResponse) GetMembersOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetMembersOk() (ret ListMembersResponseGetMembersRetType, ok 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() (ret ListMembersResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*ListMembersResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceIdOk() (ret ListMembersResponseGetResourceIdRetType, ok 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() (ret ListMembersResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*ListMembersResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *ListMembersResponse) GetResourceTypeOk() (ret ListMembersResponseGetResourceTypeRetType, ok 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 ListMembersResponseGetMembersRetType)
SetMembers sets field value
func (*ListMembersResponse) SetResourceId ¶ added in v0.4.0
func (o *ListMembersResponse) SetResourceId(v ListMembersResponseGetResourceIdRetType)
SetResourceId sets field value
func (*ListMembersResponse) SetResourceType ¶ added in v0.4.0
func (o *ListMembersResponse) SetResourceType(v ListMembersResponseGetResourceTypeRetType)
SetResourceType sets field value
func (ListMembersResponse) ToMap ¶ added in v0.4.0
func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
type ListMembersResponseGetMembersArgType ¶ added in v0.6.1
type ListMembersResponseGetMembersArgType = []Member
type ListMembersResponseGetMembersAttributeType ¶ added in v0.6.1
type ListMembersResponseGetMembersAttributeType = *[]Member
isArray
type ListMembersResponseGetMembersRetType ¶ added in v0.6.1
type ListMembersResponseGetMembersRetType = []Member
type ListMembersResponseGetResourceIdArgType ¶ added in v0.6.1
type ListMembersResponseGetResourceIdArgType = string
type ListMembersResponseGetResourceIdAttributeType ¶ added in v0.6.1
type ListMembersResponseGetResourceIdAttributeType = *string
isNotNullableString
type ListMembersResponseGetResourceIdRetType ¶ added in v0.6.1
type ListMembersResponseGetResourceIdRetType = string
type ListMembersResponseGetResourceTypeArgType ¶ added in v0.6.1
type ListMembersResponseGetResourceTypeArgType = string
type ListMembersResponseGetResourceTypeAttributeType ¶ added in v0.6.1
type ListMembersResponseGetResourceTypeAttributeType = *string
isNotNullableString
type ListMembersResponseGetResourceTypeRetType ¶ added in v0.6.1
type ListMembersResponseGetResourceTypeRetType = string
type ListPermissionsRequest ¶ added in v0.7.0
type ListPermissionsRequest struct {
// contains filtered or unexported fields
}
func (ListPermissionsRequest) Execute ¶ added in v0.7.0
func (r ListPermissionsRequest) Execute() (*ListPermissionsResponse, error)
func (ListPermissionsRequest) ResourceType ¶ added in v0.7.0
func (r ListPermissionsRequest) ResourceType(resourceType string) ApiListPermissionsRequest
type ListPermissionsResponse ¶
type ListPermissionsResponse struct {
// REQUIRED
Permissions ListPermissionsResponseGetPermissionsAttributeType `json:"permissions" required:"true"`
}
ListPermissionsResponse struct for ListPermissionsResponse
func NewListPermissionsResponse ¶ added in v0.4.0
func NewListPermissionsResponse(permissions ListPermissionsResponseGetPermissionsArgType) *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() (ret ListPermissionsResponseGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*ListPermissionsResponse) GetPermissionsOk ¶ added in v0.4.0
func (o *ListPermissionsResponse) GetPermissionsOk() (ret ListPermissionsResponseGetPermissionsRetType, ok 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 ListPermissionsResponseGetPermissionsRetType)
SetPermissions sets field value
func (ListPermissionsResponse) ToMap ¶ added in v0.4.0
func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)
type ListPermissionsResponseGetPermissionsArgType ¶ added in v0.6.1
type ListPermissionsResponseGetPermissionsArgType = []Permission
type ListPermissionsResponseGetPermissionsAttributeType ¶ added in v0.6.1
type ListPermissionsResponseGetPermissionsAttributeType = *[]Permission
isArray
type ListPermissionsResponseGetPermissionsRetType ¶ added in v0.6.1
type ListPermissionsResponseGetPermissionsRetType = []Permission
type ListRolesRequest ¶ added in v0.7.0
type ListRolesRequest struct {
// contains filtered or unexported fields
}
func (ListRolesRequest) Execute ¶ added in v0.7.0
func (r ListRolesRequest) Execute() (*RolesResponse, error)
type ListUserMembershipsRequest ¶ added in v0.7.0
type ListUserMembershipsRequest struct {
// contains filtered or unexported fields
}
func (ListUserMembershipsRequest) Execute ¶ added in v0.7.0
func (r ListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
func (ListUserMembershipsRequest) ParentResourceId ¶ added in v0.7.0
func (r ListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
func (ListUserMembershipsRequest) ResourceId ¶ added in v0.7.0
func (r ListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
func (ListUserMembershipsRequest) ResourceType ¶ added in v0.7.0
func (r ListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
type ListUserMembershipsResponse ¶
type ListUserMembershipsResponse struct {
// REQUIRED
Items ListUserMembershipsResponseGetItemsAttributeType `json:"items" required:"true"`
}
ListUserMembershipsResponse struct for ListUserMembershipsResponse
func NewListUserMembershipsResponse ¶ added in v0.4.0
func NewListUserMembershipsResponse(items ListUserMembershipsResponseGetItemsArgType) *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() (ret ListUserMembershipsResponseGetItemsRetType)
GetItems returns the Items field value
func (*ListUserMembershipsResponse) GetItemsOk ¶ added in v0.4.0
func (o *ListUserMembershipsResponse) GetItemsOk() (ret ListUserMembershipsResponseGetItemsRetType, ok 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 ListUserMembershipsResponseGetItemsRetType)
SetItems sets field value
func (ListUserMembershipsResponse) ToMap ¶ added in v0.4.0
func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)
type ListUserMembershipsResponseGetItemsArgType ¶ added in v0.6.1
type ListUserMembershipsResponseGetItemsArgType = []UserMembership
type ListUserMembershipsResponseGetItemsAttributeType ¶ added in v0.6.1
type ListUserMembershipsResponseGetItemsAttributeType = *[]UserMembership
isArray
type ListUserMembershipsResponseGetItemsRetType ¶ added in v0.6.1
type ListUserMembershipsResponseGetItemsRetType = []UserMembership
type ListUserPermissionsRequest ¶ added in v0.7.0
type ListUserPermissionsRequest struct {
// contains filtered or unexported fields
}
func (ListUserPermissionsRequest) Execute ¶ added in v0.7.0
func (r ListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
func (ListUserPermissionsRequest) Permissions ¶ added in v0.7.0
func (r ListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
func (ListUserPermissionsRequest) Resource ¶ added in v0.7.0
func (r ListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
func (ListUserPermissionsRequest) ResourceType ¶ added in v0.7.0
func (r ListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
type ListUserPermissionsResponse ¶
type ListUserPermissionsResponse struct {
// REQUIRED
Items ListUserPermissionsResponseGetItemsAttributeType `json:"items" required:"true"`
}
ListUserPermissionsResponse struct for ListUserPermissionsResponse
func NewListUserPermissionsResponse ¶ added in v0.4.0
func NewListUserPermissionsResponse(items ListUserPermissionsResponseGetItemsArgType) *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() (ret ListUserPermissionsResponseGetItemsRetType)
GetItems returns the Items field value
func (*ListUserPermissionsResponse) GetItemsOk ¶ added in v0.4.0
func (o *ListUserPermissionsResponse) GetItemsOk() (ret ListUserPermissionsResponseGetItemsRetType, ok 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 ListUserPermissionsResponseGetItemsRetType)
SetItems sets field value
func (ListUserPermissionsResponse) ToMap ¶ added in v0.4.0
func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)
type ListUserPermissionsResponseGetItemsArgType ¶ added in v0.6.1
type ListUserPermissionsResponseGetItemsArgType = []UserPermission
type ListUserPermissionsResponseGetItemsAttributeType ¶ added in v0.6.1
type ListUserPermissionsResponseGetItemsAttributeType = *[]UserPermission
isArray
type ListUserPermissionsResponseGetItemsRetType ¶ added in v0.6.1
type ListUserPermissionsResponseGetItemsRetType = []UserPermission
type MappedNullable ¶
type Member ¶
type Member struct {
// REQUIRED
Role MemberGetRoleAttributeType `json:"role" required:"true"`
// REQUIRED
Subject MemberGetSubjectAttributeType `json:"subject" required:"true"`
}
Member struct for Member
func NewMember ¶ added in v0.4.0
func NewMember(role MemberGetRoleArgType, subject MemberGetSubjectArgType) *Member
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) GetRole ¶ added in v0.4.0
func (o *Member) GetRole() (ret MemberGetRoleRetType)
GetRole returns the Role field value
func (*Member) GetRoleOk ¶ added in v0.4.0
func (o *Member) GetRoleOk() (ret MemberGetRoleRetType, ok bool)
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
func (o *Member) GetSubject() (ret MemberGetSubjectRetType)
GetSubject returns the Subject field value
func (*Member) GetSubjectOk ¶ added in v0.4.0
func (o *Member) GetSubjectOk() (ret MemberGetSubjectRetType, ok bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (*Member) SetRole ¶ added in v0.4.0
func (o *Member) SetRole(v MemberGetRoleRetType)
SetRole sets field value
func (*Member) SetSubject ¶ added in v0.4.0
func (o *Member) SetSubject(v MemberGetSubjectRetType)
SetSubject sets field value
type MemberGetRoleArgType ¶ added in v0.6.1
type MemberGetRoleArgType = string
type MemberGetRoleAttributeType ¶ added in v0.6.1
type MemberGetRoleAttributeType = *string
isNotNullableString
type MemberGetRoleRetType ¶ added in v0.6.1
type MemberGetRoleRetType = string
type MemberGetSubjectArgType ¶ added in v0.6.1
type MemberGetSubjectArgType = string
type MemberGetSubjectAttributeType ¶ added in v0.6.1
type MemberGetSubjectAttributeType = *string
isNotNullableString
type MemberGetSubjectRetType ¶ added in v0.6.1
type MemberGetSubjectRetType = string
type MembersResponse ¶
type MembersResponse struct {
// REQUIRED
Members MembersResponseGetMembersAttributeType `json:"members" required:"true"`
// REQUIRED
ResourceId MembersResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType MembersResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
WrittenAt MembersResponseGetWrittenAtAttributeType `json:"writtenAt,omitempty"`
}
MembersResponse struct for MembersResponse
func NewMembersResponse ¶ added in v0.4.0
func NewMembersResponse(members MembersResponseGetMembersArgType, resourceId MembersResponseGetResourceIdArgType, resourceType MembersResponseGetResourceTypeArgType) *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() (ret MembersResponseGetMembersRetType)
GetMembers returns the Members field value
func (*MembersResponse) GetMembersOk ¶ added in v0.4.0
func (o *MembersResponse) GetMembersOk() (ret MembersResponseGetMembersRetType, ok 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() (ret MembersResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*MembersResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *MembersResponse) GetResourceIdOk() (ret MembersResponseGetResourceIdRetType, ok 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() (ret MembersResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*MembersResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *MembersResponse) GetResourceTypeOk() (ret MembersResponseGetResourceTypeRetType, ok 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() (res MembersResponseGetWrittenAtRetType)
GetWrittenAt returns the WrittenAt field value if set, zero value otherwise.
func (*MembersResponse) GetWrittenAtOk ¶ added in v0.4.0
func (o *MembersResponse) GetWrittenAtOk() (ret MembersResponseGetWrittenAtRetType, ok 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 MembersResponseGetMembersRetType)
SetMembers sets field value
func (*MembersResponse) SetResourceId ¶ added in v0.4.0
func (o *MembersResponse) SetResourceId(v MembersResponseGetResourceIdRetType)
SetResourceId sets field value
func (*MembersResponse) SetResourceType ¶ added in v0.4.0
func (o *MembersResponse) SetResourceType(v MembersResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*MembersResponse) SetWrittenAt ¶ added in v0.4.0
func (o *MembersResponse) SetWrittenAt(v MembersResponseGetWrittenAtRetType)
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 MembersResponseGetMembersArgType ¶ added in v0.6.1
type MembersResponseGetMembersArgType = []Member
type MembersResponseGetMembersAttributeType ¶ added in v0.6.1
type MembersResponseGetMembersAttributeType = *[]Member
isArray
type MembersResponseGetMembersRetType ¶ added in v0.6.1
type MembersResponseGetMembersRetType = []Member
type MembersResponseGetResourceIdArgType ¶ added in v0.6.1
type MembersResponseGetResourceIdArgType = string
type MembersResponseGetResourceIdAttributeType ¶ added in v0.6.1
type MembersResponseGetResourceIdAttributeType = *string
isNotNullableString
type MembersResponseGetResourceIdRetType ¶ added in v0.6.1
type MembersResponseGetResourceIdRetType = string
type MembersResponseGetResourceTypeArgType ¶ added in v0.6.1
type MembersResponseGetResourceTypeArgType = string
type MembersResponseGetResourceTypeAttributeType ¶ added in v0.6.1
type MembersResponseGetResourceTypeAttributeType = *string
isNotNullableString
type MembersResponseGetResourceTypeRetType ¶ added in v0.6.1
type MembersResponseGetResourceTypeRetType = string
type MembersResponseGetWrittenAtArgType ¶ added in v0.6.1
type MembersResponseGetWrittenAtArgType = Zookie
type MembersResponseGetWrittenAtAttributeType ¶ added in v0.6.1
type MembersResponseGetWrittenAtAttributeType = *Zookie
isModel
type MembersResponseGetWrittenAtRetType ¶ added in v0.6.1
type MembersResponseGetWrittenAtRetType = Zookie
type NullableAddCustomRoleResponse ¶ added in v0.11.0
type NullableAddCustomRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableAddCustomRoleResponse ¶ added in v0.11.0
func NewNullableAddCustomRoleResponse(val *AddCustomRoleResponse) *NullableAddCustomRoleResponse
func (NullableAddCustomRoleResponse) Get ¶ added in v0.11.0
func (v NullableAddCustomRoleResponse) Get() *AddCustomRoleResponse
func (NullableAddCustomRoleResponse) IsSet ¶ added in v0.11.0
func (v NullableAddCustomRoleResponse) IsSet() bool
func (NullableAddCustomRoleResponse) MarshalJSON ¶ added in v0.11.0
func (v NullableAddCustomRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableAddCustomRoleResponse) Set ¶ added in v0.11.0
func (v *NullableAddCustomRoleResponse) Set(val *AddCustomRoleResponse)
func (*NullableAddCustomRoleResponse) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableAddCustomRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableAddCustomRoleResponse) Unset ¶ added in v0.11.0
func (v *NullableAddCustomRoleResponse) Unset()
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 NullableAddRolePayload ¶ added in v0.11.0
type NullableAddRolePayload struct {
// contains filtered or unexported fields
}
func NewNullableAddRolePayload ¶ added in v0.11.0
func NewNullableAddRolePayload(val *AddRolePayload) *NullableAddRolePayload
func (NullableAddRolePayload) Get ¶ added in v0.11.0
func (v NullableAddRolePayload) Get() *AddRolePayload
func (NullableAddRolePayload) IsSet ¶ added in v0.11.0
func (v NullableAddRolePayload) IsSet() bool
func (NullableAddRolePayload) MarshalJSON ¶ added in v0.11.0
func (v NullableAddRolePayload) MarshalJSON() ([]byte, error)
func (*NullableAddRolePayload) Set ¶ added in v0.11.0
func (v *NullableAddRolePayload) Set(val *AddRolePayload)
func (*NullableAddRolePayload) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableAddRolePayload) UnmarshalJSON(src []byte) error
func (*NullableAddRolePayload) Unset ¶ added in v0.11.0
func (v *NullableAddRolePayload) Unset()
type NullableAssignableSubject ¶ added in v0.9.0
type NullableAssignableSubject struct {
// contains filtered or unexported fields
}
func NewNullableAssignableSubject ¶ added in v0.9.0
func NewNullableAssignableSubject(val *AssignableSubject) *NullableAssignableSubject
func (NullableAssignableSubject) Get ¶ added in v0.9.0
func (v NullableAssignableSubject) Get() *AssignableSubject
func (NullableAssignableSubject) IsSet ¶ added in v0.9.0
func (v NullableAssignableSubject) IsSet() bool
func (NullableAssignableSubject) MarshalJSON ¶ added in v0.9.0
func (v NullableAssignableSubject) MarshalJSON() ([]byte, error)
func (*NullableAssignableSubject) Set ¶ added in v0.9.0
func (v *NullableAssignableSubject) Set(val *AssignableSubject)
func (*NullableAssignableSubject) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableAssignableSubject) UnmarshalJSON(src []byte) error
func (*NullableAssignableSubject) Unset ¶ added in v0.9.0
func (v *NullableAssignableSubject) 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 NullableDeleteRoleResponse ¶ added in v0.11.0
type NullableDeleteRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteRoleResponse ¶ added in v0.11.0
func NewNullableDeleteRoleResponse(val *DeleteRoleResponse) *NullableDeleteRoleResponse
func (NullableDeleteRoleResponse) Get ¶ added in v0.11.0
func (v NullableDeleteRoleResponse) Get() *DeleteRoleResponse
func (NullableDeleteRoleResponse) IsSet ¶ added in v0.11.0
func (v NullableDeleteRoleResponse) IsSet() bool
func (NullableDeleteRoleResponse) MarshalJSON ¶ added in v0.11.0
func (v NullableDeleteRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteRoleResponse) Set ¶ added in v0.11.0
func (v *NullableDeleteRoleResponse) Set(val *DeleteRoleResponse)
func (*NullableDeleteRoleResponse) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableDeleteRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteRoleResponse) Unset ¶ added in v0.11.0
func (v *NullableDeleteRoleResponse) 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 NullableGetRoleResponse ¶ added in v0.11.0
type NullableGetRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetRoleResponse ¶ added in v0.11.0
func NewNullableGetRoleResponse(val *GetRoleResponse) *NullableGetRoleResponse
func (NullableGetRoleResponse) Get ¶ added in v0.11.0
func (v NullableGetRoleResponse) Get() *GetRoleResponse
func (NullableGetRoleResponse) IsSet ¶ added in v0.11.0
func (v NullableGetRoleResponse) IsSet() bool
func (NullableGetRoleResponse) MarshalJSON ¶ added in v0.11.0
func (v NullableGetRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableGetRoleResponse) Set ¶ added in v0.11.0
func (v *NullableGetRoleResponse) Set(val *GetRoleResponse)
func (*NullableGetRoleResponse) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableGetRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableGetRoleResponse) Unset ¶ added in v0.11.0
func (v *NullableGetRoleResponse) 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 NullableListAssignableSubjectsResponse ¶ added in v0.9.0
type NullableListAssignableSubjectsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListAssignableSubjectsResponse ¶ added in v0.9.0
func NewNullableListAssignableSubjectsResponse(val *ListAssignableSubjectsResponse) *NullableListAssignableSubjectsResponse
func (NullableListAssignableSubjectsResponse) Get ¶ added in v0.9.0
func (v NullableListAssignableSubjectsResponse) Get() *ListAssignableSubjectsResponse
func (NullableListAssignableSubjectsResponse) IsSet ¶ added in v0.9.0
func (v NullableListAssignableSubjectsResponse) IsSet() bool
func (NullableListAssignableSubjectsResponse) MarshalJSON ¶ added in v0.9.0
func (v NullableListAssignableSubjectsResponse) MarshalJSON() ([]byte, error)
func (*NullableListAssignableSubjectsResponse) Set ¶ added in v0.9.0
func (v *NullableListAssignableSubjectsResponse) Set(val *ListAssignableSubjectsResponse)
func (*NullableListAssignableSubjectsResponse) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableListAssignableSubjectsResponse) UnmarshalJSON(src []byte) error
func (*NullableListAssignableSubjectsResponse) Unset ¶ added in v0.9.0
func (v *NullableListAssignableSubjectsResponse) 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 NullablePermissionRequest ¶ added in v0.11.0
type NullablePermissionRequest struct {
// contains filtered or unexported fields
}
func NewNullablePermissionRequest ¶ added in v0.11.0
func NewNullablePermissionRequest(val *PermissionRequest) *NullablePermissionRequest
func (NullablePermissionRequest) Get ¶ added in v0.11.0
func (v NullablePermissionRequest) Get() *PermissionRequest
func (NullablePermissionRequest) IsSet ¶ added in v0.11.0
func (v NullablePermissionRequest) IsSet() bool
func (NullablePermissionRequest) MarshalJSON ¶ added in v0.11.0
func (v NullablePermissionRequest) MarshalJSON() ([]byte, error)
func (*NullablePermissionRequest) Set ¶ added in v0.11.0
func (v *NullablePermissionRequest) Set(val *PermissionRequest)
func (*NullablePermissionRequest) UnmarshalJSON ¶ added in v0.11.0
func (v *NullablePermissionRequest) UnmarshalJSON(src []byte) error
func (*NullablePermissionRequest) Unset ¶ added in v0.11.0
func (v *NullablePermissionRequest) 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 NullableUpdateRolePayload ¶ added in v0.11.0
type NullableUpdateRolePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRolePayload ¶ added in v0.11.0
func NewNullableUpdateRolePayload(val *UpdateRolePayload) *NullableUpdateRolePayload
func (NullableUpdateRolePayload) Get ¶ added in v0.11.0
func (v NullableUpdateRolePayload) Get() *UpdateRolePayload
func (NullableUpdateRolePayload) IsSet ¶ added in v0.11.0
func (v NullableUpdateRolePayload) IsSet() bool
func (NullableUpdateRolePayload) MarshalJSON ¶ added in v0.11.0
func (v NullableUpdateRolePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRolePayload) Set ¶ added in v0.11.0
func (v *NullableUpdateRolePayload) Set(val *UpdateRolePayload)
func (*NullableUpdateRolePayload) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableUpdateRolePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRolePayload) Unset ¶ added in v0.11.0
func (v *NullableUpdateRolePayload) Unset()
type NullableUpdateRoleResponse ¶ added in v0.11.0
type NullableUpdateRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRoleResponse ¶ added in v0.11.0
func NewNullableUpdateRoleResponse(val *UpdateRoleResponse) *NullableUpdateRoleResponse
func (NullableUpdateRoleResponse) Get ¶ added in v0.11.0
func (v NullableUpdateRoleResponse) Get() *UpdateRoleResponse
func (NullableUpdateRoleResponse) IsSet ¶ added in v0.11.0
func (v NullableUpdateRoleResponse) IsSet() bool
func (NullableUpdateRoleResponse) MarshalJSON ¶ added in v0.11.0
func (v NullableUpdateRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateRoleResponse) Set ¶ added in v0.11.0
func (v *NullableUpdateRoleResponse) Set(val *UpdateRoleResponse)
func (*NullableUpdateRoleResponse) UnmarshalJSON ¶ added in v0.11.0
func (v *NullableUpdateRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateRoleResponse) Unset ¶ added in v0.11.0
func (v *NullableUpdateRoleResponse) 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 NullableValue ¶ added in v0.6.1
type NullableValue[T any] struct { // contains filtered or unexported fields }
func (NullableValue[T]) Get ¶ added in v0.6.1
func (v NullableValue[T]) Get() *T
func (NullableValue[T]) IsSet ¶ added in v0.6.1
func (v NullableValue[T]) IsSet() bool
func (*NullableValue[T]) Set ¶ added in v0.6.1
func (v *NullableValue[T]) Set(val *T)
func (*NullableValue[T]) Unset ¶ added in v0.6.1
func (v *NullableValue[T]) 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 PermissionGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
Name PermissionGetNameAttributeType `json:"name" required:"true"`
}
Permission struct for Permission
func NewPermission ¶ added in v0.4.0
func NewPermission(description PermissionGetDescriptionArgType, name PermissionGetNameArgType) *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() (ret PermissionGetDescriptionRetType)
GetDescription returns the Description field value
func (*Permission) GetDescriptionOk ¶ added in v0.4.0
func (o *Permission) GetDescriptionOk() (ret PermissionGetDescriptionRetType, ok 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() (ret PermissionGetNameRetType)
GetName returns the Name field value
func (*Permission) GetNameOk ¶ added in v0.4.0
func (o *Permission) GetNameOk() (ret PermissionGetNameRetType, ok 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 PermissionGetDescriptionRetType)
SetDescription sets field value
func (*Permission) SetName ¶ added in v0.4.0
func (o *Permission) SetName(v PermissionGetNameRetType)
SetName sets field value
func (Permission) ToMap ¶ added in v0.4.0
func (o Permission) ToMap() (map[string]interface{}, error)
type PermissionGetDescriptionArgType ¶ added in v0.6.1
type PermissionGetDescriptionArgType = string
type PermissionGetDescriptionAttributeType ¶ added in v0.6.1
type PermissionGetDescriptionAttributeType = *string
isNotNullableString
type PermissionGetDescriptionRetType ¶ added in v0.6.1
type PermissionGetDescriptionRetType = string
type PermissionGetNameArgType ¶ added in v0.6.1
type PermissionGetNameArgType = string
type PermissionGetNameAttributeType ¶ added in v0.6.1
type PermissionGetNameAttributeType = *string
isNotNullableString
type PermissionGetNameRetType ¶ added in v0.6.1
type PermissionGetNameRetType = string
type PermissionRequest ¶
type PermissionRequest struct {
// REQUIRED
Name PermissionRequestGetNameAttributeType `json:"name" required:"true"`
}
PermissionRequest struct for PermissionRequest
func NewPermissionRequest ¶ added in v0.11.0
func NewPermissionRequest(name PermissionRequestGetNameArgType) *PermissionRequest
NewPermissionRequest instantiates a new PermissionRequest 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 NewPermissionRequestWithDefaults ¶ added in v0.11.0
func NewPermissionRequestWithDefaults() *PermissionRequest
NewPermissionRequestWithDefaults instantiates a new PermissionRequest 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 (*PermissionRequest) GetName ¶ added in v0.11.0
func (o *PermissionRequest) GetName() (ret PermissionRequestGetNameRetType)
GetName returns the Name field value
func (*PermissionRequest) GetNameOk ¶ added in v0.11.0
func (o *PermissionRequest) GetNameOk() (ret PermissionRequestGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PermissionRequest) SetName ¶ added in v0.11.0
func (o *PermissionRequest) SetName(v PermissionRequestGetNameRetType)
SetName sets field value
func (PermissionRequest) ToMap ¶ added in v0.11.0
func (o PermissionRequest) ToMap() (map[string]interface{}, error)
type PermissionRequestGetNameArgType ¶ added in v0.11.0
type PermissionRequestGetNameArgType = string
type PermissionRequestGetNameAttributeType ¶ added in v0.11.0
type PermissionRequestGetNameAttributeType = *string
isNotNullableString
type PermissionRequestGetNameRetType ¶ added in v0.11.0
type PermissionRequestGetNameRetType = string
type RemoveMembersPayload ¶
type RemoveMembersPayload struct {
ForceRemove RemoveMembersPayloadgetForceRemoveAttributeType `json:"forceRemove,omitempty"`
// REQUIRED
Members RemoveMembersPayloadGetMembersAttributeType `json:"members" required:"true"`
// REQUIRED
ResourceType RemoveMembersPayloadGetResourceTypeAttributeType `json:"resourceType" required:"true"`
}
RemoveMembersPayload struct for RemoveMembersPayload
func NewRemoveMembersPayload ¶ added in v0.4.0
func NewRemoveMembersPayload(members RemoveMembersPayloadGetMembersArgType, resourceType RemoveMembersPayloadGetResourceTypeArgType) *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() (res RemoveMembersPayloadgetForceRemoveRetType)
GetForceRemove returns the ForceRemove field value if set, zero value otherwise.
func (*RemoveMembersPayload) GetForceRemoveOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetForceRemoveOk() (ret RemoveMembersPayloadgetForceRemoveRetType, ok 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() (ret RemoveMembersPayloadGetMembersRetType)
GetMembers returns the Members field value
func (*RemoveMembersPayload) GetMembersOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetMembersOk() (ret RemoveMembersPayloadGetMembersRetType, ok 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() (ret RemoveMembersPayloadGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*RemoveMembersPayload) GetResourceTypeOk ¶ added in v0.4.0
func (o *RemoveMembersPayload) GetResourceTypeOk() (ret RemoveMembersPayloadGetResourceTypeRetType, ok 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 RemoveMembersPayloadgetForceRemoveRetType)
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 RemoveMembersPayloadGetMembersRetType)
SetMembers sets field value
func (*RemoveMembersPayload) SetResourceType ¶ added in v0.4.0
func (o *RemoveMembersPayload) SetResourceType(v RemoveMembersPayloadGetResourceTypeRetType)
SetResourceType sets field value
func (RemoveMembersPayload) ToMap ¶ added in v0.4.0
func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
type RemoveMembersPayloadGetMembersArgType ¶ added in v0.6.1
type RemoveMembersPayloadGetMembersArgType = []Member
type RemoveMembersPayloadGetMembersAttributeType ¶ added in v0.6.1
type RemoveMembersPayloadGetMembersAttributeType = *[]Member
isArray
type RemoveMembersPayloadGetMembersRetType ¶ added in v0.6.1
type RemoveMembersPayloadGetMembersRetType = []Member
type RemoveMembersPayloadGetResourceTypeArgType ¶ added in v0.6.1
type RemoveMembersPayloadGetResourceTypeArgType = string
type RemoveMembersPayloadGetResourceTypeAttributeType ¶ added in v0.6.1
type RemoveMembersPayloadGetResourceTypeAttributeType = *string
isNotNullableString
type RemoveMembersPayloadGetResourceTypeRetType ¶ added in v0.6.1
type RemoveMembersPayloadGetResourceTypeRetType = string
type RemoveMembersPayloadgetForceRemoveArgType ¶ added in v0.6.1
type RemoveMembersPayloadgetForceRemoveArgType = bool
type RemoveMembersPayloadgetForceRemoveAttributeType ¶ added in v0.6.1
type RemoveMembersPayloadgetForceRemoveAttributeType = *bool
isBoolean
type RemoveMembersPayloadgetForceRemoveRetType ¶ added in v0.6.1
type RemoveMembersPayloadgetForceRemoveRetType = bool
type RemoveMembersRequest ¶ added in v0.7.0
type RemoveMembersRequest struct {
// contains filtered or unexported fields
}
func (RemoveMembersRequest) Execute ¶ added in v0.7.0
func (r RemoveMembersRequest) Execute() (*MembersResponse, error)
func (RemoveMembersRequest) RemoveMembersPayload ¶ added in v0.7.0
func (r RemoveMembersRequest) RemoveMembersPayload(removeMembersPayload RemoveMembersPayload) ApiRemoveMembersRequest
type Role ¶
type Role struct {
// REQUIRED
Description RoleGetDescriptionAttributeType `json:"description" required:"true"`
Etag RoleGetEtagAttributeType `json:"etag,omitempty"`
Id RoleGetIdAttributeType `json:"id,omitempty"`
// REQUIRED
Name RoleGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Permissions RoleGetPermissionsAttributeType `json:"permissions" required:"true"`
}
Role struct for Role
func NewRole ¶ added in v0.4.0
func NewRole(description RoleGetDescriptionArgType, name RoleGetNameArgType, permissions RoleGetPermissionsArgType) *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
func (o *Role) GetDescription() (ret RoleGetDescriptionRetType)
GetDescription returns the Description field value
func (*Role) GetDescriptionOk ¶ added in v0.4.0
func (o *Role) GetDescriptionOk() (ret RoleGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Role) GetEtag ¶ added in v0.10.0
func (o *Role) GetEtag() (res RoleGetEtagRetType)
GetEtag returns the Etag field value if set, zero value otherwise.
func (*Role) GetEtagOk ¶ added in v0.10.0
func (o *Role) GetEtagOk() (ret RoleGetEtagRetType, ok bool)
GetEtagOk returns a tuple with the Etag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetId ¶ added in v0.4.0
func (o *Role) GetId() (res RoleGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*Role) GetIdOk ¶ added in v0.4.0
func (o *Role) GetIdOk() (ret RoleGetIdRetType, ok bool)
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) GetName ¶ added in v0.4.0
func (o *Role) GetName() (ret RoleGetNameRetType)
GetName returns the Name field value
func (*Role) GetNameOk ¶ added in v0.4.0
func (o *Role) GetNameOk() (ret RoleGetNameRetType, ok bool)
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() (ret RoleGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*Role) GetPermissionsOk ¶ added in v0.4.0
func (o *Role) GetPermissionsOk() (ret RoleGetPermissionsRetType, ok 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
func (o *Role) SetDescription(v RoleGetDescriptionRetType)
SetDescription sets field value
func (*Role) SetEtag ¶ added in v0.10.0
func (o *Role) SetEtag(v RoleGetEtagRetType)
SetEtag gets a reference to the given string and assigns it to the Etag field.
func (*Role) SetId ¶ added in v0.4.0
func (o *Role) SetId(v RoleGetIdRetType)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Role) SetName ¶ added in v0.4.0
func (o *Role) SetName(v RoleGetNameRetType)
SetName sets field value
func (*Role) SetPermissions ¶ added in v0.4.0
func (o *Role) SetPermissions(v RoleGetPermissionsRetType)
SetPermissions sets field value
type RoleGetDescriptionArgType ¶ added in v0.6.1
type RoleGetDescriptionArgType = string
type RoleGetDescriptionAttributeType ¶ added in v0.6.1
type RoleGetDescriptionAttributeType = *string
isNotNullableString
type RoleGetDescriptionRetType ¶ added in v0.6.1
type RoleGetDescriptionRetType = string
type RoleGetEtagArgType ¶ added in v0.10.0
type RoleGetEtagArgType = string
type RoleGetEtagAttributeType ¶ added in v0.10.0
type RoleGetEtagAttributeType = *string
isNotNullableString
type RoleGetEtagRetType ¶ added in v0.10.0
type RoleGetEtagRetType = string
type RoleGetIdArgType ¶ added in v0.6.1
type RoleGetIdArgType = string
type RoleGetIdAttributeType ¶ added in v0.6.1
type RoleGetIdAttributeType = *string
isNotNullableString
type RoleGetIdRetType ¶ added in v0.6.1
type RoleGetIdRetType = string
type RoleGetNameArgType ¶ added in v0.6.1
type RoleGetNameArgType = string
type RoleGetNameAttributeType ¶ added in v0.6.1
type RoleGetNameAttributeType = *string
isNotNullableString
type RoleGetNameRetType ¶ added in v0.6.1
type RoleGetNameRetType = string
type RoleGetPermissionsArgType ¶ added in v0.6.1
type RoleGetPermissionsArgType = []Permission
type RoleGetPermissionsAttributeType ¶ added in v0.6.1
type RoleGetPermissionsAttributeType = *[]Permission
isArray
type RoleGetPermissionsRetType ¶ added in v0.6.1
type RoleGetPermissionsRetType = []Permission
type RolesResponse ¶
type RolesResponse struct {
// REQUIRED
ResourceId RolesResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType RolesResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Roles RolesResponseGetRolesAttributeType `json:"roles" required:"true"`
}
RolesResponse struct for RolesResponse
func NewRolesResponse ¶ added in v0.4.0
func NewRolesResponse(resourceId RolesResponseGetResourceIdArgType, resourceType RolesResponseGetResourceTypeArgType, roles RolesResponseGetRolesArgType) *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() (ret RolesResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*RolesResponse) GetResourceIdOk ¶ added in v0.4.0
func (o *RolesResponse) GetResourceIdOk() (ret RolesResponseGetResourceIdRetType, ok 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() (ret RolesResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*RolesResponse) GetResourceTypeOk ¶ added in v0.4.0
func (o *RolesResponse) GetResourceTypeOk() (ret RolesResponseGetResourceTypeRetType, ok 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() (ret RolesResponseGetRolesRetType)
GetRoles returns the Roles field value
func (*RolesResponse) GetRolesOk ¶ added in v0.4.0
func (o *RolesResponse) GetRolesOk() (ret RolesResponseGetRolesRetType, ok 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 RolesResponseGetResourceIdRetType)
SetResourceId sets field value
func (*RolesResponse) SetResourceType ¶ added in v0.4.0
func (o *RolesResponse) SetResourceType(v RolesResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*RolesResponse) SetRoles ¶ added in v0.4.0
func (o *RolesResponse) SetRoles(v RolesResponseGetRolesRetType)
SetRoles sets field value
func (RolesResponse) ToMap ¶ added in v0.4.0
func (o RolesResponse) ToMap() (map[string]interface{}, error)
type RolesResponseGetResourceIdArgType ¶ added in v0.6.1
type RolesResponseGetResourceIdArgType = string
type RolesResponseGetResourceIdAttributeType ¶ added in v0.6.1
type RolesResponseGetResourceIdAttributeType = *string
isNotNullableString
type RolesResponseGetResourceIdRetType ¶ added in v0.6.1
type RolesResponseGetResourceIdRetType = string
type RolesResponseGetResourceTypeArgType ¶ added in v0.6.1
type RolesResponseGetResourceTypeArgType = string
type RolesResponseGetResourceTypeAttributeType ¶ added in v0.6.1
type RolesResponseGetResourceTypeAttributeType = *string
isNotNullableString
type RolesResponseGetResourceTypeRetType ¶ added in v0.6.1
type RolesResponseGetResourceTypeRetType = string
type RolesResponseGetRolesArgType ¶ added in v0.6.1
type RolesResponseGetRolesArgType = []Role
type RolesResponseGetRolesAttributeType ¶ added in v0.6.1
type RolesResponseGetRolesAttributeType = *[]Role
isArray
type RolesResponseGetRolesRetType ¶ added in v0.6.1
type RolesResponseGetRolesRetType = []Role
type UpdateRolePayload ¶ added in v0.11.0
type UpdateRolePayload struct {
// REQUIRED
Description UpdateRolePayloadGetDescriptionAttributeType `json:"description" required:"true"`
Etag UpdateRolePayloadGetEtagAttributeType `json:"etag,omitempty"`
// REQUIRED
Name UpdateRolePayloadGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Permissions UpdateRolePayloadGetPermissionsAttributeType `json:"permissions" required:"true"`
}
UpdateRolePayload struct for UpdateRolePayload
func NewUpdateRolePayload ¶ added in v0.11.0
func NewUpdateRolePayload(description UpdateRolePayloadGetDescriptionArgType, name UpdateRolePayloadGetNameArgType, permissions UpdateRolePayloadGetPermissionsArgType) *UpdateRolePayload
NewUpdateRolePayload instantiates a new UpdateRolePayload 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 NewUpdateRolePayloadWithDefaults ¶ added in v0.11.0
func NewUpdateRolePayloadWithDefaults() *UpdateRolePayload
NewUpdateRolePayloadWithDefaults instantiates a new UpdateRolePayload 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 (*UpdateRolePayload) GetDescription ¶ added in v0.11.0
func (o *UpdateRolePayload) GetDescription() (ret UpdateRolePayloadGetDescriptionRetType)
GetDescription returns the Description field value
func (*UpdateRolePayload) GetDescriptionOk ¶ added in v0.11.0
func (o *UpdateRolePayload) GetDescriptionOk() (ret UpdateRolePayloadGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) GetEtag ¶ added in v0.11.0
func (o *UpdateRolePayload) GetEtag() (res UpdateRolePayloadGetEtagRetType)
GetEtag returns the Etag field value if set, zero value otherwise.
func (*UpdateRolePayload) GetEtagOk ¶ added in v0.11.0
func (o *UpdateRolePayload) GetEtagOk() (ret UpdateRolePayloadGetEtagRetType, ok bool)
GetEtagOk returns a tuple with the Etag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRolePayload) GetName ¶ added in v0.11.0
func (o *UpdateRolePayload) GetName() (ret UpdateRolePayloadGetNameRetType)
GetName returns the Name field value
func (*UpdateRolePayload) GetNameOk ¶ added in v0.11.0
func (o *UpdateRolePayload) GetNameOk() (ret UpdateRolePayloadGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) GetPermissions ¶ added in v0.11.0
func (o *UpdateRolePayload) GetPermissions() (ret UpdateRolePayloadGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*UpdateRolePayload) GetPermissionsOk ¶ added in v0.11.0
func (o *UpdateRolePayload) GetPermissionsOk() (ret UpdateRolePayloadGetPermissionsRetType, ok bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) HasEtag ¶ added in v0.11.0
func (o *UpdateRolePayload) HasEtag() bool
HasEtag returns a boolean if a field has been set.
func (*UpdateRolePayload) SetDescription ¶ added in v0.11.0
func (o *UpdateRolePayload) SetDescription(v UpdateRolePayloadGetDescriptionRetType)
SetDescription sets field value
func (*UpdateRolePayload) SetEtag ¶ added in v0.11.0
func (o *UpdateRolePayload) SetEtag(v UpdateRolePayloadGetEtagRetType)
SetEtag gets a reference to the given string and assigns it to the Etag field.
func (*UpdateRolePayload) SetName ¶ added in v0.11.0
func (o *UpdateRolePayload) SetName(v UpdateRolePayloadGetNameRetType)
SetName sets field value
func (*UpdateRolePayload) SetPermissions ¶ added in v0.11.0
func (o *UpdateRolePayload) SetPermissions(v UpdateRolePayloadGetPermissionsRetType)
SetPermissions sets field value
func (UpdateRolePayload) ToMap ¶ added in v0.11.0
func (o UpdateRolePayload) ToMap() (map[string]interface{}, error)
type UpdateRolePayloadGetDescriptionArgType ¶ added in v0.11.0
type UpdateRolePayloadGetDescriptionArgType = string
type UpdateRolePayloadGetDescriptionAttributeType ¶ added in v0.11.0
type UpdateRolePayloadGetDescriptionAttributeType = *string
isNotNullableString
type UpdateRolePayloadGetDescriptionRetType ¶ added in v0.11.0
type UpdateRolePayloadGetDescriptionRetType = string
type UpdateRolePayloadGetEtagArgType ¶ added in v0.11.0
type UpdateRolePayloadGetEtagArgType = string
type UpdateRolePayloadGetEtagAttributeType ¶ added in v0.11.0
type UpdateRolePayloadGetEtagAttributeType = *string
isNotNullableString
type UpdateRolePayloadGetEtagRetType ¶ added in v0.11.0
type UpdateRolePayloadGetEtagRetType = string
type UpdateRolePayloadGetNameArgType ¶ added in v0.11.0
type UpdateRolePayloadGetNameArgType = string
type UpdateRolePayloadGetNameAttributeType ¶ added in v0.11.0
type UpdateRolePayloadGetNameAttributeType = *string
isNotNullableString
type UpdateRolePayloadGetNameRetType ¶ added in v0.11.0
type UpdateRolePayloadGetNameRetType = string
type UpdateRolePayloadGetPermissionsArgType ¶ added in v0.11.0
type UpdateRolePayloadGetPermissionsArgType = []PermissionRequest
type UpdateRolePayloadGetPermissionsAttributeType ¶ added in v0.11.0
type UpdateRolePayloadGetPermissionsAttributeType = *[]PermissionRequest
isArray
type UpdateRolePayloadGetPermissionsRetType ¶ added in v0.11.0
type UpdateRolePayloadGetPermissionsRetType = []PermissionRequest
type UpdateRoleRequest ¶ added in v0.11.0
type UpdateRoleRequest struct {
// contains filtered or unexported fields
}
func (UpdateRoleRequest) Execute ¶ added in v0.11.0
func (r UpdateRoleRequest) Execute() (*UpdateRoleResponse, error)
func (UpdateRoleRequest) UpdateRolePayload ¶ added in v0.11.0
func (r UpdateRoleRequest) UpdateRolePayload(updateRolePayload UpdateRolePayload) ApiUpdateRoleRequest
type UpdateRoleResponse ¶ added in v0.11.0
type UpdateRoleResponse struct {
// REQUIRED
ResourceId UpdateRoleResponseGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType UpdateRoleResponseGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Role UpdateRoleResponseGetRoleAttributeType `json:"role" required:"true"`
}
UpdateRoleResponse struct for UpdateRoleResponse
func NewUpdateRoleResponse ¶ added in v0.11.0
func NewUpdateRoleResponse(resourceId UpdateRoleResponseGetResourceIdArgType, resourceType UpdateRoleResponseGetResourceTypeArgType, role UpdateRoleResponseGetRoleArgType) *UpdateRoleResponse
NewUpdateRoleResponse instantiates a new UpdateRoleResponse 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 NewUpdateRoleResponseWithDefaults ¶ added in v0.11.0
func NewUpdateRoleResponseWithDefaults() *UpdateRoleResponse
NewUpdateRoleResponseWithDefaults instantiates a new UpdateRoleResponse 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 (*UpdateRoleResponse) GetResourceId ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetResourceId() (ret UpdateRoleResponseGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*UpdateRoleResponse) GetResourceIdOk ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetResourceIdOk() (ret UpdateRoleResponseGetResourceIdRetType, ok bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UpdateRoleResponse) GetResourceType ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetResourceType() (ret UpdateRoleResponseGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*UpdateRoleResponse) GetResourceTypeOk ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetResourceTypeOk() (ret UpdateRoleResponseGetResourceTypeRetType, ok bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*UpdateRoleResponse) GetRole ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetRole() (ret UpdateRoleResponseGetRoleRetType)
GetRole returns the Role field value
func (*UpdateRoleResponse) GetRoleOk ¶ added in v0.11.0
func (o *UpdateRoleResponse) GetRoleOk() (ret UpdateRoleResponseGetRoleRetType, ok bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*UpdateRoleResponse) SetResourceId ¶ added in v0.11.0
func (o *UpdateRoleResponse) SetResourceId(v UpdateRoleResponseGetResourceIdRetType)
SetResourceId sets field value
func (*UpdateRoleResponse) SetResourceType ¶ added in v0.11.0
func (o *UpdateRoleResponse) SetResourceType(v UpdateRoleResponseGetResourceTypeRetType)
SetResourceType sets field value
func (*UpdateRoleResponse) SetRole ¶ added in v0.11.0
func (o *UpdateRoleResponse) SetRole(v UpdateRoleResponseGetRoleRetType)
SetRole sets field value
func (UpdateRoleResponse) ToMap ¶ added in v0.11.0
func (o UpdateRoleResponse) ToMap() (map[string]interface{}, error)
type UpdateRoleResponseGetResourceIdArgType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceIdArgType = string
type UpdateRoleResponseGetResourceIdAttributeType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceIdAttributeType = *string
isNotNullableString
type UpdateRoleResponseGetResourceIdRetType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceIdRetType = string
type UpdateRoleResponseGetResourceTypeArgType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceTypeArgType = string
type UpdateRoleResponseGetResourceTypeAttributeType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceTypeAttributeType = *string
isNotNullableString
type UpdateRoleResponseGetResourceTypeRetType ¶ added in v0.11.0
type UpdateRoleResponseGetResourceTypeRetType = string
type UpdateRoleResponseGetRoleArgType ¶ added in v0.11.0
type UpdateRoleResponseGetRoleArgType = Role
type UpdateRoleResponseGetRoleAttributeType ¶ added in v0.11.0
type UpdateRoleResponseGetRoleAttributeType = *Role
isModel
type UpdateRoleResponseGetRoleRetType ¶ added in v0.11.0
type UpdateRoleResponseGetRoleRetType = Role
type UserMembership ¶
type UserMembership struct {
// REQUIRED
ResourceId UserMembershipGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType UserMembershipGetResourceTypeAttributeType `json:"resourceType" required:"true"`
// REQUIRED
Role UserMembershipGetRoleAttributeType `json:"role" required:"true"`
// REQUIRED
Subject UserMembershipGetSubjectAttributeType `json:"subject" required:"true"`
}
UserMembership struct for UserMembership
func NewUserMembership ¶ added in v0.4.0
func NewUserMembership(resourceId UserMembershipGetResourceIdArgType, resourceType UserMembershipGetResourceTypeArgType, role UserMembershipGetRoleArgType, subject UserMembershipGetSubjectArgType) *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() (ret UserMembershipGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*UserMembership) GetResourceIdOk ¶ added in v0.4.0
func (o *UserMembership) GetResourceIdOk() (ret UserMembershipGetResourceIdRetType, ok 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() (ret UserMembershipGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*UserMembership) GetResourceTypeOk ¶ added in v0.4.0
func (o *UserMembership) GetResourceTypeOk() (ret UserMembershipGetResourceTypeRetType, ok 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() (ret UserMembershipGetRoleRetType)
GetRole returns the Role field value
func (*UserMembership) GetRoleOk ¶ added in v0.4.0
func (o *UserMembership) GetRoleOk() (ret UserMembershipGetRoleRetType, ok 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() (ret UserMembershipGetSubjectRetType)
GetSubject returns the Subject field value
func (*UserMembership) GetSubjectOk ¶ added in v0.4.0
func (o *UserMembership) GetSubjectOk() (ret UserMembershipGetSubjectRetType, ok 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 UserMembershipGetResourceIdRetType)
SetResourceId sets field value
func (*UserMembership) SetResourceType ¶ added in v0.4.0
func (o *UserMembership) SetResourceType(v UserMembershipGetResourceTypeRetType)
SetResourceType sets field value
func (*UserMembership) SetRole ¶ added in v0.4.0
func (o *UserMembership) SetRole(v UserMembershipGetRoleRetType)
SetRole sets field value
func (*UserMembership) SetSubject ¶ added in v0.4.0
func (o *UserMembership) SetSubject(v UserMembershipGetSubjectRetType)
SetSubject sets field value
func (UserMembership) ToMap ¶ added in v0.4.0
func (o UserMembership) ToMap() (map[string]interface{}, error)
type UserMembershipGetResourceIdArgType ¶ added in v0.6.1
type UserMembershipGetResourceIdArgType = string
type UserMembershipGetResourceIdAttributeType ¶ added in v0.6.1
type UserMembershipGetResourceIdAttributeType = *string
isNotNullableString
type UserMembershipGetResourceIdRetType ¶ added in v0.6.1
type UserMembershipGetResourceIdRetType = string
type UserMembershipGetResourceTypeArgType ¶ added in v0.6.1
type UserMembershipGetResourceTypeArgType = string
type UserMembershipGetResourceTypeAttributeType ¶ added in v0.6.1
type UserMembershipGetResourceTypeAttributeType = *string
isNotNullableString
type UserMembershipGetResourceTypeRetType ¶ added in v0.6.1
type UserMembershipGetResourceTypeRetType = string
type UserMembershipGetRoleArgType ¶ added in v0.6.1
type UserMembershipGetRoleArgType = string
type UserMembershipGetRoleAttributeType ¶ added in v0.6.1
type UserMembershipGetRoleAttributeType = *string
isNotNullableString
type UserMembershipGetRoleRetType ¶ added in v0.6.1
type UserMembershipGetRoleRetType = string
type UserMembershipGetSubjectArgType ¶ added in v0.6.1
type UserMembershipGetSubjectArgType = string
type UserMembershipGetSubjectAttributeType ¶ added in v0.6.1
type UserMembershipGetSubjectAttributeType = *string
isNotNullableString
type UserMembershipGetSubjectRetType ¶ added in v0.6.1
type UserMembershipGetSubjectRetType = string
type UserPermission ¶
type UserPermission struct {
// REQUIRED
Permissions UserPermissionGetPermissionsAttributeType `json:"permissions" required:"true"`
// REQUIRED
ResourceId UserPermissionGetResourceIdAttributeType `json:"resourceId" required:"true"`
// REQUIRED
ResourceType UserPermissionGetResourceTypeAttributeType `json:"resourceType" required:"true"`
}
UserPermission struct for UserPermission
func NewUserPermission ¶ added in v0.4.0
func NewUserPermission(permissions UserPermissionGetPermissionsArgType, resourceId UserPermissionGetResourceIdArgType, resourceType UserPermissionGetResourceTypeArgType) *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() (ret UserPermissionGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*UserPermission) GetPermissionsOk ¶ added in v0.4.0
func (o *UserPermission) GetPermissionsOk() (ret UserPermissionGetPermissionsRetType, ok 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() (ret UserPermissionGetResourceIdRetType)
GetResourceId returns the ResourceId field value
func (*UserPermission) GetResourceIdOk ¶ added in v0.4.0
func (o *UserPermission) GetResourceIdOk() (ret UserPermissionGetResourceIdRetType, ok 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() (ret UserPermissionGetResourceTypeRetType)
GetResourceType returns the ResourceType field value
func (*UserPermission) GetResourceTypeOk ¶ added in v0.4.0
func (o *UserPermission) GetResourceTypeOk() (ret UserPermissionGetResourceTypeRetType, ok 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 UserPermissionGetPermissionsRetType)
SetPermissions sets field value
func (*UserPermission) SetResourceId ¶ added in v0.4.0
func (o *UserPermission) SetResourceId(v UserPermissionGetResourceIdRetType)
SetResourceId sets field value
func (*UserPermission) SetResourceType ¶ added in v0.4.0
func (o *UserPermission) SetResourceType(v UserPermissionGetResourceTypeRetType)
SetResourceType sets field value
func (UserPermission) ToMap ¶ added in v0.4.0
func (o UserPermission) ToMap() (map[string]interface{}, error)
type UserPermissionGetPermissionsArgType ¶ added in v0.6.1
type UserPermissionGetPermissionsArgType = []ExistingPermission
type UserPermissionGetPermissionsAttributeType ¶ added in v0.6.1
type UserPermissionGetPermissionsAttributeType = *[]ExistingPermission
isArray
type UserPermissionGetPermissionsRetType ¶ added in v0.6.1
type UserPermissionGetPermissionsRetType = []ExistingPermission
type UserPermissionGetResourceIdArgType ¶ added in v0.6.1
type UserPermissionGetResourceIdArgType = string
type UserPermissionGetResourceIdAttributeType ¶ added in v0.6.1
type UserPermissionGetResourceIdAttributeType = *string
isNotNullableString
type UserPermissionGetResourceIdRetType ¶ added in v0.6.1
type UserPermissionGetResourceIdRetType = string
type UserPermissionGetResourceTypeArgType ¶ added in v0.6.1
type UserPermissionGetResourceTypeArgType = string
type UserPermissionGetResourceTypeAttributeType ¶ added in v0.6.1
type UserPermissionGetResourceTypeAttributeType = *string
isNotNullableString
type UserPermissionGetResourceTypeRetType ¶ added in v0.6.1
type UserPermissionGetResourceTypeRetType = string
type Zookie ¶
type Zookie struct {
Zookie ZookieGetZookieAttributeType `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
func (o *Zookie) GetZookie() (res ZookieGetZookieRetType)
GetZookie returns the Zookie field value if set, zero value otherwise.
func (*Zookie) GetZookieOk ¶ added in v0.4.0
func (o *Zookie) GetZookieOk() (ret ZookieGetZookieRetType, ok bool)
GetZookieOk returns a tuple with the Zookie field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zookie) SetZookie ¶ added in v0.4.0
func (o *Zookie) SetZookie(v ZookieGetZookieRetType)
SetZookie gets a reference to the given string and assigns it to the Zookie field.
type ZookieGetZookieArgType ¶ added in v0.6.1
type ZookieGetZookieArgType = string
type ZookieGetZookieAttributeType ¶ added in v0.6.1
type ZookieGetZookieAttributeType = *string
isNotNullableString
type ZookieGetZookieRetType ¶ added in v0.6.1
type ZookieGetZookieRetType = string
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_add_custom_role_response.go
- model_add_members_payload.go
- model_add_role_payload.go
- model_assignable_subject.go
- model_delete_role_response.go
- model_error_response.go
- model_existing_permission.go
- model_get_role_response.go
- model_list_assignable_subjects_response.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_permission_request.go
- model_remove_members_payload.go
- model_role.go
- model_roles_response.go
- model_update_role_payload.go
- model_update_role_response.go
- model_user_membership.go
- model_user_permission.go
- model_zookie.go
- utils.go