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 ApiCreateArtifactoryRequest
- type ApiDeleteArtifactoryRequest
- type ApiGetArtifactoryRequest
- type ApiListArtifactoriesRequest
- type ApiListReplicationAdaptersRequest
- type ApiPatchArtifactoryRequest
- type Artifactory
- func (o *Artifactory) GetConsumedQuotaBytes() int64
- func (o *Artifactory) GetConsumedQuotaBytesOk() (*int64, bool)
- func (o *Artifactory) GetCreateTime() time.Time
- func (o *Artifactory) GetCreateTimeOk() (*time.Time, bool)
- func (o *Artifactory) GetId() string
- func (o *Artifactory) GetIdOk() (*string, bool)
- func (o *Artifactory) GetName() string
- func (o *Artifactory) GetNameOk() (*string, bool)
- func (o *Artifactory) GetProxy() Proxy
- func (o *Artifactory) GetProxyOk() (*Proxy, bool)
- func (o *Artifactory) GetState() ArtifactoryState
- func (o *Artifactory) GetStateOk() (*ArtifactoryState, bool)
- func (o *Artifactory) GetUrl() string
- func (o *Artifactory) GetUrlOk() (*string, bool)
- func (o *Artifactory) HasProxy() bool
- func (o Artifactory) MarshalJSON() ([]byte, error)
- func (o *Artifactory) SetConsumedQuotaBytes(v int64)
- func (o *Artifactory) SetCreateTime(v time.Time)
- func (o *Artifactory) SetId(v string)
- func (o *Artifactory) SetName(v string)
- func (o *Artifactory) SetProxy(v Proxy)
- func (o *Artifactory) SetState(v ArtifactoryState)
- func (o *Artifactory) SetUrl(v string)
- func (o Artifactory) ToMap() (map[string]interface{}, error)
- func (o *Artifactory) UnmarshalJSON(data []byte) (err error)
- type ArtifactoryList
- func (o *ArtifactoryList) GetArtifactories() []Artifactory
- func (o *ArtifactoryList) GetArtifactoriesOk() ([]Artifactory, bool)
- func (o *ArtifactoryList) GetNextPageToken() string
- func (o *ArtifactoryList) GetNextPageTokenOk() (*string, bool)
- func (o *ArtifactoryList) HasNextPageToken() bool
- func (o ArtifactoryList) MarshalJSON() ([]byte, error)
- func (o *ArtifactoryList) SetArtifactories(v []Artifactory)
- func (o *ArtifactoryList) SetNextPageToken(v string)
- func (o ArtifactoryList) ToMap() (map[string]interface{}, error)
- func (o *ArtifactoryList) UnmarshalJSON(data []byte) (err error)
- type ArtifactoryState
- type BadRequestErrorResponse
- func (o *BadRequestErrorResponse) GetError() string
- func (o *BadRequestErrorResponse) GetErrorOk() (*string, bool)
- func (o *BadRequestErrorResponse) GetMessage() string
- func (o *BadRequestErrorResponse) GetMessageOk() (*string, bool)
- func (o *BadRequestErrorResponse) HasError() bool
- func (o BadRequestErrorResponse) MarshalJSON() ([]byte, error)
- func (o *BadRequestErrorResponse) SetError(v string)
- func (o *BadRequestErrorResponse) SetMessage(v string)
- func (o BadRequestErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *BadRequestErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ConflictErrorResponse
- func (o *ConflictErrorResponse) GetError() string
- func (o *ConflictErrorResponse) GetErrorOk() (*string, bool)
- func (o *ConflictErrorResponse) GetMessage() string
- func (o *ConflictErrorResponse) GetMessageOk() (*string, bool)
- func (o *ConflictErrorResponse) HasError() bool
- func (o ConflictErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ConflictErrorResponse) SetError(v string)
- func (o *ConflictErrorResponse) SetMessage(v string)
- func (o ConflictErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ConflictErrorResponse) UnmarshalJSON(data []byte) (err error)
- type CreateArtifactoryPayload
- func (o *CreateArtifactoryPayload) GetName() string
- func (o *CreateArtifactoryPayload) GetNameOk() (*string, bool)
- func (o *CreateArtifactoryPayload) GetProxy() CreateProxyRequest
- func (o *CreateArtifactoryPayload) GetProxyOk() (*CreateProxyRequest, bool)
- func (o *CreateArtifactoryPayload) HasProxy() bool
- func (o CreateArtifactoryPayload) MarshalJSON() ([]byte, error)
- func (o *CreateArtifactoryPayload) SetName(v string)
- func (o *CreateArtifactoryPayload) SetProxy(v CreateProxyRequest)
- func (o CreateArtifactoryPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateArtifactoryPayload) UnmarshalJSON(data []byte) (err error)
- type CreateProxyRequest
- func (o *CreateProxyRequest) GetCredentials() Credentials
- func (o *CreateProxyRequest) GetCredentialsOk() (*Credentials, bool)
- func (o *CreateProxyRequest) GetDescription() string
- func (o *CreateProxyRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateProxyRequest) GetRegistryType() string
- func (o *CreateProxyRequest) GetRegistryTypeOk() (*string, bool)
- func (o *CreateProxyRequest) GetUrl() string
- func (o *CreateProxyRequest) GetUrlOk() (*string, bool)
- func (o *CreateProxyRequest) HasCredentials() bool
- func (o *CreateProxyRequest) HasDescription() bool
- func (o CreateProxyRequest) MarshalJSON() ([]byte, error)
- func (o *CreateProxyRequest) SetCredentials(v Credentials)
- func (o *CreateProxyRequest) SetDescription(v string)
- func (o *CreateProxyRequest) SetRegistryType(v string)
- func (o *CreateProxyRequest) SetUrl(v string)
- func (o CreateProxyRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateProxyRequest) UnmarshalJSON(data []byte) (err error)
- type Credentials
- func (o *Credentials) GetAccessKey() string
- func (o *Credentials) GetAccessKeyOk() (*string, bool)
- func (o *Credentials) GetAccessSecret() string
- func (o *Credentials) GetAccessSecretOk() (*string, bool)
- func (o Credentials) MarshalJSON() ([]byte, error)
- func (o *Credentials) SetAccessKey(v string)
- func (o *Credentials) SetAccessSecret(v string)
- func (o Credentials) ToMap() (map[string]interface{}, error)
- func (o *Credentials) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest
- func (a *DefaultAPIService) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)
- func (a *DefaultAPIService) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest
- func (a *DefaultAPIService) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error
- func (a *DefaultAPIService) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest
- func (a *DefaultAPIService) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)
- func (a *DefaultAPIService) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest
- func (a *DefaultAPIService) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
- func (a *DefaultAPIService) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest
- func (a *DefaultAPIService) ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
- func (a *DefaultAPIService) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest
- func (a *DefaultAPIService) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest
- func (a DefaultAPIServiceMock) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)
- func (a DefaultAPIServiceMock) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest
- func (a DefaultAPIServiceMock) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error
- func (a DefaultAPIServiceMock) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest
- func (a DefaultAPIServiceMock) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)
- func (a DefaultAPIServiceMock) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest
- func (a DefaultAPIServiceMock) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
- func (a DefaultAPIServiceMock) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest
- func (a DefaultAPIServiceMock) ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
- func (a DefaultAPIServiceMock) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest
- func (a DefaultAPIServiceMock) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
- type ForbiddenErrorResponse
- func (o *ForbiddenErrorResponse) GetError() string
- func (o *ForbiddenErrorResponse) GetErrorOk() (*string, bool)
- func (o *ForbiddenErrorResponse) GetMessage() string
- func (o *ForbiddenErrorResponse) GetMessageOk() (*string, bool)
- func (o *ForbiddenErrorResponse) GetPath() string
- func (o *ForbiddenErrorResponse) GetPathOk() (*string, bool)
- func (o *ForbiddenErrorResponse) GetStatus() int64
- func (o *ForbiddenErrorResponse) GetStatusOk() (*int64, bool)
- func (o *ForbiddenErrorResponse) GetTimestamp() time.Time
- func (o *ForbiddenErrorResponse) GetTimestampOk() (*time.Time, bool)
- func (o *ForbiddenErrorResponse) HasError() bool
- func (o *ForbiddenErrorResponse) HasPath() bool
- func (o *ForbiddenErrorResponse) HasStatus() bool
- func (o *ForbiddenErrorResponse) HasTimestamp() bool
- func (o ForbiddenErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ForbiddenErrorResponse) SetError(v string)
- func (o *ForbiddenErrorResponse) SetMessage(v string)
- func (o *ForbiddenErrorResponse) SetPath(v string)
- func (o *ForbiddenErrorResponse) SetStatus(v int64)
- func (o *ForbiddenErrorResponse) SetTimestamp(v time.Time)
- func (o ForbiddenErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ForbiddenErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GenericErrorResponse
- func (o *GenericErrorResponse) GetDetails() []string
- func (o *GenericErrorResponse) GetDetailsOk() ([]string, bool)
- func (o *GenericErrorResponse) GetMessage() string
- func (o *GenericErrorResponse) GetMessageOk() (*string, bool)
- func (o *GenericErrorResponse) HasDetails() bool
- func (o GenericErrorResponse) MarshalJSON() ([]byte, error)
- func (o *GenericErrorResponse) SetDetails(v []string)
- func (o *GenericErrorResponse) SetMessage(v string)
- func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *GenericErrorResponse) UnmarshalJSON(data []byte) (err error)
- type InternalServerErrorResponse
- func (o *InternalServerErrorResponse) GetDetails() string
- func (o *InternalServerErrorResponse) GetDetailsOk() (*string, bool)
- func (o *InternalServerErrorResponse) GetError() string
- func (o *InternalServerErrorResponse) GetErrorOk() (*string, bool)
- func (o *InternalServerErrorResponse) HasDetails() bool
- func (o *InternalServerErrorResponse) HasError() bool
- func (o InternalServerErrorResponse) MarshalJSON() ([]byte, error)
- func (o *InternalServerErrorResponse) SetDetails(v string)
- func (o *InternalServerErrorResponse) SetError(v string)
- func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *InternalServerErrorResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NotFoundErrorResponse
- func (o *NotFoundErrorResponse) GetError() string
- func (o *NotFoundErrorResponse) GetErrorOk() (*string, bool)
- func (o *NotFoundErrorResponse) GetMessage() string
- func (o *NotFoundErrorResponse) GetMessageOk() (*string, bool)
- func (o *NotFoundErrorResponse) HasError() bool
- func (o NotFoundErrorResponse) MarshalJSON() ([]byte, error)
- func (o *NotFoundErrorResponse) SetError(v string)
- func (o *NotFoundErrorResponse) SetMessage(v string)
- func (o NotFoundErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *NotFoundErrorResponse) UnmarshalJSON(data []byte) (err error)
- type NullableArtifactory
- func (v NullableArtifactory) Get() *Artifactory
- func (v NullableArtifactory) IsSet() bool
- func (v NullableArtifactory) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactory) Set(val *Artifactory)
- func (v *NullableArtifactory) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactory) Unset()
- type NullableArtifactoryList
- func (v NullableArtifactoryList) Get() *ArtifactoryList
- func (v NullableArtifactoryList) IsSet() bool
- func (v NullableArtifactoryList) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactoryList) Set(val *ArtifactoryList)
- func (v *NullableArtifactoryList) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactoryList) Unset()
- type NullableArtifactoryState
- func (v NullableArtifactoryState) Get() *ArtifactoryState
- func (v NullableArtifactoryState) IsSet() bool
- func (v NullableArtifactoryState) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactoryState) Set(val *ArtifactoryState)
- func (v *NullableArtifactoryState) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactoryState) Unset()
- type NullableBadRequestErrorResponse
- func (v NullableBadRequestErrorResponse) Get() *BadRequestErrorResponse
- func (v NullableBadRequestErrorResponse) IsSet() bool
- func (v NullableBadRequestErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestErrorResponse) Set(val *BadRequestErrorResponse)
- func (v *NullableBadRequestErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestErrorResponse) Unset()
- type NullableBool
- type NullableConflictErrorResponse
- func (v NullableConflictErrorResponse) Get() *ConflictErrorResponse
- func (v NullableConflictErrorResponse) IsSet() bool
- func (v NullableConflictErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConflictErrorResponse) Set(val *ConflictErrorResponse)
- func (v *NullableConflictErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConflictErrorResponse) Unset()
- type NullableCreateArtifactoryPayload
- func (v NullableCreateArtifactoryPayload) Get() *CreateArtifactoryPayload
- func (v NullableCreateArtifactoryPayload) IsSet() bool
- func (v NullableCreateArtifactoryPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateArtifactoryPayload) Set(val *CreateArtifactoryPayload)
- func (v *NullableCreateArtifactoryPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateArtifactoryPayload) Unset()
- type NullableCreateProxyRequest
- func (v NullableCreateProxyRequest) Get() *CreateProxyRequest
- func (v NullableCreateProxyRequest) IsSet() bool
- func (v NullableCreateProxyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProxyRequest) Set(val *CreateProxyRequest)
- func (v *NullableCreateProxyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProxyRequest) Unset()
- type NullableCredentials
- func (v NullableCredentials) Get() *Credentials
- func (v NullableCredentials) IsSet() bool
- func (v NullableCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableCredentials) Set(val *Credentials)
- func (v *NullableCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableCredentials) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableForbiddenErrorResponse
- func (v NullableForbiddenErrorResponse) Get() *ForbiddenErrorResponse
- func (v NullableForbiddenErrorResponse) IsSet() bool
- func (v NullableForbiddenErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableForbiddenErrorResponse) Set(val *ForbiddenErrorResponse)
- func (v *NullableForbiddenErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableForbiddenErrorResponse) Unset()
- type NullableGenericErrorResponse
- func (v NullableGenericErrorResponse) Get() *GenericErrorResponse
- func (v NullableGenericErrorResponse) IsSet() bool
- func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
- func (v *NullableGenericErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGenericErrorResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) IsSet() bool
- func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
- func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInternalServerErrorResponse) Unset()
- type NullableNotFoundErrorResponse
- func (v NullableNotFoundErrorResponse) Get() *NotFoundErrorResponse
- func (v NullableNotFoundErrorResponse) IsSet() bool
- func (v NullableNotFoundErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNotFoundErrorResponse) Set(val *NotFoundErrorResponse)
- func (v *NullableNotFoundErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNotFoundErrorResponse) Unset()
- type NullablePatchArtifactoryPayload
- func (v NullablePatchArtifactoryPayload) Get() *PatchArtifactoryPayload
- func (v NullablePatchArtifactoryPayload) IsSet() bool
- func (v NullablePatchArtifactoryPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePatchArtifactoryPayload) Set(val *PatchArtifactoryPayload)
- func (v *NullablePatchArtifactoryPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePatchArtifactoryPayload) Unset()
- type NullableProxy
- type NullableRedactedCredentials
- func (v NullableRedactedCredentials) Get() *RedactedCredentials
- func (v NullableRedactedCredentials) IsSet() bool
- func (v NullableRedactedCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableRedactedCredentials) Set(val *RedactedCredentials)
- func (v *NullableRedactedCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableRedactedCredentials) Unset()
- type NullableReplicationAdapter
- func (v NullableReplicationAdapter) Get() *ReplicationAdapter
- func (v NullableReplicationAdapter) IsSet() bool
- func (v NullableReplicationAdapter) MarshalJSON() ([]byte, error)
- func (v *NullableReplicationAdapter) Set(val *ReplicationAdapter)
- func (v *NullableReplicationAdapter) UnmarshalJSON(src []byte) error
- func (v *NullableReplicationAdapter) Unset()
- type NullableReplicationAdapterCredentialType
- func (v NullableReplicationAdapterCredentialType) Get() *ReplicationAdapterCredentialType
- func (v NullableReplicationAdapterCredentialType) IsSet() bool
- func (v NullableReplicationAdapterCredentialType) MarshalJSON() ([]byte, error)
- func (v *NullableReplicationAdapterCredentialType) Set(val *ReplicationAdapterCredentialType)
- func (v *NullableReplicationAdapterCredentialType) UnmarshalJSON(src []byte) error
- func (v *NullableReplicationAdapterCredentialType) Unset()
- type NullableReplicationAdapterList
- func (v NullableReplicationAdapterList) Get() *ReplicationAdapterList
- func (v NullableReplicationAdapterList) IsSet() bool
- func (v NullableReplicationAdapterList) MarshalJSON() ([]byte, error)
- func (v *NullableReplicationAdapterList) Set(val *ReplicationAdapterList)
- func (v *NullableReplicationAdapterList) UnmarshalJSON(src []byte) error
- func (v *NullableReplicationAdapterList) Unset()
- type NullableString
- type NullableTime
- type NullableUnauthorizedErrorResponse
- func (v NullableUnauthorizedErrorResponse) Get() *UnauthorizedErrorResponse
- func (v NullableUnauthorizedErrorResponse) IsSet() bool
- func (v NullableUnauthorizedErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedErrorResponse) Set(val *UnauthorizedErrorResponse)
- func (v *NullableUnauthorizedErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedErrorResponse) Unset()
- type NullableUpdateProxyRequest
- func (v NullableUpdateProxyRequest) Get() *UpdateProxyRequest
- func (v NullableUpdateProxyRequest) IsSet() bool
- func (v NullableUpdateProxyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProxyRequest) Set(val *UpdateProxyRequest)
- func (v *NullableUpdateProxyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProxyRequest) Unset()
- type PatchArtifactoryPayload
- func (o *PatchArtifactoryPayload) GetProxy() UpdateProxyRequest
- func (o *PatchArtifactoryPayload) GetProxyOk() (*UpdateProxyRequest, bool)
- func (o *PatchArtifactoryPayload) HasProxy() bool
- func (o PatchArtifactoryPayload) MarshalJSON() ([]byte, error)
- func (o *PatchArtifactoryPayload) SetProxy(v UpdateProxyRequest)
- func (o PatchArtifactoryPayload) ToMap() (map[string]interface{}, error)
- func (o *PatchArtifactoryPayload) UnmarshalJSON(data []byte) (err error)
- type Proxy
- func (o *Proxy) GetCredentials() RedactedCredentials
- func (o *Proxy) GetCredentialsOk() (*RedactedCredentials, bool)
- func (o *Proxy) GetDescription() string
- func (o *Proxy) GetDescriptionOk() (*string, bool)
- func (o *Proxy) GetRegistryType() string
- func (o *Proxy) GetRegistryTypeOk() (*string, bool)
- func (o *Proxy) GetUrl() string
- func (o *Proxy) GetUrlOk() (*string, bool)
- func (o *Proxy) HasCredentials() bool
- func (o *Proxy) HasDescription() bool
- func (o Proxy) MarshalJSON() ([]byte, error)
- func (o *Proxy) SetCredentials(v RedactedCredentials)
- func (o *Proxy) SetDescription(v string)
- func (o *Proxy) SetRegistryType(v string)
- func (o *Proxy) SetUrl(v string)
- func (o Proxy) ToMap() (map[string]interface{}, error)
- func (o *Proxy) UnmarshalJSON(data []byte) (err error)
- type RedactedCredentials
- func (o *RedactedCredentials) GetAccessKey() string
- func (o *RedactedCredentials) GetAccessKeyOk() (*string, bool)
- func (o RedactedCredentials) MarshalJSON() ([]byte, error)
- func (o *RedactedCredentials) SetAccessKey(v string)
- func (o RedactedCredentials) ToMap() (map[string]interface{}, error)
- func (o *RedactedCredentials) UnmarshalJSON(data []byte) (err error)
- type ReplicationAdapter
- func (o *ReplicationAdapter) GetCredentialType() ReplicationAdapterCredentialType
- func (o *ReplicationAdapter) GetCredentialTypeOk() (*ReplicationAdapterCredentialType, bool)
- func (o *ReplicationAdapter) GetDisplayName() string
- func (o *ReplicationAdapter) GetDisplayNameOk() (*string, bool)
- func (o *ReplicationAdapter) GetRegistryType() string
- func (o *ReplicationAdapter) GetRegistryTypeOk() (*string, bool)
- func (o ReplicationAdapter) MarshalJSON() ([]byte, error)
- func (o *ReplicationAdapter) SetCredentialType(v ReplicationAdapterCredentialType)
- func (o *ReplicationAdapter) SetDisplayName(v string)
- func (o *ReplicationAdapter) SetRegistryType(v string)
- func (o ReplicationAdapter) ToMap() (map[string]interface{}, error)
- func (o *ReplicationAdapter) UnmarshalJSON(data []byte) (err error)
- type ReplicationAdapterCredentialType
- type ReplicationAdapterList
- func (o *ReplicationAdapterList) GetNextPageToken() string
- func (o *ReplicationAdapterList) GetNextPageTokenOk() (*string, bool)
- func (o *ReplicationAdapterList) GetReplicationAdapters() []ReplicationAdapter
- func (o *ReplicationAdapterList) GetReplicationAdaptersOk() ([]ReplicationAdapter, bool)
- func (o *ReplicationAdapterList) HasNextPageToken() bool
- func (o ReplicationAdapterList) MarshalJSON() ([]byte, error)
- func (o *ReplicationAdapterList) SetNextPageToken(v string)
- func (o *ReplicationAdapterList) SetReplicationAdapters(v []ReplicationAdapter)
- func (o ReplicationAdapterList) ToMap() (map[string]interface{}, error)
- func (o *ReplicationAdapterList) UnmarshalJSON(data []byte) (err error)
- type UnauthorizedErrorResponse
- func (o *UnauthorizedErrorResponse) GetError() string
- func (o *UnauthorizedErrorResponse) GetErrorOk() (*string, bool)
- func (o *UnauthorizedErrorResponse) GetMessage() string
- func (o *UnauthorizedErrorResponse) GetMessageOk() (*string, bool)
- func (o *UnauthorizedErrorResponse) GetPath() string
- func (o *UnauthorizedErrorResponse) GetPathOk() (*string, bool)
- func (o *UnauthorizedErrorResponse) GetStatus() int64
- func (o *UnauthorizedErrorResponse) GetStatusOk() (*int64, bool)
- func (o *UnauthorizedErrorResponse) GetTimestamp() time.Time
- func (o *UnauthorizedErrorResponse) GetTimestampOk() (*time.Time, bool)
- func (o *UnauthorizedErrorResponse) HasError() bool
- func (o *UnauthorizedErrorResponse) HasPath() bool
- func (o *UnauthorizedErrorResponse) HasStatus() bool
- func (o *UnauthorizedErrorResponse) HasTimestamp() bool
- func (o UnauthorizedErrorResponse) MarshalJSON() ([]byte, error)
- func (o *UnauthorizedErrorResponse) SetError(v string)
- func (o *UnauthorizedErrorResponse) SetMessage(v string)
- func (o *UnauthorizedErrorResponse) SetPath(v string)
- func (o *UnauthorizedErrorResponse) SetStatus(v int64)
- func (o *UnauthorizedErrorResponse) SetTimestamp(v time.Time)
- func (o UnauthorizedErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *UnauthorizedErrorResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateProxyRequest
- func (o *UpdateProxyRequest) GetCredentials() Credentials
- func (o *UpdateProxyRequest) GetCredentialsOk() (*Credentials, bool)
- func (o *UpdateProxyRequest) GetDescription() string
- func (o *UpdateProxyRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateProxyRequest) GetUrl() string
- func (o *UpdateProxyRequest) GetUrlOk() (*string, bool)
- func (o *UpdateProxyRequest) HasCredentials() bool
- func (o *UpdateProxyRequest) HasDescription() bool
- func (o *UpdateProxyRequest) HasUrl() bool
- func (o UpdateProxyRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateProxyRequest) SetCredentials(v Credentials)
- func (o *UpdateProxyRequest) SetDescription(v string)
- func (o *UpdateProxyRequest) SetUrl(v string)
- func (o UpdateProxyRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateProxyRequest) 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 AllowedArtifactoryStateEnumValues = []ArtifactoryState{
"Reconciling",
"Active",
"Deleted",
"Error",
"unknown_default_open_api",
}
All allowed values of ArtifactoryState enum
var AllowedReplicationAdapterCredentialTypeEnumValues = []ReplicationAdapterCredentialType{
"basic",
"oauth",
"secret",
"unknown_default_open_api",
}
All allowed values of ReplicationAdapterCredentialType 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 Container Registry API API v1.0.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 ApiCreateArtifactoryRequest ¶
type ApiCreateArtifactoryRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateArtifactoryRequest) Claim ¶
func (r ApiCreateArtifactoryRequest) Claim(claim bool) ApiCreateArtifactoryRequest
If true, claims ownership of an existing Harbor project instead of creating a new one.
func (ApiCreateArtifactoryRequest) CreateArtifactoryPayload ¶
func (r ApiCreateArtifactoryRequest) CreateArtifactoryPayload(createArtifactoryPayload CreateArtifactoryPayload) ApiCreateArtifactoryRequest
CreateArtifactory request data
func (ApiCreateArtifactoryRequest) Execute ¶
func (r ApiCreateArtifactoryRequest) Execute() (*Artifactory, error)
type ApiDeleteArtifactoryRequest ¶
type ApiDeleteArtifactoryRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteArtifactoryRequest) Execute ¶
func (r ApiDeleteArtifactoryRequest) Execute() error
type ApiGetArtifactoryRequest ¶
type ApiGetArtifactoryRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetArtifactoryRequest) Execute ¶
func (r ApiGetArtifactoryRequest) Execute() (*Artifactory, error)
type ApiListArtifactoriesRequest ¶
type ApiListArtifactoriesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListArtifactoriesRequest) Execute ¶
func (r ApiListArtifactoriesRequest) Execute() (*ArtifactoryList, error)
func (ApiListArtifactoriesRequest) NextPageToken ¶
func (r ApiListArtifactoriesRequest) NextPageToken(nextPageToken string) ApiListArtifactoriesRequest
A page token, received from a previous `ListArtifactories` call. Provide this to retrieve the subsequent page.
func (ApiListArtifactoriesRequest) PageSize ¶
func (r ApiListArtifactoriesRequest) PageSize(pageSize int32) ApiListArtifactoriesRequest
The maximum number of artifactories to return. The service may return fewer than this value.
type ApiListReplicationAdaptersRequest ¶
type ApiListReplicationAdaptersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListReplicationAdaptersRequest) Execute ¶
func (r ApiListReplicationAdaptersRequest) Execute() (*ReplicationAdapterList, error)
type ApiPatchArtifactoryRequest ¶
type ApiPatchArtifactoryRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPatchArtifactoryRequest) Execute ¶
func (r ApiPatchArtifactoryRequest) Execute() (*Artifactory, error)
func (ApiPatchArtifactoryRequest) PatchArtifactoryPayload ¶
func (r ApiPatchArtifactoryRequest) PatchArtifactoryPayload(patchArtifactoryPayload PatchArtifactoryPayload) ApiPatchArtifactoryRequest
Patch artifactory request
type Artifactory ¶
type Artifactory struct {
// How many bytes of quota is consumed. Read Only.
ConsumedQuotaBytes int64 `json:"consumed_quota_bytes"`
// The date and time the creation of the STACKIT Artifactory was triggered.
CreateTime time.Time `json:"create_time"`
// A auto generated unique id which identifies the STACKIT Artifactory.
Id string `json:"id"`
// A user chosen name to distinguish multiple STACKIT Artifactories.
Name string `json:"name"`
Proxy *Proxy `json:"proxy,omitempty"`
State ArtifactoryState `json:"state"`
// The base URL of the STACKIT Artifactory.
Url string `json:"url"`
AdditionalProperties map[string]interface{}
}
Artifactory Artifactory Information.
func NewArtifactory ¶
func NewArtifactory(consumedQuotaBytes int64, createTime time.Time, id string, name string, state ArtifactoryState, url string) *Artifactory
NewArtifactory instantiates a new Artifactory 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 NewArtifactoryWithDefaults ¶
func NewArtifactoryWithDefaults() *Artifactory
NewArtifactoryWithDefaults instantiates a new Artifactory 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 (*Artifactory) GetConsumedQuotaBytes ¶
func (o *Artifactory) GetConsumedQuotaBytes() int64
GetConsumedQuotaBytes returns the ConsumedQuotaBytes field value
func (*Artifactory) GetConsumedQuotaBytesOk ¶
func (o *Artifactory) GetConsumedQuotaBytesOk() (*int64, bool)
GetConsumedQuotaBytesOk returns a tuple with the ConsumedQuotaBytes field value and a boolean to check if the value has been set.
func (*Artifactory) GetCreateTime ¶
func (o *Artifactory) GetCreateTime() time.Time
GetCreateTime returns the CreateTime field value
func (*Artifactory) GetCreateTimeOk ¶
func (o *Artifactory) GetCreateTimeOk() (*time.Time, bool)
GetCreateTimeOk returns a tuple with the CreateTime field value and a boolean to check if the value has been set.
func (*Artifactory) GetIdOk ¶
func (o *Artifactory) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Artifactory) GetName ¶
func (o *Artifactory) GetName() string
GetName returns the Name field value
func (*Artifactory) GetNameOk ¶
func (o *Artifactory) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Artifactory) GetProxy ¶
func (o *Artifactory) GetProxy() Proxy
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*Artifactory) GetProxyOk ¶
func (o *Artifactory) GetProxyOk() (*Proxy, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Artifactory) GetState ¶
func (o *Artifactory) GetState() ArtifactoryState
GetState returns the State field value
func (*Artifactory) GetStateOk ¶
func (o *Artifactory) GetStateOk() (*ArtifactoryState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Artifactory) GetUrl ¶
func (o *Artifactory) GetUrl() string
GetUrl returns the Url field value
func (*Artifactory) GetUrlOk ¶
func (o *Artifactory) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Artifactory) HasProxy ¶
func (o *Artifactory) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (Artifactory) MarshalJSON ¶
func (o Artifactory) MarshalJSON() ([]byte, error)
func (*Artifactory) SetConsumedQuotaBytes ¶
func (o *Artifactory) SetConsumedQuotaBytes(v int64)
SetConsumedQuotaBytes sets field value
func (*Artifactory) SetCreateTime ¶
func (o *Artifactory) SetCreateTime(v time.Time)
SetCreateTime sets field value
func (*Artifactory) SetProxy ¶
func (o *Artifactory) SetProxy(v Proxy)
SetProxy gets a reference to the given Proxy and assigns it to the Proxy field.
func (*Artifactory) SetState ¶
func (o *Artifactory) SetState(v ArtifactoryState)
SetState sets field value
func (Artifactory) ToMap ¶
func (o Artifactory) ToMap() (map[string]interface{}, error)
func (*Artifactory) UnmarshalJSON ¶
func (o *Artifactory) UnmarshalJSON(data []byte) (err error)
type ArtifactoryList ¶
type ArtifactoryList struct {
Artifactories []Artifactory `json:"artifactories"`
// A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages.
NextPageToken *string `json:"next_page_token,omitempty"`
AdditionalProperties map[string]interface{}
}
ArtifactoryList A list of artifactories inside a STACKIT project.
func NewArtifactoryList ¶
func NewArtifactoryList(artifactories []Artifactory) *ArtifactoryList
NewArtifactoryList instantiates a new ArtifactoryList 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 NewArtifactoryListWithDefaults ¶
func NewArtifactoryListWithDefaults() *ArtifactoryList
NewArtifactoryListWithDefaults instantiates a new ArtifactoryList 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 (*ArtifactoryList) GetArtifactories ¶
func (o *ArtifactoryList) GetArtifactories() []Artifactory
GetArtifactories returns the Artifactories field value
func (*ArtifactoryList) GetArtifactoriesOk ¶
func (o *ArtifactoryList) GetArtifactoriesOk() ([]Artifactory, bool)
GetArtifactoriesOk returns a tuple with the Artifactories field value and a boolean to check if the value has been set.
func (*ArtifactoryList) GetNextPageToken ¶
func (o *ArtifactoryList) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*ArtifactoryList) GetNextPageTokenOk ¶
func (o *ArtifactoryList) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactoryList) HasNextPageToken ¶
func (o *ArtifactoryList) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (ArtifactoryList) MarshalJSON ¶
func (o ArtifactoryList) MarshalJSON() ([]byte, error)
func (*ArtifactoryList) SetArtifactories ¶
func (o *ArtifactoryList) SetArtifactories(v []Artifactory)
SetArtifactories sets field value
func (*ArtifactoryList) SetNextPageToken ¶
func (o *ArtifactoryList) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (ArtifactoryList) ToMap ¶
func (o ArtifactoryList) ToMap() (map[string]interface{}, error)
func (*ArtifactoryList) UnmarshalJSON ¶
func (o *ArtifactoryList) UnmarshalJSON(data []byte) (err error)
type ArtifactoryState ¶
type ArtifactoryState string
ArtifactoryState The current state of the STACKIT Artifactory.
const ( ARTIFACTORYSTATE_RECONCILING ArtifactoryState = "Reconciling" ARTIFACTORYSTATE_ACTIVE ArtifactoryState = "Active" ARTIFACTORYSTATE_DELETED ArtifactoryState = "Deleted" ARTIFACTORYSTATE_ERROR ArtifactoryState = "Error" ARTIFACTORYSTATE_UNKNOWN_DEFAULT_OPEN_API ArtifactoryState = "unknown_default_open_api" )
List of Artifactory_state
func NewArtifactoryStateFromValue ¶
func NewArtifactoryStateFromValue(v string) (*ArtifactoryState, error)
NewArtifactoryStateFromValue returns a pointer to a valid ArtifactoryState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ArtifactoryState) IsValid ¶
func (v ArtifactoryState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ArtifactoryState) Ptr ¶
func (v ArtifactoryState) Ptr() *ArtifactoryState
Ptr returns reference to Artifactory_state value
func (*ArtifactoryState) UnmarshalJSON ¶
func (v *ArtifactoryState) UnmarshalJSON(src []byte) error
type BadRequestErrorResponse ¶
type BadRequestErrorResponse struct {
Error *string `json:"error,omitempty"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
BadRequestErrorResponse 400 Error Response.
func NewBadRequestErrorResponse ¶
func NewBadRequestErrorResponse(message string) *BadRequestErrorResponse
NewBadRequestErrorResponse instantiates a new BadRequestErrorResponse 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 NewBadRequestErrorResponseWithDefaults ¶
func NewBadRequestErrorResponseWithDefaults() *BadRequestErrorResponse
NewBadRequestErrorResponseWithDefaults instantiates a new BadRequestErrorResponse 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 (*BadRequestErrorResponse) GetError ¶
func (o *BadRequestErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*BadRequestErrorResponse) GetErrorOk ¶
func (o *BadRequestErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequestErrorResponse) GetMessage ¶
func (o *BadRequestErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*BadRequestErrorResponse) GetMessageOk ¶
func (o *BadRequestErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*BadRequestErrorResponse) HasError ¶
func (o *BadRequestErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (BadRequestErrorResponse) MarshalJSON ¶
func (o BadRequestErrorResponse) MarshalJSON() ([]byte, error)
func (*BadRequestErrorResponse) SetError ¶
func (o *BadRequestErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*BadRequestErrorResponse) SetMessage ¶
func (o *BadRequestErrorResponse) SetMessage(v string)
SetMessage sets field value
func (BadRequestErrorResponse) ToMap ¶
func (o BadRequestErrorResponse) ToMap() (map[string]interface{}, error)
func (*BadRequestErrorResponse) UnmarshalJSON ¶
func (o *BadRequestErrorResponse) UnmarshalJSON(data []byte) (err error)
type ConflictErrorResponse ¶
type ConflictErrorResponse struct {
Error *string `json:"error,omitempty"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
ConflictErrorResponse 409 Error Response.
func NewConflictErrorResponse ¶
func NewConflictErrorResponse(message string) *ConflictErrorResponse
NewConflictErrorResponse instantiates a new ConflictErrorResponse 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 NewConflictErrorResponseWithDefaults ¶
func NewConflictErrorResponseWithDefaults() *ConflictErrorResponse
NewConflictErrorResponseWithDefaults instantiates a new ConflictErrorResponse 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 (*ConflictErrorResponse) GetError ¶
func (o *ConflictErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ConflictErrorResponse) GetErrorOk ¶
func (o *ConflictErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConflictErrorResponse) GetMessage ¶
func (o *ConflictErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ConflictErrorResponse) GetMessageOk ¶
func (o *ConflictErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ConflictErrorResponse) HasError ¶
func (o *ConflictErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (ConflictErrorResponse) MarshalJSON ¶
func (o ConflictErrorResponse) MarshalJSON() ([]byte, error)
func (*ConflictErrorResponse) SetError ¶
func (o *ConflictErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ConflictErrorResponse) SetMessage ¶
func (o *ConflictErrorResponse) SetMessage(v string)
SetMessage sets field value
func (ConflictErrorResponse) ToMap ¶
func (o ConflictErrorResponse) ToMap() (map[string]interface{}, error)
func (*ConflictErrorResponse) UnmarshalJSON ¶
func (o *ConflictErrorResponse) UnmarshalJSON(data []byte) (err error)
type CreateArtifactoryPayload ¶
type CreateArtifactoryPayload struct {
// A user chosen name to distinguish multiple STACKIT Artifactories.
Name string `json:"name" validate:"regexp=^[a-z0-9]+(?:[._-][a-z0-9]+)*$"`
// If proxy configuration is provided, this project will be created as a proxy-cache for the upstream registry.
Proxy *CreateProxyRequest `json:"proxy,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateArtifactoryPayload CreateArtifactory request data.
func NewCreateArtifactoryPayload ¶
func NewCreateArtifactoryPayload(name string) *CreateArtifactoryPayload
NewCreateArtifactoryPayload instantiates a new CreateArtifactoryPayload 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 NewCreateArtifactoryPayloadWithDefaults ¶
func NewCreateArtifactoryPayloadWithDefaults() *CreateArtifactoryPayload
NewCreateArtifactoryPayloadWithDefaults instantiates a new CreateArtifactoryPayload 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 (*CreateArtifactoryPayload) GetName ¶
func (o *CreateArtifactoryPayload) GetName() string
GetName returns the Name field value
func (*CreateArtifactoryPayload) GetNameOk ¶
func (o *CreateArtifactoryPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateArtifactoryPayload) GetProxy ¶
func (o *CreateArtifactoryPayload) GetProxy() CreateProxyRequest
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*CreateArtifactoryPayload) GetProxyOk ¶
func (o *CreateArtifactoryPayload) GetProxyOk() (*CreateProxyRequest, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateArtifactoryPayload) HasProxy ¶
func (o *CreateArtifactoryPayload) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (CreateArtifactoryPayload) MarshalJSON ¶
func (o CreateArtifactoryPayload) MarshalJSON() ([]byte, error)
func (*CreateArtifactoryPayload) SetName ¶
func (o *CreateArtifactoryPayload) SetName(v string)
SetName sets field value
func (*CreateArtifactoryPayload) SetProxy ¶
func (o *CreateArtifactoryPayload) SetProxy(v CreateProxyRequest)
SetProxy gets a reference to the given CreateProxyRequest and assigns it to the Proxy field.
func (CreateArtifactoryPayload) ToMap ¶
func (o CreateArtifactoryPayload) ToMap() (map[string]interface{}, error)
func (*CreateArtifactoryPayload) UnmarshalJSON ¶
func (o *CreateArtifactoryPayload) UnmarshalJSON(data []byte) (err error)
type CreateProxyRequest ¶
type CreateProxyRequest struct {
Credentials *Credentials `json:"credentials,omitempty"`
// Description of the registry.
Description *string `json:"description,omitempty"`
// Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters
RegistryType string `json:"registry_type"`
// Upstream registry url to proxy
Url string `json:"url"`
AdditionalProperties map[string]interface{}
}
CreateProxyRequest Provide an upstream repository this project is a proxy for
func NewCreateProxyRequest ¶
func NewCreateProxyRequest(registryType string, url string) *CreateProxyRequest
NewCreateProxyRequest instantiates a new CreateProxyRequest 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 NewCreateProxyRequestWithDefaults ¶
func NewCreateProxyRequestWithDefaults() *CreateProxyRequest
NewCreateProxyRequestWithDefaults instantiates a new CreateProxyRequest 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 (*CreateProxyRequest) GetCredentials ¶
func (o *CreateProxyRequest) GetCredentials() Credentials
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*CreateProxyRequest) GetCredentialsOk ¶
func (o *CreateProxyRequest) GetCredentialsOk() (*Credentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProxyRequest) GetDescription ¶
func (o *CreateProxyRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateProxyRequest) GetDescriptionOk ¶
func (o *CreateProxyRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProxyRequest) GetRegistryType ¶
func (o *CreateProxyRequest) GetRegistryType() string
GetRegistryType returns the RegistryType field value
func (*CreateProxyRequest) GetRegistryTypeOk ¶
func (o *CreateProxyRequest) GetRegistryTypeOk() (*string, bool)
GetRegistryTypeOk returns a tuple with the RegistryType field value and a boolean to check if the value has been set.
func (*CreateProxyRequest) GetUrl ¶
func (o *CreateProxyRequest) GetUrl() string
GetUrl returns the Url field value
func (*CreateProxyRequest) GetUrlOk ¶
func (o *CreateProxyRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*CreateProxyRequest) HasCredentials ¶
func (o *CreateProxyRequest) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (*CreateProxyRequest) HasDescription ¶
func (o *CreateProxyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateProxyRequest) MarshalJSON ¶
func (o CreateProxyRequest) MarshalJSON() ([]byte, error)
func (*CreateProxyRequest) SetCredentials ¶
func (o *CreateProxyRequest) SetCredentials(v Credentials)
SetCredentials gets a reference to the given Credentials and assigns it to the Credentials field.
func (*CreateProxyRequest) SetDescription ¶
func (o *CreateProxyRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateProxyRequest) SetRegistryType ¶
func (o *CreateProxyRequest) SetRegistryType(v string)
SetRegistryType sets field value
func (*CreateProxyRequest) SetUrl ¶
func (o *CreateProxyRequest) SetUrl(v string)
SetUrl sets field value
func (CreateProxyRequest) ToMap ¶
func (o CreateProxyRequest) ToMap() (map[string]interface{}, error)
func (*CreateProxyRequest) UnmarshalJSON ¶
func (o *CreateProxyRequest) UnmarshalJSON(data []byte) (err error)
type Credentials ¶
type Credentials struct {
AccessKey string `json:"access_key"`
AccessSecret string `json:"access_secret"`
AdditionalProperties map[string]interface{}
}
Credentials Credentials for upstream registry
func NewCredentials ¶
func NewCredentials(accessKey string, accessSecret string) *Credentials
NewCredentials instantiates a new Credentials 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 NewCredentialsWithDefaults ¶
func NewCredentialsWithDefaults() *Credentials
NewCredentialsWithDefaults instantiates a new Credentials 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 (*Credentials) GetAccessKey ¶
func (o *Credentials) GetAccessKey() string
GetAccessKey returns the AccessKey field value
func (*Credentials) GetAccessKeyOk ¶
func (o *Credentials) GetAccessKeyOk() (*string, bool)
GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set.
func (*Credentials) GetAccessSecret ¶
func (o *Credentials) GetAccessSecret() string
GetAccessSecret returns the AccessSecret field value
func (*Credentials) GetAccessSecretOk ¶
func (o *Credentials) GetAccessSecretOk() (*string, bool)
GetAccessSecretOk returns a tuple with the AccessSecret field value and a boolean to check if the value has been set.
func (Credentials) MarshalJSON ¶
func (o Credentials) MarshalJSON() ([]byte, error)
func (*Credentials) SetAccessKey ¶
func (o *Credentials) SetAccessKey(v string)
SetAccessKey sets field value
func (*Credentials) SetAccessSecret ¶
func (o *Credentials) SetAccessSecret(v string)
SetAccessSecret sets field value
func (Credentials) ToMap ¶
func (o Credentials) ToMap() (map[string]interface{}, error)
func (*Credentials) UnmarshalJSON ¶
func (o *Credentials) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateArtifactory Creates an artifactory
Creates an artifactory associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiCreateArtifactoryRequest
*/
CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest
// CreateArtifactoryExecute executes the request
// @return Artifactory
CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)
/*
DeleteArtifactory Delete the artifactory.
Deletes the artifactory associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiDeleteArtifactoryRequest
*/
DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest
// DeleteArtifactoryExecute executes the request
DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error
/*
GetArtifactory Get Artifactory information.
Retrieves information about a STACKIT Artifactory.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiGetArtifactoryRequest
*/
GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest
// GetArtifactoryExecute executes the request
// @return Artifactory
GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)
/*
ListArtifactories List artifactories inside a STACKIT project
Lists all artifactories associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiListArtifactoriesRequest
*/
ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest
// ListArtifactoriesExecute executes the request
// @return ArtifactoryList
ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
/*
ListReplicationAdapters Method for ListReplicationAdapters
List available adapters for replication to/from other registries
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiListReplicationAdaptersRequest
*/
ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest
// ListReplicationAdaptersExecute executes the request
// @return ReplicationAdapterList
ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
/*
PatchArtifactory Method for PatchArtifactory
Update Artifactory
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiPatchArtifactoryRequest
*/
PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest
// PatchArtifactoryExecute executes the request
// @return Artifactory
PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateArtifactory ¶
func (a *DefaultAPIService) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest
CreateArtifactory Creates an artifactory
Creates an artifactory associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @return ApiCreateArtifactoryRequest
func (*DefaultAPIService) CreateArtifactoryExecute ¶
func (a *DefaultAPIService) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)
Execute executes the request
@return Artifactory
func (*DefaultAPIService) DeleteArtifactory ¶
func (a *DefaultAPIService) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest
DeleteArtifactory Delete the artifactory.
Deletes the artifactory associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @param artifactoryId Artifactory identifier. @return ApiDeleteArtifactoryRequest
func (*DefaultAPIService) DeleteArtifactoryExecute ¶
func (a *DefaultAPIService) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error
Execute executes the request
func (*DefaultAPIService) GetArtifactory ¶
func (a *DefaultAPIService) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest
GetArtifactory Get Artifactory information.
Retrieves information about a STACKIT Artifactory.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @param artifactoryId Artifactory identifier. @return ApiGetArtifactoryRequest
func (*DefaultAPIService) GetArtifactoryExecute ¶
func (a *DefaultAPIService) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)
Execute executes the request
@return Artifactory
func (*DefaultAPIService) ListArtifactories ¶
func (a *DefaultAPIService) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest
ListArtifactories List artifactories inside a STACKIT project
Lists all artifactories associated to the specified project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @return ApiListArtifactoriesRequest
func (*DefaultAPIService) ListArtifactoriesExecute ¶
func (a *DefaultAPIService) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
Execute executes the request
@return ArtifactoryList
func (*DefaultAPIService) ListReplicationAdapters ¶
func (a *DefaultAPIService) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest
ListReplicationAdapters Method for ListReplicationAdapters
List available adapters for replication to/from other registries
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @return ApiListReplicationAdaptersRequest
func (*DefaultAPIService) ListReplicationAdaptersExecute ¶
func (a *DefaultAPIService) ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
Execute executes the request
@return ReplicationAdapterList
func (*DefaultAPIService) PatchArtifactory ¶
func (a *DefaultAPIService) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest
PatchArtifactory Method for PatchArtifactory
Update Artifactory
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param regionId STACKIT region identification @param artifactoryId Artifactory identifier. @return ApiPatchArtifactoryRequest
func (*DefaultAPIService) PatchArtifactoryExecute ¶
func (a *DefaultAPIService) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
Execute executes the request
@return Artifactory
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateArtifactoryExecuteMock can be populated to implement the behavior of the CreateArtifactoryExecute function of this mock
CreateArtifactoryExecuteMock *func(r ApiCreateArtifactoryRequest) (*Artifactory, error)
// DeleteArtifactoryExecuteMock can be populated to implement the behavior of the DeleteArtifactoryExecute function of this mock
DeleteArtifactoryExecuteMock *func(r ApiDeleteArtifactoryRequest) error
// GetArtifactoryExecuteMock can be populated to implement the behavior of the GetArtifactoryExecute function of this mock
GetArtifactoryExecuteMock *func(r ApiGetArtifactoryRequest) (*Artifactory, error)
// ListArtifactoriesExecuteMock can be populated to implement the behavior of the ListArtifactoriesExecute function of this mock
ListArtifactoriesExecuteMock *func(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
// ListReplicationAdaptersExecuteMock can be populated to implement the behavior of the ListReplicationAdaptersExecute function of this mock
ListReplicationAdaptersExecuteMock *func(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
// PatchArtifactoryExecuteMock can be populated to implement the behavior of the PatchArtifactoryExecute function of this mock
PatchArtifactoryExecuteMock *func(r ApiPatchArtifactoryRequest) (*Artifactory, 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) CreateArtifactory ¶
func (a DefaultAPIServiceMock) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest
func (DefaultAPIServiceMock) CreateArtifactoryExecute ¶
func (a DefaultAPIServiceMock) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)
CreateArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteArtifactory ¶
func (a DefaultAPIServiceMock) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest
func (DefaultAPIServiceMock) DeleteArtifactoryExecute ¶
func (a DefaultAPIServiceMock) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error
DeleteArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetArtifactory ¶
func (a DefaultAPIServiceMock) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest
func (DefaultAPIServiceMock) GetArtifactoryExecute ¶
func (a DefaultAPIServiceMock) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)
GetArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListArtifactories ¶
func (a DefaultAPIServiceMock) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest
func (DefaultAPIServiceMock) ListArtifactoriesExecute ¶
func (a DefaultAPIServiceMock) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
ListArtifactoriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListArtifactoriesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListReplicationAdapters ¶
func (a DefaultAPIServiceMock) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest
func (DefaultAPIServiceMock) ListReplicationAdaptersExecute ¶
func (a DefaultAPIServiceMock) ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
ListReplicationAdaptersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListReplicationAdaptersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PatchArtifactory ¶
func (a DefaultAPIServiceMock) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest
func (DefaultAPIServiceMock) PatchArtifactoryExecute ¶
func (a DefaultAPIServiceMock) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
PatchArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.
type ForbiddenErrorResponse ¶
type ForbiddenErrorResponse struct {
Error *string `json:"error,omitempty"`
Message string `json:"message"`
Path *string `json:"path,omitempty"`
Status *int64 `json:"status,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{}
}
ForbiddenErrorResponse Forbidden Error Response.
func NewForbiddenErrorResponse ¶
func NewForbiddenErrorResponse(message string) *ForbiddenErrorResponse
NewForbiddenErrorResponse instantiates a new ForbiddenErrorResponse 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 NewForbiddenErrorResponseWithDefaults ¶
func NewForbiddenErrorResponseWithDefaults() *ForbiddenErrorResponse
NewForbiddenErrorResponseWithDefaults instantiates a new ForbiddenErrorResponse 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 (*ForbiddenErrorResponse) GetError ¶
func (o *ForbiddenErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ForbiddenErrorResponse) GetErrorOk ¶
func (o *ForbiddenErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForbiddenErrorResponse) GetMessage ¶
func (o *ForbiddenErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ForbiddenErrorResponse) GetMessageOk ¶
func (o *ForbiddenErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ForbiddenErrorResponse) GetPath ¶
func (o *ForbiddenErrorResponse) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*ForbiddenErrorResponse) GetPathOk ¶
func (o *ForbiddenErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForbiddenErrorResponse) GetStatus ¶
func (o *ForbiddenErrorResponse) GetStatus() int64
GetStatus returns the Status field value if set, zero value otherwise.
func (*ForbiddenErrorResponse) GetStatusOk ¶
func (o *ForbiddenErrorResponse) GetStatusOk() (*int64, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForbiddenErrorResponse) GetTimestamp ¶
func (o *ForbiddenErrorResponse) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ForbiddenErrorResponse) GetTimestampOk ¶
func (o *ForbiddenErrorResponse) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForbiddenErrorResponse) HasError ¶
func (o *ForbiddenErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ForbiddenErrorResponse) HasPath ¶
func (o *ForbiddenErrorResponse) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*ForbiddenErrorResponse) HasStatus ¶
func (o *ForbiddenErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ForbiddenErrorResponse) HasTimestamp ¶
func (o *ForbiddenErrorResponse) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (ForbiddenErrorResponse) MarshalJSON ¶
func (o ForbiddenErrorResponse) MarshalJSON() ([]byte, error)
func (*ForbiddenErrorResponse) SetError ¶
func (o *ForbiddenErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ForbiddenErrorResponse) SetMessage ¶
func (o *ForbiddenErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*ForbiddenErrorResponse) SetPath ¶
func (o *ForbiddenErrorResponse) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ForbiddenErrorResponse) SetStatus ¶
func (o *ForbiddenErrorResponse) SetStatus(v int64)
SetStatus gets a reference to the given int64 and assigns it to the Status field.
func (*ForbiddenErrorResponse) SetTimestamp ¶
func (o *ForbiddenErrorResponse) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (ForbiddenErrorResponse) ToMap ¶
func (o ForbiddenErrorResponse) ToMap() (map[string]interface{}, error)
func (*ForbiddenErrorResponse) UnmarshalJSON ¶
func (o *ForbiddenErrorResponse) UnmarshalJSON(data []byte) (err error)
type GenericErrorResponse ¶
type GenericErrorResponse struct {
Details []string `json:"details,omitempty"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
GenericErrorResponse Generic Error Response.
func NewGenericErrorResponse ¶
func NewGenericErrorResponse(message string) *GenericErrorResponse
NewGenericErrorResponse instantiates a new GenericErrorResponse 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 NewGenericErrorResponseWithDefaults ¶
func NewGenericErrorResponseWithDefaults() *GenericErrorResponse
NewGenericErrorResponseWithDefaults instantiates a new GenericErrorResponse 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 (*GenericErrorResponse) GetDetails ¶
func (o *GenericErrorResponse) GetDetails() []string
GetDetails returns the Details field value if set, zero value otherwise.
func (*GenericErrorResponse) GetDetailsOk ¶
func (o *GenericErrorResponse) GetDetailsOk() ([]string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenericErrorResponse) GetMessage ¶
func (o *GenericErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*GenericErrorResponse) GetMessageOk ¶
func (o *GenericErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*GenericErrorResponse) HasDetails ¶
func (o *GenericErrorResponse) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (GenericErrorResponse) MarshalJSON ¶
func (o GenericErrorResponse) MarshalJSON() ([]byte, error)
func (*GenericErrorResponse) SetDetails ¶
func (o *GenericErrorResponse) SetDetails(v []string)
SetDetails gets a reference to the given []string and assigns it to the Details field.
func (*GenericErrorResponse) SetMessage ¶
func (o *GenericErrorResponse) SetMessage(v string)
SetMessage sets field value
func (GenericErrorResponse) ToMap ¶
func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)
func (*GenericErrorResponse) UnmarshalJSON ¶
func (o *GenericErrorResponse) UnmarshalJSON(data []byte) (err error)
type InternalServerErrorResponse ¶
type InternalServerErrorResponse struct {
Details *string `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
InternalServerErrorResponse Internal server error.
func NewInternalServerErrorResponse ¶
func NewInternalServerErrorResponse() *InternalServerErrorResponse
NewInternalServerErrorResponse instantiates a new InternalServerErrorResponse 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 NewInternalServerErrorResponseWithDefaults ¶
func NewInternalServerErrorResponseWithDefaults() *InternalServerErrorResponse
NewInternalServerErrorResponseWithDefaults instantiates a new InternalServerErrorResponse 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 (*InternalServerErrorResponse) GetDetails ¶
func (o *InternalServerErrorResponse) GetDetails() string
GetDetails returns the Details field value if set, zero value otherwise.
func (*InternalServerErrorResponse) GetDetailsOk ¶
func (o *InternalServerErrorResponse) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalServerErrorResponse) GetError ¶
func (o *InternalServerErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*InternalServerErrorResponse) GetErrorOk ¶
func (o *InternalServerErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalServerErrorResponse) HasDetails ¶
func (o *InternalServerErrorResponse) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*InternalServerErrorResponse) HasError ¶
func (o *InternalServerErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (InternalServerErrorResponse) MarshalJSON ¶
func (o InternalServerErrorResponse) MarshalJSON() ([]byte, error)
func (*InternalServerErrorResponse) SetDetails ¶
func (o *InternalServerErrorResponse) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*InternalServerErrorResponse) SetError ¶
func (o *InternalServerErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (InternalServerErrorResponse) ToMap ¶
func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)
func (*InternalServerErrorResponse) UnmarshalJSON ¶
func (o *InternalServerErrorResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NotFoundErrorResponse ¶
type NotFoundErrorResponse struct {
Error *string `json:"error,omitempty"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
NotFoundErrorResponse 404 Error Response.
func NewNotFoundErrorResponse ¶
func NewNotFoundErrorResponse(message string) *NotFoundErrorResponse
NewNotFoundErrorResponse instantiates a new NotFoundErrorResponse 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 NewNotFoundErrorResponseWithDefaults ¶
func NewNotFoundErrorResponseWithDefaults() *NotFoundErrorResponse
NewNotFoundErrorResponseWithDefaults instantiates a new NotFoundErrorResponse 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 (*NotFoundErrorResponse) GetError ¶
func (o *NotFoundErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*NotFoundErrorResponse) GetErrorOk ¶
func (o *NotFoundErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotFoundErrorResponse) GetMessage ¶
func (o *NotFoundErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*NotFoundErrorResponse) GetMessageOk ¶
func (o *NotFoundErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*NotFoundErrorResponse) HasError ¶
func (o *NotFoundErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (NotFoundErrorResponse) MarshalJSON ¶
func (o NotFoundErrorResponse) MarshalJSON() ([]byte, error)
func (*NotFoundErrorResponse) SetError ¶
func (o *NotFoundErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*NotFoundErrorResponse) SetMessage ¶
func (o *NotFoundErrorResponse) SetMessage(v string)
SetMessage sets field value
func (NotFoundErrorResponse) ToMap ¶
func (o NotFoundErrorResponse) ToMap() (map[string]interface{}, error)
func (*NotFoundErrorResponse) UnmarshalJSON ¶
func (o *NotFoundErrorResponse) UnmarshalJSON(data []byte) (err error)
type NullableArtifactory ¶
type NullableArtifactory struct {
// contains filtered or unexported fields
}
func NewNullableArtifactory ¶
func NewNullableArtifactory(val *Artifactory) *NullableArtifactory
func (NullableArtifactory) Get ¶
func (v NullableArtifactory) Get() *Artifactory
func (NullableArtifactory) IsSet ¶
func (v NullableArtifactory) IsSet() bool
func (NullableArtifactory) MarshalJSON ¶
func (v NullableArtifactory) MarshalJSON() ([]byte, error)
func (*NullableArtifactory) Set ¶
func (v *NullableArtifactory) Set(val *Artifactory)
func (*NullableArtifactory) UnmarshalJSON ¶
func (v *NullableArtifactory) UnmarshalJSON(src []byte) error
func (*NullableArtifactory) Unset ¶
func (v *NullableArtifactory) Unset()
type NullableArtifactoryList ¶
type NullableArtifactoryList struct {
// contains filtered or unexported fields
}
func NewNullableArtifactoryList ¶
func NewNullableArtifactoryList(val *ArtifactoryList) *NullableArtifactoryList
func (NullableArtifactoryList) Get ¶
func (v NullableArtifactoryList) Get() *ArtifactoryList
func (NullableArtifactoryList) IsSet ¶
func (v NullableArtifactoryList) IsSet() bool
func (NullableArtifactoryList) MarshalJSON ¶
func (v NullableArtifactoryList) MarshalJSON() ([]byte, error)
func (*NullableArtifactoryList) Set ¶
func (v *NullableArtifactoryList) Set(val *ArtifactoryList)
func (*NullableArtifactoryList) UnmarshalJSON ¶
func (v *NullableArtifactoryList) UnmarshalJSON(src []byte) error
func (*NullableArtifactoryList) Unset ¶
func (v *NullableArtifactoryList) Unset()
type NullableArtifactoryState ¶
type NullableArtifactoryState struct {
// contains filtered or unexported fields
}
func NewNullableArtifactoryState ¶
func NewNullableArtifactoryState(val *ArtifactoryState) *NullableArtifactoryState
func (NullableArtifactoryState) Get ¶
func (v NullableArtifactoryState) Get() *ArtifactoryState
func (NullableArtifactoryState) IsSet ¶
func (v NullableArtifactoryState) IsSet() bool
func (NullableArtifactoryState) MarshalJSON ¶
func (v NullableArtifactoryState) MarshalJSON() ([]byte, error)
func (*NullableArtifactoryState) Set ¶
func (v *NullableArtifactoryState) Set(val *ArtifactoryState)
func (*NullableArtifactoryState) UnmarshalJSON ¶
func (v *NullableArtifactoryState) UnmarshalJSON(src []byte) error
func (*NullableArtifactoryState) Unset ¶
func (v *NullableArtifactoryState) Unset()
type NullableBadRequestErrorResponse ¶
type NullableBadRequestErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableBadRequestErrorResponse ¶
func NewNullableBadRequestErrorResponse(val *BadRequestErrorResponse) *NullableBadRequestErrorResponse
func (NullableBadRequestErrorResponse) Get ¶
func (v NullableBadRequestErrorResponse) Get() *BadRequestErrorResponse
func (NullableBadRequestErrorResponse) IsSet ¶
func (v NullableBadRequestErrorResponse) IsSet() bool
func (NullableBadRequestErrorResponse) MarshalJSON ¶
func (v NullableBadRequestErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableBadRequestErrorResponse) Set ¶
func (v *NullableBadRequestErrorResponse) Set(val *BadRequestErrorResponse)
func (*NullableBadRequestErrorResponse) UnmarshalJSON ¶
func (v *NullableBadRequestErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableBadRequestErrorResponse) Unset ¶
func (v *NullableBadRequestErrorResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConflictErrorResponse ¶
type NullableConflictErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableConflictErrorResponse ¶
func NewNullableConflictErrorResponse(val *ConflictErrorResponse) *NullableConflictErrorResponse
func (NullableConflictErrorResponse) Get ¶
func (v NullableConflictErrorResponse) Get() *ConflictErrorResponse
func (NullableConflictErrorResponse) IsSet ¶
func (v NullableConflictErrorResponse) IsSet() bool
func (NullableConflictErrorResponse) MarshalJSON ¶
func (v NullableConflictErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableConflictErrorResponse) Set ¶
func (v *NullableConflictErrorResponse) Set(val *ConflictErrorResponse)
func (*NullableConflictErrorResponse) UnmarshalJSON ¶
func (v *NullableConflictErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableConflictErrorResponse) Unset ¶
func (v *NullableConflictErrorResponse) Unset()
type NullableCreateArtifactoryPayload ¶
type NullableCreateArtifactoryPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateArtifactoryPayload ¶
func NewNullableCreateArtifactoryPayload(val *CreateArtifactoryPayload) *NullableCreateArtifactoryPayload
func (NullableCreateArtifactoryPayload) Get ¶
func (v NullableCreateArtifactoryPayload) Get() *CreateArtifactoryPayload
func (NullableCreateArtifactoryPayload) IsSet ¶
func (v NullableCreateArtifactoryPayload) IsSet() bool
func (NullableCreateArtifactoryPayload) MarshalJSON ¶
func (v NullableCreateArtifactoryPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateArtifactoryPayload) Set ¶
func (v *NullableCreateArtifactoryPayload) Set(val *CreateArtifactoryPayload)
func (*NullableCreateArtifactoryPayload) UnmarshalJSON ¶
func (v *NullableCreateArtifactoryPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateArtifactoryPayload) Unset ¶
func (v *NullableCreateArtifactoryPayload) Unset()
type NullableCreateProxyRequest ¶
type NullableCreateProxyRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateProxyRequest ¶
func NewNullableCreateProxyRequest(val *CreateProxyRequest) *NullableCreateProxyRequest
func (NullableCreateProxyRequest) Get ¶
func (v NullableCreateProxyRequest) Get() *CreateProxyRequest
func (NullableCreateProxyRequest) IsSet ¶
func (v NullableCreateProxyRequest) IsSet() bool
func (NullableCreateProxyRequest) MarshalJSON ¶
func (v NullableCreateProxyRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateProxyRequest) Set ¶
func (v *NullableCreateProxyRequest) Set(val *CreateProxyRequest)
func (*NullableCreateProxyRequest) UnmarshalJSON ¶
func (v *NullableCreateProxyRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateProxyRequest) Unset ¶
func (v *NullableCreateProxyRequest) Unset()
type NullableCredentials ¶
type NullableCredentials struct {
// contains filtered or unexported fields
}
func NewNullableCredentials ¶
func NewNullableCredentials(val *Credentials) *NullableCredentials
func (NullableCredentials) Get ¶
func (v NullableCredentials) Get() *Credentials
func (NullableCredentials) IsSet ¶
func (v NullableCredentials) IsSet() bool
func (NullableCredentials) MarshalJSON ¶
func (v NullableCredentials) MarshalJSON() ([]byte, error)
func (*NullableCredentials) Set ¶
func (v *NullableCredentials) Set(val *Credentials)
func (*NullableCredentials) UnmarshalJSON ¶
func (v *NullableCredentials) UnmarshalJSON(src []byte) error
func (*NullableCredentials) Unset ¶
func (v *NullableCredentials) 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 NullableForbiddenErrorResponse ¶
type NullableForbiddenErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableForbiddenErrorResponse ¶
func NewNullableForbiddenErrorResponse(val *ForbiddenErrorResponse) *NullableForbiddenErrorResponse
func (NullableForbiddenErrorResponse) Get ¶
func (v NullableForbiddenErrorResponse) Get() *ForbiddenErrorResponse
func (NullableForbiddenErrorResponse) IsSet ¶
func (v NullableForbiddenErrorResponse) IsSet() bool
func (NullableForbiddenErrorResponse) MarshalJSON ¶
func (v NullableForbiddenErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableForbiddenErrorResponse) Set ¶
func (v *NullableForbiddenErrorResponse) Set(val *ForbiddenErrorResponse)
func (*NullableForbiddenErrorResponse) UnmarshalJSON ¶
func (v *NullableForbiddenErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableForbiddenErrorResponse) Unset ¶
func (v *NullableForbiddenErrorResponse) Unset()
type NullableGenericErrorResponse ¶
type NullableGenericErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableGenericErrorResponse ¶
func NewNullableGenericErrorResponse(val *GenericErrorResponse) *NullableGenericErrorResponse
func (NullableGenericErrorResponse) Get ¶
func (v NullableGenericErrorResponse) Get() *GenericErrorResponse
func (NullableGenericErrorResponse) IsSet ¶
func (v NullableGenericErrorResponse) IsSet() bool
func (NullableGenericErrorResponse) MarshalJSON ¶
func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableGenericErrorResponse) Set ¶
func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
func (*NullableGenericErrorResponse) UnmarshalJSON ¶
func (v *NullableGenericErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableGenericErrorResponse) Unset ¶
func (v *NullableGenericErrorResponse) 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 NullableInternalServerErrorResponse ¶
type NullableInternalServerErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableInternalServerErrorResponse ¶
func NewNullableInternalServerErrorResponse(val *InternalServerErrorResponse) *NullableInternalServerErrorResponse
func (NullableInternalServerErrorResponse) Get ¶
func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
func (NullableInternalServerErrorResponse) IsSet ¶
func (v NullableInternalServerErrorResponse) IsSet() bool
func (NullableInternalServerErrorResponse) MarshalJSON ¶
func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableInternalServerErrorResponse) Set ¶
func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
func (*NullableInternalServerErrorResponse) UnmarshalJSON ¶
func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableInternalServerErrorResponse) Unset ¶
func (v *NullableInternalServerErrorResponse) Unset()
type NullableNotFoundErrorResponse ¶
type NullableNotFoundErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableNotFoundErrorResponse ¶
func NewNullableNotFoundErrorResponse(val *NotFoundErrorResponse) *NullableNotFoundErrorResponse
func (NullableNotFoundErrorResponse) Get ¶
func (v NullableNotFoundErrorResponse) Get() *NotFoundErrorResponse
func (NullableNotFoundErrorResponse) IsSet ¶
func (v NullableNotFoundErrorResponse) IsSet() bool
func (NullableNotFoundErrorResponse) MarshalJSON ¶
func (v NullableNotFoundErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableNotFoundErrorResponse) Set ¶
func (v *NullableNotFoundErrorResponse) Set(val *NotFoundErrorResponse)
func (*NullableNotFoundErrorResponse) UnmarshalJSON ¶
func (v *NullableNotFoundErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableNotFoundErrorResponse) Unset ¶
func (v *NullableNotFoundErrorResponse) Unset()
type NullablePatchArtifactoryPayload ¶
type NullablePatchArtifactoryPayload struct {
// contains filtered or unexported fields
}
func NewNullablePatchArtifactoryPayload ¶
func NewNullablePatchArtifactoryPayload(val *PatchArtifactoryPayload) *NullablePatchArtifactoryPayload
func (NullablePatchArtifactoryPayload) Get ¶
func (v NullablePatchArtifactoryPayload) Get() *PatchArtifactoryPayload
func (NullablePatchArtifactoryPayload) IsSet ¶
func (v NullablePatchArtifactoryPayload) IsSet() bool
func (NullablePatchArtifactoryPayload) MarshalJSON ¶
func (v NullablePatchArtifactoryPayload) MarshalJSON() ([]byte, error)
func (*NullablePatchArtifactoryPayload) Set ¶
func (v *NullablePatchArtifactoryPayload) Set(val *PatchArtifactoryPayload)
func (*NullablePatchArtifactoryPayload) UnmarshalJSON ¶
func (v *NullablePatchArtifactoryPayload) UnmarshalJSON(src []byte) error
func (*NullablePatchArtifactoryPayload) Unset ¶
func (v *NullablePatchArtifactoryPayload) Unset()
type NullableProxy ¶
type NullableProxy struct {
// contains filtered or unexported fields
}
func NewNullableProxy ¶
func NewNullableProxy(val *Proxy) *NullableProxy
func (NullableProxy) Get ¶
func (v NullableProxy) Get() *Proxy
func (NullableProxy) IsSet ¶
func (v NullableProxy) IsSet() bool
func (NullableProxy) MarshalJSON ¶
func (v NullableProxy) MarshalJSON() ([]byte, error)
func (*NullableProxy) Set ¶
func (v *NullableProxy) Set(val *Proxy)
func (*NullableProxy) UnmarshalJSON ¶
func (v *NullableProxy) UnmarshalJSON(src []byte) error
func (*NullableProxy) Unset ¶
func (v *NullableProxy) Unset()
type NullableRedactedCredentials ¶
type NullableRedactedCredentials struct {
// contains filtered or unexported fields
}
func NewNullableRedactedCredentials ¶
func NewNullableRedactedCredentials(val *RedactedCredentials) *NullableRedactedCredentials
func (NullableRedactedCredentials) Get ¶
func (v NullableRedactedCredentials) Get() *RedactedCredentials
func (NullableRedactedCredentials) IsSet ¶
func (v NullableRedactedCredentials) IsSet() bool
func (NullableRedactedCredentials) MarshalJSON ¶
func (v NullableRedactedCredentials) MarshalJSON() ([]byte, error)
func (*NullableRedactedCredentials) Set ¶
func (v *NullableRedactedCredentials) Set(val *RedactedCredentials)
func (*NullableRedactedCredentials) UnmarshalJSON ¶
func (v *NullableRedactedCredentials) UnmarshalJSON(src []byte) error
func (*NullableRedactedCredentials) Unset ¶
func (v *NullableRedactedCredentials) Unset()
type NullableReplicationAdapter ¶
type NullableReplicationAdapter struct {
// contains filtered or unexported fields
}
func NewNullableReplicationAdapter ¶
func NewNullableReplicationAdapter(val *ReplicationAdapter) *NullableReplicationAdapter
func (NullableReplicationAdapter) Get ¶
func (v NullableReplicationAdapter) Get() *ReplicationAdapter
func (NullableReplicationAdapter) IsSet ¶
func (v NullableReplicationAdapter) IsSet() bool
func (NullableReplicationAdapter) MarshalJSON ¶
func (v NullableReplicationAdapter) MarshalJSON() ([]byte, error)
func (*NullableReplicationAdapter) Set ¶
func (v *NullableReplicationAdapter) Set(val *ReplicationAdapter)
func (*NullableReplicationAdapter) UnmarshalJSON ¶
func (v *NullableReplicationAdapter) UnmarshalJSON(src []byte) error
func (*NullableReplicationAdapter) Unset ¶
func (v *NullableReplicationAdapter) Unset()
type NullableReplicationAdapterCredentialType ¶
type NullableReplicationAdapterCredentialType struct {
// contains filtered or unexported fields
}
func NewNullableReplicationAdapterCredentialType ¶
func NewNullableReplicationAdapterCredentialType(val *ReplicationAdapterCredentialType) *NullableReplicationAdapterCredentialType
func (NullableReplicationAdapterCredentialType) IsSet ¶
func (v NullableReplicationAdapterCredentialType) IsSet() bool
func (NullableReplicationAdapterCredentialType) MarshalJSON ¶
func (v NullableReplicationAdapterCredentialType) MarshalJSON() ([]byte, error)
func (*NullableReplicationAdapterCredentialType) Set ¶
func (v *NullableReplicationAdapterCredentialType) Set(val *ReplicationAdapterCredentialType)
func (*NullableReplicationAdapterCredentialType) UnmarshalJSON ¶
func (v *NullableReplicationAdapterCredentialType) UnmarshalJSON(src []byte) error
func (*NullableReplicationAdapterCredentialType) Unset ¶
func (v *NullableReplicationAdapterCredentialType) Unset()
type NullableReplicationAdapterList ¶
type NullableReplicationAdapterList struct {
// contains filtered or unexported fields
}
func NewNullableReplicationAdapterList ¶
func NewNullableReplicationAdapterList(val *ReplicationAdapterList) *NullableReplicationAdapterList
func (NullableReplicationAdapterList) Get ¶
func (v NullableReplicationAdapterList) Get() *ReplicationAdapterList
func (NullableReplicationAdapterList) IsSet ¶
func (v NullableReplicationAdapterList) IsSet() bool
func (NullableReplicationAdapterList) MarshalJSON ¶
func (v NullableReplicationAdapterList) MarshalJSON() ([]byte, error)
func (*NullableReplicationAdapterList) Set ¶
func (v *NullableReplicationAdapterList) Set(val *ReplicationAdapterList)
func (*NullableReplicationAdapterList) UnmarshalJSON ¶
func (v *NullableReplicationAdapterList) UnmarshalJSON(src []byte) error
func (*NullableReplicationAdapterList) Unset ¶
func (v *NullableReplicationAdapterList) 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 NullableUnauthorizedErrorResponse ¶
type NullableUnauthorizedErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableUnauthorizedErrorResponse ¶
func NewNullableUnauthorizedErrorResponse(val *UnauthorizedErrorResponse) *NullableUnauthorizedErrorResponse
func (NullableUnauthorizedErrorResponse) Get ¶
func (v NullableUnauthorizedErrorResponse) Get() *UnauthorizedErrorResponse
func (NullableUnauthorizedErrorResponse) IsSet ¶
func (v NullableUnauthorizedErrorResponse) IsSet() bool
func (NullableUnauthorizedErrorResponse) MarshalJSON ¶
func (v NullableUnauthorizedErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedErrorResponse) Set ¶
func (v *NullableUnauthorizedErrorResponse) Set(val *UnauthorizedErrorResponse)
func (*NullableUnauthorizedErrorResponse) UnmarshalJSON ¶
func (v *NullableUnauthorizedErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableUnauthorizedErrorResponse) Unset ¶
func (v *NullableUnauthorizedErrorResponse) Unset()
type NullableUpdateProxyRequest ¶
type NullableUpdateProxyRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProxyRequest ¶
func NewNullableUpdateProxyRequest(val *UpdateProxyRequest) *NullableUpdateProxyRequest
func (NullableUpdateProxyRequest) Get ¶
func (v NullableUpdateProxyRequest) Get() *UpdateProxyRequest
func (NullableUpdateProxyRequest) IsSet ¶
func (v NullableUpdateProxyRequest) IsSet() bool
func (NullableUpdateProxyRequest) MarshalJSON ¶
func (v NullableUpdateProxyRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateProxyRequest) Set ¶
func (v *NullableUpdateProxyRequest) Set(val *UpdateProxyRequest)
func (*NullableUpdateProxyRequest) UnmarshalJSON ¶
func (v *NullableUpdateProxyRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateProxyRequest) Unset ¶
func (v *NullableUpdateProxyRequest) Unset()
type PatchArtifactoryPayload ¶
type PatchArtifactoryPayload struct {
Proxy *UpdateProxyRequest `json:"proxy,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchArtifactoryPayload Patch artifactory request
func NewPatchArtifactoryPayload ¶
func NewPatchArtifactoryPayload() *PatchArtifactoryPayload
NewPatchArtifactoryPayload instantiates a new PatchArtifactoryPayload 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 NewPatchArtifactoryPayloadWithDefaults ¶
func NewPatchArtifactoryPayloadWithDefaults() *PatchArtifactoryPayload
NewPatchArtifactoryPayloadWithDefaults instantiates a new PatchArtifactoryPayload 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 (*PatchArtifactoryPayload) GetProxy ¶
func (o *PatchArtifactoryPayload) GetProxy() UpdateProxyRequest
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*PatchArtifactoryPayload) GetProxyOk ¶
func (o *PatchArtifactoryPayload) GetProxyOk() (*UpdateProxyRequest, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchArtifactoryPayload) HasProxy ¶
func (o *PatchArtifactoryPayload) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (PatchArtifactoryPayload) MarshalJSON ¶
func (o PatchArtifactoryPayload) MarshalJSON() ([]byte, error)
func (*PatchArtifactoryPayload) SetProxy ¶
func (o *PatchArtifactoryPayload) SetProxy(v UpdateProxyRequest)
SetProxy gets a reference to the given UpdateProxyRequest and assigns it to the Proxy field.
func (PatchArtifactoryPayload) ToMap ¶
func (o PatchArtifactoryPayload) ToMap() (map[string]interface{}, error)
func (*PatchArtifactoryPayload) UnmarshalJSON ¶
func (o *PatchArtifactoryPayload) UnmarshalJSON(data []byte) (err error)
type Proxy ¶
type Proxy struct {
Credentials *RedactedCredentials `json:"credentials,omitempty"`
// Description of the registry.
Description *string `json:"description,omitempty"`
// Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters
RegistryType string `json:"registry_type"`
// Upstream registry url to proxy
Url string `json:"url"`
AdditionalProperties map[string]interface{}
}
Proxy Replication settings for a proxy-cache artifactory
func NewProxy ¶
NewProxy instantiates a new Proxy 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 NewProxyWithDefaults ¶
func NewProxyWithDefaults() *Proxy
NewProxyWithDefaults instantiates a new Proxy 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 (*Proxy) GetCredentials ¶
func (o *Proxy) GetCredentials() RedactedCredentials
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*Proxy) GetCredentialsOk ¶
func (o *Proxy) GetCredentialsOk() (*RedactedCredentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Proxy) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Proxy) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Proxy) GetRegistryType ¶
GetRegistryType returns the RegistryType field value
func (*Proxy) GetRegistryTypeOk ¶
GetRegistryTypeOk returns a tuple with the RegistryType field value and a boolean to check if the value has been set.
func (*Proxy) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Proxy) HasCredentials ¶
HasCredentials returns a boolean if a field has been set.
func (*Proxy) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Proxy) MarshalJSON ¶
func (*Proxy) SetCredentials ¶
func (o *Proxy) SetCredentials(v RedactedCredentials)
SetCredentials gets a reference to the given RedactedCredentials and assigns it to the Credentials field.
func (*Proxy) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Proxy) SetRegistryType ¶
SetRegistryType sets field value
func (*Proxy) UnmarshalJSON ¶
type RedactedCredentials ¶
type RedactedCredentials struct {
AccessKey string `json:"access_key"`
AdditionalProperties map[string]interface{}
}
RedactedCredentials Credentials for upstream registry, redacted
func NewRedactedCredentials ¶
func NewRedactedCredentials(accessKey string) *RedactedCredentials
NewRedactedCredentials instantiates a new RedactedCredentials 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 NewRedactedCredentialsWithDefaults ¶
func NewRedactedCredentialsWithDefaults() *RedactedCredentials
NewRedactedCredentialsWithDefaults instantiates a new RedactedCredentials 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 (*RedactedCredentials) GetAccessKey ¶
func (o *RedactedCredentials) GetAccessKey() string
GetAccessKey returns the AccessKey field value
func (*RedactedCredentials) GetAccessKeyOk ¶
func (o *RedactedCredentials) GetAccessKeyOk() (*string, bool)
GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set.
func (RedactedCredentials) MarshalJSON ¶
func (o RedactedCredentials) MarshalJSON() ([]byte, error)
func (*RedactedCredentials) SetAccessKey ¶
func (o *RedactedCredentials) SetAccessKey(v string)
SetAccessKey sets field value
func (RedactedCredentials) ToMap ¶
func (o RedactedCredentials) ToMap() (map[string]interface{}, error)
func (*RedactedCredentials) UnmarshalJSON ¶
func (o *RedactedCredentials) UnmarshalJSON(data []byte) (err error)
type ReplicationAdapter ¶
type ReplicationAdapter struct {
CredentialType ReplicationAdapterCredentialType `json:"credential_type"`
// Human-friendly name of the provider the adapter relates to.
DisplayName string `json:"display_name"`
// Identifies the replication adapter
RegistryType string `json:"registry_type"`
AdditionalProperties map[string]interface{}
}
ReplicationAdapter struct for ReplicationAdapter
func NewReplicationAdapter ¶
func NewReplicationAdapter(credentialType ReplicationAdapterCredentialType, displayName string, registryType string) *ReplicationAdapter
NewReplicationAdapter instantiates a new ReplicationAdapter 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 NewReplicationAdapterWithDefaults ¶
func NewReplicationAdapterWithDefaults() *ReplicationAdapter
NewReplicationAdapterWithDefaults instantiates a new ReplicationAdapter 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 (*ReplicationAdapter) GetCredentialType ¶
func (o *ReplicationAdapter) GetCredentialType() ReplicationAdapterCredentialType
GetCredentialType returns the CredentialType field value
func (*ReplicationAdapter) GetCredentialTypeOk ¶
func (o *ReplicationAdapter) GetCredentialTypeOk() (*ReplicationAdapterCredentialType, bool)
GetCredentialTypeOk returns a tuple with the CredentialType field value and a boolean to check if the value has been set.
func (*ReplicationAdapter) GetDisplayName ¶
func (o *ReplicationAdapter) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*ReplicationAdapter) GetDisplayNameOk ¶
func (o *ReplicationAdapter) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*ReplicationAdapter) GetRegistryType ¶
func (o *ReplicationAdapter) GetRegistryType() string
GetRegistryType returns the RegistryType field value
func (*ReplicationAdapter) GetRegistryTypeOk ¶
func (o *ReplicationAdapter) GetRegistryTypeOk() (*string, bool)
GetRegistryTypeOk returns a tuple with the RegistryType field value and a boolean to check if the value has been set.
func (ReplicationAdapter) MarshalJSON ¶
func (o ReplicationAdapter) MarshalJSON() ([]byte, error)
func (*ReplicationAdapter) SetCredentialType ¶
func (o *ReplicationAdapter) SetCredentialType(v ReplicationAdapterCredentialType)
SetCredentialType sets field value
func (*ReplicationAdapter) SetDisplayName ¶
func (o *ReplicationAdapter) SetDisplayName(v string)
SetDisplayName sets field value
func (*ReplicationAdapter) SetRegistryType ¶
func (o *ReplicationAdapter) SetRegistryType(v string)
SetRegistryType sets field value
func (ReplicationAdapter) ToMap ¶
func (o ReplicationAdapter) ToMap() (map[string]interface{}, error)
func (*ReplicationAdapter) UnmarshalJSON ¶
func (o *ReplicationAdapter) UnmarshalJSON(data []byte) (err error)
type ReplicationAdapterCredentialType ¶
type ReplicationAdapterCredentialType string
ReplicationAdapterCredentialType User-hint for what type of credentials are expected for replication adapter type. Values are one of `basic` for username/password, `oauth` for token based access, and `secret` for json-secret file.
const ( REPLICATIONADAPTERCREDENTIALTYPE_BASIC ReplicationAdapterCredentialType = "basic" REPLICATIONADAPTERCREDENTIALTYPE_OAUTH ReplicationAdapterCredentialType = "oauth" REPLICATIONADAPTERCREDENTIALTYPE_SECRET ReplicationAdapterCredentialType = "secret" REPLICATIONADAPTERCREDENTIALTYPE_UNKNOWN_DEFAULT_OPEN_API ReplicationAdapterCredentialType = "unknown_default_open_api" )
List of ReplicationAdapter_credential_type
func NewReplicationAdapterCredentialTypeFromValue ¶
func NewReplicationAdapterCredentialTypeFromValue(v string) (*ReplicationAdapterCredentialType, error)
NewReplicationAdapterCredentialTypeFromValue returns a pointer to a valid ReplicationAdapterCredentialType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ReplicationAdapterCredentialType) IsValid ¶
func (v ReplicationAdapterCredentialType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ReplicationAdapterCredentialType) Ptr ¶
func (v ReplicationAdapterCredentialType) Ptr() *ReplicationAdapterCredentialType
Ptr returns reference to ReplicationAdapter_credential_type value
func (*ReplicationAdapterCredentialType) UnmarshalJSON ¶
func (v *ReplicationAdapterCredentialType) UnmarshalJSON(src []byte) error
type ReplicationAdapterList ¶
type ReplicationAdapterList struct {
// A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages.
NextPageToken *string `json:"next_page_token,omitempty"`
ReplicationAdapters []ReplicationAdapter `json:"replication_adapters"`
AdditionalProperties map[string]interface{}
}
ReplicationAdapterList A list of replication adapters
func NewReplicationAdapterList ¶
func NewReplicationAdapterList(replicationAdapters []ReplicationAdapter) *ReplicationAdapterList
NewReplicationAdapterList instantiates a new ReplicationAdapterList 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 NewReplicationAdapterListWithDefaults ¶
func NewReplicationAdapterListWithDefaults() *ReplicationAdapterList
NewReplicationAdapterListWithDefaults instantiates a new ReplicationAdapterList 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 (*ReplicationAdapterList) GetNextPageToken ¶
func (o *ReplicationAdapterList) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*ReplicationAdapterList) GetNextPageTokenOk ¶
func (o *ReplicationAdapterList) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReplicationAdapterList) GetReplicationAdapters ¶
func (o *ReplicationAdapterList) GetReplicationAdapters() []ReplicationAdapter
GetReplicationAdapters returns the ReplicationAdapters field value
func (*ReplicationAdapterList) GetReplicationAdaptersOk ¶
func (o *ReplicationAdapterList) GetReplicationAdaptersOk() ([]ReplicationAdapter, bool)
GetReplicationAdaptersOk returns a tuple with the ReplicationAdapters field value and a boolean to check if the value has been set.
func (*ReplicationAdapterList) HasNextPageToken ¶
func (o *ReplicationAdapterList) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (ReplicationAdapterList) MarshalJSON ¶
func (o ReplicationAdapterList) MarshalJSON() ([]byte, error)
func (*ReplicationAdapterList) SetNextPageToken ¶
func (o *ReplicationAdapterList) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (*ReplicationAdapterList) SetReplicationAdapters ¶
func (o *ReplicationAdapterList) SetReplicationAdapters(v []ReplicationAdapter)
SetReplicationAdapters sets field value
func (ReplicationAdapterList) ToMap ¶
func (o ReplicationAdapterList) ToMap() (map[string]interface{}, error)
func (*ReplicationAdapterList) UnmarshalJSON ¶
func (o *ReplicationAdapterList) UnmarshalJSON(data []byte) (err error)
type UnauthorizedErrorResponse ¶
type UnauthorizedErrorResponse struct {
}
UnauthorizedErrorResponse Unauthorized Error Response.
func NewUnauthorizedErrorResponse ¶
func NewUnauthorizedErrorResponse(message string) *UnauthorizedErrorResponse
NewUnauthorizedErrorResponse instantiates a new UnauthorizedErrorResponse 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 NewUnauthorizedErrorResponseWithDefaults ¶
func NewUnauthorizedErrorResponseWithDefaults() *UnauthorizedErrorResponse
NewUnauthorizedErrorResponseWithDefaults instantiates a new UnauthorizedErrorResponse 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 (*UnauthorizedErrorResponse) GetError ¶
func (o *UnauthorizedErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*UnauthorizedErrorResponse) GetErrorOk ¶
func (o *UnauthorizedErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedErrorResponse) GetMessage ¶
func (o *UnauthorizedErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*UnauthorizedErrorResponse) GetMessageOk ¶
func (o *UnauthorizedErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*UnauthorizedErrorResponse) GetPath ¶
func (o *UnauthorizedErrorResponse) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*UnauthorizedErrorResponse) GetPathOk ¶
func (o *UnauthorizedErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedErrorResponse) GetStatus ¶
func (o *UnauthorizedErrorResponse) GetStatus() int64
GetStatus returns the Status field value if set, zero value otherwise.
func (*UnauthorizedErrorResponse) GetStatusOk ¶
func (o *UnauthorizedErrorResponse) GetStatusOk() (*int64, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedErrorResponse) GetTimestamp ¶
func (o *UnauthorizedErrorResponse) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*UnauthorizedErrorResponse) GetTimestampOk ¶
func (o *UnauthorizedErrorResponse) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedErrorResponse) HasError ¶
func (o *UnauthorizedErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*UnauthorizedErrorResponse) HasPath ¶
func (o *UnauthorizedErrorResponse) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*UnauthorizedErrorResponse) HasStatus ¶
func (o *UnauthorizedErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*UnauthorizedErrorResponse) HasTimestamp ¶
func (o *UnauthorizedErrorResponse) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (UnauthorizedErrorResponse) MarshalJSON ¶
func (o UnauthorizedErrorResponse) MarshalJSON() ([]byte, error)
func (*UnauthorizedErrorResponse) SetError ¶
func (o *UnauthorizedErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*UnauthorizedErrorResponse) SetMessage ¶
func (o *UnauthorizedErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*UnauthorizedErrorResponse) SetPath ¶
func (o *UnauthorizedErrorResponse) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*UnauthorizedErrorResponse) SetStatus ¶
func (o *UnauthorizedErrorResponse) SetStatus(v int64)
SetStatus gets a reference to the given int64 and assigns it to the Status field.
func (*UnauthorizedErrorResponse) SetTimestamp ¶
func (o *UnauthorizedErrorResponse) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (UnauthorizedErrorResponse) ToMap ¶
func (o UnauthorizedErrorResponse) ToMap() (map[string]interface{}, error)
func (*UnauthorizedErrorResponse) UnmarshalJSON ¶
func (o *UnauthorizedErrorResponse) UnmarshalJSON(data []byte) (err error)
type UpdateProxyRequest ¶
type UpdateProxyRequest struct {
Credentials *Credentials `json:"credentials,omitempty"`
// Description of the registry.
Description *string `json:"description,omitempty"`
// Upstream registry url to proxy
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProxyRequest Update an upstream repository for a proxy-cache project
func NewUpdateProxyRequest ¶
func NewUpdateProxyRequest() *UpdateProxyRequest
NewUpdateProxyRequest instantiates a new UpdateProxyRequest 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 NewUpdateProxyRequestWithDefaults ¶
func NewUpdateProxyRequestWithDefaults() *UpdateProxyRequest
NewUpdateProxyRequestWithDefaults instantiates a new UpdateProxyRequest 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 (*UpdateProxyRequest) GetCredentials ¶
func (o *UpdateProxyRequest) GetCredentials() Credentials
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*UpdateProxyRequest) GetCredentialsOk ¶
func (o *UpdateProxyRequest) GetCredentialsOk() (*Credentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProxyRequest) GetDescription ¶
func (o *UpdateProxyRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateProxyRequest) GetDescriptionOk ¶
func (o *UpdateProxyRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProxyRequest) GetUrl ¶
func (o *UpdateProxyRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*UpdateProxyRequest) GetUrlOk ¶
func (o *UpdateProxyRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProxyRequest) HasCredentials ¶
func (o *UpdateProxyRequest) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (*UpdateProxyRequest) HasDescription ¶
func (o *UpdateProxyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateProxyRequest) HasUrl ¶
func (o *UpdateProxyRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (UpdateProxyRequest) MarshalJSON ¶
func (o UpdateProxyRequest) MarshalJSON() ([]byte, error)
func (*UpdateProxyRequest) SetCredentials ¶
func (o *UpdateProxyRequest) SetCredentials(v Credentials)
SetCredentials gets a reference to the given Credentials and assigns it to the Credentials field.
func (*UpdateProxyRequest) SetDescription ¶
func (o *UpdateProxyRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateProxyRequest) SetUrl ¶
func (o *UpdateProxyRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (UpdateProxyRequest) ToMap ¶
func (o UpdateProxyRequest) ToMap() (map[string]interface{}, error)
func (*UpdateProxyRequest) UnmarshalJSON ¶
func (o *UpdateProxyRequest) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_artifactory.go
- model_artifactory_list.go
- model_artifactory_state.go
- model_bad_request_error_response.go
- model_conflict_error_response.go
- model_create_artifactory_payload.go
- model_create_proxy_request.go
- model_credentials.go
- model_forbidden_error_response.go
- model_generic_error_response.go
- model_internal_server_error_response.go
- model_not_found_error_response.go
- model_patch_artifactory_payload.go
- model_proxy.go
- model_redacted_credentials.go
- model_replication_adapter.go
- model_replication_adapter_credential_type.go
- model_replication_adapter_list.go
- model_unauthorized_error_response.go
- model_update_proxy_request.go
- response.go
- utils.go