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 ApiCreateFolderRequest
- type ApiCreateProjectRequest
- type ApiDeleteFolderLabelsRequest
- type ApiDeleteFolderRequest
- type ApiDeleteOrganizationLabelsRequest
- type ApiDeleteProjectLabelsRequest
- type ApiDeleteProjectRequest
- type ApiGetFolderDetailsRequest
- type ApiGetOrganizationRequest
- type ApiGetProjectRequest
- type ApiListFoldersRequest
- func (r ApiListFoldersRequest) ContainerIds(containerIds []string) ApiListFoldersRequest
- func (r ApiListFoldersRequest) ContainerParentId(containerParentId string) ApiListFoldersRequest
- func (r ApiListFoldersRequest) CreationTimeStart(creationTimeStart time.Time) ApiListFoldersRequest
- func (r ApiListFoldersRequest) Execute() (*ListFoldersResponse, error)
- func (r ApiListFoldersRequest) Limit(limit float32) ApiListFoldersRequest
- func (r ApiListFoldersRequest) Member(member string) ApiListFoldersRequest
- func (r ApiListFoldersRequest) Offset(offset float32) ApiListFoldersRequest
- type ApiListOrganizationsRequest
- func (r ApiListOrganizationsRequest) ContainerIds(containerIds []string) ApiListOrganizationsRequest
- func (r ApiListOrganizationsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListOrganizationsRequest
- func (r ApiListOrganizationsRequest) Execute() (*ListOrganizationsResponse, error)
- func (r ApiListOrganizationsRequest) Limit(limit float32) ApiListOrganizationsRequest
- func (r ApiListOrganizationsRequest) Member(member string) ApiListOrganizationsRequest
- func (r ApiListOrganizationsRequest) Offset(offset float32) ApiListOrganizationsRequest
- type ApiListProjectsRequest
- func (r ApiListProjectsRequest) ContainerIds(containerIds []string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) ContainerParentId(containerParentId string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Execute() (*ListProjectsResponse, error)
- func (r ApiListProjectsRequest) Limit(limit float32) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Member(member string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Offset(offset float32) ApiListProjectsRequest
- type ApiPartialUpdateFolderRequest
- type ApiPartialUpdateOrganizationRequest
- type ApiPartialUpdateProjectRequest
- type ContainerSearchResult
- func (o *ContainerSearchResult) GetContainerId() string
- func (o *ContainerSearchResult) GetContainerIdOk() (*string, bool)
- func (o *ContainerSearchResult) GetContainerType() string
- func (o *ContainerSearchResult) GetContainerTypeOk() (*string, bool)
- func (o *ContainerSearchResult) GetId() string
- func (o *ContainerSearchResult) GetIdOk() (*string, bool)
- func (o *ContainerSearchResult) GetLifecycleState() LifecycleState
- func (o *ContainerSearchResult) GetLifecycleStateOk() (*LifecycleState, bool)
- func (o *ContainerSearchResult) GetName() string
- func (o *ContainerSearchResult) GetNameOk() (*string, bool)
- func (o *ContainerSearchResult) GetOrganizationId() string
- func (o *ContainerSearchResult) GetOrganizationIdOk() (*string, bool)
- func (o *ContainerSearchResult) HasLifecycleState() bool
- func (o *ContainerSearchResult) HasOrganizationId() bool
- func (o ContainerSearchResult) MarshalJSON() ([]byte, error)
- func (o *ContainerSearchResult) SetContainerId(v string)
- func (o *ContainerSearchResult) SetContainerType(v string)
- func (o *ContainerSearchResult) SetId(v string)
- func (o *ContainerSearchResult) SetLifecycleState(v LifecycleState)
- func (o *ContainerSearchResult) SetName(v string)
- func (o *ContainerSearchResult) SetOrganizationId(v string)
- func (o ContainerSearchResult) ToMap() (map[string]interface{}, error)
- func (o *ContainerSearchResult) UnmarshalJSON(data []byte) (err error)
- type CreateFolderPayload
- func (o *CreateFolderPayload) GetContainerParentId() string
- func (o *CreateFolderPayload) GetContainerParentIdOk() (*string, bool)
- func (o *CreateFolderPayload) GetLabels() map[string]string
- func (o *CreateFolderPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateFolderPayload) GetMembers() []Member
- func (o *CreateFolderPayload) GetMembersOk() ([]Member, bool)
- func (o *CreateFolderPayload) GetName() string
- func (o *CreateFolderPayload) GetNameOk() (*string, bool)
- func (o *CreateFolderPayload) HasLabels() bool
- func (o *CreateFolderPayload) HasMembers() bool
- func (o CreateFolderPayload) MarshalJSON() ([]byte, error)
- func (o *CreateFolderPayload) SetContainerParentId(v string)
- func (o *CreateFolderPayload) SetLabels(v map[string]string)
- func (o *CreateFolderPayload) SetMembers(v []Member)
- func (o *CreateFolderPayload) SetName(v string)
- func (o CreateFolderPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateFolderPayload) UnmarshalJSON(data []byte) (err error)
- type CreateProjectPayload
- func (o *CreateProjectPayload) GetContainerParentId() string
- func (o *CreateProjectPayload) GetContainerParentIdOk() (*string, bool)
- func (o *CreateProjectPayload) GetLabels() map[string]string
- func (o *CreateProjectPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateProjectPayload) GetMembers() []Member
- func (o *CreateProjectPayload) GetMembersOk() ([]Member, bool)
- func (o *CreateProjectPayload) GetName() string
- func (o *CreateProjectPayload) GetNameOk() (*string, bool)
- func (o *CreateProjectPayload) HasLabels() bool
- func (o CreateProjectPayload) MarshalJSON() ([]byte, error)
- func (o *CreateProjectPayload) SetContainerParentId(v string)
- func (o *CreateProjectPayload) SetLabels(v map[string]string)
- func (o *CreateProjectPayload) SetMembers(v []Member)
- func (o *CreateProjectPayload) SetName(v string)
- func (o CreateProjectPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateProjectPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateFolder(ctx context.Context) ApiCreateFolderRequest
- func (a *DefaultAPIService) CreateFolderExecute(r ApiCreateFolderRequest) (*FolderResponse, error)
- func (a *DefaultAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *DefaultAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, error)
- func (a *DefaultAPIService) DeleteFolder(ctx context.Context, containerId string) ApiDeleteFolderRequest
- func (a *DefaultAPIService) DeleteFolderExecute(r ApiDeleteFolderRequest) error
- func (a *DefaultAPIService) DeleteFolderLabels(ctx context.Context, containerId string) ApiDeleteFolderLabelsRequest
- func (a *DefaultAPIService) DeleteFolderLabelsExecute(r ApiDeleteFolderLabelsRequest) error
- func (a *DefaultAPIService) DeleteOrganizationLabels(ctx context.Context, containerId string) ApiDeleteOrganizationLabelsRequest
- func (a *DefaultAPIService) DeleteOrganizationLabelsExecute(r ApiDeleteOrganizationLabelsRequest) error
- func (a *DefaultAPIService) DeleteProject(ctx context.Context, id string) ApiDeleteProjectRequest
- func (a *DefaultAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) error
- func (a *DefaultAPIService) DeleteProjectLabels(ctx context.Context, containerId string) ApiDeleteProjectLabelsRequest
- func (a *DefaultAPIService) DeleteProjectLabelsExecute(r ApiDeleteProjectLabelsRequest) error
- func (a *DefaultAPIService) GetFolderDetails(ctx context.Context, containerId string) ApiGetFolderDetailsRequest
- func (a *DefaultAPIService) GetFolderDetailsExecute(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
- func (a *DefaultAPIService) GetOrganization(ctx context.Context, id string) ApiGetOrganizationRequest
- func (a *DefaultAPIService) GetOrganizationExecute(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
- func (a *DefaultAPIService) GetProject(ctx context.Context, id string) ApiGetProjectRequest
- func (a *DefaultAPIService) GetProjectExecute(r ApiGetProjectRequest) (*GetProjectResponse, error)
- func (a *DefaultAPIService) ListFolders(ctx context.Context) ApiListFoldersRequest
- func (a *DefaultAPIService) ListFoldersExecute(r ApiListFoldersRequest) (*ListFoldersResponse, error)
- func (a *DefaultAPIService) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
- func (a *DefaultAPIService) ListOrganizationsExecute(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
- func (a *DefaultAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a *DefaultAPIService) ListProjectsExecute(r ApiListProjectsRequest) (*ListProjectsResponse, error)
- func (a *DefaultAPIService) PartialUpdateFolder(ctx context.Context, containerId string) ApiPartialUpdateFolderRequest
- func (a *DefaultAPIService) PartialUpdateFolderExecute(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
- func (a *DefaultAPIService) PartialUpdateOrganization(ctx context.Context, id string) ApiPartialUpdateOrganizationRequest
- func (a *DefaultAPIService) PartialUpdateOrganizationExecute(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
- func (a *DefaultAPIService) PartialUpdateProject(ctx context.Context, id string) ApiPartialUpdateProjectRequest
- func (a *DefaultAPIService) PartialUpdateProjectExecute(r ApiPartialUpdateProjectRequest) (*Project, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateFolder(ctx context.Context) ApiCreateFolderRequest
- func (a DefaultAPIServiceMock) CreateFolderExecute(r ApiCreateFolderRequest) (*FolderResponse, error)
- func (a DefaultAPIServiceMock) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a DefaultAPIServiceMock) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, error)
- func (a DefaultAPIServiceMock) DeleteFolder(ctx context.Context, containerId string) ApiDeleteFolderRequest
- func (a DefaultAPIServiceMock) DeleteFolderExecute(r ApiDeleteFolderRequest) error
- func (a DefaultAPIServiceMock) DeleteFolderLabels(ctx context.Context, containerId string) ApiDeleteFolderLabelsRequest
- func (a DefaultAPIServiceMock) DeleteFolderLabelsExecute(r ApiDeleteFolderLabelsRequest) error
- func (a DefaultAPIServiceMock) DeleteOrganizationLabels(ctx context.Context, containerId string) ApiDeleteOrganizationLabelsRequest
- func (a DefaultAPIServiceMock) DeleteOrganizationLabelsExecute(r ApiDeleteOrganizationLabelsRequest) error
- func (a DefaultAPIServiceMock) DeleteProject(ctx context.Context, id string) ApiDeleteProjectRequest
- func (a DefaultAPIServiceMock) DeleteProjectExecute(r ApiDeleteProjectRequest) error
- func (a DefaultAPIServiceMock) DeleteProjectLabels(ctx context.Context, containerId string) ApiDeleteProjectLabelsRequest
- func (a DefaultAPIServiceMock) DeleteProjectLabelsExecute(r ApiDeleteProjectLabelsRequest) error
- func (a DefaultAPIServiceMock) GetFolderDetails(ctx context.Context, containerId string) ApiGetFolderDetailsRequest
- func (a DefaultAPIServiceMock) GetFolderDetailsExecute(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
- func (a DefaultAPIServiceMock) GetOrganization(ctx context.Context, id string) ApiGetOrganizationRequest
- func (a DefaultAPIServiceMock) GetOrganizationExecute(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
- func (a DefaultAPIServiceMock) GetProject(ctx context.Context, id string) ApiGetProjectRequest
- func (a DefaultAPIServiceMock) GetProjectExecute(r ApiGetProjectRequest) (*GetProjectResponse, error)
- func (a DefaultAPIServiceMock) ListFolders(ctx context.Context) ApiListFoldersRequest
- func (a DefaultAPIServiceMock) ListFoldersExecute(r ApiListFoldersRequest) (*ListFoldersResponse, error)
- func (a DefaultAPIServiceMock) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
- func (a DefaultAPIServiceMock) ListOrganizationsExecute(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
- func (a DefaultAPIServiceMock) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a DefaultAPIServiceMock) ListProjectsExecute(r ApiListProjectsRequest) (*ListProjectsResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateFolder(ctx context.Context, containerId string) ApiPartialUpdateFolderRequest
- func (a DefaultAPIServiceMock) PartialUpdateFolderExecute(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateOrganization(ctx context.Context, id string) ApiPartialUpdateOrganizationRequest
- func (a DefaultAPIServiceMock) PartialUpdateOrganizationExecute(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateProject(ctx context.Context, id string) ApiPartialUpdateProjectRequest
- func (a DefaultAPIServiceMock) PartialUpdateProjectExecute(r ApiPartialUpdateProjectRequest) (*Project, 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() float32
- func (o *ErrorResponse) GetStatusOk() (*float32, 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 float32)
- func (o *ErrorResponse) SetTimeStamp(v time.Time)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type FolderResponse
- func (o *FolderResponse) GetContainerId() string
- func (o *FolderResponse) GetContainerIdOk() (*string, bool)
- func (o *FolderResponse) GetCreationTime() time.Time
- func (o *FolderResponse) GetCreationTimeOk() (*time.Time, bool)
- func (o *FolderResponse) GetFolderId() string
- func (o *FolderResponse) GetFolderIdOk() (*string, bool)
- func (o *FolderResponse) GetLabels() map[string]string
- func (o *FolderResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *FolderResponse) GetName() string
- func (o *FolderResponse) GetNameOk() (*string, bool)
- func (o *FolderResponse) GetParent() Parent
- func (o *FolderResponse) GetParentOk() (*Parent, bool)
- func (o *FolderResponse) GetUpdateTime() time.Time
- func (o *FolderResponse) GetUpdateTimeOk() (*time.Time, bool)
- func (o *FolderResponse) HasLabels() bool
- func (o FolderResponse) MarshalJSON() ([]byte, error)
- func (o *FolderResponse) SetContainerId(v string)
- func (o *FolderResponse) SetCreationTime(v time.Time)
- func (o *FolderResponse) SetFolderId(v string)
- func (o *FolderResponse) SetLabels(v map[string]string)
- func (o *FolderResponse) SetName(v string)
- func (o *FolderResponse) SetParent(v Parent)
- func (o *FolderResponse) SetUpdateTime(v time.Time)
- func (o FolderResponse) ToMap() (map[string]interface{}, error)
- func (o *FolderResponse) UnmarshalJSON(data []byte) (err error)
- type GetFolderDetailsResponse
- func (o *GetFolderDetailsResponse) GetContainerId() string
- func (o *GetFolderDetailsResponse) GetContainerIdOk() (*string, bool)
- func (o *GetFolderDetailsResponse) GetCreationTime() time.Time
- func (o *GetFolderDetailsResponse) GetCreationTimeOk() (*time.Time, bool)
- func (o *GetFolderDetailsResponse) GetFolderId() string
- func (o *GetFolderDetailsResponse) GetFolderIdOk() (*string, bool)
- func (o *GetFolderDetailsResponse) GetLabels() map[string]string
- func (o *GetFolderDetailsResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetFolderDetailsResponse) GetName() string
- func (o *GetFolderDetailsResponse) GetNameOk() (*string, bool)
- func (o *GetFolderDetailsResponse) GetParent() Parent
- func (o *GetFolderDetailsResponse) GetParentOk() (*Parent, bool)
- func (o *GetFolderDetailsResponse) GetParents() []ParentListInner
- func (o *GetFolderDetailsResponse) GetParentsOk() ([]ParentListInner, bool)
- func (o *GetFolderDetailsResponse) GetUpdateTime() time.Time
- func (o *GetFolderDetailsResponse) GetUpdateTimeOk() (*time.Time, bool)
- func (o *GetFolderDetailsResponse) HasLabels() bool
- func (o *GetFolderDetailsResponse) HasParents() bool
- func (o GetFolderDetailsResponse) MarshalJSON() ([]byte, error)
- func (o *GetFolderDetailsResponse) SetContainerId(v string)
- func (o *GetFolderDetailsResponse) SetCreationTime(v time.Time)
- func (o *GetFolderDetailsResponse) SetFolderId(v string)
- func (o *GetFolderDetailsResponse) SetLabels(v map[string]string)
- func (o *GetFolderDetailsResponse) SetName(v string)
- func (o *GetFolderDetailsResponse) SetParent(v Parent)
- func (o *GetFolderDetailsResponse) SetParents(v []ParentListInner)
- func (o *GetFolderDetailsResponse) SetUpdateTime(v time.Time)
- func (o GetFolderDetailsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetFolderDetailsResponse) UnmarshalJSON(data []byte) (err error)
- type GetProjectResponse
- func (o *GetProjectResponse) GetContainerId() string
- func (o *GetProjectResponse) GetContainerIdOk() (*string, bool)
- func (o *GetProjectResponse) GetCreationTime() time.Time
- func (o *GetProjectResponse) GetCreationTimeOk() (*time.Time, bool)
- func (o *GetProjectResponse) GetLabels() map[string]string
- func (o *GetProjectResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetProjectResponse) GetLifecycleState() LifecycleState
- func (o *GetProjectResponse) GetLifecycleStateOk() (*LifecycleState, bool)
- func (o *GetProjectResponse) GetName() string
- func (o *GetProjectResponse) GetNameOk() (*string, bool)
- func (o *GetProjectResponse) GetParent() Parent
- func (o *GetProjectResponse) GetParentOk() (*Parent, bool)
- func (o *GetProjectResponse) GetParents() []ParentListInner
- func (o *GetProjectResponse) GetParentsOk() ([]ParentListInner, bool)
- func (o *GetProjectResponse) GetProjectId() string
- func (o *GetProjectResponse) GetProjectIdOk() (*string, bool)
- func (o *GetProjectResponse) GetUpdateTime() time.Time
- func (o *GetProjectResponse) GetUpdateTimeOk() (*time.Time, bool)
- func (o *GetProjectResponse) HasLabels() bool
- func (o *GetProjectResponse) HasParents() bool
- func (o GetProjectResponse) MarshalJSON() ([]byte, error)
- func (o *GetProjectResponse) SetContainerId(v string)
- func (o *GetProjectResponse) SetCreationTime(v time.Time)
- func (o *GetProjectResponse) SetLabels(v map[string]string)
- func (o *GetProjectResponse) SetLifecycleState(v LifecycleState)
- func (o *GetProjectResponse) SetName(v string)
- func (o *GetProjectResponse) SetParent(v Parent)
- func (o *GetProjectResponse) SetParents(v []ParentListInner)
- func (o *GetProjectResponse) SetProjectId(v string)
- func (o *GetProjectResponse) SetUpdateTime(v time.Time)
- func (o GetProjectResponse) ToMap() (map[string]interface{}, error)
- func (o *GetProjectResponse) UnmarshalJSON(data []byte) (err error)
- type LifecycleState
- type ListFoldersResponse
- func (o *ListFoldersResponse) GetItems() []ListFoldersResponseItemsInner
- func (o *ListFoldersResponse) GetItemsOk() ([]ListFoldersResponseItemsInner, bool)
- func (o *ListFoldersResponse) GetLimit() float32
- func (o *ListFoldersResponse) GetLimitOk() (*float32, bool)
- func (o *ListFoldersResponse) GetOffset() float32
- func (o *ListFoldersResponse) GetOffsetOk() (*float32, bool)
- func (o ListFoldersResponse) MarshalJSON() ([]byte, error)
- func (o *ListFoldersResponse) SetItems(v []ListFoldersResponseItemsInner)
- func (o *ListFoldersResponse) SetLimit(v float32)
- func (o *ListFoldersResponse) SetOffset(v float32)
- func (o ListFoldersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListFoldersResponse) UnmarshalJSON(data []byte) (err error)
- type ListFoldersResponseItemsInner
- func (o *ListFoldersResponseItemsInner) GetContainerId() string
- func (o *ListFoldersResponseItemsInner) GetContainerIdOk() (*string, bool)
- func (o *ListFoldersResponseItemsInner) GetCreationTime() time.Time
- func (o *ListFoldersResponseItemsInner) GetCreationTimeOk() (*time.Time, bool)
- func (o *ListFoldersResponseItemsInner) GetFolderId() string
- func (o *ListFoldersResponseItemsInner) GetFolderIdOk() (*string, bool)
- func (o *ListFoldersResponseItemsInner) GetLabels() map[string]string
- func (o *ListFoldersResponseItemsInner) GetLabelsOk() (*map[string]string, bool)
- func (o *ListFoldersResponseItemsInner) GetName() string
- func (o *ListFoldersResponseItemsInner) GetNameOk() (*string, bool)
- func (o *ListFoldersResponseItemsInner) GetParent() Parent
- func (o *ListFoldersResponseItemsInner) GetParentOk() (*Parent, bool)
- func (o *ListFoldersResponseItemsInner) GetUpdateTime() time.Time
- func (o *ListFoldersResponseItemsInner) GetUpdateTimeOk() (*time.Time, bool)
- func (o *ListFoldersResponseItemsInner) HasLabels() bool
- func (o ListFoldersResponseItemsInner) MarshalJSON() ([]byte, error)
- func (o *ListFoldersResponseItemsInner) SetContainerId(v string)
- func (o *ListFoldersResponseItemsInner) SetCreationTime(v time.Time)
- func (o *ListFoldersResponseItemsInner) SetFolderId(v string)
- func (o *ListFoldersResponseItemsInner) SetLabels(v map[string]string)
- func (o *ListFoldersResponseItemsInner) SetName(v string)
- func (o *ListFoldersResponseItemsInner) SetParent(v Parent)
- func (o *ListFoldersResponseItemsInner) SetUpdateTime(v time.Time)
- func (o ListFoldersResponseItemsInner) ToMap() (map[string]interface{}, error)
- func (o *ListFoldersResponseItemsInner) UnmarshalJSON(data []byte) (err error)
- type ListOrganizationsResponse
- func (o *ListOrganizationsResponse) GetItems() []ListOrganizationsResponseItemsInner
- func (o *ListOrganizationsResponse) GetItemsOk() ([]ListOrganizationsResponseItemsInner, bool)
- func (o *ListOrganizationsResponse) GetLimit() float32
- func (o *ListOrganizationsResponse) GetLimitOk() (*float32, bool)
- func (o *ListOrganizationsResponse) GetOffset() float32
- func (o *ListOrganizationsResponse) GetOffsetOk() (*float32, bool)
- func (o ListOrganizationsResponse) MarshalJSON() ([]byte, error)
- func (o *ListOrganizationsResponse) SetItems(v []ListOrganizationsResponseItemsInner)
- func (o *ListOrganizationsResponse) SetLimit(v float32)
- func (o *ListOrganizationsResponse) SetOffset(v float32)
- func (o ListOrganizationsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListOrganizationsResponse) UnmarshalJSON(data []byte) (err error)
- type ListOrganizationsResponseItemsInner
- func (o *ListOrganizationsResponseItemsInner) GetContainerId() string
- func (o *ListOrganizationsResponseItemsInner) GetContainerIdOk() (*string, bool)
- func (o *ListOrganizationsResponseItemsInner) GetCreationTime() time.Time
- func (o *ListOrganizationsResponseItemsInner) GetCreationTimeOk() (*time.Time, bool)
- func (o *ListOrganizationsResponseItemsInner) GetLabels() map[string]string
- func (o *ListOrganizationsResponseItemsInner) GetLabelsOk() (*map[string]string, bool)
- func (o *ListOrganizationsResponseItemsInner) GetLifecycleState() LifecycleState
- func (o *ListOrganizationsResponseItemsInner) GetLifecycleStateOk() (*LifecycleState, bool)
- func (o *ListOrganizationsResponseItemsInner) GetName() string
- func (o *ListOrganizationsResponseItemsInner) GetNameOk() (*string, bool)
- func (o *ListOrganizationsResponseItemsInner) GetOrganizationId() string
- func (o *ListOrganizationsResponseItemsInner) GetOrganizationIdOk() (*string, bool)
- func (o *ListOrganizationsResponseItemsInner) GetUpdateTime() time.Time
- func (o *ListOrganizationsResponseItemsInner) GetUpdateTimeOk() (*time.Time, bool)
- func (o *ListOrganizationsResponseItemsInner) HasLabels() bool
- func (o ListOrganizationsResponseItemsInner) MarshalJSON() ([]byte, error)
- func (o *ListOrganizationsResponseItemsInner) SetContainerId(v string)
- func (o *ListOrganizationsResponseItemsInner) SetCreationTime(v time.Time)
- func (o *ListOrganizationsResponseItemsInner) SetLabels(v map[string]string)
- func (o *ListOrganizationsResponseItemsInner) SetLifecycleState(v LifecycleState)
- func (o *ListOrganizationsResponseItemsInner) SetName(v string)
- func (o *ListOrganizationsResponseItemsInner) SetOrganizationId(v string)
- func (o *ListOrganizationsResponseItemsInner) SetUpdateTime(v time.Time)
- func (o ListOrganizationsResponseItemsInner) ToMap() (map[string]interface{}, error)
- func (o *ListOrganizationsResponseItemsInner) UnmarshalJSON(data []byte) (err error)
- type ListProjectsResponse
- func (o *ListProjectsResponse) GetItems() []Project
- func (o *ListProjectsResponse) GetItemsOk() ([]Project, bool)
- func (o *ListProjectsResponse) GetLimit() float32
- func (o *ListProjectsResponse) GetLimitOk() (*float32, bool)
- func (o *ListProjectsResponse) GetOffset() float32
- func (o *ListProjectsResponse) GetOffsetOk() (*float32, bool)
- func (o ListProjectsResponse) MarshalJSON() ([]byte, error)
- func (o *ListProjectsResponse) SetItems(v []Project)
- func (o *ListProjectsResponse) SetLimit(v float32)
- func (o *ListProjectsResponse) SetOffset(v float32)
- func (o ListProjectsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListProjectsResponse) 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 NullableBool
- type NullableContainerSearchResult
- func (v NullableContainerSearchResult) Get() *ContainerSearchResult
- func (v NullableContainerSearchResult) IsSet() bool
- func (v NullableContainerSearchResult) MarshalJSON() ([]byte, error)
- func (v *NullableContainerSearchResult) Set(val *ContainerSearchResult)
- func (v *NullableContainerSearchResult) UnmarshalJSON(src []byte) error
- func (v *NullableContainerSearchResult) Unset()
- type NullableCreateFolderPayload
- func (v NullableCreateFolderPayload) Get() *CreateFolderPayload
- func (v NullableCreateFolderPayload) IsSet() bool
- func (v NullableCreateFolderPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFolderPayload) Set(val *CreateFolderPayload)
- func (v *NullableCreateFolderPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFolderPayload) Unset()
- type NullableCreateProjectPayload
- func (v NullableCreateProjectPayload) Get() *CreateProjectPayload
- func (v NullableCreateProjectPayload) IsSet() bool
- func (v NullableCreateProjectPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProjectPayload) Set(val *CreateProjectPayload)
- func (v *NullableCreateProjectPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProjectPayload) 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 NullableFloat32
- type NullableFloat64
- type NullableFolderResponse
- func (v NullableFolderResponse) Get() *FolderResponse
- func (v NullableFolderResponse) IsSet() bool
- func (v NullableFolderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFolderResponse) Set(val *FolderResponse)
- func (v *NullableFolderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFolderResponse) Unset()
- type NullableGetFolderDetailsResponse
- func (v NullableGetFolderDetailsResponse) Get() *GetFolderDetailsResponse
- func (v NullableGetFolderDetailsResponse) IsSet() bool
- func (v NullableGetFolderDetailsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetFolderDetailsResponse) Set(val *GetFolderDetailsResponse)
- func (v *NullableGetFolderDetailsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetFolderDetailsResponse) Unset()
- type NullableGetProjectResponse
- func (v NullableGetProjectResponse) Get() *GetProjectResponse
- func (v NullableGetProjectResponse) IsSet() bool
- func (v NullableGetProjectResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetProjectResponse) Set(val *GetProjectResponse)
- func (v *NullableGetProjectResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetProjectResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLifecycleState
- func (v NullableLifecycleState) Get() *LifecycleState
- func (v NullableLifecycleState) IsSet() bool
- func (v NullableLifecycleState) MarshalJSON() ([]byte, error)
- func (v *NullableLifecycleState) Set(val *LifecycleState)
- func (v *NullableLifecycleState) UnmarshalJSON(src []byte) error
- func (v *NullableLifecycleState) Unset()
- type NullableListFoldersResponse
- func (v NullableListFoldersResponse) Get() *ListFoldersResponse
- func (v NullableListFoldersResponse) IsSet() bool
- func (v NullableListFoldersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListFoldersResponse) Set(val *ListFoldersResponse)
- func (v *NullableListFoldersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListFoldersResponse) Unset()
- type NullableListFoldersResponseItemsInner
- func (v NullableListFoldersResponseItemsInner) Get() *ListFoldersResponseItemsInner
- func (v NullableListFoldersResponseItemsInner) IsSet() bool
- func (v NullableListFoldersResponseItemsInner) MarshalJSON() ([]byte, error)
- func (v *NullableListFoldersResponseItemsInner) Set(val *ListFoldersResponseItemsInner)
- func (v *NullableListFoldersResponseItemsInner) UnmarshalJSON(src []byte) error
- func (v *NullableListFoldersResponseItemsInner) Unset()
- type NullableListOrganizationsResponse
- func (v NullableListOrganizationsResponse) Get() *ListOrganizationsResponse
- func (v NullableListOrganizationsResponse) IsSet() bool
- func (v NullableListOrganizationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListOrganizationsResponse) Set(val *ListOrganizationsResponse)
- func (v *NullableListOrganizationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListOrganizationsResponse) Unset()
- type NullableListOrganizationsResponseItemsInner
- func (v NullableListOrganizationsResponseItemsInner) Get() *ListOrganizationsResponseItemsInner
- func (v NullableListOrganizationsResponseItemsInner) IsSet() bool
- func (v NullableListOrganizationsResponseItemsInner) MarshalJSON() ([]byte, error)
- func (v *NullableListOrganizationsResponseItemsInner) Set(val *ListOrganizationsResponseItemsInner)
- func (v *NullableListOrganizationsResponseItemsInner) UnmarshalJSON(src []byte) error
- func (v *NullableListOrganizationsResponseItemsInner) Unset()
- type NullableListProjectsResponse
- func (v NullableListProjectsResponse) Get() *ListProjectsResponse
- func (v NullableListProjectsResponse) IsSet() bool
- func (v NullableListProjectsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListProjectsResponse) Set(val *ListProjectsResponse)
- func (v *NullableListProjectsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListProjectsResponse) Unset()
- type NullableMember
- type NullableOrganizationResponse
- func (v NullableOrganizationResponse) Get() *OrganizationResponse
- func (v NullableOrganizationResponse) IsSet() bool
- func (v NullableOrganizationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrganizationResponse) Set(val *OrganizationResponse)
- func (v *NullableOrganizationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrganizationResponse) Unset()
- type NullableParent
- type NullableParentListInner
- func (v NullableParentListInner) Get() *ParentListInner
- func (v NullableParentListInner) IsSet() bool
- func (v NullableParentListInner) MarshalJSON() ([]byte, error)
- func (v *NullableParentListInner) Set(val *ParentListInner)
- func (v *NullableParentListInner) UnmarshalJSON(src []byte) error
- func (v *NullableParentListInner) Unset()
- type NullablePartialUpdateFolderPayload
- func (v NullablePartialUpdateFolderPayload) Get() *PartialUpdateFolderPayload
- func (v NullablePartialUpdateFolderPayload) IsSet() bool
- func (v NullablePartialUpdateFolderPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateFolderPayload) Set(val *PartialUpdateFolderPayload)
- func (v *NullablePartialUpdateFolderPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateFolderPayload) Unset()
- type NullablePartialUpdateOrganizationPayload
- func (v NullablePartialUpdateOrganizationPayload) Get() *PartialUpdateOrganizationPayload
- func (v NullablePartialUpdateOrganizationPayload) IsSet() bool
- func (v NullablePartialUpdateOrganizationPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateOrganizationPayload) Set(val *PartialUpdateOrganizationPayload)
- func (v *NullablePartialUpdateOrganizationPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateOrganizationPayload) Unset()
- type NullablePartialUpdateProjectPayload
- func (v NullablePartialUpdateProjectPayload) Get() *PartialUpdateProjectPayload
- func (v NullablePartialUpdateProjectPayload) IsSet() bool
- func (v NullablePartialUpdateProjectPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateProjectPayload) Set(val *PartialUpdateProjectPayload)
- func (v *NullablePartialUpdateProjectPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateProjectPayload) Unset()
- type NullableProject
- type NullableString
- type NullableTime
- type OrganizationResponse
- func (o *OrganizationResponse) GetContainerId() string
- func (o *OrganizationResponse) GetContainerIdOk() (*string, bool)
- func (o *OrganizationResponse) GetCreationTime() time.Time
- func (o *OrganizationResponse) GetCreationTimeOk() (*time.Time, bool)
- func (o *OrganizationResponse) GetLabels() map[string]string
- func (o *OrganizationResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *OrganizationResponse) GetLifecycleState() LifecycleState
- func (o *OrganizationResponse) GetLifecycleStateOk() (*LifecycleState, bool)
- func (o *OrganizationResponse) GetName() string
- func (o *OrganizationResponse) GetNameOk() (*string, bool)
- func (o *OrganizationResponse) GetOrganizationId() string
- func (o *OrganizationResponse) GetOrganizationIdOk() (*string, bool)
- func (o *OrganizationResponse) GetUpdateTime() time.Time
- func (o *OrganizationResponse) GetUpdateTimeOk() (*time.Time, bool)
- func (o *OrganizationResponse) HasLabels() bool
- func (o OrganizationResponse) MarshalJSON() ([]byte, error)
- func (o *OrganizationResponse) SetContainerId(v string)
- func (o *OrganizationResponse) SetCreationTime(v time.Time)
- func (o *OrganizationResponse) SetLabels(v map[string]string)
- func (o *OrganizationResponse) SetLifecycleState(v LifecycleState)
- func (o *OrganizationResponse) SetName(v string)
- func (o *OrganizationResponse) SetOrganizationId(v string)
- func (o *OrganizationResponse) SetUpdateTime(v time.Time)
- func (o OrganizationResponse) ToMap() (map[string]interface{}, error)
- func (o *OrganizationResponse) UnmarshalJSON(data []byte) (err error)
- type Parent
- func (o *Parent) GetContainerId() string
- func (o *Parent) GetContainerIdOk() (*string, bool)
- func (o *Parent) GetId() string
- func (o *Parent) GetIdOk() (*string, bool)
- func (o *Parent) GetType() string
- func (o *Parent) GetTypeOk() (*string, bool)
- func (o Parent) MarshalJSON() ([]byte, error)
- func (o *Parent) SetContainerId(v string)
- func (o *Parent) SetId(v string)
- func (o *Parent) SetType(v string)
- func (o Parent) ToMap() (map[string]interface{}, error)
- func (o *Parent) UnmarshalJSON(data []byte) (err error)
- type ParentListInner
- func (o *ParentListInner) GetContainerId() string
- func (o *ParentListInner) GetContainerIdOk() (*string, bool)
- func (o *ParentListInner) GetContainerParentId() string
- func (o *ParentListInner) GetContainerParentIdOk() (*string, bool)
- func (o *ParentListInner) GetId() string
- func (o *ParentListInner) GetIdOk() (*string, bool)
- func (o *ParentListInner) GetName() string
- func (o *ParentListInner) GetNameOk() (*string, bool)
- func (o *ParentListInner) GetParentId() string
- func (o *ParentListInner) GetParentIdOk() (*string, bool)
- func (o *ParentListInner) GetType() string
- func (o *ParentListInner) GetTypeOk() (*string, bool)
- func (o *ParentListInner) HasContainerParentId() bool
- func (o *ParentListInner) HasParentId() bool
- func (o ParentListInner) MarshalJSON() ([]byte, error)
- func (o *ParentListInner) SetContainerId(v string)
- func (o *ParentListInner) SetContainerParentId(v string)
- func (o *ParentListInner) SetId(v string)
- func (o *ParentListInner) SetName(v string)
- func (o *ParentListInner) SetParentId(v string)
- func (o *ParentListInner) SetType(v string)
- func (o ParentListInner) ToMap() (map[string]interface{}, error)
- func (o *ParentListInner) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateFolderPayload
- func (o *PartialUpdateFolderPayload) GetContainerParentId() string
- func (o *PartialUpdateFolderPayload) GetContainerParentIdOk() (*string, bool)
- func (o *PartialUpdateFolderPayload) GetLabels() map[string]string
- func (o *PartialUpdateFolderPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateFolderPayload) GetName() string
- func (o *PartialUpdateFolderPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateFolderPayload) HasContainerParentId() bool
- func (o *PartialUpdateFolderPayload) HasLabels() bool
- func (o *PartialUpdateFolderPayload) HasName() bool
- func (o PartialUpdateFolderPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateFolderPayload) SetContainerParentId(v string)
- func (o *PartialUpdateFolderPayload) SetLabels(v map[string]string)
- func (o *PartialUpdateFolderPayload) SetName(v string)
- func (o PartialUpdateFolderPayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateOrganizationPayload
- func (o *PartialUpdateOrganizationPayload) GetLabels() map[string]string
- func (o *PartialUpdateOrganizationPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateOrganizationPayload) GetName() string
- func (o *PartialUpdateOrganizationPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateOrganizationPayload) HasLabels() bool
- func (o *PartialUpdateOrganizationPayload) HasName() bool
- func (o PartialUpdateOrganizationPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateOrganizationPayload) SetLabels(v map[string]string)
- func (o *PartialUpdateOrganizationPayload) SetName(v string)
- func (o PartialUpdateOrganizationPayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateProjectPayload
- func (o *PartialUpdateProjectPayload) GetContainerParentId() string
- func (o *PartialUpdateProjectPayload) GetContainerParentIdOk() (*string, bool)
- func (o *PartialUpdateProjectPayload) GetLabels() map[string]string
- func (o *PartialUpdateProjectPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateProjectPayload) GetName() string
- func (o *PartialUpdateProjectPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateProjectPayload) HasContainerParentId() bool
- func (o *PartialUpdateProjectPayload) HasLabels() bool
- func (o *PartialUpdateProjectPayload) HasName() bool
- func (o PartialUpdateProjectPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateProjectPayload) SetContainerParentId(v string)
- func (o *PartialUpdateProjectPayload) SetLabels(v map[string]string)
- func (o *PartialUpdateProjectPayload) SetName(v string)
- func (o PartialUpdateProjectPayload) ToMap() (map[string]interface{}, error)
- type Project
- func (o *Project) GetContainerId() string
- func (o *Project) GetContainerIdOk() (*string, bool)
- func (o *Project) GetCreationTime() time.Time
- func (o *Project) GetCreationTimeOk() (*time.Time, bool)
- func (o *Project) GetLabels() map[string]string
- func (o *Project) GetLabelsOk() (*map[string]string, bool)
- func (o *Project) GetLifecycleState() LifecycleState
- func (o *Project) GetLifecycleStateOk() (*LifecycleState, bool)
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetParent() Parent
- func (o *Project) GetParentOk() (*Parent, bool)
- func (o *Project) GetProjectId() string
- func (o *Project) GetProjectIdOk() (*string, bool)
- func (o *Project) GetUpdateTime() time.Time
- func (o *Project) GetUpdateTimeOk() (*time.Time, bool)
- func (o *Project) HasLabels() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetContainerId(v string)
- func (o *Project) SetCreationTime(v time.Time)
- func (o *Project) SetLabels(v map[string]string)
- func (o *Project) SetLifecycleState(v LifecycleState)
- func (o *Project) SetName(v string)
- func (o *Project) SetParent(v Parent)
- func (o *Project) SetProjectId(v string)
- func (o *Project) SetUpdateTime(v time.Time)
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedLifecycleStateEnumValues = []LifecycleState{
"CREATING",
"ACTIVE",
"DELETING",
"INACTIVE",
}
All allowed values of LifecycleState enum
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 Resource Manager 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 ApiCreateFolderRequest ¶
type ApiCreateFolderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateFolderRequest) CreateFolderPayload ¶
func (r ApiCreateFolderRequest) CreateFolderPayload(createFolderPayload CreateFolderPayload) ApiCreateFolderRequest
func (ApiCreateFolderRequest) Execute ¶
func (r ApiCreateFolderRequest) Execute() (*FolderResponse, error)
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateProjectRequest) CreateProjectPayload ¶
func (r ApiCreateProjectRequest) CreateProjectPayload(createProjectPayload CreateProjectPayload) ApiCreateProjectRequest
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*Project, error)
type ApiDeleteFolderLabelsRequest ¶
type ApiDeleteFolderLabelsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteFolderLabelsRequest) Execute ¶
func (r ApiDeleteFolderLabelsRequest) Execute() error
func (ApiDeleteFolderLabelsRequest) Keys ¶
func (r ApiDeleteFolderLabelsRequest) Keys(keys []string) ApiDeleteFolderLabelsRequest
Label name.
type ApiDeleteFolderRequest ¶
type ApiDeleteFolderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteFolderRequest) Execute ¶
func (r ApiDeleteFolderRequest) Execute() error
func (ApiDeleteFolderRequest) Force ¶
func (r ApiDeleteFolderRequest) Force(force bool) ApiDeleteFolderRequest
If true, all nested, empty folders are deleted recursively - if no project is attached!
type ApiDeleteOrganizationLabelsRequest ¶
type ApiDeleteOrganizationLabelsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteOrganizationLabelsRequest) Execute ¶
func (r ApiDeleteOrganizationLabelsRequest) Execute() error
func (ApiDeleteOrganizationLabelsRequest) Keys ¶
func (r ApiDeleteOrganizationLabelsRequest) Keys(keys []string) ApiDeleteOrganizationLabelsRequest
Label name.
type ApiDeleteProjectLabelsRequest ¶
type ApiDeleteProjectLabelsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteProjectLabelsRequest) Execute ¶
func (r ApiDeleteProjectLabelsRequest) Execute() error
func (ApiDeleteProjectLabelsRequest) Keys ¶
func (r ApiDeleteProjectLabelsRequest) Keys(keys []string) ApiDeleteProjectLabelsRequest
Label name.
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteProjectRequest) Execute ¶
func (r ApiDeleteProjectRequest) Execute() error
type ApiGetFolderDetailsRequest ¶
type ApiGetFolderDetailsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetFolderDetailsRequest) Execute ¶
func (r ApiGetFolderDetailsRequest) Execute() (*GetFolderDetailsResponse, error)
func (ApiGetFolderDetailsRequest) IncludeParents ¶
func (r ApiGetFolderDetailsRequest) IncludeParents(includeParents bool) ApiGetFolderDetailsRequest
type ApiGetOrganizationRequest ¶
type ApiGetOrganizationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetOrganizationRequest) Execute ¶
func (r ApiGetOrganizationRequest) Execute() (*OrganizationResponse, error)
type ApiGetProjectRequest ¶
type ApiGetProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetProjectRequest) Execute ¶
func (r ApiGetProjectRequest) Execute() (*GetProjectResponse, error)
func (ApiGetProjectRequest) IncludeParents ¶
func (r ApiGetProjectRequest) IncludeParents(includeParents bool) ApiGetProjectRequest
type ApiListFoldersRequest ¶
type ApiListFoldersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFoldersRequest) ContainerIds ¶
func (r ApiListFoldersRequest) ContainerIds(containerIds []string) ApiListFoldersRequest
List of container identifiers - containerId as well as UUID identifier is supported.
func (ApiListFoldersRequest) ContainerParentId ¶
func (r ApiListFoldersRequest) ContainerParentId(containerParentId string) ApiListFoldersRequest
Identifier of the parent resource container - containerId as well as UUID identifier is supported.
func (ApiListFoldersRequest) CreationTimeStart ¶
func (r ApiListFoldersRequest) CreationTimeStart(creationTimeStart time.Time) ApiListFoldersRequest
A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time.
func (ApiListFoldersRequest) Execute ¶
func (r ApiListFoldersRequest) Execute() (*ListFoldersResponse, error)
func (ApiListFoldersRequest) Limit ¶
func (r ApiListFoldersRequest) Limit(limit float32) ApiListFoldersRequest
The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used.
func (ApiListFoldersRequest) Member ¶
func (r ApiListFoldersRequest) Member(member string) ApiListFoldersRequest
E-Mail address of the user for whom the visible resource containers should be filtered.
func (ApiListFoldersRequest) Offset ¶
func (r ApiListFoldersRequest) Offset(offset float32) ApiListFoldersRequest
The offset of the first item in the collection to return.
type ApiListOrganizationsRequest ¶
type ApiListOrganizationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListOrganizationsRequest) ContainerIds ¶
func (r ApiListOrganizationsRequest) ContainerIds(containerIds []string) ApiListOrganizationsRequest
Organization identifiers - containerId as well as UUID identifier is supported. A combination of both is not allowed.
func (ApiListOrganizationsRequest) CreationTimeStart ¶
func (r ApiListOrganizationsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListOrganizationsRequest
A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time.
func (ApiListOrganizationsRequest) Execute ¶
func (r ApiListOrganizationsRequest) Execute() (*ListOrganizationsResponse, error)
func (ApiListOrganizationsRequest) Limit ¶
func (r ApiListOrganizationsRequest) Limit(limit float32) ApiListOrganizationsRequest
The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used.
func (ApiListOrganizationsRequest) Member ¶
func (r ApiListOrganizationsRequest) Member(member string) ApiListOrganizationsRequest
E-Mail address of the user for whom the visible resource containers should be filtered.
func (ApiListOrganizationsRequest) Offset ¶
func (r ApiListOrganizationsRequest) Offset(offset float32) ApiListOrganizationsRequest
The offset of the first item in the collection to return.
type ApiListProjectsRequest ¶
type ApiListProjectsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListProjectsRequest) ContainerIds ¶
func (r ApiListProjectsRequest) ContainerIds(containerIds []string) ApiListProjectsRequest
List of container identifiers - containerId as well as UUID identifier is supported.
func (ApiListProjectsRequest) ContainerParentId ¶
func (r ApiListProjectsRequest) ContainerParentId(containerParentId string) ApiListProjectsRequest
Identifier of the parent resource container - containerId as well as UUID identifier is supported.
func (ApiListProjectsRequest) CreationTimeStart ¶
func (r ApiListProjectsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListProjectsRequest
A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time.
func (ApiListProjectsRequest) Execute ¶
func (r ApiListProjectsRequest) Execute() (*ListProjectsResponse, error)
func (ApiListProjectsRequest) Limit ¶
func (r ApiListProjectsRequest) Limit(limit float32) ApiListProjectsRequest
The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used.
func (ApiListProjectsRequest) Member ¶
func (r ApiListProjectsRequest) Member(member string) ApiListProjectsRequest
E-Mail address of the user for whom the visible resource containers should be filtered.
func (ApiListProjectsRequest) Offset ¶
func (r ApiListProjectsRequest) Offset(offset float32) ApiListProjectsRequest
The offset of the first item in the collection to return.
type ApiPartialUpdateFolderRequest ¶
type ApiPartialUpdateFolderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateFolderRequest) Execute ¶
func (r ApiPartialUpdateFolderRequest) Execute() (*FolderResponse, error)
func (ApiPartialUpdateFolderRequest) PartialUpdateFolderPayload ¶
func (r ApiPartialUpdateFolderRequest) PartialUpdateFolderPayload(partialUpdateFolderPayload PartialUpdateFolderPayload) ApiPartialUpdateFolderRequest
type ApiPartialUpdateOrganizationRequest ¶
type ApiPartialUpdateOrganizationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateOrganizationRequest) Execute ¶
func (r ApiPartialUpdateOrganizationRequest) Execute() (*OrganizationResponse, error)
func (ApiPartialUpdateOrganizationRequest) PartialUpdateOrganizationPayload ¶
func (r ApiPartialUpdateOrganizationRequest) PartialUpdateOrganizationPayload(partialUpdateOrganizationPayload PartialUpdateOrganizationPayload) ApiPartialUpdateOrganizationRequest
type ApiPartialUpdateProjectRequest ¶
type ApiPartialUpdateProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateProjectRequest) Execute ¶
func (r ApiPartialUpdateProjectRequest) Execute() (*Project, error)
func (ApiPartialUpdateProjectRequest) PartialUpdateProjectPayload ¶
func (r ApiPartialUpdateProjectRequest) PartialUpdateProjectPayload(partialUpdateProjectPayload PartialUpdateProjectPayload) ApiPartialUpdateProjectRequest
type ContainerSearchResult ¶
type ContainerSearchResult struct {
// Globally unique user-friendly identifier.
ContainerId string `json:"containerId"`
// Resource container type.
ContainerType string `json:"containerType"`
// Globally unique identifier.
Id string `json:"id"`
LifecycleState *LifecycleState `json:"lifecycleState,omitempty"`
// Resource container name.
Name string `json:"name"`
// Id of the organization the container is in.
OrganizationId *string `json:"organizationId,omitempty"`
}
ContainerSearchResult struct for ContainerSearchResult
func NewContainerSearchResult ¶
func NewContainerSearchResult(containerId string, containerType string, id string, name string) *ContainerSearchResult
NewContainerSearchResult instantiates a new ContainerSearchResult 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 NewContainerSearchResultWithDefaults ¶
func NewContainerSearchResultWithDefaults() *ContainerSearchResult
NewContainerSearchResultWithDefaults instantiates a new ContainerSearchResult 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 (*ContainerSearchResult) GetContainerId ¶
func (o *ContainerSearchResult) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*ContainerSearchResult) GetContainerIdOk ¶
func (o *ContainerSearchResult) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*ContainerSearchResult) GetContainerType ¶
func (o *ContainerSearchResult) GetContainerType() string
GetContainerType returns the ContainerType field value
func (*ContainerSearchResult) GetContainerTypeOk ¶
func (o *ContainerSearchResult) GetContainerTypeOk() (*string, bool)
GetContainerTypeOk returns a tuple with the ContainerType field value and a boolean to check if the value has been set.
func (*ContainerSearchResult) GetId ¶
func (o *ContainerSearchResult) GetId() string
GetId returns the Id field value
func (*ContainerSearchResult) GetIdOk ¶
func (o *ContainerSearchResult) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ContainerSearchResult) GetLifecycleState ¶
func (o *ContainerSearchResult) GetLifecycleState() LifecycleState
GetLifecycleState returns the LifecycleState field value if set, zero value otherwise.
func (*ContainerSearchResult) GetLifecycleStateOk ¶
func (o *ContainerSearchResult) GetLifecycleStateOk() (*LifecycleState, bool)
GetLifecycleStateOk returns a tuple with the LifecycleState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerSearchResult) GetName ¶
func (o *ContainerSearchResult) GetName() string
GetName returns the Name field value
func (*ContainerSearchResult) GetNameOk ¶
func (o *ContainerSearchResult) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ContainerSearchResult) GetOrganizationId ¶
func (o *ContainerSearchResult) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.
func (*ContainerSearchResult) GetOrganizationIdOk ¶
func (o *ContainerSearchResult) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerSearchResult) HasLifecycleState ¶
func (o *ContainerSearchResult) HasLifecycleState() bool
HasLifecycleState returns a boolean if a field has been set.
func (*ContainerSearchResult) HasOrganizationId ¶
func (o *ContainerSearchResult) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (ContainerSearchResult) MarshalJSON ¶
func (o ContainerSearchResult) MarshalJSON() ([]byte, error)
func (*ContainerSearchResult) SetContainerId ¶
func (o *ContainerSearchResult) SetContainerId(v string)
SetContainerId sets field value
func (*ContainerSearchResult) SetContainerType ¶
func (o *ContainerSearchResult) SetContainerType(v string)
SetContainerType sets field value
func (*ContainerSearchResult) SetId ¶
func (o *ContainerSearchResult) SetId(v string)
SetId sets field value
func (*ContainerSearchResult) SetLifecycleState ¶
func (o *ContainerSearchResult) SetLifecycleState(v LifecycleState)
SetLifecycleState gets a reference to the given LifecycleState and assigns it to the LifecycleState field.
func (*ContainerSearchResult) SetName ¶
func (o *ContainerSearchResult) SetName(v string)
SetName sets field value
func (*ContainerSearchResult) SetOrganizationId ¶
func (o *ContainerSearchResult) SetOrganizationId(v string)
SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.
func (ContainerSearchResult) ToMap ¶
func (o ContainerSearchResult) ToMap() (map[string]interface{}, error)
func (*ContainerSearchResult) UnmarshalJSON ¶
func (o *ContainerSearchResult) UnmarshalJSON(data []byte) (err error)
type CreateFolderPayload ¶
type CreateFolderPayload struct {
// Identifier of the parent resource container - containerId as well as UUID identifier is supported.
ContainerParentId string `json:"containerParentId"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.
Members []Member `json:"members,omitempty"`
// The name of the folder matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name string `json:"name" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"`
}
CreateFolderPayload struct for CreateFolderPayload
func NewCreateFolderPayload ¶
func NewCreateFolderPayload(containerParentId string, name string) *CreateFolderPayload
NewCreateFolderPayload instantiates a new CreateFolderPayload 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 NewCreateFolderPayloadWithDefaults ¶
func NewCreateFolderPayloadWithDefaults() *CreateFolderPayload
NewCreateFolderPayloadWithDefaults instantiates a new CreateFolderPayload 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 (*CreateFolderPayload) GetContainerParentId ¶
func (o *CreateFolderPayload) GetContainerParentId() string
GetContainerParentId returns the ContainerParentId field value
func (*CreateFolderPayload) GetContainerParentIdOk ¶
func (o *CreateFolderPayload) GetContainerParentIdOk() (*string, bool)
GetContainerParentIdOk returns a tuple with the ContainerParentId field value and a boolean to check if the value has been set.
func (*CreateFolderPayload) GetLabels ¶
func (o *CreateFolderPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateFolderPayload) GetLabelsOk ¶
func (o *CreateFolderPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFolderPayload) GetMembers ¶
func (o *CreateFolderPayload) GetMembers() []Member
GetMembers returns the Members field value if set, zero value otherwise.
func (*CreateFolderPayload) GetMembersOk ¶
func (o *CreateFolderPayload) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFolderPayload) GetName ¶
func (o *CreateFolderPayload) GetName() string
GetName returns the Name field value
func (*CreateFolderPayload) GetNameOk ¶
func (o *CreateFolderPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateFolderPayload) HasLabels ¶
func (o *CreateFolderPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateFolderPayload) HasMembers ¶
func (o *CreateFolderPayload) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (CreateFolderPayload) MarshalJSON ¶
func (o CreateFolderPayload) MarshalJSON() ([]byte, error)
func (*CreateFolderPayload) SetContainerParentId ¶
func (o *CreateFolderPayload) SetContainerParentId(v string)
SetContainerParentId sets field value
func (*CreateFolderPayload) SetLabels ¶
func (o *CreateFolderPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateFolderPayload) SetMembers ¶
func (o *CreateFolderPayload) SetMembers(v []Member)
SetMembers gets a reference to the given []Member and assigns it to the Members field.
func (*CreateFolderPayload) SetName ¶
func (o *CreateFolderPayload) SetName(v string)
SetName sets field value
func (CreateFolderPayload) ToMap ¶
func (o CreateFolderPayload) ToMap() (map[string]interface{}, error)
func (*CreateFolderPayload) UnmarshalJSON ¶
func (o *CreateFolderPayload) UnmarshalJSON(data []byte) (err error)
type CreateProjectPayload ¶
type CreateProjectPayload struct {
// Identifier of the parent resource container - containerId as well as UUID identifier is supported.
ContainerParentId string `json:"containerParentId"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.
Members []Member `json:"members"`
// Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name string `json:"name" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"`
}
CreateProjectPayload struct for CreateProjectPayload
func NewCreateProjectPayload ¶
func NewCreateProjectPayload(containerParentId string, members []Member, name string) *CreateProjectPayload
NewCreateProjectPayload instantiates a new CreateProjectPayload 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 NewCreateProjectPayloadWithDefaults ¶
func NewCreateProjectPayloadWithDefaults() *CreateProjectPayload
NewCreateProjectPayloadWithDefaults instantiates a new CreateProjectPayload 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 (*CreateProjectPayload) GetContainerParentId ¶
func (o *CreateProjectPayload) GetContainerParentId() string
GetContainerParentId returns the ContainerParentId field value
func (*CreateProjectPayload) GetContainerParentIdOk ¶
func (o *CreateProjectPayload) GetContainerParentIdOk() (*string, bool)
GetContainerParentIdOk returns a tuple with the ContainerParentId field value and a boolean to check if the value has been set.
func (*CreateProjectPayload) GetLabels ¶
func (o *CreateProjectPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateProjectPayload) GetLabelsOk ¶
func (o *CreateProjectPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProjectPayload) GetMembers ¶
func (o *CreateProjectPayload) GetMembers() []Member
GetMembers returns the Members field value
func (*CreateProjectPayload) GetMembersOk ¶
func (o *CreateProjectPayload) GetMembersOk() ([]Member, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*CreateProjectPayload) GetName ¶
func (o *CreateProjectPayload) GetName() string
GetName returns the Name field value
func (*CreateProjectPayload) GetNameOk ¶
func (o *CreateProjectPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateProjectPayload) HasLabels ¶
func (o *CreateProjectPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateProjectPayload) MarshalJSON ¶
func (o CreateProjectPayload) MarshalJSON() ([]byte, error)
func (*CreateProjectPayload) SetContainerParentId ¶
func (o *CreateProjectPayload) SetContainerParentId(v string)
SetContainerParentId sets field value
func (*CreateProjectPayload) SetLabels ¶
func (o *CreateProjectPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateProjectPayload) SetMembers ¶
func (o *CreateProjectPayload) SetMembers(v []Member)
SetMembers sets field value
func (*CreateProjectPayload) SetName ¶
func (o *CreateProjectPayload) SetName(v string)
SetName sets field value
func (CreateProjectPayload) ToMap ¶
func (o CreateProjectPayload) ToMap() (map[string]interface{}, error)
func (*CreateProjectPayload) UnmarshalJSON ¶
func (o *CreateProjectPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateFolder Create Folder
Create a new folder.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateFolderRequest
*/
CreateFolder(ctx context.Context) ApiCreateFolderRequest
// CreateFolderExecute executes the request
// @return FolderResponse
CreateFolderExecute(r ApiCreateFolderRequest) (*FolderResponse, error)
/*
CreateProject Create Project
Create a new project.
- The request is synchronous, but the workflow-based creation is asynchronous.
- Lifecycle state remains in CREATING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateProjectRequest
*/
CreateProject(ctx context.Context) ApiCreateProjectRequest
// CreateProjectExecute executes the request
// @return Project
CreateProjectExecute(r ApiCreateProjectRequest) (*Project, error)
/*
DeleteFolder Delete Folder
Delete a folder and its metadata.
- Folder must not be parent of any other container
- A force flag may be set, deleting all underlying folders recursively - if no project is attached!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Folder identifier - containerId as well as UUID identifier is supported.
@return ApiDeleteFolderRequest
*/
DeleteFolder(ctx context.Context, containerId string) ApiDeleteFolderRequest
// DeleteFolderExecute executes the request
DeleteFolderExecute(r ApiDeleteFolderRequest) error
/*
DeleteFolderLabels Delete Folder Labels
Deletes all folder labels by given keys.
- Specific labels may be deleted by key(s)
- If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Folder identifier - containerId as well as UUID identifier is supported.
@return ApiDeleteFolderLabelsRequest
*/
DeleteFolderLabels(ctx context.Context, containerId string) ApiDeleteFolderLabelsRequest
// DeleteFolderLabelsExecute executes the request
DeleteFolderLabelsExecute(r ApiDeleteFolderLabelsRequest) error
/*
DeleteOrganizationLabels Delete Organization Labels
Deletes all organization labels by given keys.
- Specific labels may be deleted by key(s)
- If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Organization identifier - containerId as well as UUID identifier is supported.
@return ApiDeleteOrganizationLabelsRequest
*/
DeleteOrganizationLabels(ctx context.Context, containerId string) ApiDeleteOrganizationLabelsRequest
// DeleteOrganizationLabelsExecute executes the request
DeleteOrganizationLabelsExecute(r ApiDeleteOrganizationLabelsRequest) error
/*
DeleteProject Delete Project
Triggers the deletion of a project.
- The request is synchronous, but the workflow-based deletion is asynchronous
- Lifecycle state remains in DELETING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project identifier - containerId as well as UUID identifier is supported.
@return ApiDeleteProjectRequest
*/
DeleteProject(ctx context.Context, id string) ApiDeleteProjectRequest
// DeleteProjectExecute executes the request
DeleteProjectExecute(r ApiDeleteProjectRequest) error
/*
DeleteProjectLabels Delete Project Labels
Deletes all project labels by given keys.
- Specific labels may be deleted by key(s)
- If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Project identifier - containerId as well as UUID identifier is supported.
@return ApiDeleteProjectLabelsRequest
*/
DeleteProjectLabels(ctx context.Context, containerId string) ApiDeleteProjectLabelsRequest
// DeleteProjectLabelsExecute executes the request
DeleteProjectLabelsExecute(r ApiDeleteProjectLabelsRequest) error
/*
GetFolderDetails Get Folder Details
Returns all metadata for a specific folder.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Folder identifier - containerId as well as UUID identifier is supported.
@return ApiGetFolderDetailsRequest
*/
GetFolderDetails(ctx context.Context, containerId string) ApiGetFolderDetailsRequest
// GetFolderDetailsExecute executes the request
// @return GetFolderDetailsResponse
GetFolderDetailsExecute(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
/*
GetOrganization Get Organization Details
Returns the organization and its metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization identifier - containerId as well as UUID identifier is supported.
@return ApiGetOrganizationRequest
*/
GetOrganization(ctx context.Context, id string) ApiGetOrganizationRequest
// GetOrganizationExecute executes the request
// @return OrganizationResponse
GetOrganizationExecute(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
/*
GetProject Get Project Details
Returns the project and its metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project identifier - containerId as well as UUID identifier is supported.
@return ApiGetProjectRequest
*/
GetProject(ctx context.Context, id string) ApiGetProjectRequest
// GetProjectExecute executes the request
// @return GetProjectResponse
GetProjectExecute(r ApiGetProjectRequest) (*GetProjectResponse, error)
/*
ListFolders Get All Folders
Returns all folders and their metadata that:
- Are children of the specific containerParentId
- Match the given containerIds
- User is member of <br />
Filter:
- Either containerParentId OR containerIds OR member must be passed
- If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent
- If member and containerParentId are given, both are used for filtering
- If member is given, containers must not point to the same container parent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListFoldersRequest
*/
ListFolders(ctx context.Context) ApiListFoldersRequest
// ListFoldersExecute executes the request
// @return ListFoldersResponse
ListFoldersExecute(r ApiListFoldersRequest) (*ListFoldersResponse, error)
/*
ListOrganizations Get All Organizations
Returns all organizations and their metadata.
- If no containerIds are specified, all organizations are returned, if permitted
- ContainerIds may be set to filter
- Member may be set to filter
- If member and containerIds are given, both are used for filtering
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListOrganizationsRequest
*/
ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
// ListOrganizationsExecute executes the request
// @return ListOrganizationsResponse
ListOrganizationsExecute(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
/*
ListProjects Get All Projects
Returns all projects and their metadata that:
- Are children of the specific containerParentId
- Match the given containerIds
- User is member of
Filter:
- Either containerParentId OR containerIds OR member must be passed
- If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent
- If member and containerParentId are given, both are used for filtering
- If member is given, containers must not point to the same container parent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListProjectsRequest
*/
ListProjects(ctx context.Context) ApiListProjectsRequest
// ListProjectsExecute executes the request
// @return ListProjectsResponse
ListProjectsExecute(r ApiListProjectsRequest) (*ListProjectsResponse, error)
/*
PartialUpdateFolder Update Folder
Update the folder and its metadata.
- Update folder name
- Update folder labels
- Update folder parent (folder or organization)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param containerId Folder identifier - containerId as well as UUID identifier is supported.
@return ApiPartialUpdateFolderRequest
*/
PartialUpdateFolder(ctx context.Context, containerId string) ApiPartialUpdateFolderRequest
// PartialUpdateFolderExecute executes the request
// @return FolderResponse
PartialUpdateFolderExecute(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
/*
PartialUpdateOrganization Update Organization
Update the organization and its metadata.
- Update organization name
- Update organization labels
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization identifier - containerId as well as UUID identifier is supported.
@return ApiPartialUpdateOrganizationRequest
*/
PartialUpdateOrganization(ctx context.Context, id string) ApiPartialUpdateOrganizationRequest
// PartialUpdateOrganizationExecute executes the request
// @return OrganizationResponse
PartialUpdateOrganizationExecute(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
/*
PartialUpdateProject Update Project
Update the project and its metadata.
- Update project name
- Update project labels
- Update project parent (folder or organization)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project identifier - containerId as well as UUID identifier is supported.
@return ApiPartialUpdateProjectRequest
*/
PartialUpdateProject(ctx context.Context, id string) ApiPartialUpdateProjectRequest
// PartialUpdateProjectExecute executes the request
// @return Project
PartialUpdateProjectExecute(r ApiPartialUpdateProjectRequest) (*Project, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateFolder ¶
func (a *DefaultAPIService) CreateFolder(ctx context.Context) ApiCreateFolderRequest
CreateFolder Create Folder
Create a new folder.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateFolderRequest
func (*DefaultAPIService) CreateFolderExecute ¶
func (a *DefaultAPIService) CreateFolderExecute(r ApiCreateFolderRequest) (*FolderResponse, error)
Execute executes the request
@return FolderResponse
func (*DefaultAPIService) CreateProject ¶
func (a *DefaultAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Create Project
Create a new project. - The request is synchronous, but the workflow-based creation is asynchronous. - Lifecycle state remains in CREATING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*DefaultAPIService) CreateProjectExecute ¶
func (a *DefaultAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, error)
Execute executes the request
@return Project
func (*DefaultAPIService) DeleteFolder ¶
func (a *DefaultAPIService) DeleteFolder(ctx context.Context, containerId string) ApiDeleteFolderRequest
DeleteFolder Delete Folder
Delete a folder and its metadata. - Folder must not be parent of any other container - A force flag may be set, deleting all underlying folders recursively - if no project is attached!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Folder identifier - containerId as well as UUID identifier is supported. @return ApiDeleteFolderRequest
func (*DefaultAPIService) DeleteFolderExecute ¶
func (a *DefaultAPIService) DeleteFolderExecute(r ApiDeleteFolderRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteFolderLabels ¶
func (a *DefaultAPIService) DeleteFolderLabels(ctx context.Context, containerId string) ApiDeleteFolderLabelsRequest
DeleteFolderLabels Delete Folder Labels
Deletes all folder labels by given keys. - Specific labels may be deleted by key(s) - If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Folder identifier - containerId as well as UUID identifier is supported. @return ApiDeleteFolderLabelsRequest
func (*DefaultAPIService) DeleteFolderLabelsExecute ¶
func (a *DefaultAPIService) DeleteFolderLabelsExecute(r ApiDeleteFolderLabelsRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteOrganizationLabels ¶
func (a *DefaultAPIService) DeleteOrganizationLabels(ctx context.Context, containerId string) ApiDeleteOrganizationLabelsRequest
DeleteOrganizationLabels Delete Organization Labels
Deletes all organization labels by given keys. - Specific labels may be deleted by key(s) - If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Organization identifier - containerId as well as UUID identifier is supported. @return ApiDeleteOrganizationLabelsRequest
func (*DefaultAPIService) DeleteOrganizationLabelsExecute ¶
func (a *DefaultAPIService) DeleteOrganizationLabelsExecute(r ApiDeleteOrganizationLabelsRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteProject ¶
func (a *DefaultAPIService) DeleteProject(ctx context.Context, id string) ApiDeleteProjectRequest
DeleteProject Delete Project
Triggers the deletion of a project. - The request is synchronous, but the workflow-based deletion is asynchronous - Lifecycle state remains in DELETING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Project identifier - containerId as well as UUID identifier is supported. @return ApiDeleteProjectRequest
func (*DefaultAPIService) DeleteProjectExecute ¶
func (a *DefaultAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteProjectLabels ¶
func (a *DefaultAPIService) DeleteProjectLabels(ctx context.Context, containerId string) ApiDeleteProjectLabelsRequest
DeleteProjectLabels Delete Project Labels
Deletes all project labels by given keys. - Specific labels may be deleted by key(s) - If no key is specified, all labels will be deleted!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Project identifier - containerId as well as UUID identifier is supported. @return ApiDeleteProjectLabelsRequest
func (*DefaultAPIService) DeleteProjectLabelsExecute ¶
func (a *DefaultAPIService) DeleteProjectLabelsExecute(r ApiDeleteProjectLabelsRequest) error
Execute executes the request
func (*DefaultAPIService) GetFolderDetails ¶
func (a *DefaultAPIService) GetFolderDetails(ctx context.Context, containerId string) ApiGetFolderDetailsRequest
GetFolderDetails Get Folder Details
Returns all metadata for a specific folder.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Folder identifier - containerId as well as UUID identifier is supported. @return ApiGetFolderDetailsRequest
func (*DefaultAPIService) GetFolderDetailsExecute ¶
func (a *DefaultAPIService) GetFolderDetailsExecute(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
Execute executes the request
@return GetFolderDetailsResponse
func (*DefaultAPIService) GetOrganization ¶
func (a *DefaultAPIService) GetOrganization(ctx context.Context, id string) ApiGetOrganizationRequest
GetOrganization Get Organization Details
Returns the organization and its metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Organization identifier - containerId as well as UUID identifier is supported. @return ApiGetOrganizationRequest
func (*DefaultAPIService) GetOrganizationExecute ¶
func (a *DefaultAPIService) GetOrganizationExecute(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
Execute executes the request
@return OrganizationResponse
func (*DefaultAPIService) GetProject ¶
func (a *DefaultAPIService) GetProject(ctx context.Context, id string) ApiGetProjectRequest
GetProject Get Project Details
Returns the project and its metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Project identifier - containerId as well as UUID identifier is supported. @return ApiGetProjectRequest
func (*DefaultAPIService) GetProjectExecute ¶
func (a *DefaultAPIService) GetProjectExecute(r ApiGetProjectRequest) (*GetProjectResponse, error)
Execute executes the request
@return GetProjectResponse
func (*DefaultAPIService) ListFolders ¶
func (a *DefaultAPIService) ListFolders(ctx context.Context) ApiListFoldersRequest
ListFolders Get All Folders
Returns all folders and their metadata that: - Are children of the specific containerParentId - Match the given containerIds - User is member of <br />
Filter: - Either containerParentId OR containerIds OR member must be passed - If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent - If member and containerParentId are given, both are used for filtering - If member is given, containers must not point to the same container parent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListFoldersRequest
func (*DefaultAPIService) ListFoldersExecute ¶
func (a *DefaultAPIService) ListFoldersExecute(r ApiListFoldersRequest) (*ListFoldersResponse, error)
Execute executes the request
@return ListFoldersResponse
func (*DefaultAPIService) ListOrganizations ¶
func (a *DefaultAPIService) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
ListOrganizations Get All Organizations
Returns all organizations and their metadata. - If no containerIds are specified, all organizations are returned, if permitted - ContainerIds may be set to filter - Member may be set to filter - If member and containerIds are given, both are used for filtering
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListOrganizationsRequest
func (*DefaultAPIService) ListOrganizationsExecute ¶
func (a *DefaultAPIService) ListOrganizationsExecute(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
Execute executes the request
@return ListOrganizationsResponse
func (*DefaultAPIService) ListProjects ¶
func (a *DefaultAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
ListProjects Get All Projects
Returns all projects and their metadata that: - Are children of the specific containerParentId - Match the given containerIds - User is member of
Filter: - Either containerParentId OR containerIds OR member must be passed - If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent - If member and containerParentId are given, both are used for filtering - If member is given, containers must not point to the same container parent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProjectsRequest
func (*DefaultAPIService) ListProjectsExecute ¶
func (a *DefaultAPIService) ListProjectsExecute(r ApiListProjectsRequest) (*ListProjectsResponse, error)
Execute executes the request
@return ListProjectsResponse
func (*DefaultAPIService) PartialUpdateFolder ¶
func (a *DefaultAPIService) PartialUpdateFolder(ctx context.Context, containerId string) ApiPartialUpdateFolderRequest
PartialUpdateFolder Update Folder
Update the folder and its metadata. - Update folder name - Update folder labels - Update folder parent (folder or organization)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Folder identifier - containerId as well as UUID identifier is supported. @return ApiPartialUpdateFolderRequest
func (*DefaultAPIService) PartialUpdateFolderExecute ¶
func (a *DefaultAPIService) PartialUpdateFolderExecute(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
Execute executes the request
@return FolderResponse
func (*DefaultAPIService) PartialUpdateOrganization ¶
func (a *DefaultAPIService) PartialUpdateOrganization(ctx context.Context, id string) ApiPartialUpdateOrganizationRequest
PartialUpdateOrganization Update Organization
Update the organization and its metadata. - Update organization name - Update organization labels
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Organization identifier - containerId as well as UUID identifier is supported. @return ApiPartialUpdateOrganizationRequest
func (*DefaultAPIService) PartialUpdateOrganizationExecute ¶
func (a *DefaultAPIService) PartialUpdateOrganizationExecute(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
Execute executes the request
@return OrganizationResponse
func (*DefaultAPIService) PartialUpdateProject ¶
func (a *DefaultAPIService) PartialUpdateProject(ctx context.Context, id string) ApiPartialUpdateProjectRequest
PartialUpdateProject Update Project
Update the project and its metadata. - Update project name - Update project labels - Update project parent (folder or organization)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Project identifier - containerId as well as UUID identifier is supported. @return ApiPartialUpdateProjectRequest
func (*DefaultAPIService) PartialUpdateProjectExecute ¶
func (a *DefaultAPIService) PartialUpdateProjectExecute(r ApiPartialUpdateProjectRequest) (*Project, error)
Execute executes the request
@return Project
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateFolderExecuteMock can be populated to implement the behavior of the CreateFolderExecute function of this mock
CreateFolderExecuteMock *func(r ApiCreateFolderRequest) (*FolderResponse, error)
// CreateProjectExecuteMock can be populated to implement the behavior of the CreateProjectExecute function of this mock
CreateProjectExecuteMock *func(r ApiCreateProjectRequest) (*Project, error)
// DeleteFolderExecuteMock can be populated to implement the behavior of the DeleteFolderExecute function of this mock
DeleteFolderExecuteMock *func(r ApiDeleteFolderRequest) error
// DeleteFolderLabelsExecuteMock can be populated to implement the behavior of the DeleteFolderLabelsExecute function of this mock
DeleteFolderLabelsExecuteMock *func(r ApiDeleteFolderLabelsRequest) error
// DeleteOrganizationLabelsExecuteMock can be populated to implement the behavior of the DeleteOrganizationLabelsExecute function of this mock
DeleteOrganizationLabelsExecuteMock *func(r ApiDeleteOrganizationLabelsRequest) error
// DeleteProjectExecuteMock can be populated to implement the behavior of the DeleteProjectExecute function of this mock
DeleteProjectExecuteMock *func(r ApiDeleteProjectRequest) error
// DeleteProjectLabelsExecuteMock can be populated to implement the behavior of the DeleteProjectLabelsExecute function of this mock
DeleteProjectLabelsExecuteMock *func(r ApiDeleteProjectLabelsRequest) error
// GetFolderDetailsExecuteMock can be populated to implement the behavior of the GetFolderDetailsExecute function of this mock
GetFolderDetailsExecuteMock *func(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
// GetOrganizationExecuteMock can be populated to implement the behavior of the GetOrganizationExecute function of this mock
GetOrganizationExecuteMock *func(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
// GetProjectExecuteMock can be populated to implement the behavior of the GetProjectExecute function of this mock
GetProjectExecuteMock *func(r ApiGetProjectRequest) (*GetProjectResponse, error)
// ListFoldersExecuteMock can be populated to implement the behavior of the ListFoldersExecute function of this mock
ListFoldersExecuteMock *func(r ApiListFoldersRequest) (*ListFoldersResponse, error)
// ListOrganizationsExecuteMock can be populated to implement the behavior of the ListOrganizationsExecute function of this mock
ListOrganizationsExecuteMock *func(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
// ListProjectsExecuteMock can be populated to implement the behavior of the ListProjectsExecute function of this mock
ListProjectsExecuteMock *func(r ApiListProjectsRequest) (*ListProjectsResponse, error)
// PartialUpdateFolderExecuteMock can be populated to implement the behavior of the PartialUpdateFolderExecute function of this mock
PartialUpdateFolderExecuteMock *func(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
// PartialUpdateOrganizationExecuteMock can be populated to implement the behavior of the PartialUpdateOrganizationExecute function of this mock
PartialUpdateOrganizationExecuteMock *func(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
// PartialUpdateProjectExecuteMock can be populated to implement the behavior of the PartialUpdateProjectExecute function of this mock
PartialUpdateProjectExecuteMock *func(r ApiPartialUpdateProjectRequest) (*Project, 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) CreateFolder ¶
func (a DefaultAPIServiceMock) CreateFolder(ctx context.Context) ApiCreateFolderRequest
func (DefaultAPIServiceMock) CreateFolderExecute ¶
func (a DefaultAPIServiceMock) CreateFolderExecute(r ApiCreateFolderRequest) (*FolderResponse, error)
CreateFolderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateFolderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateProject ¶
func (a DefaultAPIServiceMock) CreateProject(ctx context.Context) ApiCreateProjectRequest
func (DefaultAPIServiceMock) CreateProjectExecute ¶
func (a DefaultAPIServiceMock) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, error)
CreateProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateProjectExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteFolder ¶
func (a DefaultAPIServiceMock) DeleteFolder(ctx context.Context, containerId string) ApiDeleteFolderRequest
func (DefaultAPIServiceMock) DeleteFolderExecute ¶
func (a DefaultAPIServiceMock) DeleteFolderExecute(r ApiDeleteFolderRequest) error
DeleteFolderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteFolderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteFolderLabels ¶
func (a DefaultAPIServiceMock) DeleteFolderLabels(ctx context.Context, containerId string) ApiDeleteFolderLabelsRequest
func (DefaultAPIServiceMock) DeleteFolderLabelsExecute ¶
func (a DefaultAPIServiceMock) DeleteFolderLabelsExecute(r ApiDeleteFolderLabelsRequest) error
DeleteFolderLabelsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteFolderLabelsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteOrganizationLabels ¶
func (a DefaultAPIServiceMock) DeleteOrganizationLabels(ctx context.Context, containerId string) ApiDeleteOrganizationLabelsRequest
func (DefaultAPIServiceMock) DeleteOrganizationLabelsExecute ¶
func (a DefaultAPIServiceMock) DeleteOrganizationLabelsExecute(r ApiDeleteOrganizationLabelsRequest) error
DeleteOrganizationLabelsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteOrganizationLabelsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteProject ¶
func (a DefaultAPIServiceMock) DeleteProject(ctx context.Context, id string) ApiDeleteProjectRequest
func (DefaultAPIServiceMock) DeleteProjectExecute ¶
func (a DefaultAPIServiceMock) DeleteProjectExecute(r ApiDeleteProjectRequest) error
DeleteProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteProjectExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteProjectLabels ¶
func (a DefaultAPIServiceMock) DeleteProjectLabels(ctx context.Context, containerId string) ApiDeleteProjectLabelsRequest
func (DefaultAPIServiceMock) DeleteProjectLabelsExecute ¶
func (a DefaultAPIServiceMock) DeleteProjectLabelsExecute(r ApiDeleteProjectLabelsRequest) error
DeleteProjectLabelsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteProjectLabelsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetFolderDetails ¶
func (a DefaultAPIServiceMock) GetFolderDetails(ctx context.Context, containerId string) ApiGetFolderDetailsRequest
func (DefaultAPIServiceMock) GetFolderDetailsExecute ¶
func (a DefaultAPIServiceMock) GetFolderDetailsExecute(r ApiGetFolderDetailsRequest) (*GetFolderDetailsResponse, error)
GetFolderDetailsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetFolderDetailsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetOrganization ¶
func (a DefaultAPIServiceMock) GetOrganization(ctx context.Context, id string) ApiGetOrganizationRequest
func (DefaultAPIServiceMock) GetOrganizationExecute ¶
func (a DefaultAPIServiceMock) GetOrganizationExecute(r ApiGetOrganizationRequest) (*OrganizationResponse, error)
GetOrganizationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetOrganizationExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetProject ¶
func (a DefaultAPIServiceMock) GetProject(ctx context.Context, id string) ApiGetProjectRequest
func (DefaultAPIServiceMock) GetProjectExecute ¶
func (a DefaultAPIServiceMock) GetProjectExecute(r ApiGetProjectRequest) (*GetProjectResponse, error)
GetProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFolders ¶
func (a DefaultAPIServiceMock) ListFolders(ctx context.Context) ApiListFoldersRequest
func (DefaultAPIServiceMock) ListFoldersExecute ¶
func (a DefaultAPIServiceMock) ListFoldersExecute(r ApiListFoldersRequest) (*ListFoldersResponse, error)
ListFoldersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFoldersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListOrganizations ¶
func (a DefaultAPIServiceMock) ListOrganizations(ctx context.Context) ApiListOrganizationsRequest
func (DefaultAPIServiceMock) ListOrganizationsExecute ¶
func (a DefaultAPIServiceMock) ListOrganizationsExecute(r ApiListOrganizationsRequest) (*ListOrganizationsResponse, error)
ListOrganizationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListOrganizationsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListProjects ¶
func (a DefaultAPIServiceMock) ListProjects(ctx context.Context) ApiListProjectsRequest
func (DefaultAPIServiceMock) ListProjectsExecute ¶
func (a DefaultAPIServiceMock) ListProjectsExecute(r ApiListProjectsRequest) (*ListProjectsResponse, error)
ListProjectsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateFolder ¶
func (a DefaultAPIServiceMock) PartialUpdateFolder(ctx context.Context, containerId string) ApiPartialUpdateFolderRequest
func (DefaultAPIServiceMock) PartialUpdateFolderExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateFolderExecute(r ApiPartialUpdateFolderRequest) (*FolderResponse, error)
PartialUpdateFolderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateFolderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateOrganization ¶
func (a DefaultAPIServiceMock) PartialUpdateOrganization(ctx context.Context, id string) ApiPartialUpdateOrganizationRequest
func (DefaultAPIServiceMock) PartialUpdateOrganizationExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateOrganizationExecute(r ApiPartialUpdateOrganizationRequest) (*OrganizationResponse, error)
PartialUpdateOrganizationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateOrganizationExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateProject ¶
func (a DefaultAPIServiceMock) PartialUpdateProject(ctx context.Context, id string) ApiPartialUpdateProjectRequest
func (DefaultAPIServiceMock) PartialUpdateProjectExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateProjectExecute(r ApiPartialUpdateProjectRequest) (*Project, error)
PartialUpdateProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateProjectExecuteMock field in the DefaultAPIServiceMock struct.
type ErrorResponse ¶
type ErrorResponse struct {
// The reason phrase of the status code.
Error string `json:"error"`
// Description of the error.
Message string `json:"message"`
// Path which was called.
Path string `json:"path"`
// Http Status Code.
Status float32 `json:"status"`
// Timestamp at which the error occurred.
TimeStamp time.Time `json:"timeStamp"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(error_ string, message string, path string, status float32, 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() float32
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*float32, 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 float32)
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 FolderResponse ¶
type FolderResponse struct {
// Globally unique, user-friendly identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the folder was created.
CreationTime time.Time `json:"creationTime"`
// Globally unique folder identifier.
FolderId string `json:"folderId"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Folder name.
Name string `json:"name"`
Parent Parent `json:"parent"`
// Timestamp at which the folder was last modified.
UpdateTime time.Time `json:"updateTime"`
}
FolderResponse struct for FolderResponse
func NewFolderResponse ¶
func NewFolderResponse(containerId string, creationTime time.Time, folderId string, name string, parent Parent, updateTime time.Time) *FolderResponse
NewFolderResponse instantiates a new FolderResponse 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 NewFolderResponseWithDefaults ¶
func NewFolderResponseWithDefaults() *FolderResponse
NewFolderResponseWithDefaults instantiates a new FolderResponse 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 (*FolderResponse) GetContainerId ¶
func (o *FolderResponse) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*FolderResponse) GetContainerIdOk ¶
func (o *FolderResponse) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*FolderResponse) GetCreationTime ¶
func (o *FolderResponse) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*FolderResponse) GetCreationTimeOk ¶
func (o *FolderResponse) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*FolderResponse) GetFolderId ¶
func (o *FolderResponse) GetFolderId() string
GetFolderId returns the FolderId field value
func (*FolderResponse) GetFolderIdOk ¶
func (o *FolderResponse) GetFolderIdOk() (*string, bool)
GetFolderIdOk returns a tuple with the FolderId field value and a boolean to check if the value has been set.
func (*FolderResponse) GetLabels ¶
func (o *FolderResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*FolderResponse) GetLabelsOk ¶
func (o *FolderResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FolderResponse) GetName ¶
func (o *FolderResponse) GetName() string
GetName returns the Name field value
func (*FolderResponse) GetNameOk ¶
func (o *FolderResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*FolderResponse) GetParent ¶
func (o *FolderResponse) GetParent() Parent
GetParent returns the Parent field value
func (*FolderResponse) GetParentOk ¶
func (o *FolderResponse) GetParentOk() (*Parent, bool)
GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.
func (*FolderResponse) GetUpdateTime ¶
func (o *FolderResponse) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*FolderResponse) GetUpdateTimeOk ¶
func (o *FolderResponse) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*FolderResponse) HasLabels ¶
func (o *FolderResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (FolderResponse) MarshalJSON ¶
func (o FolderResponse) MarshalJSON() ([]byte, error)
func (*FolderResponse) SetContainerId ¶
func (o *FolderResponse) SetContainerId(v string)
SetContainerId sets field value
func (*FolderResponse) SetCreationTime ¶
func (o *FolderResponse) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*FolderResponse) SetFolderId ¶
func (o *FolderResponse) SetFolderId(v string)
SetFolderId sets field value
func (*FolderResponse) SetLabels ¶
func (o *FolderResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*FolderResponse) SetName ¶
func (o *FolderResponse) SetName(v string)
SetName sets field value
func (*FolderResponse) SetParent ¶
func (o *FolderResponse) SetParent(v Parent)
SetParent sets field value
func (*FolderResponse) SetUpdateTime ¶
func (o *FolderResponse) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (FolderResponse) ToMap ¶
func (o FolderResponse) ToMap() (map[string]interface{}, error)
func (*FolderResponse) UnmarshalJSON ¶
func (o *FolderResponse) UnmarshalJSON(data []byte) (err error)
type GetFolderDetailsResponse ¶
type GetFolderDetailsResponse struct {
// Globally unique user-friendly identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the folder was created.
CreationTime time.Time `json:"creationTime"`
// Globally unique folder identifier.
FolderId string `json:"folderId"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Folder name.
Name string `json:"name"`
Parent Parent `json:"parent"`
Parents []ParentListInner `json:"parents,omitempty"`
// Timestamp at which the folder was last modified.
UpdateTime time.Time `json:"updateTime"`
}
GetFolderDetailsResponse struct for GetFolderDetailsResponse
func NewGetFolderDetailsResponse ¶
func NewGetFolderDetailsResponse(containerId string, creationTime time.Time, folderId string, name string, parent Parent, updateTime time.Time) *GetFolderDetailsResponse
NewGetFolderDetailsResponse instantiates a new GetFolderDetailsResponse 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 NewGetFolderDetailsResponseWithDefaults ¶
func NewGetFolderDetailsResponseWithDefaults() *GetFolderDetailsResponse
NewGetFolderDetailsResponseWithDefaults instantiates a new GetFolderDetailsResponse 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 (*GetFolderDetailsResponse) GetContainerId ¶
func (o *GetFolderDetailsResponse) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*GetFolderDetailsResponse) GetContainerIdOk ¶
func (o *GetFolderDetailsResponse) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetCreationTime ¶
func (o *GetFolderDetailsResponse) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*GetFolderDetailsResponse) GetCreationTimeOk ¶
func (o *GetFolderDetailsResponse) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetFolderId ¶
func (o *GetFolderDetailsResponse) GetFolderId() string
GetFolderId returns the FolderId field value
func (*GetFolderDetailsResponse) GetFolderIdOk ¶
func (o *GetFolderDetailsResponse) GetFolderIdOk() (*string, bool)
GetFolderIdOk returns a tuple with the FolderId field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetLabels ¶
func (o *GetFolderDetailsResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetFolderDetailsResponse) GetLabelsOk ¶
func (o *GetFolderDetailsResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetName ¶
func (o *GetFolderDetailsResponse) GetName() string
GetName returns the Name field value
func (*GetFolderDetailsResponse) GetNameOk ¶
func (o *GetFolderDetailsResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetParent ¶
func (o *GetFolderDetailsResponse) GetParent() Parent
GetParent returns the Parent field value
func (*GetFolderDetailsResponse) GetParentOk ¶
func (o *GetFolderDetailsResponse) GetParentOk() (*Parent, bool)
GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetParents ¶
func (o *GetFolderDetailsResponse) GetParents() []ParentListInner
GetParents returns the Parents field value if set, zero value otherwise.
func (*GetFolderDetailsResponse) GetParentsOk ¶
func (o *GetFolderDetailsResponse) GetParentsOk() ([]ParentListInner, bool)
GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) GetUpdateTime ¶
func (o *GetFolderDetailsResponse) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*GetFolderDetailsResponse) GetUpdateTimeOk ¶
func (o *GetFolderDetailsResponse) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*GetFolderDetailsResponse) HasLabels ¶
func (o *GetFolderDetailsResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetFolderDetailsResponse) HasParents ¶
func (o *GetFolderDetailsResponse) HasParents() bool
HasParents returns a boolean if a field has been set.
func (GetFolderDetailsResponse) MarshalJSON ¶
func (o GetFolderDetailsResponse) MarshalJSON() ([]byte, error)
func (*GetFolderDetailsResponse) SetContainerId ¶
func (o *GetFolderDetailsResponse) SetContainerId(v string)
SetContainerId sets field value
func (*GetFolderDetailsResponse) SetCreationTime ¶
func (o *GetFolderDetailsResponse) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*GetFolderDetailsResponse) SetFolderId ¶
func (o *GetFolderDetailsResponse) SetFolderId(v string)
SetFolderId sets field value
func (*GetFolderDetailsResponse) SetLabels ¶
func (o *GetFolderDetailsResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetFolderDetailsResponse) SetName ¶
func (o *GetFolderDetailsResponse) SetName(v string)
SetName sets field value
func (*GetFolderDetailsResponse) SetParent ¶
func (o *GetFolderDetailsResponse) SetParent(v Parent)
SetParent sets field value
func (*GetFolderDetailsResponse) SetParents ¶
func (o *GetFolderDetailsResponse) SetParents(v []ParentListInner)
SetParents gets a reference to the given []ParentListInner and assigns it to the Parents field.
func (*GetFolderDetailsResponse) SetUpdateTime ¶
func (o *GetFolderDetailsResponse) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (GetFolderDetailsResponse) ToMap ¶
func (o GetFolderDetailsResponse) ToMap() (map[string]interface{}, error)
func (*GetFolderDetailsResponse) UnmarshalJSON ¶
func (o *GetFolderDetailsResponse) UnmarshalJSON(data []byte) (err error)
type GetProjectResponse ¶
type GetProjectResponse struct {
// Globally unique identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the project was created.
CreationTime time.Time `json:"creationTime"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
LifecycleState LifecycleState `json:"lifecycleState"`
// Project name.
Name string `json:"name"`
Parent Parent `json:"parent"`
Parents []ParentListInner `json:"parents,omitempty"`
// Globally unique identifier.
ProjectId string `json:"projectId"`
// Timestamp at which the project was last modified.
UpdateTime time.Time `json:"updateTime"`
}
GetProjectResponse struct for GetProjectResponse
func NewGetProjectResponse ¶
func NewGetProjectResponse(containerId string, creationTime time.Time, lifecycleState LifecycleState, name string, parent Parent, projectId string, updateTime time.Time) *GetProjectResponse
NewGetProjectResponse instantiates a new GetProjectResponse 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 NewGetProjectResponseWithDefaults ¶
func NewGetProjectResponseWithDefaults() *GetProjectResponse
NewGetProjectResponseWithDefaults instantiates a new GetProjectResponse 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 (*GetProjectResponse) GetContainerId ¶
func (o *GetProjectResponse) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*GetProjectResponse) GetContainerIdOk ¶
func (o *GetProjectResponse) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetCreationTime ¶
func (o *GetProjectResponse) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*GetProjectResponse) GetCreationTimeOk ¶
func (o *GetProjectResponse) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetLabels ¶
func (o *GetProjectResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetProjectResponse) GetLabelsOk ¶
func (o *GetProjectResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetProjectResponse) GetLifecycleState ¶
func (o *GetProjectResponse) GetLifecycleState() LifecycleState
GetLifecycleState returns the LifecycleState field value
func (*GetProjectResponse) GetLifecycleStateOk ¶
func (o *GetProjectResponse) GetLifecycleStateOk() (*LifecycleState, bool)
GetLifecycleStateOk returns a tuple with the LifecycleState field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetName ¶
func (o *GetProjectResponse) GetName() string
GetName returns the Name field value
func (*GetProjectResponse) GetNameOk ¶
func (o *GetProjectResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetParent ¶
func (o *GetProjectResponse) GetParent() Parent
GetParent returns the Parent field value
func (*GetProjectResponse) GetParentOk ¶
func (o *GetProjectResponse) GetParentOk() (*Parent, bool)
GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetParents ¶
func (o *GetProjectResponse) GetParents() []ParentListInner
GetParents returns the Parents field value if set, zero value otherwise.
func (*GetProjectResponse) GetParentsOk ¶
func (o *GetProjectResponse) GetParentsOk() ([]ParentListInner, bool)
GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetProjectResponse) GetProjectId ¶
func (o *GetProjectResponse) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*GetProjectResponse) GetProjectIdOk ¶
func (o *GetProjectResponse) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*GetProjectResponse) GetUpdateTime ¶
func (o *GetProjectResponse) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*GetProjectResponse) GetUpdateTimeOk ¶
func (o *GetProjectResponse) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*GetProjectResponse) HasLabels ¶
func (o *GetProjectResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetProjectResponse) HasParents ¶
func (o *GetProjectResponse) HasParents() bool
HasParents returns a boolean if a field has been set.
func (GetProjectResponse) MarshalJSON ¶
func (o GetProjectResponse) MarshalJSON() ([]byte, error)
func (*GetProjectResponse) SetContainerId ¶
func (o *GetProjectResponse) SetContainerId(v string)
SetContainerId sets field value
func (*GetProjectResponse) SetCreationTime ¶
func (o *GetProjectResponse) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*GetProjectResponse) SetLabels ¶
func (o *GetProjectResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetProjectResponse) SetLifecycleState ¶
func (o *GetProjectResponse) SetLifecycleState(v LifecycleState)
SetLifecycleState sets field value
func (*GetProjectResponse) SetName ¶
func (o *GetProjectResponse) SetName(v string)
SetName sets field value
func (*GetProjectResponse) SetParent ¶
func (o *GetProjectResponse) SetParent(v Parent)
SetParent sets field value
func (*GetProjectResponse) SetParents ¶
func (o *GetProjectResponse) SetParents(v []ParentListInner)
SetParents gets a reference to the given []ParentListInner and assigns it to the Parents field.
func (*GetProjectResponse) SetProjectId ¶
func (o *GetProjectResponse) SetProjectId(v string)
SetProjectId sets field value
func (*GetProjectResponse) SetUpdateTime ¶
func (o *GetProjectResponse) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (GetProjectResponse) ToMap ¶
func (o GetProjectResponse) ToMap() (map[string]interface{}, error)
func (*GetProjectResponse) UnmarshalJSON ¶
func (o *GetProjectResponse) UnmarshalJSON(data []byte) (err error)
type LifecycleState ¶
type LifecycleState string
LifecycleState Lifecycle state of the resource container. | LIFECYCLE STATE | DESCRIPTION | |----------|--------------------| | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | | ACTIVE | Resource container can be fully used. | | INACTIVE | Resource container usage has been disabled. | | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. |
const ( LIFECYCLESTATE_CREATING LifecycleState = "CREATING" LIFECYCLESTATE_ACTIVE LifecycleState = "ACTIVE" LIFECYCLESTATE_DELETING LifecycleState = "DELETING" LIFECYCLESTATE_INACTIVE LifecycleState = "INACTIVE" )
List of LifecycleState
func NewLifecycleStateFromValue ¶
func NewLifecycleStateFromValue(v string) (*LifecycleState, error)
NewLifecycleStateFromValue returns a pointer to a valid LifecycleState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LifecycleState) IsValid ¶
func (v LifecycleState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LifecycleState) Ptr ¶
func (v LifecycleState) Ptr() *LifecycleState
Ptr returns reference to LifecycleState value
func (*LifecycleState) UnmarshalJSON ¶
func (v *LifecycleState) UnmarshalJSON(src []byte) error
type ListFoldersResponse ¶
type ListFoldersResponse struct {
Items []ListFoldersResponseItemsInner `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
Limit float32 `json:"limit"`
// The offset of the first item in the collection to return.
Offset float32 `json:"offset"`
}
ListFoldersResponse struct for ListFoldersResponse
func NewListFoldersResponse ¶
func NewListFoldersResponse(items []ListFoldersResponseItemsInner, limit float32, offset float32) *ListFoldersResponse
NewListFoldersResponse instantiates a new ListFoldersResponse 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 NewListFoldersResponseWithDefaults ¶
func NewListFoldersResponseWithDefaults() *ListFoldersResponse
NewListFoldersResponseWithDefaults instantiates a new ListFoldersResponse 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 (*ListFoldersResponse) GetItems ¶
func (o *ListFoldersResponse) GetItems() []ListFoldersResponseItemsInner
GetItems returns the Items field value
func (*ListFoldersResponse) GetItemsOk ¶
func (o *ListFoldersResponse) GetItemsOk() ([]ListFoldersResponseItemsInner, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListFoldersResponse) GetLimit ¶
func (o *ListFoldersResponse) GetLimit() float32
GetLimit returns the Limit field value
func (*ListFoldersResponse) GetLimitOk ¶
func (o *ListFoldersResponse) GetLimitOk() (*float32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*ListFoldersResponse) GetOffset ¶
func (o *ListFoldersResponse) GetOffset() float32
GetOffset returns the Offset field value
func (*ListFoldersResponse) GetOffsetOk ¶
func (o *ListFoldersResponse) GetOffsetOk() (*float32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (ListFoldersResponse) MarshalJSON ¶
func (o ListFoldersResponse) MarshalJSON() ([]byte, error)
func (*ListFoldersResponse) SetItems ¶
func (o *ListFoldersResponse) SetItems(v []ListFoldersResponseItemsInner)
SetItems sets field value
func (*ListFoldersResponse) SetLimit ¶
func (o *ListFoldersResponse) SetLimit(v float32)
SetLimit sets field value
func (*ListFoldersResponse) SetOffset ¶
func (o *ListFoldersResponse) SetOffset(v float32)
SetOffset sets field value
func (ListFoldersResponse) ToMap ¶
func (o ListFoldersResponse) ToMap() (map[string]interface{}, error)
func (*ListFoldersResponse) UnmarshalJSON ¶
func (o *ListFoldersResponse) UnmarshalJSON(data []byte) (err error)
type ListFoldersResponseItemsInner ¶
type ListFoldersResponseItemsInner struct {
// Globally unique folder identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the folder was created.
CreationTime time.Time `json:"creationTime"`
// Globally unique folder identifier.
FolderId string `json:"folderId"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the folder.
Name string `json:"name"`
Parent Parent `json:"parent"`
// Timestamp at which the folder was created.
UpdateTime time.Time `json:"updateTime"`
}
ListFoldersResponseItemsInner struct for ListFoldersResponseItemsInner
func NewListFoldersResponseItemsInner ¶
func NewListFoldersResponseItemsInner(containerId string, creationTime time.Time, folderId string, name string, parent Parent, updateTime time.Time) *ListFoldersResponseItemsInner
NewListFoldersResponseItemsInner instantiates a new ListFoldersResponseItemsInner 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 NewListFoldersResponseItemsInnerWithDefaults ¶
func NewListFoldersResponseItemsInnerWithDefaults() *ListFoldersResponseItemsInner
NewListFoldersResponseItemsInnerWithDefaults instantiates a new ListFoldersResponseItemsInner 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 (*ListFoldersResponseItemsInner) GetContainerId ¶
func (o *ListFoldersResponseItemsInner) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*ListFoldersResponseItemsInner) GetContainerIdOk ¶
func (o *ListFoldersResponseItemsInner) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetCreationTime ¶
func (o *ListFoldersResponseItemsInner) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*ListFoldersResponseItemsInner) GetCreationTimeOk ¶
func (o *ListFoldersResponseItemsInner) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetFolderId ¶
func (o *ListFoldersResponseItemsInner) GetFolderId() string
GetFolderId returns the FolderId field value
func (*ListFoldersResponseItemsInner) GetFolderIdOk ¶
func (o *ListFoldersResponseItemsInner) GetFolderIdOk() (*string, bool)
GetFolderIdOk returns a tuple with the FolderId field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetLabels ¶
func (o *ListFoldersResponseItemsInner) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ListFoldersResponseItemsInner) GetLabelsOk ¶
func (o *ListFoldersResponseItemsInner) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetName ¶
func (o *ListFoldersResponseItemsInner) GetName() string
GetName returns the Name field value
func (*ListFoldersResponseItemsInner) GetNameOk ¶
func (o *ListFoldersResponseItemsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetParent ¶
func (o *ListFoldersResponseItemsInner) GetParent() Parent
GetParent returns the Parent field value
func (*ListFoldersResponseItemsInner) GetParentOk ¶
func (o *ListFoldersResponseItemsInner) GetParentOk() (*Parent, bool)
GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) GetUpdateTime ¶
func (o *ListFoldersResponseItemsInner) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*ListFoldersResponseItemsInner) GetUpdateTimeOk ¶
func (o *ListFoldersResponseItemsInner) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*ListFoldersResponseItemsInner) HasLabels ¶
func (o *ListFoldersResponseItemsInner) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (ListFoldersResponseItemsInner) MarshalJSON ¶
func (o ListFoldersResponseItemsInner) MarshalJSON() ([]byte, error)
func (*ListFoldersResponseItemsInner) SetContainerId ¶
func (o *ListFoldersResponseItemsInner) SetContainerId(v string)
SetContainerId sets field value
func (*ListFoldersResponseItemsInner) SetCreationTime ¶
func (o *ListFoldersResponseItemsInner) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*ListFoldersResponseItemsInner) SetFolderId ¶
func (o *ListFoldersResponseItemsInner) SetFolderId(v string)
SetFolderId sets field value
func (*ListFoldersResponseItemsInner) SetLabels ¶
func (o *ListFoldersResponseItemsInner) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ListFoldersResponseItemsInner) SetName ¶
func (o *ListFoldersResponseItemsInner) SetName(v string)
SetName sets field value
func (*ListFoldersResponseItemsInner) SetParent ¶
func (o *ListFoldersResponseItemsInner) SetParent(v Parent)
SetParent sets field value
func (*ListFoldersResponseItemsInner) SetUpdateTime ¶
func (o *ListFoldersResponseItemsInner) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (ListFoldersResponseItemsInner) ToMap ¶
func (o ListFoldersResponseItemsInner) ToMap() (map[string]interface{}, error)
func (*ListFoldersResponseItemsInner) UnmarshalJSON ¶
func (o *ListFoldersResponseItemsInner) UnmarshalJSON(data []byte) (err error)
type ListOrganizationsResponse ¶
type ListOrganizationsResponse struct {
Items []ListOrganizationsResponseItemsInner `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
Limit float32 `json:"limit"`
// The offset of the first item in the collection to return.
Offset float32 `json:"offset"`
}
ListOrganizationsResponse struct for ListOrganizationsResponse
func NewListOrganizationsResponse ¶
func NewListOrganizationsResponse(items []ListOrganizationsResponseItemsInner, limit float32, offset float32) *ListOrganizationsResponse
NewListOrganizationsResponse instantiates a new ListOrganizationsResponse 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 NewListOrganizationsResponseWithDefaults ¶
func NewListOrganizationsResponseWithDefaults() *ListOrganizationsResponse
NewListOrganizationsResponseWithDefaults instantiates a new ListOrganizationsResponse 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 (*ListOrganizationsResponse) GetItems ¶
func (o *ListOrganizationsResponse) GetItems() []ListOrganizationsResponseItemsInner
GetItems returns the Items field value
func (*ListOrganizationsResponse) GetItemsOk ¶
func (o *ListOrganizationsResponse) GetItemsOk() ([]ListOrganizationsResponseItemsInner, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponse) GetLimit ¶
func (o *ListOrganizationsResponse) GetLimit() float32
GetLimit returns the Limit field value
func (*ListOrganizationsResponse) GetLimitOk ¶
func (o *ListOrganizationsResponse) GetLimitOk() (*float32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponse) GetOffset ¶
func (o *ListOrganizationsResponse) GetOffset() float32
GetOffset returns the Offset field value
func (*ListOrganizationsResponse) GetOffsetOk ¶
func (o *ListOrganizationsResponse) GetOffsetOk() (*float32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (ListOrganizationsResponse) MarshalJSON ¶
func (o ListOrganizationsResponse) MarshalJSON() ([]byte, error)
func (*ListOrganizationsResponse) SetItems ¶
func (o *ListOrganizationsResponse) SetItems(v []ListOrganizationsResponseItemsInner)
SetItems sets field value
func (*ListOrganizationsResponse) SetLimit ¶
func (o *ListOrganizationsResponse) SetLimit(v float32)
SetLimit sets field value
func (*ListOrganizationsResponse) SetOffset ¶
func (o *ListOrganizationsResponse) SetOffset(v float32)
SetOffset sets field value
func (ListOrganizationsResponse) ToMap ¶
func (o ListOrganizationsResponse) ToMap() (map[string]interface{}, error)
func (*ListOrganizationsResponse) UnmarshalJSON ¶
func (o *ListOrganizationsResponse) UnmarshalJSON(data []byte) (err error)
type ListOrganizationsResponseItemsInner ¶
type ListOrganizationsResponseItemsInner struct {
// Globally unique, user-friendly identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the organization was created.
CreationTime time.Time `json:"creationTime"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
LifecycleState LifecycleState `json:"lifecycleState"`
// Name of the organization.
Name string `json:"name"`
// Globally unique, organization identifier.
OrganizationId string `json:"organizationId"`
// Timestamp at which the organization was last modified.
UpdateTime time.Time `json:"updateTime"`
}
ListOrganizationsResponseItemsInner struct for ListOrganizationsResponseItemsInner
func NewListOrganizationsResponseItemsInner ¶
func NewListOrganizationsResponseItemsInner(containerId string, creationTime time.Time, lifecycleState LifecycleState, name string, organizationId string, updateTime time.Time) *ListOrganizationsResponseItemsInner
NewListOrganizationsResponseItemsInner instantiates a new ListOrganizationsResponseItemsInner 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 NewListOrganizationsResponseItemsInnerWithDefaults ¶
func NewListOrganizationsResponseItemsInnerWithDefaults() *ListOrganizationsResponseItemsInner
NewListOrganizationsResponseItemsInnerWithDefaults instantiates a new ListOrganizationsResponseItemsInner 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 (*ListOrganizationsResponseItemsInner) GetContainerId ¶
func (o *ListOrganizationsResponseItemsInner) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*ListOrganizationsResponseItemsInner) GetContainerIdOk ¶
func (o *ListOrganizationsResponseItemsInner) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetCreationTime ¶
func (o *ListOrganizationsResponseItemsInner) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*ListOrganizationsResponseItemsInner) GetCreationTimeOk ¶
func (o *ListOrganizationsResponseItemsInner) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetLabels ¶
func (o *ListOrganizationsResponseItemsInner) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ListOrganizationsResponseItemsInner) GetLabelsOk ¶
func (o *ListOrganizationsResponseItemsInner) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetLifecycleState ¶
func (o *ListOrganizationsResponseItemsInner) GetLifecycleState() LifecycleState
GetLifecycleState returns the LifecycleState field value
func (*ListOrganizationsResponseItemsInner) GetLifecycleStateOk ¶
func (o *ListOrganizationsResponseItemsInner) GetLifecycleStateOk() (*LifecycleState, bool)
GetLifecycleStateOk returns a tuple with the LifecycleState field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetName ¶
func (o *ListOrganizationsResponseItemsInner) GetName() string
GetName returns the Name field value
func (*ListOrganizationsResponseItemsInner) GetNameOk ¶
func (o *ListOrganizationsResponseItemsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetOrganizationId ¶
func (o *ListOrganizationsResponseItemsInner) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field value
func (*ListOrganizationsResponseItemsInner) GetOrganizationIdOk ¶
func (o *ListOrganizationsResponseItemsInner) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) GetUpdateTime ¶
func (o *ListOrganizationsResponseItemsInner) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*ListOrganizationsResponseItemsInner) GetUpdateTimeOk ¶
func (o *ListOrganizationsResponseItemsInner) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*ListOrganizationsResponseItemsInner) HasLabels ¶
func (o *ListOrganizationsResponseItemsInner) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (ListOrganizationsResponseItemsInner) MarshalJSON ¶
func (o ListOrganizationsResponseItemsInner) MarshalJSON() ([]byte, error)
func (*ListOrganizationsResponseItemsInner) SetContainerId ¶
func (o *ListOrganizationsResponseItemsInner) SetContainerId(v string)
SetContainerId sets field value
func (*ListOrganizationsResponseItemsInner) SetCreationTime ¶
func (o *ListOrganizationsResponseItemsInner) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*ListOrganizationsResponseItemsInner) SetLabels ¶
func (o *ListOrganizationsResponseItemsInner) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ListOrganizationsResponseItemsInner) SetLifecycleState ¶
func (o *ListOrganizationsResponseItemsInner) SetLifecycleState(v LifecycleState)
SetLifecycleState sets field value
func (*ListOrganizationsResponseItemsInner) SetName ¶
func (o *ListOrganizationsResponseItemsInner) SetName(v string)
SetName sets field value
func (*ListOrganizationsResponseItemsInner) SetOrganizationId ¶
func (o *ListOrganizationsResponseItemsInner) SetOrganizationId(v string)
SetOrganizationId sets field value
func (*ListOrganizationsResponseItemsInner) SetUpdateTime ¶
func (o *ListOrganizationsResponseItemsInner) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (ListOrganizationsResponseItemsInner) ToMap ¶
func (o ListOrganizationsResponseItemsInner) ToMap() (map[string]interface{}, error)
func (*ListOrganizationsResponseItemsInner) UnmarshalJSON ¶
func (o *ListOrganizationsResponseItemsInner) UnmarshalJSON(data []byte) (err error)
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Items []Project `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
Limit float32 `json:"limit"`
// The offset of the first item in the collection to return.
Offset float32 `json:"offset"`
}
ListProjectsResponse struct for ListProjectsResponse
func NewListProjectsResponse ¶
func NewListProjectsResponse(items []Project, limit float32, offset float32) *ListProjectsResponse
NewListProjectsResponse instantiates a new ListProjectsResponse 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 NewListProjectsResponseWithDefaults ¶
func NewListProjectsResponseWithDefaults() *ListProjectsResponse
NewListProjectsResponseWithDefaults instantiates a new ListProjectsResponse 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 (*ListProjectsResponse) GetItems ¶
func (o *ListProjectsResponse) GetItems() []Project
GetItems returns the Items field value
func (*ListProjectsResponse) GetItemsOk ¶
func (o *ListProjectsResponse) GetItemsOk() ([]Project, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListProjectsResponse) GetLimit ¶
func (o *ListProjectsResponse) GetLimit() float32
GetLimit returns the Limit field value
func (*ListProjectsResponse) GetLimitOk ¶
func (o *ListProjectsResponse) GetLimitOk() (*float32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*ListProjectsResponse) GetOffset ¶
func (o *ListProjectsResponse) GetOffset() float32
GetOffset returns the Offset field value
func (*ListProjectsResponse) GetOffsetOk ¶
func (o *ListProjectsResponse) GetOffsetOk() (*float32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (ListProjectsResponse) MarshalJSON ¶
func (o ListProjectsResponse) MarshalJSON() ([]byte, error)
func (*ListProjectsResponse) SetItems ¶
func (o *ListProjectsResponse) SetItems(v []Project)
SetItems sets field value
func (*ListProjectsResponse) SetLimit ¶
func (o *ListProjectsResponse) SetLimit(v float32)
SetLimit sets field value
func (*ListProjectsResponse) SetOffset ¶
func (o *ListProjectsResponse) SetOffset(v float32)
SetOffset sets field value
func (ListProjectsResponse) ToMap ¶
func (o ListProjectsResponse) ToMap() (map[string]interface{}, error)
func (*ListProjectsResponse) UnmarshalJSON ¶
func (o *ListProjectsResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type Member ¶
type Member struct {
// A valid role defined for the resource.
Role string `json:"role"`
// Unique identifier of the user, service account or client.
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 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 NullableContainerSearchResult ¶
type NullableContainerSearchResult struct {
// contains filtered or unexported fields
}
func NewNullableContainerSearchResult ¶
func NewNullableContainerSearchResult(val *ContainerSearchResult) *NullableContainerSearchResult
func (NullableContainerSearchResult) Get ¶
func (v NullableContainerSearchResult) Get() *ContainerSearchResult
func (NullableContainerSearchResult) IsSet ¶
func (v NullableContainerSearchResult) IsSet() bool
func (NullableContainerSearchResult) MarshalJSON ¶
func (v NullableContainerSearchResult) MarshalJSON() ([]byte, error)
func (*NullableContainerSearchResult) Set ¶
func (v *NullableContainerSearchResult) Set(val *ContainerSearchResult)
func (*NullableContainerSearchResult) UnmarshalJSON ¶
func (v *NullableContainerSearchResult) UnmarshalJSON(src []byte) error
func (*NullableContainerSearchResult) Unset ¶
func (v *NullableContainerSearchResult) Unset()
type NullableCreateFolderPayload ¶
type NullableCreateFolderPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateFolderPayload ¶
func NewNullableCreateFolderPayload(val *CreateFolderPayload) *NullableCreateFolderPayload
func (NullableCreateFolderPayload) Get ¶
func (v NullableCreateFolderPayload) Get() *CreateFolderPayload
func (NullableCreateFolderPayload) IsSet ¶
func (v NullableCreateFolderPayload) IsSet() bool
func (NullableCreateFolderPayload) MarshalJSON ¶
func (v NullableCreateFolderPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateFolderPayload) Set ¶
func (v *NullableCreateFolderPayload) Set(val *CreateFolderPayload)
func (*NullableCreateFolderPayload) UnmarshalJSON ¶
func (v *NullableCreateFolderPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateFolderPayload) Unset ¶
func (v *NullableCreateFolderPayload) Unset()
type NullableCreateProjectPayload ¶
type NullableCreateProjectPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateProjectPayload ¶
func NewNullableCreateProjectPayload(val *CreateProjectPayload) *NullableCreateProjectPayload
func (NullableCreateProjectPayload) Get ¶
func (v NullableCreateProjectPayload) Get() *CreateProjectPayload
func (NullableCreateProjectPayload) IsSet ¶
func (v NullableCreateProjectPayload) IsSet() bool
func (NullableCreateProjectPayload) MarshalJSON ¶
func (v NullableCreateProjectPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateProjectPayload) Set ¶
func (v *NullableCreateProjectPayload) Set(val *CreateProjectPayload)
func (*NullableCreateProjectPayload) UnmarshalJSON ¶
func (v *NullableCreateProjectPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateProjectPayload) Unset ¶
func (v *NullableCreateProjectPayload) 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 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 NullableFolderResponse ¶
type NullableFolderResponse struct {
// contains filtered or unexported fields
}
func NewNullableFolderResponse ¶
func NewNullableFolderResponse(val *FolderResponse) *NullableFolderResponse
func (NullableFolderResponse) Get ¶
func (v NullableFolderResponse) Get() *FolderResponse
func (NullableFolderResponse) IsSet ¶
func (v NullableFolderResponse) IsSet() bool
func (NullableFolderResponse) MarshalJSON ¶
func (v NullableFolderResponse) MarshalJSON() ([]byte, error)
func (*NullableFolderResponse) Set ¶
func (v *NullableFolderResponse) Set(val *FolderResponse)
func (*NullableFolderResponse) UnmarshalJSON ¶
func (v *NullableFolderResponse) UnmarshalJSON(src []byte) error
func (*NullableFolderResponse) Unset ¶
func (v *NullableFolderResponse) Unset()
type NullableGetFolderDetailsResponse ¶
type NullableGetFolderDetailsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetFolderDetailsResponse ¶
func NewNullableGetFolderDetailsResponse(val *GetFolderDetailsResponse) *NullableGetFolderDetailsResponse
func (NullableGetFolderDetailsResponse) Get ¶
func (v NullableGetFolderDetailsResponse) Get() *GetFolderDetailsResponse
func (NullableGetFolderDetailsResponse) IsSet ¶
func (v NullableGetFolderDetailsResponse) IsSet() bool
func (NullableGetFolderDetailsResponse) MarshalJSON ¶
func (v NullableGetFolderDetailsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetFolderDetailsResponse) Set ¶
func (v *NullableGetFolderDetailsResponse) Set(val *GetFolderDetailsResponse)
func (*NullableGetFolderDetailsResponse) UnmarshalJSON ¶
func (v *NullableGetFolderDetailsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetFolderDetailsResponse) Unset ¶
func (v *NullableGetFolderDetailsResponse) Unset()
type NullableGetProjectResponse ¶
type NullableGetProjectResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetProjectResponse ¶
func NewNullableGetProjectResponse(val *GetProjectResponse) *NullableGetProjectResponse
func (NullableGetProjectResponse) Get ¶
func (v NullableGetProjectResponse) Get() *GetProjectResponse
func (NullableGetProjectResponse) IsSet ¶
func (v NullableGetProjectResponse) IsSet() bool
func (NullableGetProjectResponse) MarshalJSON ¶
func (v NullableGetProjectResponse) MarshalJSON() ([]byte, error)
func (*NullableGetProjectResponse) Set ¶
func (v *NullableGetProjectResponse) Set(val *GetProjectResponse)
func (*NullableGetProjectResponse) UnmarshalJSON ¶
func (v *NullableGetProjectResponse) UnmarshalJSON(src []byte) error
func (*NullableGetProjectResponse) Unset ¶
func (v *NullableGetProjectResponse) 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 NullableLifecycleState ¶
type NullableLifecycleState struct {
// contains filtered or unexported fields
}
func NewNullableLifecycleState ¶
func NewNullableLifecycleState(val *LifecycleState) *NullableLifecycleState
func (NullableLifecycleState) Get ¶
func (v NullableLifecycleState) Get() *LifecycleState
func (NullableLifecycleState) IsSet ¶
func (v NullableLifecycleState) IsSet() bool
func (NullableLifecycleState) MarshalJSON ¶
func (v NullableLifecycleState) MarshalJSON() ([]byte, error)
func (*NullableLifecycleState) Set ¶
func (v *NullableLifecycleState) Set(val *LifecycleState)
func (*NullableLifecycleState) UnmarshalJSON ¶
func (v *NullableLifecycleState) UnmarshalJSON(src []byte) error
func (*NullableLifecycleState) Unset ¶
func (v *NullableLifecycleState) Unset()
type NullableListFoldersResponse ¶
type NullableListFoldersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListFoldersResponse ¶
func NewNullableListFoldersResponse(val *ListFoldersResponse) *NullableListFoldersResponse
func (NullableListFoldersResponse) Get ¶
func (v NullableListFoldersResponse) Get() *ListFoldersResponse
func (NullableListFoldersResponse) IsSet ¶
func (v NullableListFoldersResponse) IsSet() bool
func (NullableListFoldersResponse) MarshalJSON ¶
func (v NullableListFoldersResponse) MarshalJSON() ([]byte, error)
func (*NullableListFoldersResponse) Set ¶
func (v *NullableListFoldersResponse) Set(val *ListFoldersResponse)
func (*NullableListFoldersResponse) UnmarshalJSON ¶
func (v *NullableListFoldersResponse) UnmarshalJSON(src []byte) error
func (*NullableListFoldersResponse) Unset ¶
func (v *NullableListFoldersResponse) Unset()
type NullableListFoldersResponseItemsInner ¶
type NullableListFoldersResponseItemsInner struct {
// contains filtered or unexported fields
}
func NewNullableListFoldersResponseItemsInner ¶
func NewNullableListFoldersResponseItemsInner(val *ListFoldersResponseItemsInner) *NullableListFoldersResponseItemsInner
func (NullableListFoldersResponseItemsInner) Get ¶
func (v NullableListFoldersResponseItemsInner) Get() *ListFoldersResponseItemsInner
func (NullableListFoldersResponseItemsInner) IsSet ¶
func (v NullableListFoldersResponseItemsInner) IsSet() bool
func (NullableListFoldersResponseItemsInner) MarshalJSON ¶
func (v NullableListFoldersResponseItemsInner) MarshalJSON() ([]byte, error)
func (*NullableListFoldersResponseItemsInner) Set ¶
func (v *NullableListFoldersResponseItemsInner) Set(val *ListFoldersResponseItemsInner)
func (*NullableListFoldersResponseItemsInner) UnmarshalJSON ¶
func (v *NullableListFoldersResponseItemsInner) UnmarshalJSON(src []byte) error
func (*NullableListFoldersResponseItemsInner) Unset ¶
func (v *NullableListFoldersResponseItemsInner) Unset()
type NullableListOrganizationsResponse ¶
type NullableListOrganizationsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListOrganizationsResponse ¶
func NewNullableListOrganizationsResponse(val *ListOrganizationsResponse) *NullableListOrganizationsResponse
func (NullableListOrganizationsResponse) Get ¶
func (v NullableListOrganizationsResponse) Get() *ListOrganizationsResponse
func (NullableListOrganizationsResponse) IsSet ¶
func (v NullableListOrganizationsResponse) IsSet() bool
func (NullableListOrganizationsResponse) MarshalJSON ¶
func (v NullableListOrganizationsResponse) MarshalJSON() ([]byte, error)
func (*NullableListOrganizationsResponse) Set ¶
func (v *NullableListOrganizationsResponse) Set(val *ListOrganizationsResponse)
func (*NullableListOrganizationsResponse) UnmarshalJSON ¶
func (v *NullableListOrganizationsResponse) UnmarshalJSON(src []byte) error
func (*NullableListOrganizationsResponse) Unset ¶
func (v *NullableListOrganizationsResponse) Unset()
type NullableListOrganizationsResponseItemsInner ¶
type NullableListOrganizationsResponseItemsInner struct {
// contains filtered or unexported fields
}
func NewNullableListOrganizationsResponseItemsInner ¶
func NewNullableListOrganizationsResponseItemsInner(val *ListOrganizationsResponseItemsInner) *NullableListOrganizationsResponseItemsInner
func (NullableListOrganizationsResponseItemsInner) IsSet ¶
func (v NullableListOrganizationsResponseItemsInner) IsSet() bool
func (NullableListOrganizationsResponseItemsInner) MarshalJSON ¶
func (v NullableListOrganizationsResponseItemsInner) MarshalJSON() ([]byte, error)
func (*NullableListOrganizationsResponseItemsInner) Set ¶
func (v *NullableListOrganizationsResponseItemsInner) Set(val *ListOrganizationsResponseItemsInner)
func (*NullableListOrganizationsResponseItemsInner) UnmarshalJSON ¶
func (v *NullableListOrganizationsResponseItemsInner) UnmarshalJSON(src []byte) error
func (*NullableListOrganizationsResponseItemsInner) Unset ¶
func (v *NullableListOrganizationsResponseItemsInner) Unset()
type NullableListProjectsResponse ¶
type NullableListProjectsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListProjectsResponse ¶
func NewNullableListProjectsResponse(val *ListProjectsResponse) *NullableListProjectsResponse
func (NullableListProjectsResponse) Get ¶
func (v NullableListProjectsResponse) Get() *ListProjectsResponse
func (NullableListProjectsResponse) IsSet ¶
func (v NullableListProjectsResponse) IsSet() bool
func (NullableListProjectsResponse) MarshalJSON ¶
func (v NullableListProjectsResponse) MarshalJSON() ([]byte, error)
func (*NullableListProjectsResponse) Set ¶
func (v *NullableListProjectsResponse) Set(val *ListProjectsResponse)
func (*NullableListProjectsResponse) UnmarshalJSON ¶
func (v *NullableListProjectsResponse) UnmarshalJSON(src []byte) error
func (*NullableListProjectsResponse) Unset ¶
func (v *NullableListProjectsResponse) 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 NullableOrganizationResponse ¶
type NullableOrganizationResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrganizationResponse ¶
func NewNullableOrganizationResponse(val *OrganizationResponse) *NullableOrganizationResponse
func (NullableOrganizationResponse) Get ¶
func (v NullableOrganizationResponse) Get() *OrganizationResponse
func (NullableOrganizationResponse) IsSet ¶
func (v NullableOrganizationResponse) IsSet() bool
func (NullableOrganizationResponse) MarshalJSON ¶
func (v NullableOrganizationResponse) MarshalJSON() ([]byte, error)
func (*NullableOrganizationResponse) Set ¶
func (v *NullableOrganizationResponse) Set(val *OrganizationResponse)
func (*NullableOrganizationResponse) UnmarshalJSON ¶
func (v *NullableOrganizationResponse) UnmarshalJSON(src []byte) error
func (*NullableOrganizationResponse) Unset ¶
func (v *NullableOrganizationResponse) Unset()
type NullableParent ¶
type NullableParent struct {
// contains filtered or unexported fields
}
func NewNullableParent ¶
func NewNullableParent(val *Parent) *NullableParent
func (NullableParent) Get ¶
func (v NullableParent) Get() *Parent
func (NullableParent) IsSet ¶
func (v NullableParent) IsSet() bool
func (NullableParent) MarshalJSON ¶
func (v NullableParent) MarshalJSON() ([]byte, error)
func (*NullableParent) Set ¶
func (v *NullableParent) Set(val *Parent)
func (*NullableParent) UnmarshalJSON ¶
func (v *NullableParent) UnmarshalJSON(src []byte) error
func (*NullableParent) Unset ¶
func (v *NullableParent) Unset()
type NullableParentListInner ¶
type NullableParentListInner struct {
// contains filtered or unexported fields
}
func NewNullableParentListInner ¶
func NewNullableParentListInner(val *ParentListInner) *NullableParentListInner
func (NullableParentListInner) Get ¶
func (v NullableParentListInner) Get() *ParentListInner
func (NullableParentListInner) IsSet ¶
func (v NullableParentListInner) IsSet() bool
func (NullableParentListInner) MarshalJSON ¶
func (v NullableParentListInner) MarshalJSON() ([]byte, error)
func (*NullableParentListInner) Set ¶
func (v *NullableParentListInner) Set(val *ParentListInner)
func (*NullableParentListInner) UnmarshalJSON ¶
func (v *NullableParentListInner) UnmarshalJSON(src []byte) error
func (*NullableParentListInner) Unset ¶
func (v *NullableParentListInner) Unset()
type NullablePartialUpdateFolderPayload ¶
type NullablePartialUpdateFolderPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateFolderPayload ¶
func NewNullablePartialUpdateFolderPayload(val *PartialUpdateFolderPayload) *NullablePartialUpdateFolderPayload
func (NullablePartialUpdateFolderPayload) Get ¶
func (v NullablePartialUpdateFolderPayload) Get() *PartialUpdateFolderPayload
func (NullablePartialUpdateFolderPayload) IsSet ¶
func (v NullablePartialUpdateFolderPayload) IsSet() bool
func (NullablePartialUpdateFolderPayload) MarshalJSON ¶
func (v NullablePartialUpdateFolderPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateFolderPayload) Set ¶
func (v *NullablePartialUpdateFolderPayload) Set(val *PartialUpdateFolderPayload)
func (*NullablePartialUpdateFolderPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateFolderPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateFolderPayload) Unset ¶
func (v *NullablePartialUpdateFolderPayload) Unset()
type NullablePartialUpdateOrganizationPayload ¶
type NullablePartialUpdateOrganizationPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateOrganizationPayload ¶
func NewNullablePartialUpdateOrganizationPayload(val *PartialUpdateOrganizationPayload) *NullablePartialUpdateOrganizationPayload
func (NullablePartialUpdateOrganizationPayload) IsSet ¶
func (v NullablePartialUpdateOrganizationPayload) IsSet() bool
func (NullablePartialUpdateOrganizationPayload) MarshalJSON ¶
func (v NullablePartialUpdateOrganizationPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateOrganizationPayload) Set ¶
func (v *NullablePartialUpdateOrganizationPayload) Set(val *PartialUpdateOrganizationPayload)
func (*NullablePartialUpdateOrganizationPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateOrganizationPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateOrganizationPayload) Unset ¶
func (v *NullablePartialUpdateOrganizationPayload) Unset()
type NullablePartialUpdateProjectPayload ¶
type NullablePartialUpdateProjectPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateProjectPayload ¶
func NewNullablePartialUpdateProjectPayload(val *PartialUpdateProjectPayload) *NullablePartialUpdateProjectPayload
func (NullablePartialUpdateProjectPayload) Get ¶
func (v NullablePartialUpdateProjectPayload) Get() *PartialUpdateProjectPayload
func (NullablePartialUpdateProjectPayload) IsSet ¶
func (v NullablePartialUpdateProjectPayload) IsSet() bool
func (NullablePartialUpdateProjectPayload) MarshalJSON ¶
func (v NullablePartialUpdateProjectPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateProjectPayload) Set ¶
func (v *NullablePartialUpdateProjectPayload) Set(val *PartialUpdateProjectPayload)
func (*NullablePartialUpdateProjectPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateProjectPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateProjectPayload) Unset ¶
func (v *NullablePartialUpdateProjectPayload) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) 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 OrganizationResponse ¶
type OrganizationResponse struct {
// Globally unique, user-friendly identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the organization was created.
CreationTime time.Time `json:"creationTime"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
LifecycleState LifecycleState `json:"lifecycleState"`
// Organization name.
Name string `json:"name"`
// Globally unique, organization identifier.
OrganizationId string `json:"organizationId"`
// Timestamp at which the organization was last modified.
UpdateTime time.Time `json:"updateTime"`
}
OrganizationResponse struct for OrganizationResponse
func NewOrganizationResponse ¶
func NewOrganizationResponse(containerId string, creationTime time.Time, lifecycleState LifecycleState, name string, organizationId string, updateTime time.Time) *OrganizationResponse
NewOrganizationResponse instantiates a new OrganizationResponse 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 NewOrganizationResponseWithDefaults ¶
func NewOrganizationResponseWithDefaults() *OrganizationResponse
NewOrganizationResponseWithDefaults instantiates a new OrganizationResponse 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 (*OrganizationResponse) GetContainerId ¶
func (o *OrganizationResponse) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*OrganizationResponse) GetContainerIdOk ¶
func (o *OrganizationResponse) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*OrganizationResponse) GetCreationTime ¶
func (o *OrganizationResponse) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value
func (*OrganizationResponse) GetCreationTimeOk ¶
func (o *OrganizationResponse) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*OrganizationResponse) GetLabels ¶
func (o *OrganizationResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*OrganizationResponse) GetLabelsOk ¶
func (o *OrganizationResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationResponse) GetLifecycleState ¶
func (o *OrganizationResponse) GetLifecycleState() LifecycleState
GetLifecycleState returns the LifecycleState field value
func (*OrganizationResponse) GetLifecycleStateOk ¶
func (o *OrganizationResponse) GetLifecycleStateOk() (*LifecycleState, bool)
GetLifecycleStateOk returns a tuple with the LifecycleState field value and a boolean to check if the value has been set.
func (*OrganizationResponse) GetName ¶
func (o *OrganizationResponse) GetName() string
GetName returns the Name field value
func (*OrganizationResponse) GetNameOk ¶
func (o *OrganizationResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OrganizationResponse) GetOrganizationId ¶
func (o *OrganizationResponse) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field value
func (*OrganizationResponse) GetOrganizationIdOk ¶
func (o *OrganizationResponse) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.
func (*OrganizationResponse) GetUpdateTime ¶
func (o *OrganizationResponse) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime field value
func (*OrganizationResponse) GetUpdateTimeOk ¶
func (o *OrganizationResponse) GetUpdateTimeOk() (*time.Time, bool)
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (*OrganizationResponse) HasLabels ¶
func (o *OrganizationResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (OrganizationResponse) MarshalJSON ¶
func (o OrganizationResponse) MarshalJSON() ([]byte, error)
func (*OrganizationResponse) SetContainerId ¶
func (o *OrganizationResponse) SetContainerId(v string)
SetContainerId sets field value
func (*OrganizationResponse) SetCreationTime ¶
func (o *OrganizationResponse) SetCreationTime(v time.Time)
SetCreationTime sets field value
func (*OrganizationResponse) SetLabels ¶
func (o *OrganizationResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*OrganizationResponse) SetLifecycleState ¶
func (o *OrganizationResponse) SetLifecycleState(v LifecycleState)
SetLifecycleState sets field value
func (*OrganizationResponse) SetName ¶
func (o *OrganizationResponse) SetName(v string)
SetName sets field value
func (*OrganizationResponse) SetOrganizationId ¶
func (o *OrganizationResponse) SetOrganizationId(v string)
SetOrganizationId sets field value
func (*OrganizationResponse) SetUpdateTime ¶
func (o *OrganizationResponse) SetUpdateTime(v time.Time)
SetUpdateTime sets field value
func (OrganizationResponse) ToMap ¶
func (o OrganizationResponse) ToMap() (map[string]interface{}, error)
func (*OrganizationResponse) UnmarshalJSON ¶
func (o *OrganizationResponse) UnmarshalJSON(data []byte) (err error)
type Parent ¶
type Parent struct {
// User-friendly identifier of either organization or folder (will replace id).
ContainerId string `json:"containerId"`
// Identifier of either organization or folder.
Id string `json:"id"`
// Container type of parent container.
Type string `json:"type"`
}
Parent Parent container.
func NewParent ¶
NewParent instantiates a new Parent 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 NewParentWithDefaults ¶
func NewParentWithDefaults() *Parent
NewParentWithDefaults instantiates a new Parent 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 (*Parent) GetContainerId ¶
GetContainerId returns the ContainerId field value
func (*Parent) GetContainerIdOk ¶
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*Parent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Parent) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Parent) MarshalJSON ¶
func (*Parent) SetContainerId ¶
SetContainerId sets field value
func (*Parent) UnmarshalJSON ¶
type ParentListInner ¶
type ParentListInner struct {
// User-friendly identifier of either organization or folder (will replace id).
ContainerId string `json:"containerId"`
// User-friendly parent identifier of either organization or folder (will replace parentId).
ContainerParentId *string `json:"containerParentId,omitempty"`
// Identifier.
Id string `json:"id"`
// Parent container name.
Name string `json:"name"`
// Identifier of the parent resource container.
ParentId *string `json:"parentId,omitempty"`
// Parent container type.
Type string `json:"type"`
}
ParentListInner struct for ParentListInner
func NewParentListInner ¶
func NewParentListInner(containerId string, id string, name string, types string) *ParentListInner
NewParentListInner instantiates a new ParentListInner 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 NewParentListInnerWithDefaults ¶
func NewParentListInnerWithDefaults() *ParentListInner
NewParentListInnerWithDefaults instantiates a new ParentListInner 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 (*ParentListInner) GetContainerId ¶
func (o *ParentListInner) GetContainerId() string
GetContainerId returns the ContainerId field value
func (*ParentListInner) GetContainerIdOk ¶
func (o *ParentListInner) GetContainerIdOk() (*string, bool)
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*ParentListInner) GetContainerParentId ¶
func (o *ParentListInner) GetContainerParentId() string
GetContainerParentId returns the ContainerParentId field value if set, zero value otherwise.
func (*ParentListInner) GetContainerParentIdOk ¶
func (o *ParentListInner) GetContainerParentIdOk() (*string, bool)
GetContainerParentIdOk returns a tuple with the ContainerParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParentListInner) GetId ¶
func (o *ParentListInner) GetId() string
GetId returns the Id field value
func (*ParentListInner) GetIdOk ¶
func (o *ParentListInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ParentListInner) GetName ¶
func (o *ParentListInner) GetName() string
GetName returns the Name field value
func (*ParentListInner) GetNameOk ¶
func (o *ParentListInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParentListInner) GetParentId ¶
func (o *ParentListInner) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*ParentListInner) GetParentIdOk ¶
func (o *ParentListInner) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParentListInner) GetType ¶
func (o *ParentListInner) GetType() string
GetType returns the Type field value
func (*ParentListInner) GetTypeOk ¶
func (o *ParentListInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ParentListInner) HasContainerParentId ¶
func (o *ParentListInner) HasContainerParentId() bool
HasContainerParentId returns a boolean if a field has been set.
func (*ParentListInner) HasParentId ¶
func (o *ParentListInner) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (ParentListInner) MarshalJSON ¶
func (o ParentListInner) MarshalJSON() ([]byte, error)
func (*ParentListInner) SetContainerId ¶
func (o *ParentListInner) SetContainerId(v string)
SetContainerId sets field value
func (*ParentListInner) SetContainerParentId ¶
func (o *ParentListInner) SetContainerParentId(v string)
SetContainerParentId gets a reference to the given string and assigns it to the ContainerParentId field.
func (*ParentListInner) SetName ¶
func (o *ParentListInner) SetName(v string)
SetName sets field value
func (*ParentListInner) SetParentId ¶
func (o *ParentListInner) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*ParentListInner) SetType ¶
func (o *ParentListInner) SetType(v string)
SetType sets field value
func (ParentListInner) ToMap ¶
func (o ParentListInner) ToMap() (map[string]interface{}, error)
func (*ParentListInner) UnmarshalJSON ¶
func (o *ParentListInner) UnmarshalJSON(data []byte) (err error)
type PartialUpdateFolderPayload ¶
type PartialUpdateFolderPayload struct {
// New parent identifier for the resource container - containerId as well as UUID identifier is supported.
ContainerParentId *string `json:"containerParentId,omitempty"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"`
}
PartialUpdateFolderPayload struct for PartialUpdateFolderPayload
func NewPartialUpdateFolderPayload ¶
func NewPartialUpdateFolderPayload() *PartialUpdateFolderPayload
NewPartialUpdateFolderPayload instantiates a new PartialUpdateFolderPayload 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 NewPartialUpdateFolderPayloadWithDefaults ¶
func NewPartialUpdateFolderPayloadWithDefaults() *PartialUpdateFolderPayload
NewPartialUpdateFolderPayloadWithDefaults instantiates a new PartialUpdateFolderPayload 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 (*PartialUpdateFolderPayload) GetContainerParentId ¶
func (o *PartialUpdateFolderPayload) GetContainerParentId() string
GetContainerParentId returns the ContainerParentId field value if set, zero value otherwise.
func (*PartialUpdateFolderPayload) GetContainerParentIdOk ¶
func (o *PartialUpdateFolderPayload) GetContainerParentIdOk() (*string, bool)
GetContainerParentIdOk returns a tuple with the ContainerParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateFolderPayload) GetLabels ¶
func (o *PartialUpdateFolderPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateFolderPayload) GetLabelsOk ¶
func (o *PartialUpdateFolderPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateFolderPayload) GetName ¶
func (o *PartialUpdateFolderPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateFolderPayload) GetNameOk ¶
func (o *PartialUpdateFolderPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateFolderPayload) HasContainerParentId ¶
func (o *PartialUpdateFolderPayload) HasContainerParentId() bool
HasContainerParentId returns a boolean if a field has been set.
func (*PartialUpdateFolderPayload) HasLabels ¶
func (o *PartialUpdateFolderPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateFolderPayload) HasName ¶
func (o *PartialUpdateFolderPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateFolderPayload) MarshalJSON ¶
func (o PartialUpdateFolderPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateFolderPayload) SetContainerParentId ¶
func (o *PartialUpdateFolderPayload) SetContainerParentId(v string)
SetContainerParentId gets a reference to the given string and assigns it to the ContainerParentId field.
func (*PartialUpdateFolderPayload) SetLabels ¶
func (o *PartialUpdateFolderPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateFolderPayload) SetName ¶
func (o *PartialUpdateFolderPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateFolderPayload) ToMap ¶
func (o PartialUpdateFolderPayload) ToMap() (map[string]interface{}, error)
type PartialUpdateOrganizationPayload ¶
type PartialUpdateOrganizationPayload struct {
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"`
}
PartialUpdateOrganizationPayload struct for PartialUpdateOrganizationPayload
func NewPartialUpdateOrganizationPayload ¶
func NewPartialUpdateOrganizationPayload() *PartialUpdateOrganizationPayload
NewPartialUpdateOrganizationPayload instantiates a new PartialUpdateOrganizationPayload 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 NewPartialUpdateOrganizationPayloadWithDefaults ¶
func NewPartialUpdateOrganizationPayloadWithDefaults() *PartialUpdateOrganizationPayload
NewPartialUpdateOrganizationPayloadWithDefaults instantiates a new PartialUpdateOrganizationPayload 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 (*PartialUpdateOrganizationPayload) GetLabels ¶
func (o *PartialUpdateOrganizationPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateOrganizationPayload) GetLabelsOk ¶
func (o *PartialUpdateOrganizationPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateOrganizationPayload) GetName ¶
func (o *PartialUpdateOrganizationPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateOrganizationPayload) GetNameOk ¶
func (o *PartialUpdateOrganizationPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateOrganizationPayload) HasLabels ¶
func (o *PartialUpdateOrganizationPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateOrganizationPayload) HasName ¶
func (o *PartialUpdateOrganizationPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateOrganizationPayload) MarshalJSON ¶
func (o PartialUpdateOrganizationPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateOrganizationPayload) SetLabels ¶
func (o *PartialUpdateOrganizationPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateOrganizationPayload) SetName ¶
func (o *PartialUpdateOrganizationPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateOrganizationPayload) ToMap ¶
func (o PartialUpdateOrganizationPayload) ToMap() (map[string]interface{}, error)
type PartialUpdateProjectPayload ¶
type PartialUpdateProjectPayload struct {
// New parent identifier for the resource container - containerId as well as UUID identifier is supported.
ContainerParentId *string `json:"containerParentId,omitempty"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$"`
}
PartialUpdateProjectPayload struct for PartialUpdateProjectPayload
func NewPartialUpdateProjectPayload ¶
func NewPartialUpdateProjectPayload() *PartialUpdateProjectPayload
NewPartialUpdateProjectPayload instantiates a new PartialUpdateProjectPayload 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 NewPartialUpdateProjectPayloadWithDefaults ¶
func NewPartialUpdateProjectPayloadWithDefaults() *PartialUpdateProjectPayload
NewPartialUpdateProjectPayloadWithDefaults instantiates a new PartialUpdateProjectPayload 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 (*PartialUpdateProjectPayload) GetContainerParentId ¶
func (o *PartialUpdateProjectPayload) GetContainerParentId() string
GetContainerParentId returns the ContainerParentId field value if set, zero value otherwise.
func (*PartialUpdateProjectPayload) GetContainerParentIdOk ¶
func (o *PartialUpdateProjectPayload) GetContainerParentIdOk() (*string, bool)
GetContainerParentIdOk returns a tuple with the ContainerParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateProjectPayload) GetLabels ¶
func (o *PartialUpdateProjectPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateProjectPayload) GetLabelsOk ¶
func (o *PartialUpdateProjectPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateProjectPayload) GetName ¶
func (o *PartialUpdateProjectPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateProjectPayload) GetNameOk ¶
func (o *PartialUpdateProjectPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateProjectPayload) HasContainerParentId ¶
func (o *PartialUpdateProjectPayload) HasContainerParentId() bool
HasContainerParentId returns a boolean if a field has been set.
func (*PartialUpdateProjectPayload) HasLabels ¶
func (o *PartialUpdateProjectPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateProjectPayload) HasName ¶
func (o *PartialUpdateProjectPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateProjectPayload) MarshalJSON ¶
func (o PartialUpdateProjectPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateProjectPayload) SetContainerParentId ¶
func (o *PartialUpdateProjectPayload) SetContainerParentId(v string)
SetContainerParentId gets a reference to the given string and assigns it to the ContainerParentId field.
func (*PartialUpdateProjectPayload) SetLabels ¶
func (o *PartialUpdateProjectPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateProjectPayload) SetName ¶
func (o *PartialUpdateProjectPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateProjectPayload) ToMap ¶
func (o PartialUpdateProjectPayload) ToMap() (map[string]interface{}, error)
type Project ¶
type Project struct {
// Globally unique, user-friendly identifier.
ContainerId string `json:"containerId"`
// Timestamp at which the project was created.
CreationTime time.Time `json:"creationTime"`
// Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
LifecycleState LifecycleState `json:"lifecycleState"`
// Project name.
Name string `json:"name"`
Parent Parent `json:"parent"`
// Globally unique, project identifier.
ProjectId string `json:"projectId"`
// Timestamp at which the project was last modified.
UpdateTime time.Time `json:"updateTime"`
}
Project struct for Project
func NewProject ¶
func NewProject(containerId string, creationTime time.Time, lifecycleState LifecycleState, name string, parent Parent, projectId string, updateTime time.Time) *Project
NewProject instantiates a new Project 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 NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project 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 (*Project) GetContainerId ¶
GetContainerId returns the ContainerId field value
func (*Project) GetContainerIdOk ¶
GetContainerIdOk returns a tuple with the ContainerId field value and a boolean to check if the value has been set.
func (*Project) GetCreationTime ¶
GetCreationTime returns the CreationTime field value
func (*Project) GetCreationTimeOk ¶
GetCreationTimeOk returns a tuple with the CreationTime field value and a boolean to check if the value has been set.
func (*Project) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetLifecycleState ¶
func (o *Project) GetLifecycleState() LifecycleState
GetLifecycleState returns the LifecycleState field value
func (*Project) GetLifecycleStateOk ¶
func (o *Project) GetLifecycleStateOk() (*LifecycleState, bool)
GetLifecycleStateOk returns a tuple with the LifecycleState field value and a boolean to check if the value has been set.
func (*Project) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Project) GetParentOk ¶
GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.
func (*Project) GetProjectId ¶
GetProjectId returns the ProjectId field value
func (*Project) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*Project) GetUpdateTime ¶
GetUpdateTime returns the UpdateTime field value
func (*Project) GetUpdateTimeOk ¶
GetUpdateTimeOk returns a tuple with the UpdateTime field value and a boolean to check if the value has been set.
func (Project) MarshalJSON ¶
func (*Project) SetContainerId ¶
SetContainerId sets field value
func (*Project) SetCreationTime ¶
SetCreationTime sets field value
func (*Project) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Project) SetLifecycleState ¶
func (o *Project) SetLifecycleState(v LifecycleState)
SetLifecycleState sets field value
func (*Project) SetProjectId ¶
SetProjectId sets field value
func (*Project) SetUpdateTime ¶
SetUpdateTime sets field value
func (*Project) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_container_search_result.go
- model_create_folder_payload.go
- model_create_project_payload.go
- model_error_response.go
- model_folder_response.go
- model_get_folder_details_response.go
- model_get_project_response.go
- model_lifecycle_state.go
- model_list_folders_response.go
- model_list_folders_response_items_inner.go
- model_list_organizations_response.go
- model_list_organizations_response_items_inner.go
- model_list_projects_response.go
- model_member.go
- model_organization_response.go
- model_parent.go
- model_parent_list_inner.go
- model_partial_update_folder_payload.go
- model_partial_update_organization_payload.go
- model_partial_update_project_payload.go
- model_project.go
- response.go
- utils.go