authorization

package module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Membership API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Optionally receives configuration options

func (*APIClient) AddMembers

func (a *APIClient) AddMembers(ctx context.Context, resourceId string) ApiAddMembersRequest

AddMembers: Add members to a resource

Add members to the given resource with specified roles.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceId
@return ApiAddMembersRequest

func (*APIClient) AddMembersExecute

func (a *APIClient) AddMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

func (*APIClient) ListMembers

func (a *APIClient) ListMembers(ctx context.Context, resourceType string, resourceId string) ApiListMembersRequest

ListMembers: Get members to a resource

List members of the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return ApiListMembersRequest

func (*APIClient) ListMembersExecute

func (a *APIClient) ListMembersExecute(ctx context.Context, resourceType string, resourceId string) (*ListMembersResponse, error)

func (*APIClient) ListPermissions

func (a *APIClient) ListPermissions(ctx context.Context) ApiListPermissionsRequest

ListPermissions: Get available permissions

Get available permissions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPermissionsRequest

func (*APIClient) ListPermissionsExecute

func (a *APIClient) ListPermissionsExecute(ctx context.Context) (*ListPermissionsResponse, error)

func (*APIClient) ListRoles

func (a *APIClient) ListRoles(ctx context.Context, resourceType string, resourceId string) ApiListRolesRequest

ListRoles: Get roles and permissions of a resource

Get roles and permissions of a resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceType
@param resourceId
@return ApiListRolesRequest

func (*APIClient) ListRolesExecute

func (a *APIClient) ListRolesExecute(ctx context.Context, resourceType string, resourceId string) (*RolesResponse, error)

func (*APIClient) ListUserMemberships

func (a *APIClient) ListUserMemberships(ctx context.Context, email string) ApiListUserMembershipsRequest

ListUserMemberships: List memberships of a user

List memberships of a user. An administrative access is needed to list any user's memberships, while the user can do it on his/her own email. You can use filters to scope the request to a project/folder/organization. In this case -if caller is not the subject-, owner permissions are required. Because of hierarchical role bindings, the user might have permissions on more resources.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param email
@return ApiListUserMembershipsRequest

func (*APIClient) ListUserMembershipsExecute

func (a *APIClient) ListUserMembershipsExecute(ctx context.Context, email string) (*ListUserMembershipsResponse, error)

func (*APIClient) ListUserPermissions added in v0.4.0

func (a *APIClient) ListUserPermissions(ctx context.Context, email string) ApiListUserPermissionsRequest

ListUserPermissions: List permissions of a user

List permissions of a user. An administrative access is needed to list any user's permissions, while the user can do it on his/her own email. Lists every resource of the given type where the user has any effective permissions. When requested, also lists why the permission is present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param email
@return ApiListUserPermissionsRequest

func (*APIClient) ListUserPermissionsExecute added in v0.4.0

func (a *APIClient) ListUserPermissionsExecute(ctx context.Context, email string) (*ListUserPermissionsResponse, error)

func (*APIClient) RemoveMembers

func (a *APIClient) RemoveMembers(ctx context.Context, resourceId string) ApiRemoveMembersRequest

RemoveMembers: Remove members from a resource

Remove members from the given resource with specified roles.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param resourceId
@return ApiRemoveMembersRequest

func (*APIClient) RemoveMembersExecute

func (a *APIClient) RemoveMembersExecute(ctx context.Context, resourceId string) (*MembersResponse, error)

type AddMembersPayload

type AddMembersPayload struct {
	// REQUIRED
	Members *[]Member `json:"members"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
}

AddMembersPayload struct for AddMembersPayload

func NewAddMembersPayload added in v0.4.0

func NewAddMembersPayload(members *[]Member, resourceType *string) *AddMembersPayload

NewAddMembersPayload instantiates a new AddMembersPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddMembersPayloadWithDefaults added in v0.4.0

func NewAddMembersPayloadWithDefaults() *AddMembersPayload

NewAddMembersPayloadWithDefaults instantiates a new AddMembersPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddMembersPayload) GetMembers added in v0.4.0

func (o *AddMembersPayload) GetMembers() *[]Member

GetMembers returns the Members field value

func (*AddMembersPayload) GetMembersOk added in v0.4.0

func (o *AddMembersPayload) GetMembersOk() (*[]Member, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*AddMembersPayload) GetResourceType added in v0.4.0

func (o *AddMembersPayload) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*AddMembersPayload) GetResourceTypeOk added in v0.4.0

func (o *AddMembersPayload) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*AddMembersPayload) SetMembers added in v0.4.0

func (o *AddMembersPayload) SetMembers(v *[]Member)

SetMembers sets field value

func (*AddMembersPayload) SetResourceType added in v0.4.0

func (o *AddMembersPayload) SetResourceType(v *string)

SetResourceType sets field value

func (AddMembersPayload) ToMap added in v0.4.0

func (o AddMembersPayload) ToMap() (map[string]interface{}, error)

type ApiAddMembersRequest

type ApiAddMembersRequest struct {
	// contains filtered or unexported fields
}

func (ApiAddMembersRequest) AddMembersPayload

func (r ApiAddMembersRequest) AddMembersPayload(addMembersPayload AddMembersPayload) ApiAddMembersRequest

func (ApiAddMembersRequest) Execute

func (r ApiAddMembersRequest) Execute() (*MembersResponse, error)

type ApiListMembersRequest

type ApiListMembersRequest struct {
	// contains filtered or unexported fields
}

func (ApiListMembersRequest) Execute

func (ApiListMembersRequest) Subject

type ApiListPermissionsRequest

type ApiListPermissionsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListPermissionsRequest) Execute

func (ApiListPermissionsRequest) ResourceType

func (r ApiListPermissionsRequest) ResourceType(resourceType string) ApiListPermissionsRequest

type ApiListRolesRequest

type ApiListRolesRequest struct {
	// contains filtered or unexported fields
}

func (ApiListRolesRequest) Execute

func (r ApiListRolesRequest) Execute() (*RolesResponse, error)

type ApiListUserMembershipsRequest

type ApiListUserMembershipsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListUserMembershipsRequest) Execute

func (ApiListUserMembershipsRequest) ParentResourceId

func (r ApiListUserMembershipsRequest) ParentResourceId(parentResourceId string) ApiListUserMembershipsRequest

func (ApiListUserMembershipsRequest) ResourceId

func (ApiListUserMembershipsRequest) ResourceType

type ApiListUserPermissionsRequest added in v0.4.0

type ApiListUserPermissionsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListUserPermissionsRequest) Execute added in v0.4.0

func (ApiListUserPermissionsRequest) Permissions added in v0.4.0

func (ApiListUserPermissionsRequest) Resource added in v0.4.0

func (ApiListUserPermissionsRequest) ResourceType added in v0.4.0

type ApiRemoveMembersRequest

type ApiRemoveMembersRequest struct {
	// contains filtered or unexported fields
}

func (ApiRemoveMembersRequest) Execute

func (ApiRemoveMembersRequest) RemoveMembersPayload

func (r ApiRemoveMembersRequest) RemoveMembersPayload(removeMembersPayload RemoveMembersPayload) ApiRemoveMembersRequest

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type ErrorResponse

type ErrorResponse struct {
	// REQUIRED
	Error *string `json:"error"`
	// REQUIRED
	Message *string `json:"message"`
	// REQUIRED
	Path *string `json:"path"`
	// REQUIRED
	Status *int64 `json:"status"`
	// REQUIRED
	TimeStamp *time.Time `json:"timeStamp"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse added in v0.4.0

func NewErrorResponse(error_ *string, message *string, path *string, status *int64, timeStamp *time.Time) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorResponseWithDefaults added in v0.4.0

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorResponse) GetError added in v0.4.0

func (o *ErrorResponse) GetError() *string

GetError returns the Error field value

func (*ErrorResponse) GetErrorOk added in v0.4.0

func (o *ErrorResponse) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetMessage added in v0.4.0

func (o *ErrorResponse) GetMessage() *string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk added in v0.4.0

func (o *ErrorResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetPath added in v0.4.0

func (o *ErrorResponse) GetPath() *string

GetPath returns the Path field value

func (*ErrorResponse) GetPathOk added in v0.4.0

func (o *ErrorResponse) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetStatus added in v0.4.0

func (o *ErrorResponse) GetStatus() *int64

GetStatus returns the Status field value

func (*ErrorResponse) GetStatusOk added in v0.4.0

func (o *ErrorResponse) GetStatusOk() (*int64, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetTimeStamp added in v0.4.0

func (o *ErrorResponse) GetTimeStamp() *time.Time

GetTimeStamp returns the TimeStamp field value

func (*ErrorResponse) GetTimeStampOk added in v0.4.0

func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)

GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.

func (*ErrorResponse) SetError added in v0.4.0

func (o *ErrorResponse) SetError(v *string)

SetError sets field value

func (*ErrorResponse) SetMessage added in v0.4.0

func (o *ErrorResponse) SetMessage(v *string)

SetMessage sets field value

func (*ErrorResponse) SetPath added in v0.4.0

func (o *ErrorResponse) SetPath(v *string)

SetPath sets field value

func (*ErrorResponse) SetStatus added in v0.4.0

func (o *ErrorResponse) SetStatus(v *int64)

SetStatus sets field value

func (*ErrorResponse) SetTimeStamp added in v0.4.0

func (o *ErrorResponse) SetTimeStamp(v *time.Time)

SetTimeStamp sets field value

func (ErrorResponse) ToMap added in v0.4.0

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type ExistingPermission

type ExistingPermission struct {
	// REQUIRED
	Description *string `json:"description"`
	// REQUIRED
	Name *string `json:"name"`
}

ExistingPermission struct for ExistingPermission

func NewExistingPermission added in v0.4.0

func NewExistingPermission(description *string, name *string) *ExistingPermission

NewExistingPermission instantiates a new ExistingPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExistingPermissionWithDefaults added in v0.4.0

func NewExistingPermissionWithDefaults() *ExistingPermission

NewExistingPermissionWithDefaults instantiates a new ExistingPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExistingPermission) GetDescription added in v0.4.0

func (o *ExistingPermission) GetDescription() *string

GetDescription returns the Description field value

func (*ExistingPermission) GetDescriptionOk added in v0.4.0

func (o *ExistingPermission) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ExistingPermission) GetName added in v0.4.0

func (o *ExistingPermission) GetName() *string

GetName returns the Name field value

func (*ExistingPermission) GetNameOk added in v0.4.0

func (o *ExistingPermission) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ExistingPermission) SetDescription added in v0.4.0

func (o *ExistingPermission) SetDescription(v *string)

SetDescription sets field value

func (*ExistingPermission) SetName added in v0.4.0

func (o *ExistingPermission) SetName(v *string)

SetName sets field value

func (ExistingPermission) ToMap added in v0.4.0

func (o ExistingPermission) ToMap() (map[string]interface{}, error)

type ListMembersResponse

type ListMembersResponse struct {
	// REQUIRED
	Members *[]Member `json:"members"`
	// REQUIRED
	ResourceId *string `json:"resourceId"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
}

ListMembersResponse struct for ListMembersResponse

func NewListMembersResponse added in v0.4.0

func NewListMembersResponse(members *[]Member, resourceId *string, resourceType *string) *ListMembersResponse

NewListMembersResponse instantiates a new ListMembersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListMembersResponseWithDefaults added in v0.4.0

func NewListMembersResponseWithDefaults() *ListMembersResponse

NewListMembersResponseWithDefaults instantiates a new ListMembersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListMembersResponse) GetMembers added in v0.4.0

func (o *ListMembersResponse) GetMembers() *[]Member

GetMembers returns the Members field value

func (*ListMembersResponse) GetMembersOk added in v0.4.0

func (o *ListMembersResponse) GetMembersOk() (*[]Member, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*ListMembersResponse) GetResourceId added in v0.4.0

func (o *ListMembersResponse) GetResourceId() *string

GetResourceId returns the ResourceId field value

func (*ListMembersResponse) GetResourceIdOk added in v0.4.0

func (o *ListMembersResponse) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ListMembersResponse) GetResourceType added in v0.4.0

func (o *ListMembersResponse) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*ListMembersResponse) GetResourceTypeOk added in v0.4.0

func (o *ListMembersResponse) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*ListMembersResponse) SetMembers added in v0.4.0

func (o *ListMembersResponse) SetMembers(v *[]Member)

SetMembers sets field value

func (*ListMembersResponse) SetResourceId added in v0.4.0

func (o *ListMembersResponse) SetResourceId(v *string)

SetResourceId sets field value

func (*ListMembersResponse) SetResourceType added in v0.4.0

func (o *ListMembersResponse) SetResourceType(v *string)

SetResourceType sets field value

func (ListMembersResponse) ToMap added in v0.4.0

func (o ListMembersResponse) ToMap() (map[string]interface{}, error)

type ListPermissionsResponse

type ListPermissionsResponse struct {
	// REQUIRED
	Permissions *[]Permission `json:"permissions"`
}

ListPermissionsResponse struct for ListPermissionsResponse

func NewListPermissionsResponse added in v0.4.0

func NewListPermissionsResponse(permissions *[]Permission) *ListPermissionsResponse

NewListPermissionsResponse instantiates a new ListPermissionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListPermissionsResponseWithDefaults added in v0.4.0

func NewListPermissionsResponseWithDefaults() *ListPermissionsResponse

NewListPermissionsResponseWithDefaults instantiates a new ListPermissionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListPermissionsResponse) GetPermissions added in v0.4.0

func (o *ListPermissionsResponse) GetPermissions() *[]Permission

GetPermissions returns the Permissions field value

func (*ListPermissionsResponse) GetPermissionsOk added in v0.4.0

func (o *ListPermissionsResponse) GetPermissionsOk() (*[]Permission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*ListPermissionsResponse) SetPermissions added in v0.4.0

func (o *ListPermissionsResponse) SetPermissions(v *[]Permission)

SetPermissions sets field value

func (ListPermissionsResponse) ToMap added in v0.4.0

func (o ListPermissionsResponse) ToMap() (map[string]interface{}, error)

type ListUserMembershipsResponse

type ListUserMembershipsResponse struct {
	// REQUIRED
	Items *[]UserMembership `json:"items"`
}

ListUserMembershipsResponse struct for ListUserMembershipsResponse

func NewListUserMembershipsResponse added in v0.4.0

func NewListUserMembershipsResponse(items *[]UserMembership) *ListUserMembershipsResponse

NewListUserMembershipsResponse instantiates a new ListUserMembershipsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListUserMembershipsResponseWithDefaults added in v0.4.0

func NewListUserMembershipsResponseWithDefaults() *ListUserMembershipsResponse

NewListUserMembershipsResponseWithDefaults instantiates a new ListUserMembershipsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListUserMembershipsResponse) GetItems added in v0.4.0

GetItems returns the Items field value

func (*ListUserMembershipsResponse) GetItemsOk added in v0.4.0

func (o *ListUserMembershipsResponse) GetItemsOk() (*[]UserMembership, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ListUserMembershipsResponse) SetItems added in v0.4.0

func (o *ListUserMembershipsResponse) SetItems(v *[]UserMembership)

SetItems sets field value

func (ListUserMembershipsResponse) ToMap added in v0.4.0

func (o ListUserMembershipsResponse) ToMap() (map[string]interface{}, error)

type ListUserPermissionsResponse

type ListUserPermissionsResponse struct {
	// REQUIRED
	Items *[]UserPermission `json:"items"`
}

ListUserPermissionsResponse struct for ListUserPermissionsResponse

func NewListUserPermissionsResponse added in v0.4.0

func NewListUserPermissionsResponse(items *[]UserPermission) *ListUserPermissionsResponse

NewListUserPermissionsResponse instantiates a new ListUserPermissionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListUserPermissionsResponseWithDefaults added in v0.4.0

func NewListUserPermissionsResponseWithDefaults() *ListUserPermissionsResponse

NewListUserPermissionsResponseWithDefaults instantiates a new ListUserPermissionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListUserPermissionsResponse) GetItems added in v0.4.0

GetItems returns the Items field value

func (*ListUserPermissionsResponse) GetItemsOk added in v0.4.0

func (o *ListUserPermissionsResponse) GetItemsOk() (*[]UserPermission, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ListUserPermissionsResponse) SetItems added in v0.4.0

func (o *ListUserPermissionsResponse) SetItems(v *[]UserPermission)

SetItems sets field value

func (ListUserPermissionsResponse) ToMap added in v0.4.0

func (o ListUserPermissionsResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Member

type Member struct {
	// REQUIRED
	Role *string `json:"role"`
	// REQUIRED
	Subject *string `json:"subject"`
}

Member struct for Member

func NewMember added in v0.4.0

func NewMember(role *string, subject *string) *Member

NewMember instantiates a new Member object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberWithDefaults added in v0.4.0

func NewMemberWithDefaults() *Member

NewMemberWithDefaults instantiates a new Member object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Member) GetRole added in v0.4.0

func (o *Member) GetRole() *string

GetRole returns the Role field value

func (*Member) GetRoleOk added in v0.4.0

func (o *Member) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*Member) GetSubject added in v0.4.0

func (o *Member) GetSubject() *string

GetSubject returns the Subject field value

func (*Member) GetSubjectOk added in v0.4.0

func (o *Member) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (*Member) SetRole added in v0.4.0

func (o *Member) SetRole(v *string)

SetRole sets field value

func (*Member) SetSubject added in v0.4.0

func (o *Member) SetSubject(v *string)

SetSubject sets field value

func (Member) ToMap added in v0.4.0

func (o Member) ToMap() (map[string]interface{}, error)

type MembersResponse

type MembersResponse struct {
	// REQUIRED
	Members *[]Member `json:"members"`
	// REQUIRED
	ResourceId *string `json:"resourceId"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
	WrittenAt    *Zookie `json:"writtenAt,omitempty"`
}

MembersResponse struct for MembersResponse

func NewMembersResponse added in v0.4.0

func NewMembersResponse(members *[]Member, resourceId *string, resourceType *string) *MembersResponse

NewMembersResponse instantiates a new MembersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembersResponseWithDefaults added in v0.4.0

func NewMembersResponseWithDefaults() *MembersResponse

NewMembersResponseWithDefaults instantiates a new MembersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MembersResponse) GetMembers added in v0.4.0

func (o *MembersResponse) GetMembers() *[]Member

GetMembers returns the Members field value

func (*MembersResponse) GetMembersOk added in v0.4.0

func (o *MembersResponse) GetMembersOk() (*[]Member, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*MembersResponse) GetResourceId added in v0.4.0

func (o *MembersResponse) GetResourceId() *string

GetResourceId returns the ResourceId field value

func (*MembersResponse) GetResourceIdOk added in v0.4.0

func (o *MembersResponse) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*MembersResponse) GetResourceType added in v0.4.0

func (o *MembersResponse) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*MembersResponse) GetResourceTypeOk added in v0.4.0

func (o *MembersResponse) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*MembersResponse) GetWrittenAt added in v0.4.0

func (o *MembersResponse) GetWrittenAt() *Zookie

GetWrittenAt returns the WrittenAt field value if set, zero value otherwise.

func (*MembersResponse) GetWrittenAtOk added in v0.4.0

func (o *MembersResponse) GetWrittenAtOk() (*Zookie, bool)

GetWrittenAtOk returns a tuple with the WrittenAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MembersResponse) HasWrittenAt added in v0.4.0

func (o *MembersResponse) HasWrittenAt() bool

HasWrittenAt returns a boolean if a field has been set.

func (*MembersResponse) SetMembers added in v0.4.0

func (o *MembersResponse) SetMembers(v *[]Member)

SetMembers sets field value

func (*MembersResponse) SetResourceId added in v0.4.0

func (o *MembersResponse) SetResourceId(v *string)

SetResourceId sets field value

func (*MembersResponse) SetResourceType added in v0.4.0

func (o *MembersResponse) SetResourceType(v *string)

SetResourceType sets field value

func (*MembersResponse) SetWrittenAt added in v0.4.0

func (o *MembersResponse) SetWrittenAt(v *Zookie)

SetWrittenAt gets a reference to the given Zookie and assigns it to the WrittenAt field.

func (MembersResponse) ToMap added in v0.4.0

func (o MembersResponse) ToMap() (map[string]interface{}, error)

type NullableAddMembersPayload added in v0.4.0

type NullableAddMembersPayload struct {
	// contains filtered or unexported fields
}

func NewNullableAddMembersPayload added in v0.4.0

func NewNullableAddMembersPayload(val *AddMembersPayload) *NullableAddMembersPayload

func (NullableAddMembersPayload) Get added in v0.4.0

func (NullableAddMembersPayload) IsSet added in v0.4.0

func (v NullableAddMembersPayload) IsSet() bool

func (NullableAddMembersPayload) MarshalJSON added in v0.4.0

func (v NullableAddMembersPayload) MarshalJSON() ([]byte, error)

func (*NullableAddMembersPayload) Set added in v0.4.0

func (*NullableAddMembersPayload) UnmarshalJSON added in v0.4.0

func (v *NullableAddMembersPayload) UnmarshalJSON(src []byte) error

func (*NullableAddMembersPayload) Unset added in v0.4.0

func (v *NullableAddMembersPayload) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableErrorResponse added in v0.4.0

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse added in v0.4.0

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get added in v0.4.0

func (NullableErrorResponse) IsSet added in v0.4.0

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON added in v0.4.0

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set added in v0.4.0

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON added in v0.4.0

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset added in v0.4.0

func (v *NullableErrorResponse) Unset()

type NullableExistingPermission added in v0.4.0

type NullableExistingPermission struct {
	// contains filtered or unexported fields
}

func NewNullableExistingPermission added in v0.4.0

func NewNullableExistingPermission(val *ExistingPermission) *NullableExistingPermission

func (NullableExistingPermission) Get added in v0.4.0

func (NullableExistingPermission) IsSet added in v0.4.0

func (v NullableExistingPermission) IsSet() bool

func (NullableExistingPermission) MarshalJSON added in v0.4.0

func (v NullableExistingPermission) MarshalJSON() ([]byte, error)

func (*NullableExistingPermission) Set added in v0.4.0

func (*NullableExistingPermission) UnmarshalJSON added in v0.4.0

func (v *NullableExistingPermission) UnmarshalJSON(src []byte) error

func (*NullableExistingPermission) Unset added in v0.4.0

func (v *NullableExistingPermission) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListMembersResponse added in v0.4.0

type NullableListMembersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListMembersResponse added in v0.4.0

func NewNullableListMembersResponse(val *ListMembersResponse) *NullableListMembersResponse

func (NullableListMembersResponse) Get added in v0.4.0

func (NullableListMembersResponse) IsSet added in v0.4.0

func (NullableListMembersResponse) MarshalJSON added in v0.4.0

func (v NullableListMembersResponse) MarshalJSON() ([]byte, error)

func (*NullableListMembersResponse) Set added in v0.4.0

func (*NullableListMembersResponse) UnmarshalJSON added in v0.4.0

func (v *NullableListMembersResponse) UnmarshalJSON(src []byte) error

func (*NullableListMembersResponse) Unset added in v0.4.0

func (v *NullableListMembersResponse) Unset()

type NullableListPermissionsResponse added in v0.4.0

type NullableListPermissionsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListPermissionsResponse added in v0.4.0

func NewNullableListPermissionsResponse(val *ListPermissionsResponse) *NullableListPermissionsResponse

func (NullableListPermissionsResponse) Get added in v0.4.0

func (NullableListPermissionsResponse) IsSet added in v0.4.0

func (NullableListPermissionsResponse) MarshalJSON added in v0.4.0

func (v NullableListPermissionsResponse) MarshalJSON() ([]byte, error)

func (*NullableListPermissionsResponse) Set added in v0.4.0

func (*NullableListPermissionsResponse) UnmarshalJSON added in v0.4.0

func (v *NullableListPermissionsResponse) UnmarshalJSON(src []byte) error

func (*NullableListPermissionsResponse) Unset added in v0.4.0

type NullableListUserMembershipsResponse added in v0.4.0

type NullableListUserMembershipsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListUserMembershipsResponse added in v0.4.0

func NewNullableListUserMembershipsResponse(val *ListUserMembershipsResponse) *NullableListUserMembershipsResponse

func (NullableListUserMembershipsResponse) Get added in v0.4.0

func (NullableListUserMembershipsResponse) IsSet added in v0.4.0

func (NullableListUserMembershipsResponse) MarshalJSON added in v0.4.0

func (v NullableListUserMembershipsResponse) MarshalJSON() ([]byte, error)

func (*NullableListUserMembershipsResponse) Set added in v0.4.0

func (*NullableListUserMembershipsResponse) UnmarshalJSON added in v0.4.0

func (v *NullableListUserMembershipsResponse) UnmarshalJSON(src []byte) error

func (*NullableListUserMembershipsResponse) Unset added in v0.4.0

type NullableListUserPermissionsResponse added in v0.4.0

type NullableListUserPermissionsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListUserPermissionsResponse added in v0.4.0

func NewNullableListUserPermissionsResponse(val *ListUserPermissionsResponse) *NullableListUserPermissionsResponse

func (NullableListUserPermissionsResponse) Get added in v0.4.0

func (NullableListUserPermissionsResponse) IsSet added in v0.4.0

func (NullableListUserPermissionsResponse) MarshalJSON added in v0.4.0

func (v NullableListUserPermissionsResponse) MarshalJSON() ([]byte, error)

func (*NullableListUserPermissionsResponse) Set added in v0.4.0

func (*NullableListUserPermissionsResponse) UnmarshalJSON added in v0.4.0

func (v *NullableListUserPermissionsResponse) UnmarshalJSON(src []byte) error

func (*NullableListUserPermissionsResponse) Unset added in v0.4.0

type NullableMember added in v0.4.0

type NullableMember struct {
	// contains filtered or unexported fields
}

func NewNullableMember added in v0.4.0

func NewNullableMember(val *Member) *NullableMember

func (NullableMember) Get added in v0.4.0

func (v NullableMember) Get() *Member

func (NullableMember) IsSet added in v0.4.0

func (v NullableMember) IsSet() bool

func (NullableMember) MarshalJSON added in v0.4.0

func (v NullableMember) MarshalJSON() ([]byte, error)

func (*NullableMember) Set added in v0.4.0

func (v *NullableMember) Set(val *Member)

func (*NullableMember) UnmarshalJSON added in v0.4.0

func (v *NullableMember) UnmarshalJSON(src []byte) error

func (*NullableMember) Unset added in v0.4.0

func (v *NullableMember) Unset()

type NullableMembersResponse added in v0.4.0

type NullableMembersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableMembersResponse added in v0.4.0

func NewNullableMembersResponse(val *MembersResponse) *NullableMembersResponse

func (NullableMembersResponse) Get added in v0.4.0

func (NullableMembersResponse) IsSet added in v0.4.0

func (v NullableMembersResponse) IsSet() bool

func (NullableMembersResponse) MarshalJSON added in v0.4.0

func (v NullableMembersResponse) MarshalJSON() ([]byte, error)

func (*NullableMembersResponse) Set added in v0.4.0

func (*NullableMembersResponse) UnmarshalJSON added in v0.4.0

func (v *NullableMembersResponse) UnmarshalJSON(src []byte) error

func (*NullableMembersResponse) Unset added in v0.4.0

func (v *NullableMembersResponse) Unset()

type NullablePermission added in v0.4.0

type NullablePermission struct {
	// contains filtered or unexported fields
}

func NewNullablePermission added in v0.4.0

func NewNullablePermission(val *Permission) *NullablePermission

func (NullablePermission) Get added in v0.4.0

func (v NullablePermission) Get() *Permission

func (NullablePermission) IsSet added in v0.4.0

func (v NullablePermission) IsSet() bool

func (NullablePermission) MarshalJSON added in v0.4.0

func (v NullablePermission) MarshalJSON() ([]byte, error)

func (*NullablePermission) Set added in v0.4.0

func (v *NullablePermission) Set(val *Permission)

func (*NullablePermission) UnmarshalJSON added in v0.4.0

func (v *NullablePermission) UnmarshalJSON(src []byte) error

func (*NullablePermission) Unset added in v0.4.0

func (v *NullablePermission) Unset()

type NullableRemoveMembersPayload added in v0.4.0

type NullableRemoveMembersPayload struct {
	// contains filtered or unexported fields
}

func NewNullableRemoveMembersPayload added in v0.4.0

func NewNullableRemoveMembersPayload(val *RemoveMembersPayload) *NullableRemoveMembersPayload

func (NullableRemoveMembersPayload) Get added in v0.4.0

func (NullableRemoveMembersPayload) IsSet added in v0.4.0

func (NullableRemoveMembersPayload) MarshalJSON added in v0.4.0

func (v NullableRemoveMembersPayload) MarshalJSON() ([]byte, error)

func (*NullableRemoveMembersPayload) Set added in v0.4.0

func (*NullableRemoveMembersPayload) UnmarshalJSON added in v0.4.0

func (v *NullableRemoveMembersPayload) UnmarshalJSON(src []byte) error

func (*NullableRemoveMembersPayload) Unset added in v0.4.0

func (v *NullableRemoveMembersPayload) Unset()

type NullableRole added in v0.4.0

type NullableRole struct {
	// contains filtered or unexported fields
}

func NewNullableRole added in v0.4.0

func NewNullableRole(val *Role) *NullableRole

func (NullableRole) Get added in v0.4.0

func (v NullableRole) Get() *Role

func (NullableRole) IsSet added in v0.4.0

func (v NullableRole) IsSet() bool

func (NullableRole) MarshalJSON added in v0.4.0

func (v NullableRole) MarshalJSON() ([]byte, error)

func (*NullableRole) Set added in v0.4.0

func (v *NullableRole) Set(val *Role)

func (*NullableRole) UnmarshalJSON added in v0.4.0

func (v *NullableRole) UnmarshalJSON(src []byte) error

func (*NullableRole) Unset added in v0.4.0

func (v *NullableRole) Unset()

type NullableRolesResponse added in v0.4.0

type NullableRolesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRolesResponse added in v0.4.0

func NewNullableRolesResponse(val *RolesResponse) *NullableRolesResponse

func (NullableRolesResponse) Get added in v0.4.0

func (NullableRolesResponse) IsSet added in v0.4.0

func (v NullableRolesResponse) IsSet() bool

func (NullableRolesResponse) MarshalJSON added in v0.4.0

func (v NullableRolesResponse) MarshalJSON() ([]byte, error)

func (*NullableRolesResponse) Set added in v0.4.0

func (v *NullableRolesResponse) Set(val *RolesResponse)

func (*NullableRolesResponse) UnmarshalJSON added in v0.4.0

func (v *NullableRolesResponse) UnmarshalJSON(src []byte) error

func (*NullableRolesResponse) Unset added in v0.4.0

func (v *NullableRolesResponse) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUserMembership added in v0.4.0

type NullableUserMembership struct {
	// contains filtered or unexported fields
}

func NewNullableUserMembership added in v0.4.0

func NewNullableUserMembership(val *UserMembership) *NullableUserMembership

func (NullableUserMembership) Get added in v0.4.0

func (NullableUserMembership) IsSet added in v0.4.0

func (v NullableUserMembership) IsSet() bool

func (NullableUserMembership) MarshalJSON added in v0.4.0

func (v NullableUserMembership) MarshalJSON() ([]byte, error)

func (*NullableUserMembership) Set added in v0.4.0

func (*NullableUserMembership) UnmarshalJSON added in v0.4.0

func (v *NullableUserMembership) UnmarshalJSON(src []byte) error

func (*NullableUserMembership) Unset added in v0.4.0

func (v *NullableUserMembership) Unset()

type NullableUserPermission added in v0.4.0

type NullableUserPermission struct {
	// contains filtered or unexported fields
}

func NewNullableUserPermission added in v0.4.0

func NewNullableUserPermission(val *UserPermission) *NullableUserPermission

func (NullableUserPermission) Get added in v0.4.0

func (NullableUserPermission) IsSet added in v0.4.0

func (v NullableUserPermission) IsSet() bool

func (NullableUserPermission) MarshalJSON added in v0.4.0

func (v NullableUserPermission) MarshalJSON() ([]byte, error)

func (*NullableUserPermission) Set added in v0.4.0

func (*NullableUserPermission) UnmarshalJSON added in v0.4.0

func (v *NullableUserPermission) UnmarshalJSON(src []byte) error

func (*NullableUserPermission) Unset added in v0.4.0

func (v *NullableUserPermission) Unset()

type NullableZookie added in v0.4.0

type NullableZookie struct {
	// contains filtered or unexported fields
}

func NewNullableZookie added in v0.4.0

func NewNullableZookie(val *Zookie) *NullableZookie

func (NullableZookie) Get added in v0.4.0

func (v NullableZookie) Get() *Zookie

func (NullableZookie) IsSet added in v0.4.0

func (v NullableZookie) IsSet() bool

func (NullableZookie) MarshalJSON added in v0.4.0

func (v NullableZookie) MarshalJSON() ([]byte, error)

func (*NullableZookie) Set added in v0.4.0

func (v *NullableZookie) Set(val *Zookie)

func (*NullableZookie) UnmarshalJSON added in v0.4.0

func (v *NullableZookie) UnmarshalJSON(src []byte) error

func (*NullableZookie) Unset added in v0.4.0

func (v *NullableZookie) Unset()

type Permission

type Permission struct {
	// REQUIRED
	Description *string `json:"description"`
	// REQUIRED
	Name *string `json:"name"`
}

Permission struct for Permission

func NewPermission added in v0.4.0

func NewPermission(description *string, name *string) *Permission

NewPermission instantiates a new Permission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPermissionWithDefaults added in v0.4.0

func NewPermissionWithDefaults() *Permission

NewPermissionWithDefaults instantiates a new Permission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Permission) GetDescription added in v0.4.0

func (o *Permission) GetDescription() *string

GetDescription returns the Description field value

func (*Permission) GetDescriptionOk added in v0.4.0

func (o *Permission) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*Permission) GetName added in v0.4.0

func (o *Permission) GetName() *string

GetName returns the Name field value

func (*Permission) GetNameOk added in v0.4.0

func (o *Permission) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Permission) SetDescription added in v0.4.0

func (o *Permission) SetDescription(v *string)

SetDescription sets field value

func (*Permission) SetName added in v0.4.0

func (o *Permission) SetName(v *string)

SetName sets field value

func (Permission) ToMap added in v0.4.0

func (o Permission) ToMap() (map[string]interface{}, error)

type RemoveMembersPayload

type RemoveMembersPayload struct {
	ForceRemove *bool `json:"forceRemove,omitempty"`
	// REQUIRED
	Members *[]Member `json:"members"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
}

RemoveMembersPayload struct for RemoveMembersPayload

func NewRemoveMembersPayload added in v0.4.0

func NewRemoveMembersPayload(members *[]Member, resourceType *string) *RemoveMembersPayload

NewRemoveMembersPayload instantiates a new RemoveMembersPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRemoveMembersPayloadWithDefaults added in v0.4.0

func NewRemoveMembersPayloadWithDefaults() *RemoveMembersPayload

NewRemoveMembersPayloadWithDefaults instantiates a new RemoveMembersPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RemoveMembersPayload) GetForceRemove added in v0.4.0

func (o *RemoveMembersPayload) GetForceRemove() *bool

GetForceRemove returns the ForceRemove field value if set, zero value otherwise.

func (*RemoveMembersPayload) GetForceRemoveOk added in v0.4.0

func (o *RemoveMembersPayload) GetForceRemoveOk() (*bool, bool)

GetForceRemoveOk returns a tuple with the ForceRemove field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoveMembersPayload) GetMembers added in v0.4.0

func (o *RemoveMembersPayload) GetMembers() *[]Member

GetMembers returns the Members field value

func (*RemoveMembersPayload) GetMembersOk added in v0.4.0

func (o *RemoveMembersPayload) GetMembersOk() (*[]Member, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*RemoveMembersPayload) GetResourceType added in v0.4.0

func (o *RemoveMembersPayload) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*RemoveMembersPayload) GetResourceTypeOk added in v0.4.0

func (o *RemoveMembersPayload) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*RemoveMembersPayload) HasForceRemove added in v0.4.0

func (o *RemoveMembersPayload) HasForceRemove() bool

HasForceRemove returns a boolean if a field has been set.

func (*RemoveMembersPayload) SetForceRemove added in v0.4.0

func (o *RemoveMembersPayload) SetForceRemove(v *bool)

SetForceRemove gets a reference to the given bool and assigns it to the ForceRemove field.

func (*RemoveMembersPayload) SetMembers added in v0.4.0

func (o *RemoveMembersPayload) SetMembers(v *[]Member)

SetMembers sets field value

func (*RemoveMembersPayload) SetResourceType added in v0.4.0

func (o *RemoveMembersPayload) SetResourceType(v *string)

SetResourceType sets field value

func (RemoveMembersPayload) ToMap added in v0.4.0

func (o RemoveMembersPayload) ToMap() (map[string]interface{}, error)

type Role

type Role struct {
	// REQUIRED
	Description *string `json:"description"`
	Id          *string `json:"id,omitempty"`
	// REQUIRED
	Name *string `json:"name"`
	// REQUIRED
	Permissions *[]Permission `json:"permissions"`
}

Role struct for Role

func NewRole added in v0.4.0

func NewRole(description *string, name *string, permissions *[]Permission) *Role

NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleWithDefaults added in v0.4.0

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Role) GetDescription added in v0.4.0

func (o *Role) GetDescription() *string

GetDescription returns the Description field value

func (*Role) GetDescriptionOk added in v0.4.0

func (o *Role) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*Role) GetId added in v0.4.0

func (o *Role) GetId() *string

GetId returns the Id field value if set, zero value otherwise.

func (*Role) GetIdOk added in v0.4.0

func (o *Role) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetName added in v0.4.0

func (o *Role) GetName() *string

GetName returns the Name field value

func (*Role) GetNameOk added in v0.4.0

func (o *Role) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Role) GetPermissions added in v0.4.0

func (o *Role) GetPermissions() *[]Permission

GetPermissions returns the Permissions field value

func (*Role) GetPermissionsOk added in v0.4.0

func (o *Role) GetPermissionsOk() (*[]Permission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*Role) HasId added in v0.4.0

func (o *Role) HasId() bool

HasId returns a boolean if a field has been set.

func (*Role) SetDescription added in v0.4.0

func (o *Role) SetDescription(v *string)

SetDescription sets field value

func (*Role) SetId added in v0.4.0

func (o *Role) SetId(v *string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Role) SetName added in v0.4.0

func (o *Role) SetName(v *string)

SetName sets field value

func (*Role) SetPermissions added in v0.4.0

func (o *Role) SetPermissions(v *[]Permission)

SetPermissions sets field value

func (Role) ToMap added in v0.4.0

func (o Role) ToMap() (map[string]interface{}, error)

type RolesResponse

type RolesResponse struct {
	// REQUIRED
	ResourceId *string `json:"resourceId"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
	// REQUIRED
	Roles *[]Role `json:"roles"`
}

RolesResponse struct for RolesResponse

func NewRolesResponse added in v0.4.0

func NewRolesResponse(resourceId *string, resourceType *string, roles *[]Role) *RolesResponse

NewRolesResponse instantiates a new RolesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRolesResponseWithDefaults added in v0.4.0

func NewRolesResponseWithDefaults() *RolesResponse

NewRolesResponseWithDefaults instantiates a new RolesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RolesResponse) GetResourceId added in v0.4.0

func (o *RolesResponse) GetResourceId() *string

GetResourceId returns the ResourceId field value

func (*RolesResponse) GetResourceIdOk added in v0.4.0

func (o *RolesResponse) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*RolesResponse) GetResourceType added in v0.4.0

func (o *RolesResponse) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*RolesResponse) GetResourceTypeOk added in v0.4.0

func (o *RolesResponse) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*RolesResponse) GetRoles added in v0.4.0

func (o *RolesResponse) GetRoles() *[]Role

GetRoles returns the Roles field value

func (*RolesResponse) GetRolesOk added in v0.4.0

func (o *RolesResponse) GetRolesOk() (*[]Role, bool)

GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.

func (*RolesResponse) SetResourceId added in v0.4.0

func (o *RolesResponse) SetResourceId(v *string)

SetResourceId sets field value

func (*RolesResponse) SetResourceType added in v0.4.0

func (o *RolesResponse) SetResourceType(v *string)

SetResourceType sets field value

func (*RolesResponse) SetRoles added in v0.4.0

func (o *RolesResponse) SetRoles(v *[]Role)

SetRoles sets field value

func (RolesResponse) ToMap added in v0.4.0

func (o RolesResponse) ToMap() (map[string]interface{}, error)

type UserMembership

type UserMembership struct {
	// REQUIRED
	ResourceId *string `json:"resourceId"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
	// REQUIRED
	Role *string `json:"role"`
	// REQUIRED
	Subject *string `json:"subject"`
}

UserMembership struct for UserMembership

func NewUserMembership added in v0.4.0

func NewUserMembership(resourceId *string, resourceType *string, role *string, subject *string) *UserMembership

NewUserMembership instantiates a new UserMembership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserMembershipWithDefaults added in v0.4.0

func NewUserMembershipWithDefaults() *UserMembership

NewUserMembershipWithDefaults instantiates a new UserMembership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserMembership) GetResourceId added in v0.4.0

func (o *UserMembership) GetResourceId() *string

GetResourceId returns the ResourceId field value

func (*UserMembership) GetResourceIdOk added in v0.4.0

func (o *UserMembership) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*UserMembership) GetResourceType added in v0.4.0

func (o *UserMembership) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*UserMembership) GetResourceTypeOk added in v0.4.0

func (o *UserMembership) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*UserMembership) GetRole added in v0.4.0

func (o *UserMembership) GetRole() *string

GetRole returns the Role field value

func (*UserMembership) GetRoleOk added in v0.4.0

func (o *UserMembership) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*UserMembership) GetSubject added in v0.4.0

func (o *UserMembership) GetSubject() *string

GetSubject returns the Subject field value

func (*UserMembership) GetSubjectOk added in v0.4.0

func (o *UserMembership) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (*UserMembership) SetResourceId added in v0.4.0

func (o *UserMembership) SetResourceId(v *string)

SetResourceId sets field value

func (*UserMembership) SetResourceType added in v0.4.0

func (o *UserMembership) SetResourceType(v *string)

SetResourceType sets field value

func (*UserMembership) SetRole added in v0.4.0

func (o *UserMembership) SetRole(v *string)

SetRole sets field value

func (*UserMembership) SetSubject added in v0.4.0

func (o *UserMembership) SetSubject(v *string)

SetSubject sets field value

func (UserMembership) ToMap added in v0.4.0

func (o UserMembership) ToMap() (map[string]interface{}, error)

type UserPermission

type UserPermission struct {
	// REQUIRED
	Permissions *[]ExistingPermission `json:"permissions"`
	// REQUIRED
	ResourceId *string `json:"resourceId"`
	// REQUIRED
	ResourceType *string `json:"resourceType"`
}

UserPermission struct for UserPermission

func NewUserPermission added in v0.4.0

func NewUserPermission(permissions *[]ExistingPermission, resourceId *string, resourceType *string) *UserPermission

NewUserPermission instantiates a new UserPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserPermissionWithDefaults added in v0.4.0

func NewUserPermissionWithDefaults() *UserPermission

NewUserPermissionWithDefaults instantiates a new UserPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserPermission) GetPermissions added in v0.4.0

func (o *UserPermission) GetPermissions() *[]ExistingPermission

GetPermissions returns the Permissions field value

func (*UserPermission) GetPermissionsOk added in v0.4.0

func (o *UserPermission) GetPermissionsOk() (*[]ExistingPermission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*UserPermission) GetResourceId added in v0.4.0

func (o *UserPermission) GetResourceId() *string

GetResourceId returns the ResourceId field value

func (*UserPermission) GetResourceIdOk added in v0.4.0

func (o *UserPermission) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*UserPermission) GetResourceType added in v0.4.0

func (o *UserPermission) GetResourceType() *string

GetResourceType returns the ResourceType field value

func (*UserPermission) GetResourceTypeOk added in v0.4.0

func (o *UserPermission) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.

func (*UserPermission) SetPermissions added in v0.4.0

func (o *UserPermission) SetPermissions(v *[]ExistingPermission)

SetPermissions sets field value

func (*UserPermission) SetResourceId added in v0.4.0

func (o *UserPermission) SetResourceId(v *string)

SetResourceId sets field value

func (*UserPermission) SetResourceType added in v0.4.0

func (o *UserPermission) SetResourceType(v *string)

SetResourceType sets field value

func (UserPermission) ToMap added in v0.4.0

func (o UserPermission) ToMap() (map[string]interface{}, error)

type Zookie

type Zookie struct {
	Zookie *string `json:"zookie,omitempty"`
}

Zookie struct for Zookie

func NewZookie added in v0.4.0

func NewZookie() *Zookie

NewZookie instantiates a new Zookie object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewZookieWithDefaults added in v0.4.0

func NewZookieWithDefaults() *Zookie

NewZookieWithDefaults instantiates a new Zookie object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Zookie) GetZookie added in v0.4.0

func (o *Zookie) GetZookie() *string

GetZookie returns the Zookie field value if set, zero value otherwise.

func (*Zookie) GetZookieOk added in v0.4.0

func (o *Zookie) GetZookieOk() (*string, bool)

GetZookieOk returns a tuple with the Zookie field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Zookie) HasZookie added in v0.4.0

func (o *Zookie) HasZookie() bool

HasZookie returns a boolean if a field has been set.

func (*Zookie) SetZookie added in v0.4.0

func (o *Zookie) SetZookie(v *string)

SetZookie gets a reference to the given string and assigns it to the Zookie field.

func (Zookie) ToMap added in v0.4.0

func (o Zookie) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL