Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- 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
- type APIResponse
- type AddCustomRoleResponse
- func (o *AddCustomRoleResponse) GetResourceId() string
- func (o *AddCustomRoleResponse) GetResourceIdOk() (*string, bool)
- func (o *AddCustomRoleResponse) GetResourceType() string
- func (o *AddCustomRoleResponse) GetResourceTypeOk() (*string, bool)
- func (o *AddCustomRoleResponse) GetRole() Role
- func (o *AddCustomRoleResponse) GetRoleOk() (*Role, bool)
- func (o AddCustomRoleResponse) MarshalJSON() ([]byte, error)
- func (o *AddCustomRoleResponse) SetResourceId(v string)
- func (o *AddCustomRoleResponse) SetResourceType(v string)
- func (o *AddCustomRoleResponse) SetRole(v Role)
- func (o AddCustomRoleResponse) ToMap() (map[string]interface{}, error)
- func (o *AddCustomRoleResponse) UnmarshalJSON(data []byte) (err error)
- type AddMembersPayload
- func (o *AddMembersPayload) GetMembers() []Member
- func (o *AddMembersPayload) GetMembersOk() ([]Member, bool)
- func (o *AddMembersPayload) GetResourceType() string
- func (o *AddMembersPayload) GetResourceTypeOk() (*string, bool)
- func (o AddMembersPayload) MarshalJSON() ([]byte, error)
- func (o *AddMembersPayload) SetMembers(v []Member)
- func (o *AddMembersPayload) SetResourceType(v string)
- func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
- func (o *AddMembersPayload) UnmarshalJSON(data []byte) (err error)
- type AddRolePayload
- func (o *AddRolePayload) GetDescription() string
- func (o *AddRolePayload) GetDescriptionOk() (*string, bool)
- func (o *AddRolePayload) GetName() string
- func (o *AddRolePayload) GetNameOk() (*string, bool)
- func (o *AddRolePayload) GetPermissions() []PermissionRequest
- func (o *AddRolePayload) GetPermissionsOk() ([]PermissionRequest, bool)
- func (o AddRolePayload) MarshalJSON() ([]byte, error)
- func (o *AddRolePayload) SetDescription(v string)
- func (o *AddRolePayload) SetName(v string)
- func (o *AddRolePayload) SetPermissions(v []PermissionRequest)
- func (o AddRolePayload) ToMap() (map[string]interface{}, error)
- func (o *AddRolePayload) UnmarshalJSON(data []byte) (err error)
- type ApiAddMembersRequest
- type ApiAddRoleRequest
- type ApiDeleteRoleRequest
- type ApiGetRoleRequest
- type ApiListMembersRequest
- type ApiListPermissionsRequest
- type ApiListRolesRequest
- type ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
- func (r ApiListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
- func (r ApiListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
- type ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
- func (r ApiListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
- func (r ApiListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
- type ApiRemoveMembersRequest
- type ApiUpdateRoleRequest
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
- func (a *DefaultAPIService) AddMembersExecute(r ApiAddMembersRequest) (*MembersResponse, error)
- func (a *DefaultAPIService) AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
- func (a *DefaultAPIService) AddRoleExecute(r ApiAddRoleRequest) (*AddCustomRoleResponse, error)
- func (a *DefaultAPIService) DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
- func (a *DefaultAPIService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*DeleteRoleResponse, error)
- func (a *DefaultAPIService) GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
- func (a *DefaultAPIService) GetRoleExecute(r ApiGetRoleRequest) (*GetRoleResponse, error)
- func (a *DefaultAPIService) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
- func (a *DefaultAPIService) ListMembersExecute(r ApiListMembersRequest) (*ListMembersResponse, error)
- func (a *DefaultAPIService) ListPermissions(ctx context.Context) ApiListPermissionsRequest
- func (a *DefaultAPIService) ListPermissionsExecute(r ApiListPermissionsRequest) (*ListPermissionsResponse, error)
- func (a *DefaultAPIService) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
- func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*RolesResponse, error)
- func (a *DefaultAPIService) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
- func (a *DefaultAPIService) ListUserMembershipsExecute(r ApiListUserMembershipsRequest) (*ListUserMembershipsResponse, error)
- func (a *DefaultAPIService) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
- func (a *DefaultAPIService) ListUserPermissionsExecute(r ApiListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
- func (a *DefaultAPIService) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
- func (a *DefaultAPIService) RemoveMembersExecute(r ApiRemoveMembersRequest) (*MembersResponse, error)
- func (a *DefaultAPIService) UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
- func (a *DefaultAPIService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
- func (a DefaultAPIServiceMock) AddMembersExecute(r ApiAddMembersRequest) (*MembersResponse, error)
- func (a DefaultAPIServiceMock) AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
- func (a DefaultAPIServiceMock) AddRoleExecute(r ApiAddRoleRequest) (*AddCustomRoleResponse, error)
- func (a DefaultAPIServiceMock) DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
- func (a DefaultAPIServiceMock) DeleteRoleExecute(r ApiDeleteRoleRequest) (*DeleteRoleResponse, error)
- func (a DefaultAPIServiceMock) GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
- func (a DefaultAPIServiceMock) GetRoleExecute(r ApiGetRoleRequest) (*GetRoleResponse, error)
- func (a DefaultAPIServiceMock) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
- func (a DefaultAPIServiceMock) ListMembersExecute(r ApiListMembersRequest) (*ListMembersResponse, error)
- func (a DefaultAPIServiceMock) ListPermissions(ctx context.Context) ApiListPermissionsRequest
- func (a DefaultAPIServiceMock) ListPermissionsExecute(r ApiListPermissionsRequest) (*ListPermissionsResponse, error)
- func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
- func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*RolesResponse, error)
- func (a DefaultAPIServiceMock) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
- func (a DefaultAPIServiceMock) ListUserMembershipsExecute(r ApiListUserMembershipsRequest) (*ListUserMembershipsResponse, error)
- func (a DefaultAPIServiceMock) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
- func (a DefaultAPIServiceMock) ListUserPermissionsExecute(r ApiListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
- func (a DefaultAPIServiceMock) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
- func (a DefaultAPIServiceMock) RemoveMembersExecute(r ApiRemoveMembersRequest) (*MembersResponse, error)
- func (a DefaultAPIServiceMock) UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
- func (a DefaultAPIServiceMock) UpdateRoleExecute(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
- type DeleteRoleResponse
- func (o *DeleteRoleResponse) GetWrittenAt() Zookie
- func (o *DeleteRoleResponse) GetWrittenAtOk() (*Zookie, bool)
- func (o DeleteRoleResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteRoleResponse) SetWrittenAt(v Zookie)
- func (o DeleteRoleResponse) ToMap() (map[string]interface{}, error)
- func (o *DeleteRoleResponse) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetError() string
- func (o *ErrorResponse) GetErrorOk() (*string, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetPath() string
- func (o *ErrorResponse) GetPathOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() int32
- func (o *ErrorResponse) GetStatusOk() (*int32, bool)
- func (o *ErrorResponse) GetTimeStamp() time.Time
- func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetError(v string)
- func (o *ErrorResponse) SetMessage(v string)
- func (o *ErrorResponse) SetPath(v string)
- func (o *ErrorResponse) SetStatus(v int32)
- func (o *ErrorResponse) SetTimeStamp(v time.Time)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ExistingPermission
- func (o *ExistingPermission) GetDescription() string
- func (o *ExistingPermission) GetDescriptionOk() (*string, bool)
- func (o *ExistingPermission) GetName() string
- func (o *ExistingPermission) GetNameOk() (*string, bool)
- func (o ExistingPermission) MarshalJSON() ([]byte, error)
- func (o *ExistingPermission) SetDescription(v string)
- func (o *ExistingPermission) SetName(v string)
- func (o ExistingPermission) ToMap() (map[string]interface{}, error)
- func (o *ExistingPermission) UnmarshalJSON(data []byte) (err error)
- type GetRoleResponse
- func (o *GetRoleResponse) GetResourceId() string
- func (o *GetRoleResponse) GetResourceIdOk() (*string, bool)
- func (o *GetRoleResponse) GetResourceType() string
- func (o *GetRoleResponse) GetResourceTypeOk() (*string, bool)
- func (o *GetRoleResponse) GetRole() Role
- func (o *GetRoleResponse) GetRoleOk() (*Role, bool)
- func (o GetRoleResponse) MarshalJSON() ([]byte, error)
- func (o *GetRoleResponse) SetResourceId(v string)
- func (o *GetRoleResponse) SetResourceType(v string)
- func (o *GetRoleResponse) SetRole(v Role)
- func (o GetRoleResponse) ToMap() (map[string]interface{}, error)
- func (o *GetRoleResponse) UnmarshalJSON(data []byte) (err error)
- type ListMembersResponse
- func (o *ListMembersResponse) GetMembers() []Member
- func (o *ListMembersResponse) GetMembersOk() ([]Member, bool)
- func (o *ListMembersResponse) GetResourceId() string
- func (o *ListMembersResponse) GetResourceIdOk() (*string, bool)
- func (o *ListMembersResponse) GetResourceType() string
- func (o *ListMembersResponse) GetResourceTypeOk() (*string, bool)
- func (o ListMembersResponse) MarshalJSON() ([]byte, error)
- func (o *ListMembersResponse) SetMembers(v []Member)
- func (o *ListMembersResponse) SetResourceId(v string)
- func (o *ListMembersResponse) SetResourceType(v string)
- func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListMembersResponse) UnmarshalJSON(data []byte) (err error)
- type ListPermissionsResponse
- func (o *ListPermissionsResponse) GetPermissions() []Permission
- func (o *ListPermissionsResponse) GetPermissionsOk() ([]Permission, bool)
- func (o ListPermissionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListPermissionsResponse) SetPermissions(v []Permission)
- func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListPermissionsResponse) UnmarshalJSON(data []byte) (err error)
- type ListUserMembershipsResponse
- func (o *ListUserMembershipsResponse) GetItems() []UserMembership
- func (o *ListUserMembershipsResponse) GetItemsOk() ([]UserMembership, bool)
- func (o ListUserMembershipsResponse) MarshalJSON() ([]byte, error)
- func (o *ListUserMembershipsResponse) SetItems(v []UserMembership)
- func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUserMembershipsResponse) UnmarshalJSON(data []byte) (err error)
- type ListUserPermissionsResponse
- func (o *ListUserPermissionsResponse) GetItems() []UserPermission
- func (o *ListUserPermissionsResponse) GetItemsOk() ([]UserPermission, bool)
- func (o ListUserPermissionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListUserPermissionsResponse) SetItems(v []UserPermission)
- func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUserPermissionsResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type Member
- func (o *Member) GetRole() string
- func (o *Member) GetRoleOk() (*string, bool)
- func (o *Member) GetSubject() string
- func (o *Member) GetSubjectOk() (*string, bool)
- func (o Member) MarshalJSON() ([]byte, error)
- func (o *Member) SetRole(v string)
- func (o *Member) SetSubject(v string)
- func (o Member) ToMap() (map[string]interface{}, error)
- func (o *Member) UnmarshalJSON(data []byte) (err error)
- type MembersResponse
- func (o *MembersResponse) GetMembers() []Member
- func (o *MembersResponse) GetMembersOk() ([]Member, bool)
- func (o *MembersResponse) GetResourceId() string
- func (o *MembersResponse) GetResourceIdOk() (*string, bool)
- func (o *MembersResponse) GetResourceType() string
- func (o *MembersResponse) GetResourceTypeOk() (*string, bool)
- func (o *MembersResponse) GetWrittenAt() Zookie
- func (o *MembersResponse) GetWrittenAtOk() (*Zookie, bool)
- func (o *MembersResponse) HasWrittenAt() bool
- func (o MembersResponse) MarshalJSON() ([]byte, error)
- func (o *MembersResponse) SetMembers(v []Member)
- func (o *MembersResponse) SetResourceId(v string)
- func (o *MembersResponse) SetResourceType(v string)
- func (o *MembersResponse) SetWrittenAt(v Zookie)
- func (o MembersResponse) ToMap() (map[string]interface{}, error)
- func (o *MembersResponse) UnmarshalJSON(data []byte) (err error)
- 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 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 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 NullableZookie
- type Permission
- func (o *Permission) GetDescription() string
- func (o *Permission) GetDescriptionOk() (*string, bool)
- func (o *Permission) GetName() string
- func (o *Permission) GetNameOk() (*string, bool)
- func (o Permission) MarshalJSON() ([]byte, error)
- func (o *Permission) SetDescription(v string)
- func (o *Permission) SetName(v string)
- func (o Permission) ToMap() (map[string]interface{}, error)
- func (o *Permission) UnmarshalJSON(data []byte) (err error)
- type PermissionRequest
- func (o *PermissionRequest) GetName() string
- func (o *PermissionRequest) GetNameOk() (*string, bool)
- func (o PermissionRequest) MarshalJSON() ([]byte, error)
- func (o *PermissionRequest) SetName(v string)
- func (o PermissionRequest) ToMap() (map[string]interface{}, error)
- func (o *PermissionRequest) UnmarshalJSON(data []byte) (err error)
- type RemoveMembersPayload
- func (o *RemoveMembersPayload) GetForceRemove() bool
- func (o *RemoveMembersPayload) GetForceRemoveOk() (*bool, bool)
- func (o *RemoveMembersPayload) GetMembers() []Member
- func (o *RemoveMembersPayload) GetMembersOk() ([]Member, bool)
- func (o *RemoveMembersPayload) GetResourceType() string
- func (o *RemoveMembersPayload) GetResourceTypeOk() (*string, bool)
- func (o *RemoveMembersPayload) HasForceRemove() bool
- func (o RemoveMembersPayload) MarshalJSON() ([]byte, error)
- func (o *RemoveMembersPayload) SetForceRemove(v bool)
- func (o *RemoveMembersPayload) SetMembers(v []Member)
- func (o *RemoveMembersPayload) SetResourceType(v string)
- func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
- func (o *RemoveMembersPayload) UnmarshalJSON(data []byte) (err error)
- type Role
- func (o *Role) GetDescription() string
- func (o *Role) GetDescriptionOk() (*string, bool)
- func (o *Role) GetEtag() string
- func (o *Role) GetEtagOk() (*string, bool)
- func (o *Role) GetId() string
- func (o *Role) GetIdOk() (*string, bool)
- func (o *Role) GetName() string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetPermissions() []Permission
- func (o *Role) GetPermissionsOk() ([]Permission, bool)
- func (o *Role) HasEtag() bool
- func (o *Role) HasId() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetDescription(v string)
- func (o *Role) SetEtag(v string)
- func (o *Role) SetId(v string)
- func (o *Role) SetName(v string)
- func (o *Role) SetPermissions(v []Permission)
- func (o Role) ToMap() (map[string]interface{}, error)
- func (o *Role) UnmarshalJSON(data []byte) (err error)
- type RolesResponse
- func (o *RolesResponse) GetResourceId() string
- func (o *RolesResponse) GetResourceIdOk() (*string, bool)
- func (o *RolesResponse) GetResourceType() string
- func (o *RolesResponse) GetResourceTypeOk() (*string, bool)
- func (o *RolesResponse) GetRoles() []Role
- func (o *RolesResponse) GetRolesOk() ([]Role, bool)
- func (o RolesResponse) MarshalJSON() ([]byte, error)
- func (o *RolesResponse) SetResourceId(v string)
- func (o *RolesResponse) SetResourceType(v string)
- func (o *RolesResponse) SetRoles(v []Role)
- func (o RolesResponse) ToMap() (map[string]interface{}, error)
- func (o *RolesResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateRolePayload
- func (o *UpdateRolePayload) GetDescription() string
- func (o *UpdateRolePayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateRolePayload) GetEtag() string
- func (o *UpdateRolePayload) GetEtagOk() (*string, bool)
- func (o *UpdateRolePayload) GetName() string
- func (o *UpdateRolePayload) GetNameOk() (*string, bool)
- func (o *UpdateRolePayload) GetPermissions() []PermissionRequest
- func (o *UpdateRolePayload) GetPermissionsOk() ([]PermissionRequest, bool)
- func (o *UpdateRolePayload) HasEtag() bool
- func (o UpdateRolePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateRolePayload) SetDescription(v string)
- func (o *UpdateRolePayload) SetEtag(v string)
- func (o *UpdateRolePayload) SetName(v string)
- func (o *UpdateRolePayload) SetPermissions(v []PermissionRequest)
- func (o UpdateRolePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateRolePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateRoleResponse
- func (o *UpdateRoleResponse) GetResourceId() string
- func (o *UpdateRoleResponse) GetResourceIdOk() (*string, bool)
- func (o *UpdateRoleResponse) GetResourceType() string
- func (o *UpdateRoleResponse) GetResourceTypeOk() (*string, bool)
- func (o *UpdateRoleResponse) GetRole() Role
- func (o *UpdateRoleResponse) GetRoleOk() (*Role, bool)
- func (o UpdateRoleResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateRoleResponse) SetResourceId(v string)
- func (o *UpdateRoleResponse) SetResourceType(v string)
- func (o *UpdateRoleResponse) SetRole(v Role)
- func (o UpdateRoleResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateRoleResponse) UnmarshalJSON(data []byte) (err error)
- type UserMembership
- func (o *UserMembership) GetResourceId() string
- func (o *UserMembership) GetResourceIdOk() (*string, bool)
- func (o *UserMembership) GetResourceType() string
- func (o *UserMembership) GetResourceTypeOk() (*string, bool)
- func (o *UserMembership) GetRole() string
- func (o *UserMembership) GetRoleOk() (*string, bool)
- func (o *UserMembership) GetSubject() string
- func (o *UserMembership) GetSubjectOk() (*string, bool)
- func (o UserMembership) MarshalJSON() ([]byte, error)
- func (o *UserMembership) SetResourceId(v string)
- func (o *UserMembership) SetResourceType(v string)
- func (o *UserMembership) SetRole(v string)
- func (o *UserMembership) SetSubject(v string)
- func (o UserMembership) ToMap() (map[string]interface{}, error)
- func (o *UserMembership) UnmarshalJSON(data []byte) (err error)
- type UserPermission
- func (o *UserPermission) GetPermissions() []ExistingPermission
- func (o *UserPermission) GetPermissionsOk() ([]ExistingPermission, bool)
- func (o *UserPermission) GetResourceId() string
- func (o *UserPermission) GetResourceIdOk() (*string, bool)
- func (o *UserPermission) GetResourceType() string
- func (o *UserPermission) GetResourceTypeOk() (*string, bool)
- func (o UserPermission) MarshalJSON() ([]byte, error)
- func (o *UserPermission) SetPermissions(v []ExistingPermission)
- func (o *UserPermission) SetResourceId(v string)
- func (o *UserPermission) SetResourceType(v string)
- func (o UserPermission) ToMap() (map[string]interface{}, error)
- func (o *UserPermission) UnmarshalJSON(data []byte) (err error)
- type Zookie
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 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 {
DefaultAPI DefaultAPI
// 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. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
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
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AddCustomRoleResponse ¶
type AddCustomRoleResponse struct {
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
Role Role `json:"role"`
}
AddCustomRoleResponse struct for AddCustomRoleResponse
func NewAddCustomRoleResponse ¶
func NewAddCustomRoleResponse(resourceId string, resourceType string, role Role) *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 ¶
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 ¶
func (o *AddCustomRoleResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*AddCustomRoleResponse) GetResourceIdOk ¶
func (o *AddCustomRoleResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*AddCustomRoleResponse) GetResourceType ¶
func (o *AddCustomRoleResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*AddCustomRoleResponse) GetResourceTypeOk ¶
func (o *AddCustomRoleResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*AddCustomRoleResponse) GetRole ¶
func (o *AddCustomRoleResponse) GetRole() Role
GetRole returns the Role field value
func (*AddCustomRoleResponse) GetRoleOk ¶
func (o *AddCustomRoleResponse) GetRoleOk() (*Role, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (AddCustomRoleResponse) MarshalJSON ¶
func (o AddCustomRoleResponse) MarshalJSON() ([]byte, error)
func (*AddCustomRoleResponse) SetResourceId ¶
func (o *AddCustomRoleResponse) SetResourceId(v string)
SetResourceId sets field value
func (*AddCustomRoleResponse) SetResourceType ¶
func (o *AddCustomRoleResponse) SetResourceType(v string)
SetResourceType sets field value
func (*AddCustomRoleResponse) SetRole ¶
func (o *AddCustomRoleResponse) SetRole(v Role)
SetRole sets field value
func (AddCustomRoleResponse) ToMap ¶
func (o AddCustomRoleResponse) ToMap() (map[string]interface{}, error)
func (*AddCustomRoleResponse) UnmarshalJSON ¶
func (o *AddCustomRoleResponse) UnmarshalJSON(data []byte) (err error)
type AddMembersPayload ¶
type AddMembersPayload struct {
Members []Member `json:"members"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
}
AddMembersPayload struct for AddMembersPayload
func NewAddMembersPayload ¶
func NewAddMembersPayload(members []Member, resourceType string) *AddMembersPayload
NewAddMembersPayload instantiates a new AddMembersPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddMembersPayloadWithDefaults ¶
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 ¶
func (o *AddMembersPayload) GetMembers() []Member
GetMembers returns the Members field value
func (*AddMembersPayload) GetMembersOk ¶
func (o *AddMembersPayload) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*AddMembersPayload) GetResourceType ¶
func (o *AddMembersPayload) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*AddMembersPayload) GetResourceTypeOk ¶
func (o *AddMembersPayload) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (AddMembersPayload) MarshalJSON ¶
func (o AddMembersPayload) MarshalJSON() ([]byte, error)
func (*AddMembersPayload) SetMembers ¶
func (o *AddMembersPayload) SetMembers(v []Member)
SetMembers sets field value
func (*AddMembersPayload) SetResourceType ¶
func (o *AddMembersPayload) SetResourceType(v string)
SetResourceType sets field value
func (AddMembersPayload) ToMap ¶
func (o AddMembersPayload) ToMap() (map[string]interface{}, error)
func (*AddMembersPayload) UnmarshalJSON ¶
func (o *AddMembersPayload) UnmarshalJSON(data []byte) (err error)
type AddRolePayload ¶
type AddRolePayload struct {
Description string `json:"description"`
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Permissions []PermissionRequest `json:"permissions"`
}
AddRolePayload struct for AddRolePayload
func NewAddRolePayload ¶
func NewAddRolePayload(description string, name string, permissions []PermissionRequest) *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 ¶
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 ¶
func (o *AddRolePayload) GetDescription() string
GetDescription returns the Description field value
func (*AddRolePayload) GetDescriptionOk ¶
func (o *AddRolePayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*AddRolePayload) GetName ¶
func (o *AddRolePayload) GetName() string
GetName returns the Name field value
func (*AddRolePayload) GetNameOk ¶
func (o *AddRolePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AddRolePayload) GetPermissions ¶
func (o *AddRolePayload) GetPermissions() []PermissionRequest
GetPermissions returns the Permissions field value
func (*AddRolePayload) GetPermissionsOk ¶
func (o *AddRolePayload) GetPermissionsOk() ([]PermissionRequest, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (AddRolePayload) MarshalJSON ¶
func (o AddRolePayload) MarshalJSON() ([]byte, error)
func (*AddRolePayload) SetDescription ¶
func (o *AddRolePayload) SetDescription(v string)
SetDescription sets field value
func (*AddRolePayload) SetName ¶
func (o *AddRolePayload) SetName(v string)
SetName sets field value
func (*AddRolePayload) SetPermissions ¶
func (o *AddRolePayload) SetPermissions(v []PermissionRequest)
SetPermissions sets field value
func (AddRolePayload) ToMap ¶
func (o AddRolePayload) ToMap() (map[string]interface{}, error)
func (*AddRolePayload) UnmarshalJSON ¶
func (o *AddRolePayload) UnmarshalJSON(data []byte) (err error)
type ApiAddMembersRequest ¶
type ApiAddMembersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddMembersRequest) AddMembersPayload ¶
func (r ApiAddMembersRequest) AddMembersPayload(addMembersPayload AddMembersPayload) ApiAddMembersRequest
func (ApiAddMembersRequest) Execute ¶
func (r ApiAddMembersRequest) Execute() (*MembersResponse, error)
type ApiAddRoleRequest ¶
type ApiAddRoleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddRoleRequest) AddRolePayload ¶
func (r ApiAddRoleRequest) AddRolePayload(addRolePayload AddRolePayload) ApiAddRoleRequest
func (ApiAddRoleRequest) Execute ¶
func (r ApiAddRoleRequest) Execute() (*AddCustomRoleResponse, error)
type ApiDeleteRoleRequest ¶
type ApiDeleteRoleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteRoleRequest) Etag ¶
func (r ApiDeleteRoleRequest) Etag(etag string) ApiDeleteRoleRequest
func (ApiDeleteRoleRequest) Execute ¶
func (r ApiDeleteRoleRequest) Execute() (*DeleteRoleResponse, error)
type ApiGetRoleRequest ¶
type ApiGetRoleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetRoleRequest) Execute ¶
func (r ApiGetRoleRequest) Execute() (*GetRoleResponse, error)
type ApiListMembersRequest ¶
type ApiListMembersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListMembersRequest) Execute ¶
func (r ApiListMembersRequest) Execute() (*ListMembersResponse, error)
func (ApiListMembersRequest) Subject ¶
func (r ApiListMembersRequest) Subject(subject string) ApiListMembersRequest
type ApiListPermissionsRequest ¶
type ApiListPermissionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPermissionsRequest) Execute ¶
func (r ApiListPermissionsRequest) Execute() (*ListPermissionsResponse, error)
func (ApiListPermissionsRequest) ResourceType ¶
func (r ApiListPermissionsRequest) ResourceType(resourceType string) ApiListPermissionsRequest
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*RolesResponse, error)
type ApiListUserMembershipsRequest ¶
type ApiListUserMembershipsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUserMembershipsRequest) Execute ¶
func (r ApiListUserMembershipsRequest) Execute() (*ListUserMembershipsResponse, error)
func (ApiListUserMembershipsRequest) ParentResourceId ¶
func (r ApiListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest
func (ApiListUserMembershipsRequest) ResourceId ¶
func (r ApiListUserMembershipsRequest) ResourceId(resourceId string) ApiListUserMembershipsRequest
func (ApiListUserMembershipsRequest) ResourceType ¶
func (r ApiListUserMembershipsRequest) ResourceType(resourceType string) ApiListUserMembershipsRequest
type ApiListUserPermissionsRequest ¶
type ApiListUserPermissionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUserPermissionsRequest) Execute ¶
func (r ApiListUserPermissionsRequest) Execute() (*ListUserPermissionsResponse, error)
func (ApiListUserPermissionsRequest) Permissions ¶
func (r ApiListUserPermissionsRequest) Permissions(permissions []string) ApiListUserPermissionsRequest
func (ApiListUserPermissionsRequest) Resource ¶
func (r ApiListUserPermissionsRequest) Resource(resource string) ApiListUserPermissionsRequest
func (ApiListUserPermissionsRequest) ResourceType ¶
func (r ApiListUserPermissionsRequest) ResourceType(resourceType string) ApiListUserPermissionsRequest
type ApiRemoveMembersRequest ¶
type ApiRemoveMembersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveMembersRequest) Execute ¶
func (r ApiRemoveMembersRequest) Execute() (*MembersResponse, error)
func (ApiRemoveMembersRequest) RemoveMembersPayload ¶
func (r ApiRemoveMembersRequest) RemoveMembersPayload(removeMembersPayload RemoveMembersPayload) ApiRemoveMembersRequest
type ApiUpdateRoleRequest ¶
type ApiUpdateRoleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateRoleRequest) Execute ¶
func (r ApiUpdateRoleRequest) Execute() (*UpdateRoleResponse, error)
func (ApiUpdateRoleRequest) UpdateRolePayload ¶
func (r ApiUpdateRoleRequest) UpdateRolePayload(updateRolePayload UpdateRolePayload) ApiUpdateRoleRequest
type DefaultAPI ¶
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
// @return MembersResponse
AddMembersExecute(r ApiAddMembersRequest) (*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
// @return AddCustomRoleResponse
AddRoleExecute(r ApiAddRoleRequest) (*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
// @return DeleteRoleResponse
DeleteRoleExecute(r ApiDeleteRoleRequest) (*DeleteRoleResponse, 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
// @return GetRoleResponse
GetRoleExecute(r ApiGetRoleRequest) (*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
// @return ListMembersResponse
ListMembersExecute(r ApiListMembersRequest) (*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
// @return ListPermissionsResponse
ListPermissionsExecute(r ApiListPermissionsRequest) (*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
// @return RolesResponse
ListRolesExecute(r ApiListRolesRequest) (*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
// @return ListUserMembershipsResponse
ListUserMembershipsExecute(r ApiListUserMembershipsRequest) (*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
// @return ListUserPermissionsResponse
ListUserPermissionsExecute(r ApiListUserPermissionsRequest) (*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
// @return MembersResponse
RemoveMembersExecute(r ApiRemoveMembersRequest) (*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
// @return UpdateRoleResponse
UpdateRoleExecute(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) AddMembers ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) AddMembersExecute ¶
func (a *DefaultAPIService) AddMembersExecute(r ApiAddMembersRequest) (*MembersResponse, error)
Execute executes the request
@return MembersResponse
func (*DefaultAPIService) AddRole ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) AddRoleExecute ¶
func (a *DefaultAPIService) AddRoleExecute(r ApiAddRoleRequest) (*AddCustomRoleResponse, error)
Execute executes the request
@return AddCustomRoleResponse
func (*DefaultAPIService) DeleteRole ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) DeleteRoleExecute ¶
func (a *DefaultAPIService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*DeleteRoleResponse, error)
Execute executes the request
@return DeleteRoleResponse
func (*DefaultAPIService) GetRole ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) GetRoleExecute ¶
func (a *DefaultAPIService) GetRoleExecute(r ApiGetRoleRequest) (*GetRoleResponse, error)
Execute executes the request
@return GetRoleResponse
func (*DefaultAPIService) ListMembers ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListMembersExecute ¶
func (a *DefaultAPIService) ListMembersExecute(r ApiListMembersRequest) (*ListMembersResponse, error)
Execute executes the request
@return ListMembersResponse
func (*DefaultAPIService) ListPermissions ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListPermissionsExecute ¶
func (a *DefaultAPIService) ListPermissionsExecute(r ApiListPermissionsRequest) (*ListPermissionsResponse, error)
Execute executes the request
@return ListPermissionsResponse
func (*DefaultAPIService) ListRoles ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListRolesExecute ¶
func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*RolesResponse, error)
Execute executes the request
@return RolesResponse
func (*DefaultAPIService) ListUserMemberships ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListUserMembershipsExecute ¶
func (a *DefaultAPIService) ListUserMembershipsExecute(r ApiListUserMembershipsRequest) (*ListUserMembershipsResponse, error)
Execute executes the request
@return ListUserMembershipsResponse
func (*DefaultAPIService) ListUserPermissions ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListUserPermissionsExecute ¶
func (a *DefaultAPIService) ListUserPermissionsExecute(r ApiListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
Execute executes the request
@return ListUserPermissionsResponse
func (*DefaultAPIService) RemoveMembers ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) RemoveMembersExecute ¶
func (a *DefaultAPIService) RemoveMembersExecute(r ApiRemoveMembersRequest) (*MembersResponse, error)
Execute executes the request
@return MembersResponse
func (*DefaultAPIService) UpdateRole ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) UpdateRoleExecute ¶
func (a *DefaultAPIService) UpdateRoleExecute(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
Execute executes the request
@return UpdateRoleResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// AddMembersExecuteMock can be populated to implement the behavior of the AddMembersExecute function of this mock
AddMembersExecuteMock *func(r ApiAddMembersRequest) (*MembersResponse, error)
// AddRoleExecuteMock can be populated to implement the behavior of the AddRoleExecute function of this mock
AddRoleExecuteMock *func(r ApiAddRoleRequest) (*AddCustomRoleResponse, error)
// DeleteRoleExecuteMock can be populated to implement the behavior of the DeleteRoleExecute function of this mock
DeleteRoleExecuteMock *func(r ApiDeleteRoleRequest) (*DeleteRoleResponse, error)
// GetRoleExecuteMock can be populated to implement the behavior of the GetRoleExecute function of this mock
GetRoleExecuteMock *func(r ApiGetRoleRequest) (*GetRoleResponse, error)
// ListMembersExecuteMock can be populated to implement the behavior of the ListMembersExecute function of this mock
ListMembersExecuteMock *func(r ApiListMembersRequest) (*ListMembersResponse, error)
// ListPermissionsExecuteMock can be populated to implement the behavior of the ListPermissionsExecute function of this mock
ListPermissionsExecuteMock *func(r ApiListPermissionsRequest) (*ListPermissionsResponse, error)
// ListRolesExecuteMock can be populated to implement the behavior of the ListRolesExecute function of this mock
ListRolesExecuteMock *func(r ApiListRolesRequest) (*RolesResponse, error)
// ListUserMembershipsExecuteMock can be populated to implement the behavior of the ListUserMembershipsExecute function of this mock
ListUserMembershipsExecuteMock *func(r ApiListUserMembershipsRequest) (*ListUserMembershipsResponse, error)
// ListUserPermissionsExecuteMock can be populated to implement the behavior of the ListUserPermissionsExecute function of this mock
ListUserPermissionsExecuteMock *func(r ApiListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
// RemoveMembersExecuteMock can be populated to implement the behavior of the RemoveMembersExecute function of this mock
RemoveMembersExecuteMock *func(r ApiRemoveMembersRequest) (*MembersResponse, error)
// UpdateRoleExecuteMock can be populated to implement the behavior of the UpdateRoleExecute function of this mock
UpdateRoleExecuteMock *func(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) AddMembers ¶
func (a DefaultAPIServiceMock) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest
func (DefaultAPIServiceMock) AddMembersExecute ¶
func (a DefaultAPIServiceMock) AddMembersExecute(r ApiAddMembersRequest) (*MembersResponse, error)
AddMembersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddMembersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddRole ¶
func (a DefaultAPIServiceMock) AddRole(ctx context.Context, resourceType string, resourceId string) ApiAddRoleRequest
func (DefaultAPIServiceMock) AddRoleExecute ¶
func (a DefaultAPIServiceMock) AddRoleExecute(r ApiAddRoleRequest) (*AddCustomRoleResponse, error)
AddRoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddRoleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteRole ¶
func (a DefaultAPIServiceMock) DeleteRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiDeleteRoleRequest
func (DefaultAPIServiceMock) DeleteRoleExecute ¶
func (a DefaultAPIServiceMock) DeleteRoleExecute(r ApiDeleteRoleRequest) (*DeleteRoleResponse, error)
DeleteRoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRoleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetRole ¶
func (a DefaultAPIServiceMock) GetRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiGetRoleRequest
func (DefaultAPIServiceMock) GetRoleExecute ¶
func (a DefaultAPIServiceMock) GetRoleExecute(r ApiGetRoleRequest) (*GetRoleResponse, error)
GetRoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRoleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListMembers ¶
func (a DefaultAPIServiceMock) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest
func (DefaultAPIServiceMock) ListMembersExecute ¶
func (a DefaultAPIServiceMock) ListMembersExecute(r ApiListMembersRequest) (*ListMembersResponse, error)
ListMembersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListMembersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPermissions ¶
func (a DefaultAPIServiceMock) ListPermissions(ctx context.Context) ApiListPermissionsRequest
func (DefaultAPIServiceMock) ListPermissionsExecute ¶
func (a DefaultAPIServiceMock) ListPermissionsExecute(r ApiListPermissionsRequest) (*ListPermissionsResponse, error)
ListPermissionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPermissionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRoles ¶
func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest
func (DefaultAPIServiceMock) ListRolesExecute ¶
func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*RolesResponse, error)
ListRolesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRolesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUserMemberships ¶
func (a DefaultAPIServiceMock) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest
func (DefaultAPIServiceMock) ListUserMembershipsExecute ¶
func (a DefaultAPIServiceMock) ListUserMembershipsExecute(r ApiListUserMembershipsRequest) (*ListUserMembershipsResponse, error)
ListUserMembershipsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUserMembershipsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUserPermissions ¶
func (a DefaultAPIServiceMock) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest
func (DefaultAPIServiceMock) ListUserPermissionsExecute ¶
func (a DefaultAPIServiceMock) ListUserPermissionsExecute(r ApiListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
ListUserPermissionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUserPermissionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveMembers ¶
func (a DefaultAPIServiceMock) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest
func (DefaultAPIServiceMock) RemoveMembersExecute ¶
func (a DefaultAPIServiceMock) RemoveMembersExecute(r ApiRemoveMembersRequest) (*MembersResponse, error)
RemoveMembersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveMembersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateRole ¶
func (a DefaultAPIServiceMock) UpdateRole(ctx context.Context, resourceType string, resourceId string, roleId string) ApiUpdateRoleRequest
func (DefaultAPIServiceMock) UpdateRoleExecute ¶
func (a DefaultAPIServiceMock) UpdateRoleExecute(r ApiUpdateRoleRequest) (*UpdateRoleResponse, error)
UpdateRoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRoleExecuteMock field in the DefaultAPIServiceMock struct.
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
WrittenAt Zookie `json:"writtenAt"`
}
DeleteRoleResponse struct for DeleteRoleResponse
func NewDeleteRoleResponse ¶
func NewDeleteRoleResponse(writtenAt Zookie) *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 ¶
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 ¶
func (o *DeleteRoleResponse) GetWrittenAt() Zookie
GetWrittenAt returns the WrittenAt field value
func (*DeleteRoleResponse) GetWrittenAtOk ¶
func (o *DeleteRoleResponse) GetWrittenAtOk() (*Zookie, bool)
GetWrittenAtOk returns a tuple with the WrittenAt field value and a boolean to check if the value has been set.
func (DeleteRoleResponse) MarshalJSON ¶
func (o DeleteRoleResponse) MarshalJSON() ([]byte, error)
func (*DeleteRoleResponse) SetWrittenAt ¶
func (o *DeleteRoleResponse) SetWrittenAt(v Zookie)
SetWrittenAt sets field value
func (DeleteRoleResponse) ToMap ¶
func (o DeleteRoleResponse) ToMap() (map[string]interface{}, error)
func (*DeleteRoleResponse) UnmarshalJSON ¶
func (o *DeleteRoleResponse) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
Message string `json:"message"`
Path string `json:"path"`
Status int32 `json:"status"`
TimeStamp time.Time `json:"timeStamp"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(error_ string, message string, path string, status int32, timeStamp time.Time) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
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 ¶
func (o *ErrorResponse) GetError() string
GetError returns the Error field value
func (*ErrorResponse) GetErrorOk ¶
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetPath ¶
func (o *ErrorResponse) GetPath() string
GetPath returns the Path field value
func (*ErrorResponse) GetPathOk ¶
func (o *ErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() int32
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetTimeStamp ¶
func (o *ErrorResponse) GetTimeStamp() time.Time
GetTimeStamp returns the TimeStamp field value
func (*ErrorResponse) GetTimeStampOk ¶
func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetError ¶
func (o *ErrorResponse) SetError(v string)
SetError sets field value
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v int32)
SetStatus sets field value
func (*ErrorResponse) SetTimeStamp ¶
func (o *ErrorResponse) SetTimeStamp(v time.Time)
SetTimeStamp sets field value
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type ExistingPermission ¶
type ExistingPermission struct {
Description string `json:"description"`
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
}
ExistingPermission struct for ExistingPermission
func NewExistingPermission ¶
func NewExistingPermission(description string, name string) *ExistingPermission
NewExistingPermission instantiates a new ExistingPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExistingPermissionWithDefaults ¶
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 ¶
func (o *ExistingPermission) GetDescription() string
GetDescription returns the Description field value
func (*ExistingPermission) GetDescriptionOk ¶
func (o *ExistingPermission) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ExistingPermission) GetName ¶
func (o *ExistingPermission) GetName() string
GetName returns the Name field value
func (*ExistingPermission) GetNameOk ¶
func (o *ExistingPermission) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ExistingPermission) MarshalJSON ¶
func (o ExistingPermission) MarshalJSON() ([]byte, error)
func (*ExistingPermission) SetDescription ¶
func (o *ExistingPermission) SetDescription(v string)
SetDescription sets field value
func (*ExistingPermission) SetName ¶
func (o *ExistingPermission) SetName(v string)
SetName sets field value
func (ExistingPermission) ToMap ¶
func (o ExistingPermission) ToMap() (map[string]interface{}, error)
func (*ExistingPermission) UnmarshalJSON ¶
func (o *ExistingPermission) UnmarshalJSON(data []byte) (err error)
type GetRoleResponse ¶
type GetRoleResponse struct {
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
Role Role `json:"role"`
}
GetRoleResponse struct for GetRoleResponse
func NewGetRoleResponse ¶
func NewGetRoleResponse(resourceId string, resourceType string, role Role) *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 ¶
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 ¶
func (o *GetRoleResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*GetRoleResponse) GetResourceIdOk ¶
func (o *GetRoleResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*GetRoleResponse) GetResourceType ¶
func (o *GetRoleResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*GetRoleResponse) GetResourceTypeOk ¶
func (o *GetRoleResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*GetRoleResponse) GetRole ¶
func (o *GetRoleResponse) GetRole() Role
GetRole returns the Role field value
func (*GetRoleResponse) GetRoleOk ¶
func (o *GetRoleResponse) GetRoleOk() (*Role, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (GetRoleResponse) MarshalJSON ¶
func (o GetRoleResponse) MarshalJSON() ([]byte, error)
func (*GetRoleResponse) SetResourceId ¶
func (o *GetRoleResponse) SetResourceId(v string)
SetResourceId sets field value
func (*GetRoleResponse) SetResourceType ¶
func (o *GetRoleResponse) SetResourceType(v string)
SetResourceType sets field value
func (*GetRoleResponse) SetRole ¶
func (o *GetRoleResponse) SetRole(v Role)
SetRole sets field value
func (GetRoleResponse) ToMap ¶
func (o GetRoleResponse) ToMap() (map[string]interface{}, error)
func (*GetRoleResponse) UnmarshalJSON ¶
func (o *GetRoleResponse) UnmarshalJSON(data []byte) (err error)
type ListMembersResponse ¶
type ListMembersResponse struct {
Members []Member `json:"members"`
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
}
ListMembersResponse struct for ListMembersResponse
func NewListMembersResponse ¶
func NewListMembersResponse(members []Member, resourceId string, resourceType string) *ListMembersResponse
NewListMembersResponse instantiates a new ListMembersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListMembersResponseWithDefaults ¶
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 ¶
func (o *ListMembersResponse) GetMembers() []Member
GetMembers returns the Members field value
func (*ListMembersResponse) GetMembersOk ¶
func (o *ListMembersResponse) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*ListMembersResponse) GetResourceId ¶
func (o *ListMembersResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*ListMembersResponse) GetResourceIdOk ¶
func (o *ListMembersResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*ListMembersResponse) GetResourceType ¶
func (o *ListMembersResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*ListMembersResponse) GetResourceTypeOk ¶
func (o *ListMembersResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (ListMembersResponse) MarshalJSON ¶
func (o ListMembersResponse) MarshalJSON() ([]byte, error)
func (*ListMembersResponse) SetMembers ¶
func (o *ListMembersResponse) SetMembers(v []Member)
SetMembers sets field value
func (*ListMembersResponse) SetResourceId ¶
func (o *ListMembersResponse) SetResourceId(v string)
SetResourceId sets field value
func (*ListMembersResponse) SetResourceType ¶
func (o *ListMembersResponse) SetResourceType(v string)
SetResourceType sets field value
func (ListMembersResponse) ToMap ¶
func (o ListMembersResponse) ToMap() (map[string]interface{}, error)
func (*ListMembersResponse) UnmarshalJSON ¶
func (o *ListMembersResponse) UnmarshalJSON(data []byte) (err error)
type ListPermissionsResponse ¶
type ListPermissionsResponse struct {
Permissions []Permission `json:"permissions"`
}
ListPermissionsResponse struct for ListPermissionsResponse
func NewListPermissionsResponse ¶
func NewListPermissionsResponse(permissions []Permission) *ListPermissionsResponse
NewListPermissionsResponse instantiates a new ListPermissionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListPermissionsResponseWithDefaults ¶
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 ¶
func (o *ListPermissionsResponse) GetPermissions() []Permission
GetPermissions returns the Permissions field value
func (*ListPermissionsResponse) GetPermissionsOk ¶
func (o *ListPermissionsResponse) GetPermissionsOk() ([]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (ListPermissionsResponse) MarshalJSON ¶
func (o ListPermissionsResponse) MarshalJSON() ([]byte, error)
func (*ListPermissionsResponse) SetPermissions ¶
func (o *ListPermissionsResponse) SetPermissions(v []Permission)
SetPermissions sets field value
func (ListPermissionsResponse) ToMap ¶
func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)
func (*ListPermissionsResponse) UnmarshalJSON ¶
func (o *ListPermissionsResponse) UnmarshalJSON(data []byte) (err error)
type ListUserMembershipsResponse ¶
type ListUserMembershipsResponse struct {
Items []UserMembership `json:"items"`
}
ListUserMembershipsResponse struct for ListUserMembershipsResponse
func NewListUserMembershipsResponse ¶
func NewListUserMembershipsResponse(items []UserMembership) *ListUserMembershipsResponse
NewListUserMembershipsResponse instantiates a new ListUserMembershipsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUserMembershipsResponseWithDefaults ¶
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 ¶
func (o *ListUserMembershipsResponse) GetItems() []UserMembership
GetItems returns the Items field value
func (*ListUserMembershipsResponse) GetItemsOk ¶
func (o *ListUserMembershipsResponse) GetItemsOk() ([]UserMembership, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ListUserMembershipsResponse) MarshalJSON ¶
func (o ListUserMembershipsResponse) MarshalJSON() ([]byte, error)
func (*ListUserMembershipsResponse) SetItems ¶
func (o *ListUserMembershipsResponse) SetItems(v []UserMembership)
SetItems sets field value
func (ListUserMembershipsResponse) ToMap ¶
func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)
func (*ListUserMembershipsResponse) UnmarshalJSON ¶
func (o *ListUserMembershipsResponse) UnmarshalJSON(data []byte) (err error)
type ListUserPermissionsResponse ¶
type ListUserPermissionsResponse struct {
Items []UserPermission `json:"items"`
}
ListUserPermissionsResponse struct for ListUserPermissionsResponse
func NewListUserPermissionsResponse ¶
func NewListUserPermissionsResponse(items []UserPermission) *ListUserPermissionsResponse
NewListUserPermissionsResponse instantiates a new ListUserPermissionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUserPermissionsResponseWithDefaults ¶
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 ¶
func (o *ListUserPermissionsResponse) GetItems() []UserPermission
GetItems returns the Items field value
func (*ListUserPermissionsResponse) GetItemsOk ¶
func (o *ListUserPermissionsResponse) GetItemsOk() ([]UserPermission, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ListUserPermissionsResponse) MarshalJSON ¶
func (o ListUserPermissionsResponse) MarshalJSON() ([]byte, error)
func (*ListUserPermissionsResponse) SetItems ¶
func (o *ListUserPermissionsResponse) SetItems(v []UserPermission)
SetItems sets field value
func (ListUserPermissionsResponse) ToMap ¶
func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)
func (*ListUserPermissionsResponse) UnmarshalJSON ¶
func (o *ListUserPermissionsResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type Member ¶
type Member struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
}
Member struct for Member
func NewMember ¶
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 ¶
func NewMemberWithDefaults() *Member
NewMemberWithDefaults instantiates a new Member object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Member) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*Member) GetSubject ¶
GetSubject returns the Subject field value
func (*Member) GetSubjectOk ¶
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (Member) MarshalJSON ¶
func (*Member) UnmarshalJSON ¶
type MembersResponse ¶
type MembersResponse struct {
Members []Member `json:"members"`
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
WrittenAt *Zookie `json:"writtenAt,omitempty"`
}
MembersResponse struct for MembersResponse
func NewMembersResponse ¶
func NewMembersResponse(members []Member, resourceId string, resourceType string) *MembersResponse
NewMembersResponse instantiates a new MembersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMembersResponseWithDefaults ¶
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 ¶
func (o *MembersResponse) GetMembers() []Member
GetMembers returns the Members field value
func (*MembersResponse) GetMembersOk ¶
func (o *MembersResponse) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*MembersResponse) GetResourceId ¶
func (o *MembersResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*MembersResponse) GetResourceIdOk ¶
func (o *MembersResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*MembersResponse) GetResourceType ¶
func (o *MembersResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*MembersResponse) GetResourceTypeOk ¶
func (o *MembersResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*MembersResponse) GetWrittenAt ¶
func (o *MembersResponse) GetWrittenAt() Zookie
GetWrittenAt returns the WrittenAt field value if set, zero value otherwise.
func (*MembersResponse) GetWrittenAtOk ¶
func (o *MembersResponse) GetWrittenAtOk() (*Zookie, bool)
GetWrittenAtOk returns a tuple with the WrittenAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MembersResponse) HasWrittenAt ¶
func (o *MembersResponse) HasWrittenAt() bool
HasWrittenAt returns a boolean if a field has been set.
func (MembersResponse) MarshalJSON ¶
func (o MembersResponse) MarshalJSON() ([]byte, error)
func (*MembersResponse) SetMembers ¶
func (o *MembersResponse) SetMembers(v []Member)
SetMembers sets field value
func (*MembersResponse) SetResourceId ¶
func (o *MembersResponse) SetResourceId(v string)
SetResourceId sets field value
func (*MembersResponse) SetResourceType ¶
func (o *MembersResponse) SetResourceType(v string)
SetResourceType sets field value
func (*MembersResponse) SetWrittenAt ¶
func (o *MembersResponse) SetWrittenAt(v Zookie)
SetWrittenAt gets a reference to the given Zookie and assigns it to the WrittenAt field.
func (MembersResponse) ToMap ¶
func (o MembersResponse) ToMap() (map[string]interface{}, error)
func (*MembersResponse) UnmarshalJSON ¶
func (o *MembersResponse) UnmarshalJSON(data []byte) (err error)
type NullableAddCustomRoleResponse ¶
type NullableAddCustomRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableAddCustomRoleResponse ¶
func NewNullableAddCustomRoleResponse(val *AddCustomRoleResponse) *NullableAddCustomRoleResponse
func (NullableAddCustomRoleResponse) Get ¶
func (v NullableAddCustomRoleResponse) Get() *AddCustomRoleResponse
func (NullableAddCustomRoleResponse) IsSet ¶
func (v NullableAddCustomRoleResponse) IsSet() bool
func (NullableAddCustomRoleResponse) MarshalJSON ¶
func (v NullableAddCustomRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableAddCustomRoleResponse) Set ¶
func (v *NullableAddCustomRoleResponse) Set(val *AddCustomRoleResponse)
func (*NullableAddCustomRoleResponse) UnmarshalJSON ¶
func (v *NullableAddCustomRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableAddCustomRoleResponse) Unset ¶
func (v *NullableAddCustomRoleResponse) Unset()
type NullableAddMembersPayload ¶
type NullableAddMembersPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddMembersPayload ¶
func NewNullableAddMembersPayload(val *AddMembersPayload) *NullableAddMembersPayload
func (NullableAddMembersPayload) Get ¶
func (v NullableAddMembersPayload) Get() *AddMembersPayload
func (NullableAddMembersPayload) IsSet ¶
func (v NullableAddMembersPayload) IsSet() bool
func (NullableAddMembersPayload) MarshalJSON ¶
func (v NullableAddMembersPayload) MarshalJSON() ([]byte, error)
func (*NullableAddMembersPayload) Set ¶
func (v *NullableAddMembersPayload) Set(val *AddMembersPayload)
func (*NullableAddMembersPayload) UnmarshalJSON ¶
func (v *NullableAddMembersPayload) UnmarshalJSON(src []byte) error
func (*NullableAddMembersPayload) Unset ¶
func (v *NullableAddMembersPayload) Unset()
type NullableAddRolePayload ¶
type NullableAddRolePayload struct {
// contains filtered or unexported fields
}
func NewNullableAddRolePayload ¶
func NewNullableAddRolePayload(val *AddRolePayload) *NullableAddRolePayload
func (NullableAddRolePayload) Get ¶
func (v NullableAddRolePayload) Get() *AddRolePayload
func (NullableAddRolePayload) IsSet ¶
func (v NullableAddRolePayload) IsSet() bool
func (NullableAddRolePayload) MarshalJSON ¶
func (v NullableAddRolePayload) MarshalJSON() ([]byte, error)
func (*NullableAddRolePayload) Set ¶
func (v *NullableAddRolePayload) Set(val *AddRolePayload)
func (*NullableAddRolePayload) UnmarshalJSON ¶
func (v *NullableAddRolePayload) UnmarshalJSON(src []byte) error
func (*NullableAddRolePayload) Unset ¶
func (v *NullableAddRolePayload) 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 ¶
type NullableDeleteRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteRoleResponse ¶
func NewNullableDeleteRoleResponse(val *DeleteRoleResponse) *NullableDeleteRoleResponse
func (NullableDeleteRoleResponse) Get ¶
func (v NullableDeleteRoleResponse) Get() *DeleteRoleResponse
func (NullableDeleteRoleResponse) IsSet ¶
func (v NullableDeleteRoleResponse) IsSet() bool
func (NullableDeleteRoleResponse) MarshalJSON ¶
func (v NullableDeleteRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteRoleResponse) Set ¶
func (v *NullableDeleteRoleResponse) Set(val *DeleteRoleResponse)
func (*NullableDeleteRoleResponse) UnmarshalJSON ¶
func (v *NullableDeleteRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteRoleResponse) Unset ¶
func (v *NullableDeleteRoleResponse) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableExistingPermission ¶
type NullableExistingPermission struct {
// contains filtered or unexported fields
}
func NewNullableExistingPermission ¶
func NewNullableExistingPermission(val *ExistingPermission) *NullableExistingPermission
func (NullableExistingPermission) Get ¶
func (v NullableExistingPermission) Get() *ExistingPermission
func (NullableExistingPermission) IsSet ¶
func (v NullableExistingPermission) IsSet() bool
func (NullableExistingPermission) MarshalJSON ¶
func (v NullableExistingPermission) MarshalJSON() ([]byte, error)
func (*NullableExistingPermission) Set ¶
func (v *NullableExistingPermission) Set(val *ExistingPermission)
func (*NullableExistingPermission) UnmarshalJSON ¶
func (v *NullableExistingPermission) UnmarshalJSON(src []byte) error
func (*NullableExistingPermission) Unset ¶
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 ¶
type NullableGetRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetRoleResponse ¶
func NewNullableGetRoleResponse(val *GetRoleResponse) *NullableGetRoleResponse
func (NullableGetRoleResponse) Get ¶
func (v NullableGetRoleResponse) Get() *GetRoleResponse
func (NullableGetRoleResponse) IsSet ¶
func (v NullableGetRoleResponse) IsSet() bool
func (NullableGetRoleResponse) MarshalJSON ¶
func (v NullableGetRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableGetRoleResponse) Set ¶
func (v *NullableGetRoleResponse) Set(val *GetRoleResponse)
func (*NullableGetRoleResponse) UnmarshalJSON ¶
func (v *NullableGetRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableGetRoleResponse) Unset ¶
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 NullableListMembersResponse ¶
type NullableListMembersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListMembersResponse ¶
func NewNullableListMembersResponse(val *ListMembersResponse) *NullableListMembersResponse
func (NullableListMembersResponse) Get ¶
func (v NullableListMembersResponse) Get() *ListMembersResponse
func (NullableListMembersResponse) IsSet ¶
func (v NullableListMembersResponse) IsSet() bool
func (NullableListMembersResponse) MarshalJSON ¶
func (v NullableListMembersResponse) MarshalJSON() ([]byte, error)
func (*NullableListMembersResponse) Set ¶
func (v *NullableListMembersResponse) Set(val *ListMembersResponse)
func (*NullableListMembersResponse) UnmarshalJSON ¶
func (v *NullableListMembersResponse) UnmarshalJSON(src []byte) error
func (*NullableListMembersResponse) Unset ¶
func (v *NullableListMembersResponse) Unset()
type NullableListPermissionsResponse ¶
type NullableListPermissionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListPermissionsResponse ¶
func NewNullableListPermissionsResponse(val *ListPermissionsResponse) *NullableListPermissionsResponse
func (NullableListPermissionsResponse) Get ¶
func (v NullableListPermissionsResponse) Get() *ListPermissionsResponse
func (NullableListPermissionsResponse) IsSet ¶
func (v NullableListPermissionsResponse) IsSet() bool
func (NullableListPermissionsResponse) MarshalJSON ¶
func (v NullableListPermissionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListPermissionsResponse) Set ¶
func (v *NullableListPermissionsResponse) Set(val *ListPermissionsResponse)
func (*NullableListPermissionsResponse) UnmarshalJSON ¶
func (v *NullableListPermissionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListPermissionsResponse) Unset ¶
func (v *NullableListPermissionsResponse) Unset()
type NullableListUserMembershipsResponse ¶
type NullableListUserMembershipsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUserMembershipsResponse ¶
func NewNullableListUserMembershipsResponse(val *ListUserMembershipsResponse) *NullableListUserMembershipsResponse
func (NullableListUserMembershipsResponse) Get ¶
func (v NullableListUserMembershipsResponse) Get() *ListUserMembershipsResponse
func (NullableListUserMembershipsResponse) IsSet ¶
func (v NullableListUserMembershipsResponse) IsSet() bool
func (NullableListUserMembershipsResponse) MarshalJSON ¶
func (v NullableListUserMembershipsResponse) MarshalJSON() ([]byte, error)
func (*NullableListUserMembershipsResponse) Set ¶
func (v *NullableListUserMembershipsResponse) Set(val *ListUserMembershipsResponse)
func (*NullableListUserMembershipsResponse) UnmarshalJSON ¶
func (v *NullableListUserMembershipsResponse) UnmarshalJSON(src []byte) error
func (*NullableListUserMembershipsResponse) Unset ¶
func (v *NullableListUserMembershipsResponse) Unset()
type NullableListUserPermissionsResponse ¶
type NullableListUserPermissionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUserPermissionsResponse ¶
func NewNullableListUserPermissionsResponse(val *ListUserPermissionsResponse) *NullableListUserPermissionsResponse
func (NullableListUserPermissionsResponse) Get ¶
func (v NullableListUserPermissionsResponse) Get() *ListUserPermissionsResponse
func (NullableListUserPermissionsResponse) IsSet ¶
func (v NullableListUserPermissionsResponse) IsSet() bool
func (NullableListUserPermissionsResponse) MarshalJSON ¶
func (v NullableListUserPermissionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListUserPermissionsResponse) Set ¶
func (v *NullableListUserPermissionsResponse) Set(val *ListUserPermissionsResponse)
func (*NullableListUserPermissionsResponse) UnmarshalJSON ¶
func (v *NullableListUserPermissionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListUserPermissionsResponse) Unset ¶
func (v *NullableListUserPermissionsResponse) Unset()
type NullableMember ¶
type NullableMember struct {
// contains filtered or unexported fields
}
func NewNullableMember ¶
func NewNullableMember(val *Member) *NullableMember
func (NullableMember) Get ¶
func (v NullableMember) Get() *Member
func (NullableMember) IsSet ¶
func (v NullableMember) IsSet() bool
func (NullableMember) MarshalJSON ¶
func (v NullableMember) MarshalJSON() ([]byte, error)
func (*NullableMember) Set ¶
func (v *NullableMember) Set(val *Member)
func (*NullableMember) UnmarshalJSON ¶
func (v *NullableMember) UnmarshalJSON(src []byte) error
func (*NullableMember) Unset ¶
func (v *NullableMember) Unset()
type NullableMembersResponse ¶
type NullableMembersResponse struct {
// contains filtered or unexported fields
}
func NewNullableMembersResponse ¶
func NewNullableMembersResponse(val *MembersResponse) *NullableMembersResponse
func (NullableMembersResponse) Get ¶
func (v NullableMembersResponse) Get() *MembersResponse
func (NullableMembersResponse) IsSet ¶
func (v NullableMembersResponse) IsSet() bool
func (NullableMembersResponse) MarshalJSON ¶
func (v NullableMembersResponse) MarshalJSON() ([]byte, error)
func (*NullableMembersResponse) Set ¶
func (v *NullableMembersResponse) Set(val *MembersResponse)
func (*NullableMembersResponse) UnmarshalJSON ¶
func (v *NullableMembersResponse) UnmarshalJSON(src []byte) error
func (*NullableMembersResponse) Unset ¶
func (v *NullableMembersResponse) Unset()
type NullablePermission ¶
type NullablePermission struct {
// contains filtered or unexported fields
}
func NewNullablePermission ¶
func NewNullablePermission(val *Permission) *NullablePermission
func (NullablePermission) Get ¶
func (v NullablePermission) Get() *Permission
func (NullablePermission) IsSet ¶
func (v NullablePermission) IsSet() bool
func (NullablePermission) MarshalJSON ¶
func (v NullablePermission) MarshalJSON() ([]byte, error)
func (*NullablePermission) Set ¶
func (v *NullablePermission) Set(val *Permission)
func (*NullablePermission) UnmarshalJSON ¶
func (v *NullablePermission) UnmarshalJSON(src []byte) error
func (*NullablePermission) Unset ¶
func (v *NullablePermission) Unset()
type NullablePermissionRequest ¶
type NullablePermissionRequest struct {
// contains filtered or unexported fields
}
func NewNullablePermissionRequest ¶
func NewNullablePermissionRequest(val *PermissionRequest) *NullablePermissionRequest
func (NullablePermissionRequest) Get ¶
func (v NullablePermissionRequest) Get() *PermissionRequest
func (NullablePermissionRequest) IsSet ¶
func (v NullablePermissionRequest) IsSet() bool
func (NullablePermissionRequest) MarshalJSON ¶
func (v NullablePermissionRequest) MarshalJSON() ([]byte, error)
func (*NullablePermissionRequest) Set ¶
func (v *NullablePermissionRequest) Set(val *PermissionRequest)
func (*NullablePermissionRequest) UnmarshalJSON ¶
func (v *NullablePermissionRequest) UnmarshalJSON(src []byte) error
func (*NullablePermissionRequest) Unset ¶
func (v *NullablePermissionRequest) Unset()
type NullableRemoveMembersPayload ¶
type NullableRemoveMembersPayload struct {
// contains filtered or unexported fields
}
func NewNullableRemoveMembersPayload ¶
func NewNullableRemoveMembersPayload(val *RemoveMembersPayload) *NullableRemoveMembersPayload
func (NullableRemoveMembersPayload) Get ¶
func (v NullableRemoveMembersPayload) Get() *RemoveMembersPayload
func (NullableRemoveMembersPayload) IsSet ¶
func (v NullableRemoveMembersPayload) IsSet() bool
func (NullableRemoveMembersPayload) MarshalJSON ¶
func (v NullableRemoveMembersPayload) MarshalJSON() ([]byte, error)
func (*NullableRemoveMembersPayload) Set ¶
func (v *NullableRemoveMembersPayload) Set(val *RemoveMembersPayload)
func (*NullableRemoveMembersPayload) UnmarshalJSON ¶
func (v *NullableRemoveMembersPayload) UnmarshalJSON(src []byte) error
func (*NullableRemoveMembersPayload) Unset ¶
func (v *NullableRemoveMembersPayload) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableRolesResponse ¶
type NullableRolesResponse struct {
// contains filtered or unexported fields
}
func NewNullableRolesResponse ¶
func NewNullableRolesResponse(val *RolesResponse) *NullableRolesResponse
func (NullableRolesResponse) Get ¶
func (v NullableRolesResponse) Get() *RolesResponse
func (NullableRolesResponse) IsSet ¶
func (v NullableRolesResponse) IsSet() bool
func (NullableRolesResponse) MarshalJSON ¶
func (v NullableRolesResponse) MarshalJSON() ([]byte, error)
func (*NullableRolesResponse) Set ¶
func (v *NullableRolesResponse) Set(val *RolesResponse)
func (*NullableRolesResponse) UnmarshalJSON ¶
func (v *NullableRolesResponse) UnmarshalJSON(src []byte) error
func (*NullableRolesResponse) Unset ¶
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 ¶
type NullableUpdateRolePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRolePayload ¶
func NewNullableUpdateRolePayload(val *UpdateRolePayload) *NullableUpdateRolePayload
func (NullableUpdateRolePayload) Get ¶
func (v NullableUpdateRolePayload) Get() *UpdateRolePayload
func (NullableUpdateRolePayload) IsSet ¶
func (v NullableUpdateRolePayload) IsSet() bool
func (NullableUpdateRolePayload) MarshalJSON ¶
func (v NullableUpdateRolePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRolePayload) Set ¶
func (v *NullableUpdateRolePayload) Set(val *UpdateRolePayload)
func (*NullableUpdateRolePayload) UnmarshalJSON ¶
func (v *NullableUpdateRolePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRolePayload) Unset ¶
func (v *NullableUpdateRolePayload) Unset()
type NullableUpdateRoleResponse ¶
type NullableUpdateRoleResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRoleResponse ¶
func NewNullableUpdateRoleResponse(val *UpdateRoleResponse) *NullableUpdateRoleResponse
func (NullableUpdateRoleResponse) Get ¶
func (v NullableUpdateRoleResponse) Get() *UpdateRoleResponse
func (NullableUpdateRoleResponse) IsSet ¶
func (v NullableUpdateRoleResponse) IsSet() bool
func (NullableUpdateRoleResponse) MarshalJSON ¶
func (v NullableUpdateRoleResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateRoleResponse) Set ¶
func (v *NullableUpdateRoleResponse) Set(val *UpdateRoleResponse)
func (*NullableUpdateRoleResponse) UnmarshalJSON ¶
func (v *NullableUpdateRoleResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateRoleResponse) Unset ¶
func (v *NullableUpdateRoleResponse) Unset()
type NullableUserMembership ¶
type NullableUserMembership struct {
// contains filtered or unexported fields
}
func NewNullableUserMembership ¶
func NewNullableUserMembership(val *UserMembership) *NullableUserMembership
func (NullableUserMembership) Get ¶
func (v NullableUserMembership) Get() *UserMembership
func (NullableUserMembership) IsSet ¶
func (v NullableUserMembership) IsSet() bool
func (NullableUserMembership) MarshalJSON ¶
func (v NullableUserMembership) MarshalJSON() ([]byte, error)
func (*NullableUserMembership) Set ¶
func (v *NullableUserMembership) Set(val *UserMembership)
func (*NullableUserMembership) UnmarshalJSON ¶
func (v *NullableUserMembership) UnmarshalJSON(src []byte) error
func (*NullableUserMembership) Unset ¶
func (v *NullableUserMembership) Unset()
type NullableUserPermission ¶
type NullableUserPermission struct {
// contains filtered or unexported fields
}
func NewNullableUserPermission ¶
func NewNullableUserPermission(val *UserPermission) *NullableUserPermission
func (NullableUserPermission) Get ¶
func (v NullableUserPermission) Get() *UserPermission
func (NullableUserPermission) IsSet ¶
func (v NullableUserPermission) IsSet() bool
func (NullableUserPermission) MarshalJSON ¶
func (v NullableUserPermission) MarshalJSON() ([]byte, error)
func (*NullableUserPermission) Set ¶
func (v *NullableUserPermission) Set(val *UserPermission)
func (*NullableUserPermission) UnmarshalJSON ¶
func (v *NullableUserPermission) UnmarshalJSON(src []byte) error
func (*NullableUserPermission) Unset ¶
func (v *NullableUserPermission) Unset()
type NullableZookie ¶
type NullableZookie struct {
// contains filtered or unexported fields
}
func NewNullableZookie ¶
func NewNullableZookie(val *Zookie) *NullableZookie
func (NullableZookie) Get ¶
func (v NullableZookie) Get() *Zookie
func (NullableZookie) IsSet ¶
func (v NullableZookie) IsSet() bool
func (NullableZookie) MarshalJSON ¶
func (v NullableZookie) MarshalJSON() ([]byte, error)
func (*NullableZookie) Set ¶
func (v *NullableZookie) Set(val *Zookie)
func (*NullableZookie) UnmarshalJSON ¶
func (v *NullableZookie) UnmarshalJSON(src []byte) error
func (*NullableZookie) Unset ¶
func (v *NullableZookie) Unset()
type Permission ¶
type Permission struct {
Description string `json:"description"`
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
}
Permission struct for Permission
func NewPermission ¶
func NewPermission(description string, name string) *Permission
NewPermission instantiates a new Permission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPermissionWithDefaults ¶
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 ¶
func (o *Permission) GetDescription() string
GetDescription returns the Description field value
func (*Permission) GetDescriptionOk ¶
func (o *Permission) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Permission) GetName ¶
func (o *Permission) GetName() string
GetName returns the Name field value
func (*Permission) GetNameOk ¶
func (o *Permission) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Permission) MarshalJSON ¶
func (o Permission) MarshalJSON() ([]byte, error)
func (*Permission) SetDescription ¶
func (o *Permission) SetDescription(v string)
SetDescription sets field value
func (Permission) ToMap ¶
func (o Permission) ToMap() (map[string]interface{}, error)
func (*Permission) UnmarshalJSON ¶
func (o *Permission) UnmarshalJSON(data []byte) (err error)
type PermissionRequest ¶
type PermissionRequest struct {
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
}
PermissionRequest struct for PermissionRequest
func NewPermissionRequest ¶
func NewPermissionRequest(name string) *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 ¶
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 ¶
func (o *PermissionRequest) GetName() string
GetName returns the Name field value
func (*PermissionRequest) GetNameOk ¶
func (o *PermissionRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (PermissionRequest) MarshalJSON ¶
func (o PermissionRequest) MarshalJSON() ([]byte, error)
func (*PermissionRequest) SetName ¶
func (o *PermissionRequest) SetName(v string)
SetName sets field value
func (PermissionRequest) ToMap ¶
func (o PermissionRequest) ToMap() (map[string]interface{}, error)
func (*PermissionRequest) UnmarshalJSON ¶
func (o *PermissionRequest) UnmarshalJSON(data []byte) (err error)
type RemoveMembersPayload ¶
type RemoveMembersPayload struct {
ForceRemove *bool `json:"forceRemove,omitempty"`
Members []Member `json:"members"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
}
RemoveMembersPayload struct for RemoveMembersPayload
func NewRemoveMembersPayload ¶
func NewRemoveMembersPayload(members []Member, resourceType string) *RemoveMembersPayload
NewRemoveMembersPayload instantiates a new RemoveMembersPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRemoveMembersPayloadWithDefaults ¶
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 ¶
func (o *RemoveMembersPayload) GetForceRemove() bool
GetForceRemove returns the ForceRemove field value if set, zero value otherwise.
func (*RemoveMembersPayload) GetForceRemoveOk ¶
func (o *RemoveMembersPayload) GetForceRemoveOk() (*bool, bool)
GetForceRemoveOk returns a tuple with the ForceRemove field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RemoveMembersPayload) GetMembers ¶
func (o *RemoveMembersPayload) GetMembers() []Member
GetMembers returns the Members field value
func (*RemoveMembersPayload) GetMembersOk ¶
func (o *RemoveMembersPayload) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*RemoveMembersPayload) GetResourceType ¶
func (o *RemoveMembersPayload) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*RemoveMembersPayload) GetResourceTypeOk ¶
func (o *RemoveMembersPayload) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*RemoveMembersPayload) HasForceRemove ¶
func (o *RemoveMembersPayload) HasForceRemove() bool
HasForceRemove returns a boolean if a field has been set.
func (RemoveMembersPayload) MarshalJSON ¶
func (o RemoveMembersPayload) MarshalJSON() ([]byte, error)
func (*RemoveMembersPayload) SetForceRemove ¶
func (o *RemoveMembersPayload) SetForceRemove(v bool)
SetForceRemove gets a reference to the given bool and assigns it to the ForceRemove field.
func (*RemoveMembersPayload) SetMembers ¶
func (o *RemoveMembersPayload) SetMembers(v []Member)
SetMembers sets field value
func (*RemoveMembersPayload) SetResourceType ¶
func (o *RemoveMembersPayload) SetResourceType(v string)
SetResourceType sets field value
func (RemoveMembersPayload) ToMap ¶
func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)
func (*RemoveMembersPayload) UnmarshalJSON ¶
func (o *RemoveMembersPayload) UnmarshalJSON(data []byte) (err error)
type Role ¶
type Role struct {
Description string `json:"description"`
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+]{1,})$"`
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Permissions []Permission `json:"permissions"`
}
Role struct for Role
func NewRole ¶
func NewRole(description string, name string, permissions []Permission) *Role
NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleWithDefaults ¶
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 ¶
GetDescription returns the Description field value
func (*Role) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Role) GetEtagOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Role) GetPermissions ¶
func (o *Role) GetPermissions() []Permission
GetPermissions returns the Permissions field value
func (*Role) GetPermissionsOk ¶
func (o *Role) GetPermissionsOk() ([]Permission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (Role) MarshalJSON ¶
func (*Role) SetDescription ¶
SetDescription sets field value
func (*Role) SetEtag ¶
SetEtag gets a reference to the given string and assigns it to the Etag field.
func (*Role) SetPermissions ¶
func (o *Role) SetPermissions(v []Permission)
SetPermissions sets field value
func (*Role) UnmarshalJSON ¶
type RolesResponse ¶
type RolesResponse struct {
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
Roles []Role `json:"roles"`
}
RolesResponse struct for RolesResponse
func NewRolesResponse ¶
func NewRolesResponse(resourceId string, resourceType string, roles []Role) *RolesResponse
NewRolesResponse instantiates a new RolesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRolesResponseWithDefaults ¶
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 ¶
func (o *RolesResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*RolesResponse) GetResourceIdOk ¶
func (o *RolesResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*RolesResponse) GetResourceType ¶
func (o *RolesResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*RolesResponse) GetResourceTypeOk ¶
func (o *RolesResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*RolesResponse) GetRoles ¶
func (o *RolesResponse) GetRoles() []Role
GetRoles returns the Roles field value
func (*RolesResponse) GetRolesOk ¶
func (o *RolesResponse) GetRolesOk() ([]Role, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (RolesResponse) MarshalJSON ¶
func (o RolesResponse) MarshalJSON() ([]byte, error)
func (*RolesResponse) SetResourceId ¶
func (o *RolesResponse) SetResourceId(v string)
SetResourceId sets field value
func (*RolesResponse) SetResourceType ¶
func (o *RolesResponse) SetResourceType(v string)
SetResourceType sets field value
func (*RolesResponse) SetRoles ¶
func (o *RolesResponse) SetRoles(v []Role)
SetRoles sets field value
func (RolesResponse) ToMap ¶
func (o RolesResponse) ToMap() (map[string]interface{}, error)
func (*RolesResponse) UnmarshalJSON ¶
func (o *RolesResponse) UnmarshalJSON(data []byte) (err error)
type UpdateRolePayload ¶
type UpdateRolePayload struct {
Description string `json:"description"`
Etag *string `json:"etag,omitempty"`
Name string `json:"name" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Permissions []PermissionRequest `json:"permissions"`
}
UpdateRolePayload struct for UpdateRolePayload
func NewUpdateRolePayload ¶
func NewUpdateRolePayload(description string, name string, permissions []PermissionRequest) *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 ¶
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 ¶
func (o *UpdateRolePayload) GetDescription() string
GetDescription returns the Description field value
func (*UpdateRolePayload) GetDescriptionOk ¶
func (o *UpdateRolePayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) GetEtag ¶
func (o *UpdateRolePayload) GetEtag() string
GetEtag returns the Etag field value if set, zero value otherwise.
func (*UpdateRolePayload) GetEtagOk ¶
func (o *UpdateRolePayload) GetEtagOk() (*string, 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 ¶
func (o *UpdateRolePayload) GetName() string
GetName returns the Name field value
func (*UpdateRolePayload) GetNameOk ¶
func (o *UpdateRolePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) GetPermissions ¶
func (o *UpdateRolePayload) GetPermissions() []PermissionRequest
GetPermissions returns the Permissions field value
func (*UpdateRolePayload) GetPermissionsOk ¶
func (o *UpdateRolePayload) GetPermissionsOk() ([]PermissionRequest, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*UpdateRolePayload) HasEtag ¶
func (o *UpdateRolePayload) HasEtag() bool
HasEtag returns a boolean if a field has been set.
func (UpdateRolePayload) MarshalJSON ¶
func (o UpdateRolePayload) MarshalJSON() ([]byte, error)
func (*UpdateRolePayload) SetDescription ¶
func (o *UpdateRolePayload) SetDescription(v string)
SetDescription sets field value
func (*UpdateRolePayload) SetEtag ¶
func (o *UpdateRolePayload) SetEtag(v string)
SetEtag gets a reference to the given string and assigns it to the Etag field.
func (*UpdateRolePayload) SetName ¶
func (o *UpdateRolePayload) SetName(v string)
SetName sets field value
func (*UpdateRolePayload) SetPermissions ¶
func (o *UpdateRolePayload) SetPermissions(v []PermissionRequest)
SetPermissions sets field value
func (UpdateRolePayload) ToMap ¶
func (o UpdateRolePayload) ToMap() (map[string]interface{}, error)
func (*UpdateRolePayload) UnmarshalJSON ¶
func (o *UpdateRolePayload) UnmarshalJSON(data []byte) (err error)
type UpdateRoleResponse ¶
type UpdateRoleResponse struct {
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
Role Role `json:"role"`
}
UpdateRoleResponse struct for UpdateRoleResponse
func NewUpdateRoleResponse ¶
func NewUpdateRoleResponse(resourceId string, resourceType string, role Role) *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 ¶
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 ¶
func (o *UpdateRoleResponse) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*UpdateRoleResponse) GetResourceIdOk ¶
func (o *UpdateRoleResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UpdateRoleResponse) GetResourceType ¶
func (o *UpdateRoleResponse) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*UpdateRoleResponse) GetResourceTypeOk ¶
func (o *UpdateRoleResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*UpdateRoleResponse) GetRole ¶
func (o *UpdateRoleResponse) GetRole() Role
GetRole returns the Role field value
func (*UpdateRoleResponse) GetRoleOk ¶
func (o *UpdateRoleResponse) GetRoleOk() (*Role, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (UpdateRoleResponse) MarshalJSON ¶
func (o UpdateRoleResponse) MarshalJSON() ([]byte, error)
func (*UpdateRoleResponse) SetResourceId ¶
func (o *UpdateRoleResponse) SetResourceId(v string)
SetResourceId sets field value
func (*UpdateRoleResponse) SetResourceType ¶
func (o *UpdateRoleResponse) SetResourceType(v string)
SetResourceType sets field value
func (*UpdateRoleResponse) SetRole ¶
func (o *UpdateRoleResponse) SetRole(v Role)
SetRole sets field value
func (UpdateRoleResponse) ToMap ¶
func (o UpdateRoleResponse) ToMap() (map[string]interface{}, error)
func (*UpdateRoleResponse) UnmarshalJSON ¶
func (o *UpdateRoleResponse) UnmarshalJSON(data []byte) (err error)
type UserMembership ¶
type UserMembership struct {
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
}
UserMembership struct for UserMembership
func NewUserMembership ¶
func NewUserMembership(resourceId string, resourceType string, role string, subject string) *UserMembership
NewUserMembership instantiates a new UserMembership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserMembershipWithDefaults ¶
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 ¶
func (o *UserMembership) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*UserMembership) GetResourceIdOk ¶
func (o *UserMembership) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UserMembership) GetResourceType ¶
func (o *UserMembership) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*UserMembership) GetResourceTypeOk ¶
func (o *UserMembership) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (*UserMembership) GetRole ¶
func (o *UserMembership) GetRole() string
GetRole returns the Role field value
func (*UserMembership) GetRoleOk ¶
func (o *UserMembership) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*UserMembership) GetSubject ¶
func (o *UserMembership) GetSubject() string
GetSubject returns the Subject field value
func (*UserMembership) GetSubjectOk ¶
func (o *UserMembership) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (UserMembership) MarshalJSON ¶
func (o UserMembership) MarshalJSON() ([]byte, error)
func (*UserMembership) SetResourceId ¶
func (o *UserMembership) SetResourceId(v string)
SetResourceId sets field value
func (*UserMembership) SetResourceType ¶
func (o *UserMembership) SetResourceType(v string)
SetResourceType sets field value
func (*UserMembership) SetRole ¶
func (o *UserMembership) SetRole(v string)
SetRole sets field value
func (*UserMembership) SetSubject ¶
func (o *UserMembership) SetSubject(v string)
SetSubject sets field value
func (UserMembership) ToMap ¶
func (o UserMembership) ToMap() (map[string]interface{}, error)
func (*UserMembership) UnmarshalJSON ¶
func (o *UserMembership) UnmarshalJSON(data []byte) (err error)
type UserPermission ¶
type UserPermission struct {
Permissions []ExistingPermission `json:"permissions"`
ResourceId string `json:"resourceId" validate:"regexp=^([a-zA-Z0-9\\/_|\\\\-=+@.]{1,})$"`
ResourceType string `json:"resourceType" validate:"regexp=^[a-z](?:-?[a-z]){1,63}$"`
}
UserPermission struct for UserPermission
func NewUserPermission ¶
func NewUserPermission(permissions []ExistingPermission, resourceId string, resourceType string) *UserPermission
NewUserPermission instantiates a new UserPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserPermissionWithDefaults ¶
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 ¶
func (o *UserPermission) GetPermissions() []ExistingPermission
GetPermissions returns the Permissions field value
func (*UserPermission) GetPermissionsOk ¶
func (o *UserPermission) GetPermissionsOk() ([]ExistingPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*UserPermission) GetResourceId ¶
func (o *UserPermission) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*UserPermission) GetResourceIdOk ¶
func (o *UserPermission) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*UserPermission) GetResourceType ¶
func (o *UserPermission) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*UserPermission) GetResourceTypeOk ¶
func (o *UserPermission) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (UserPermission) MarshalJSON ¶
func (o UserPermission) MarshalJSON() ([]byte, error)
func (*UserPermission) SetPermissions ¶
func (o *UserPermission) SetPermissions(v []ExistingPermission)
SetPermissions sets field value
func (*UserPermission) SetResourceId ¶
func (o *UserPermission) SetResourceId(v string)
SetResourceId sets field value
func (*UserPermission) SetResourceType ¶
func (o *UserPermission) SetResourceType(v string)
SetResourceType sets field value
func (UserPermission) ToMap ¶
func (o UserPermission) ToMap() (map[string]interface{}, error)
func (*UserPermission) UnmarshalJSON ¶
func (o *UserPermission) UnmarshalJSON(data []byte) (err error)
type Zookie ¶
type Zookie struct {
Zookie *string `json:"zookie,omitempty"`
}
Zookie struct for Zookie
func NewZookie ¶
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 ¶
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) GetZookieOk ¶
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) MarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_add_custom_role_response.go
- model_add_members_payload.go
- model_add_role_payload.go
- model_delete_role_response.go
- model_error_response.go
- model_existing_permission.go
- model_get_role_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
- response.go
- utils.go