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 ApiCreateCertificateRequest
- type ApiDeleteCertificateRequest
- type ApiGetCertificateRequest
- type ApiGetQuotaRequest
- type ApiListCertificatesRequest
- type CertificatesQuota
- func (o *CertificatesQuota) GetLimit() int32
- func (o *CertificatesQuota) GetLimitOk() (*int32, bool)
- func (o *CertificatesQuota) GetUsage() int32
- func (o *CertificatesQuota) GetUsageOk() (*int32, bool)
- func (o *CertificatesQuota) HasLimit() bool
- func (o *CertificatesQuota) HasUsage() bool
- func (o CertificatesQuota) MarshalJSON() ([]byte, error)
- func (o *CertificatesQuota) SetLimit(v int32)
- func (o *CertificatesQuota) SetUsage(v int32)
- func (o CertificatesQuota) ToMap() (map[string]interface{}, error)
- func (o *CertificatesQuota) UnmarshalJSON(data []byte) (err error)
- type CreateCertificatePayload
- func (o *CreateCertificatePayload) GetLabels() map[string]string
- func (o *CreateCertificatePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateCertificatePayload) GetName() string
- func (o *CreateCertificatePayload) GetNameOk() (*string, bool)
- func (o *CreateCertificatePayload) GetPrivateKey() string
- func (o *CreateCertificatePayload) GetPrivateKeyOk() (*string, bool)
- func (o *CreateCertificatePayload) GetProjectId() string
- func (o *CreateCertificatePayload) GetProjectIdOk() (*string, bool)
- func (o *CreateCertificatePayload) GetPublicKey() string
- func (o *CreateCertificatePayload) GetPublicKeyOk() (*string, bool)
- func (o *CreateCertificatePayload) GetRegion() string
- func (o *CreateCertificatePayload) GetRegionOk() (*string, bool)
- func (o *CreateCertificatePayload) HasLabels() bool
- func (o *CreateCertificatePayload) HasName() bool
- func (o *CreateCertificatePayload) HasPrivateKey() bool
- func (o *CreateCertificatePayload) HasProjectId() bool
- func (o *CreateCertificatePayload) HasPublicKey() bool
- func (o *CreateCertificatePayload) HasRegion() bool
- func (o CreateCertificatePayload) MarshalJSON() ([]byte, error)
- func (o *CreateCertificatePayload) SetLabels(v map[string]string)
- func (o *CreateCertificatePayload) SetName(v string)
- func (o *CreateCertificatePayload) SetPrivateKey(v string)
- func (o *CreateCertificatePayload) SetProjectId(v string)
- func (o *CreateCertificatePayload) SetPublicKey(v string)
- func (o *CreateCertificatePayload) SetRegion(v string)
- func (o CreateCertificatePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateCertificatePayload) UnmarshalJSON(data []byte) (err error)
- type Data
- func (o *Data) GetDnsNames() string
- func (o *Data) GetDnsNamesOk() (*string, bool)
- func (o *Data) GetExtendedKeyUsage() string
- func (o *Data) GetExtendedKeyUsageOk() (*string, bool)
- func (o *Data) GetFingerprintSha1() string
- func (o *Data) GetFingerprintSha1Ok() (*string, bool)
- func (o *Data) GetFingerprintSha256() string
- func (o *Data) GetFingerprintSha256Ok() (*string, bool)
- func (o *Data) GetIsCa() bool
- func (o *Data) GetIsCaOk() (*bool, bool)
- func (o *Data) GetIsSelfSigned() bool
- func (o *Data) GetIsSelfSignedOk() (*bool, bool)
- func (o *Data) GetIssuerCn() string
- func (o *Data) GetIssuerCnOk() (*string, bool)
- func (o *Data) GetKeyStrength() string
- func (o *Data) GetKeyStrengthOk() (*string, bool)
- func (o *Data) GetNotAfter() string
- func (o *Data) GetNotAfterOk() (*string, bool)
- func (o *Data) GetNotBefore() string
- func (o *Data) GetNotBeforeOk() (*string, bool)
- func (o *Data) GetOrganization() string
- func (o *Data) GetOrganizationOk() (*string, bool)
- func (o *Data) GetPublicKeyAlgorithm() string
- func (o *Data) GetPublicKeyAlgorithmOk() (*string, bool)
- func (o *Data) GetSerialNumber() string
- func (o *Data) GetSerialNumberOk() (*string, bool)
- func (o *Data) GetSignatureAlgorithm() string
- func (o *Data) GetSignatureAlgorithmOk() (*string, bool)
- func (o *Data) GetSubjectCn() string
- func (o *Data) GetSubjectCnOk() (*string, bool)
- func (o *Data) HasDnsNames() bool
- func (o *Data) HasExtendedKeyUsage() bool
- func (o *Data) HasFingerprintSha1() bool
- func (o *Data) HasFingerprintSha256() bool
- func (o *Data) HasIsCa() bool
- func (o *Data) HasIsSelfSigned() bool
- func (o *Data) HasIssuerCn() bool
- func (o *Data) HasKeyStrength() bool
- func (o *Data) HasNotAfter() bool
- func (o *Data) HasNotBefore() bool
- func (o *Data) HasOrganization() bool
- func (o *Data) HasPublicKeyAlgorithm() bool
- func (o *Data) HasSerialNumber() bool
- func (o *Data) HasSignatureAlgorithm() bool
- func (o *Data) HasSubjectCn() bool
- func (o Data) MarshalJSON() ([]byte, error)
- func (o *Data) SetDnsNames(v string)
- func (o *Data) SetExtendedKeyUsage(v string)
- func (o *Data) SetFingerprintSha1(v string)
- func (o *Data) SetFingerprintSha256(v string)
- func (o *Data) SetIsCa(v bool)
- func (o *Data) SetIsSelfSigned(v bool)
- func (o *Data) SetIssuerCn(v string)
- func (o *Data) SetKeyStrength(v string)
- func (o *Data) SetNotAfter(v string)
- func (o *Data) SetNotBefore(v string)
- func (o *Data) SetOrganization(v string)
- func (o *Data) SetPublicKeyAlgorithm(v string)
- func (o *Data) SetSerialNumber(v string)
- func (o *Data) SetSignatureAlgorithm(v string)
- func (o *Data) SetSubjectCn(v string)
- func (o Data) ToMap() (map[string]interface{}, error)
- func (o *Data) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
- func (a *DefaultAPIService) CreateCertificateExecute(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
- func (a *DefaultAPIService) DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
- func (a *DefaultAPIService) DeleteCertificateExecute(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
- func (a *DefaultAPIService) GetCertificateExecute(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
- func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a *DefaultAPIService) ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
- func (a *DefaultAPIService) ListCertificatesExecute(r ApiListCertificatesRequest) (*ListCertificatesResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
- func (a DefaultAPIServiceMock) CreateCertificateExecute(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
- func (a DefaultAPIServiceMock) DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
- func (a DefaultAPIServiceMock) DeleteCertificateExecute(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
- func (a DefaultAPIServiceMock) GetCertificateExecute(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
- func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a DefaultAPIServiceMock) ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
- func (a DefaultAPIServiceMock) ListCertificatesExecute(r ApiListCertificatesRequest) (*ListCertificatesResponse, error)
- type GetCertificateResponse
- func (o *GetCertificateResponse) GetData() Data
- func (o *GetCertificateResponse) GetDataOk() (*Data, bool)
- func (o *GetCertificateResponse) GetId() string
- func (o *GetCertificateResponse) GetIdOk() (*string, bool)
- func (o *GetCertificateResponse) GetLabels() map[string]string
- func (o *GetCertificateResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetCertificateResponse) GetName() string
- func (o *GetCertificateResponse) GetNameOk() (*string, bool)
- func (o *GetCertificateResponse) GetPublicKey() string
- func (o *GetCertificateResponse) GetPublicKeyOk() (*string, bool)
- func (o *GetCertificateResponse) GetRegion() string
- func (o *GetCertificateResponse) GetRegionOk() (*string, bool)
- func (o *GetCertificateResponse) GetUsage() Usage
- func (o *GetCertificateResponse) GetUsageOk() (*Usage, bool)
- func (o *GetCertificateResponse) HasData() bool
- func (o *GetCertificateResponse) HasId() bool
- func (o *GetCertificateResponse) HasLabels() bool
- func (o *GetCertificateResponse) HasName() bool
- func (o *GetCertificateResponse) HasPublicKey() bool
- func (o *GetCertificateResponse) HasRegion() bool
- func (o *GetCertificateResponse) HasUsage() bool
- func (o GetCertificateResponse) MarshalJSON() ([]byte, error)
- func (o *GetCertificateResponse) SetData(v Data)
- func (o *GetCertificateResponse) SetId(v string)
- func (o *GetCertificateResponse) SetLabels(v map[string]string)
- func (o *GetCertificateResponse) SetName(v string)
- func (o *GetCertificateResponse) SetPublicKey(v string)
- func (o *GetCertificateResponse) SetRegion(v string)
- func (o *GetCertificateResponse) SetUsage(v Usage)
- func (o GetCertificateResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCertificateResponse) UnmarshalJSON(data []byte) (err error)
- type GetQuotaResponse
- func (o *GetQuotaResponse) GetProjectId() string
- func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
- func (o *GetQuotaResponse) GetQuotas() Quotas
- func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)
- func (o *GetQuotaResponse) GetRegion() string
- func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
- func (o *GetQuotaResponse) HasProjectId() bool
- func (o *GetQuotaResponse) HasQuotas() bool
- func (o *GetQuotaResponse) HasRegion() bool
- func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
- func (o *GetQuotaResponse) SetProjectId(v string)
- func (o *GetQuotaResponse) SetQuotas(v Quotas)
- func (o *GetQuotaResponse) SetRegion(v string)
- func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
- func (o *GetQuotaResponse) UnmarshalJSON(data []byte) (err error)
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() string
- func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (o *GoogleProtobufAny) SetType(v string)
- func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
- func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
- type ListCertificatesResponse
- func (o *ListCertificatesResponse) GetItems() []GetCertificateResponse
- func (o *ListCertificatesResponse) GetItemsOk() ([]GetCertificateResponse, bool)
- func (o *ListCertificatesResponse) GetNextPageId() string
- func (o *ListCertificatesResponse) GetNextPageIdOk() (*string, bool)
- func (o *ListCertificatesResponse) HasItems() bool
- func (o *ListCertificatesResponse) HasNextPageId() bool
- func (o ListCertificatesResponse) MarshalJSON() ([]byte, error)
- func (o *ListCertificatesResponse) SetItems(v []GetCertificateResponse)
- func (o *ListCertificatesResponse) SetNextPageId(v string)
- func (o ListCertificatesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCertificatesResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableCertificatesQuota
- func (v NullableCertificatesQuota) Get() *CertificatesQuota
- func (v NullableCertificatesQuota) IsSet() bool
- func (v NullableCertificatesQuota) MarshalJSON() ([]byte, error)
- func (v *NullableCertificatesQuota) Set(val *CertificatesQuota)
- func (v *NullableCertificatesQuota) UnmarshalJSON(src []byte) error
- func (v *NullableCertificatesQuota) Unset()
- type NullableCreateCertificatePayload
- func (v NullableCreateCertificatePayload) Get() *CreateCertificatePayload
- func (v NullableCreateCertificatePayload) IsSet() bool
- func (v NullableCreateCertificatePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCertificatePayload) Set(val *CreateCertificatePayload)
- func (v *NullableCreateCertificatePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCertificatePayload) Unset()
- type NullableData
- type NullableFloat32
- type NullableFloat64
- type NullableGetCertificateResponse
- func (v NullableGetCertificateResponse) Get() *GetCertificateResponse
- func (v NullableGetCertificateResponse) IsSet() bool
- func (v NullableGetCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCertificateResponse) Set(val *GetCertificateResponse)
- func (v *NullableGetCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCertificateResponse) Unset()
- type NullableGetQuotaResponse
- func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
- func (v NullableGetQuotaResponse) IsSet() bool
- func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
- func (v *NullableGetQuotaResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetQuotaResponse) Unset()
- type NullableGoogleProtobufAny
- func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
- func (v NullableGoogleProtobufAny) IsSet() bool
- func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
- func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableGoogleProtobufAny) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCertificatesResponse
- func (v NullableListCertificatesResponse) Get() *ListCertificatesResponse
- func (v NullableListCertificatesResponse) IsSet() bool
- func (v NullableListCertificatesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCertificatesResponse) Set(val *ListCertificatesResponse)
- func (v *NullableListCertificatesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCertificatesResponse) Unset()
- type NullableQuotas
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableUsage
- type NullableUsageItem
- type Quotas
- func (o *Quotas) GetCertificates() CertificatesQuota
- func (o *Quotas) GetCertificatesOk() (*CertificatesQuota, bool)
- func (o *Quotas) HasCertificates() bool
- func (o Quotas) MarshalJSON() ([]byte, error)
- func (o *Quotas) SetCertificates(v CertificatesQuota)
- func (o Quotas) ToMap() (map[string]interface{}, error)
- func (o *Quotas) UnmarshalJSON(data []byte) (err error)
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []GoogleProtobufAny
- func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []GoogleProtobufAny)
- func (o *Status) SetMessage(v string)
- func (o Status) ToMap() (map[string]interface{}, error)
- func (o *Status) UnmarshalJSON(data []byte) (err error)
- type Usage
- func (o *Usage) GetCount() int32
- func (o *Usage) GetCountOk() (*int32, bool)
- func (o *Usage) GetItems() []UsageItem
- func (o *Usage) GetItemsOk() ([]UsageItem, bool)
- func (o *Usage) HasCount() bool
- func (o *Usage) HasItems() bool
- func (o Usage) MarshalJSON() ([]byte, error)
- func (o *Usage) SetCount(v int32)
- func (o *Usage) SetItems(v []UsageItem)
- func (o Usage) ToMap() (map[string]interface{}, error)
- func (o *Usage) UnmarshalJSON(data []byte) (err error)
- type UsageItem
- func (o *UsageItem) GetListenerNames() []string
- func (o *UsageItem) GetListenerNamesOk() ([]string, bool)
- func (o *UsageItem) GetLoadBalancerName() string
- func (o *UsageItem) GetLoadBalancerNameOk() (*string, bool)
- func (o *UsageItem) HasListenerNames() bool
- func (o *UsageItem) HasLoadBalancerName() bool
- func (o UsageItem) MarshalJSON() ([]byte, error)
- func (o *UsageItem) SetListenerNames(v []string)
- func (o *UsageItem) SetLoadBalancerName(v string)
- func (o UsageItem) ToMap() (map[string]interface{}, error)
- func (o *UsageItem) 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)`) )
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 Application Load Balancer Certificates API API v2.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 ApiCreateCertificateRequest ¶
type ApiCreateCertificateRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateCertificateRequest) CreateCertificatePayload ¶
func (r ApiCreateCertificateRequest) CreateCertificatePayload(createCertificatePayload CreateCertificatePayload) ApiCreateCertificateRequest
func (ApiCreateCertificateRequest) Execute ¶
func (r ApiCreateCertificateRequest) Execute() (*GetCertificateResponse, error)
type ApiDeleteCertificateRequest ¶
type ApiDeleteCertificateRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteCertificateRequest) Execute ¶
func (r ApiDeleteCertificateRequest) Execute() (map[string]interface{}, error)
type ApiGetCertificateRequest ¶
type ApiGetCertificateRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCertificateRequest) Execute ¶
func (r ApiGetCertificateRequest) Execute() (*GetCertificateResponse, error)
type ApiGetQuotaRequest ¶ added in v1.5.0
type ApiGetQuotaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetQuotaRequest) Execute ¶ added in v1.5.0
func (r ApiGetQuotaRequest) Execute() (*GetQuotaResponse, error)
type ApiListCertificatesRequest ¶
type ApiListCertificatesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCertificatesRequest) Execute ¶
func (r ApiListCertificatesRequest) Execute() (*ListCertificatesResponse, error)
func (ApiListCertificatesRequest) PageId ¶
func (r ApiListCertificatesRequest) PageId(pageId string) ApiListCertificatesRequest
page_id is a page identifier returned by the previous response and is used to request the next page
func (ApiListCertificatesRequest) PageSize ¶
func (r ApiListCertificatesRequest) PageSize(pageSize string) ApiListCertificatesRequest
page_size specifies how many certificates should be returned on this page. Must be a positive number <= 1000
type CertificatesQuota ¶ added in v1.5.0
type CertificatesQuota struct {
// The maximum number of TLS certificates in this project.
Limit *int32 `json:"limit,omitempty"`
// The number of certificates that are currently existing in this project.
Usage *int32 `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
CertificatesQuota Certificates quotas holds the limits and usage for certificates resources
func NewCertificatesQuota ¶ added in v1.5.0
func NewCertificatesQuota() *CertificatesQuota
NewCertificatesQuota instantiates a new CertificatesQuota 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 NewCertificatesQuotaWithDefaults ¶ added in v1.5.0
func NewCertificatesQuotaWithDefaults() *CertificatesQuota
NewCertificatesQuotaWithDefaults instantiates a new CertificatesQuota 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 (*CertificatesQuota) GetLimit ¶ added in v1.5.0
func (o *CertificatesQuota) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*CertificatesQuota) GetLimitOk ¶ added in v1.5.0
func (o *CertificatesQuota) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificatesQuota) GetUsage ¶ added in v1.5.0
func (o *CertificatesQuota) GetUsage() int32
GetUsage returns the Usage field value if set, zero value otherwise.
func (*CertificatesQuota) GetUsageOk ¶ added in v1.5.0
func (o *CertificatesQuota) GetUsageOk() (*int32, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificatesQuota) HasLimit ¶ added in v1.5.0
func (o *CertificatesQuota) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*CertificatesQuota) HasUsage ¶ added in v1.5.0
func (o *CertificatesQuota) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (CertificatesQuota) MarshalJSON ¶ added in v1.5.0
func (o CertificatesQuota) MarshalJSON() ([]byte, error)
func (*CertificatesQuota) SetLimit ¶ added in v1.5.0
func (o *CertificatesQuota) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*CertificatesQuota) SetUsage ¶ added in v1.5.0
func (o *CertificatesQuota) SetUsage(v int32)
SetUsage gets a reference to the given int32 and assigns it to the Usage field.
func (CertificatesQuota) ToMap ¶ added in v1.5.0
func (o CertificatesQuota) ToMap() (map[string]interface{}, error)
func (*CertificatesQuota) UnmarshalJSON ¶ added in v1.5.0
func (o *CertificatesQuota) UnmarshalJSON(data []byte) (err error)
type CreateCertificatePayload ¶
type CreateCertificatePayload struct {
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per Certificate. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// TLS certificate name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// The PEM encoded private key part
PrivateKey *string `json:"privateKey,omitempty"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// The PEM encoded public key part
PublicKey *string `json:"publicKey,omitempty"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
CreateCertificatePayload Uploads a PEM encoded X509 public/private key pair
func NewCreateCertificatePayload ¶
func NewCreateCertificatePayload() *CreateCertificatePayload
NewCreateCertificatePayload instantiates a new CreateCertificatePayload 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 NewCreateCertificatePayloadWithDefaults ¶
func NewCreateCertificatePayloadWithDefaults() *CreateCertificatePayload
NewCreateCertificatePayloadWithDefaults instantiates a new CreateCertificatePayload 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 (*CreateCertificatePayload) GetLabels ¶ added in v1.7.0
func (o *CreateCertificatePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetLabelsOk ¶ added in v1.7.0
func (o *CreateCertificatePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) GetName ¶
func (o *CreateCertificatePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetNameOk ¶
func (o *CreateCertificatePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) GetPrivateKey ¶
func (o *CreateCertificatePayload) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetPrivateKeyOk ¶
func (o *CreateCertificatePayload) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) GetProjectId ¶
func (o *CreateCertificatePayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetProjectIdOk ¶
func (o *CreateCertificatePayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) GetPublicKey ¶
func (o *CreateCertificatePayload) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetPublicKeyOk ¶
func (o *CreateCertificatePayload) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) GetRegion ¶
func (o *CreateCertificatePayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetRegionOk ¶
func (o *CreateCertificatePayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCertificatePayload) HasLabels ¶ added in v1.7.0
func (o *CreateCertificatePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateCertificatePayload) HasName ¶
func (o *CreateCertificatePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateCertificatePayload) HasPrivateKey ¶
func (o *CreateCertificatePayload) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (*CreateCertificatePayload) HasProjectId ¶
func (o *CreateCertificatePayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateCertificatePayload) HasPublicKey ¶
func (o *CreateCertificatePayload) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (*CreateCertificatePayload) HasRegion ¶
func (o *CreateCertificatePayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CreateCertificatePayload) MarshalJSON ¶
func (o CreateCertificatePayload) MarshalJSON() ([]byte, error)
func (*CreateCertificatePayload) SetLabels ¶ added in v1.7.0
func (o *CreateCertificatePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateCertificatePayload) SetName ¶
func (o *CreateCertificatePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateCertificatePayload) SetPrivateKey ¶
func (o *CreateCertificatePayload) SetPrivateKey(v string)
SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.
func (*CreateCertificatePayload) SetProjectId ¶
func (o *CreateCertificatePayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateCertificatePayload) SetPublicKey ¶
func (o *CreateCertificatePayload) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*CreateCertificatePayload) SetRegion ¶
func (o *CreateCertificatePayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (CreateCertificatePayload) ToMap ¶
func (o CreateCertificatePayload) ToMap() (map[string]interface{}, error)
func (*CreateCertificatePayload) UnmarshalJSON ¶ added in v1.4.0
func (o *CreateCertificatePayload) UnmarshalJSON(data []byte) (err error)
type Data ¶ added in v1.8.0
type Data struct {
// Comma-separated list of all domains and IP addresses the certificate is valid for (Subject Alternative Names).
DnsNames *string `json:"dnsNames,omitempty"`
// Comma-separated list of purposes the cert is valid for. 'Server Auth' is required for Load Balancer use.
ExtendedKeyUsage *string `json:"extendedKeyUsage,omitempty"`
// The legacy SHA1 thumbprint. Provided for cross-referencing with older systems and browsers.
FingerprintSha1 *string `json:"fingerprintSha1,omitempty" validate:"regexp=^[a-fA-F0-9]{40}$"`
// The unique SHA256 hash of the raw certificate bytes. Use this as the primary unique identifier.
FingerprintSha256 *string `json:"fingerprintSha256,omitempty" validate:"regexp=^[a-fA-F0-9]{64}$"`
// Indicates if the certificate is a Certificate Authority, meaning it can sign other certificates.
IsCa *bool `json:"isCa,omitempty"`
// Indicates if the certificate was signed by its own private key rather than a trusted third-party CA.
IsSelfSigned *bool `json:"isSelfSigned,omitempty"`
// The Common Name of the Certificate Authority (CA) that signed and issued the certificate.
IssuerCn *string `json:"issuerCn,omitempty"`
// Human-readable summary of the public key's algorithm and bit-length or curve name.
KeyStrength *string `json:"keyStrength,omitempty"`
// The expiration timestamp. After this date, browsers will show security warnings (RFC3339 format).
NotAfter *string `json:"notAfter,omitempty"`
// The timestamp indicating when the certificate starts being valid (RFC3339 format).
NotBefore *string `json:"notBefore,omitempty"`
// Organization name associated with the certificate subject.
Organization *string `json:"organization,omitempty"`
// The cryptographic algorithm used to generate the public/private key pair.
PublicKeyAlgorithm *string `json:"publicKeyAlgorithm,omitempty"`
// The unique serial number assigned by the CA, represented in uppercase hexadecimal format.
SerialNumber *string `json:"serialNumber,omitempty"`
// The algorithm used by the CA to sign this certificate.
SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"`
// The primary identity of the certificate. Fallback sequence: Common Name -> First DNS Name -> Full Subject String.
SubjectCn *string `json:"subjectCn,omitempty"`
AdditionalProperties map[string]interface{}
}
Data struct for Data
func NewData ¶ added in v1.8.0
func NewData() *Data
NewData instantiates a new Data 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 NewDataWithDefaults ¶ added in v1.8.0
func NewDataWithDefaults() *Data
NewDataWithDefaults instantiates a new Data 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 (*Data) GetDnsNames ¶ added in v1.8.0
GetDnsNames returns the DnsNames field value if set, zero value otherwise.
func (*Data) GetDnsNamesOk ¶ added in v1.8.0
GetDnsNamesOk returns a tuple with the DnsNames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetExtendedKeyUsage ¶ added in v1.8.0
GetExtendedKeyUsage returns the ExtendedKeyUsage field value if set, zero value otherwise.
func (*Data) GetExtendedKeyUsageOk ¶ added in v1.8.0
GetExtendedKeyUsageOk returns a tuple with the ExtendedKeyUsage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetFingerprintSha1 ¶ added in v1.8.0
GetFingerprintSha1 returns the FingerprintSha1 field value if set, zero value otherwise.
func (*Data) GetFingerprintSha1Ok ¶ added in v1.8.0
GetFingerprintSha1Ok returns a tuple with the FingerprintSha1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetFingerprintSha256 ¶ added in v1.8.0
GetFingerprintSha256 returns the FingerprintSha256 field value if set, zero value otherwise.
func (*Data) GetFingerprintSha256Ok ¶ added in v1.8.0
GetFingerprintSha256Ok returns a tuple with the FingerprintSha256 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetIsCa ¶ added in v1.8.0
GetIsCa returns the IsCa field value if set, zero value otherwise.
func (*Data) GetIsCaOk ¶ added in v1.8.0
GetIsCaOk returns a tuple with the IsCa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetIsSelfSigned ¶ added in v1.8.0
GetIsSelfSigned returns the IsSelfSigned field value if set, zero value otherwise.
func (*Data) GetIsSelfSignedOk ¶ added in v1.8.0
GetIsSelfSignedOk returns a tuple with the IsSelfSigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetIssuerCn ¶ added in v1.8.0
GetIssuerCn returns the IssuerCn field value if set, zero value otherwise.
func (*Data) GetIssuerCnOk ¶ added in v1.8.0
GetIssuerCnOk returns a tuple with the IssuerCn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetKeyStrength ¶ added in v1.8.0
GetKeyStrength returns the KeyStrength field value if set, zero value otherwise.
func (*Data) GetKeyStrengthOk ¶ added in v1.8.0
GetKeyStrengthOk returns a tuple with the KeyStrength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetNotAfter ¶ added in v1.8.0
GetNotAfter returns the NotAfter field value if set, zero value otherwise.
func (*Data) GetNotAfterOk ¶ added in v1.8.0
GetNotAfterOk returns a tuple with the NotAfter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetNotBefore ¶ added in v1.8.0
GetNotBefore returns the NotBefore field value if set, zero value otherwise.
func (*Data) GetNotBeforeOk ¶ added in v1.8.0
GetNotBeforeOk returns a tuple with the NotBefore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetOrganization ¶ added in v1.8.0
GetOrganization returns the Organization field value if set, zero value otherwise.
func (*Data) GetOrganizationOk ¶ added in v1.8.0
GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetPublicKeyAlgorithm ¶ added in v1.8.0
GetPublicKeyAlgorithm returns the PublicKeyAlgorithm field value if set, zero value otherwise.
func (*Data) GetPublicKeyAlgorithmOk ¶ added in v1.8.0
GetPublicKeyAlgorithmOk returns a tuple with the PublicKeyAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetSerialNumber ¶ added in v1.8.0
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*Data) GetSerialNumberOk ¶ added in v1.8.0
GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetSignatureAlgorithm ¶ added in v1.8.0
GetSignatureAlgorithm returns the SignatureAlgorithm field value if set, zero value otherwise.
func (*Data) GetSignatureAlgorithmOk ¶ added in v1.8.0
GetSignatureAlgorithmOk returns a tuple with the SignatureAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) GetSubjectCn ¶ added in v1.8.0
GetSubjectCn returns the SubjectCn field value if set, zero value otherwise.
func (*Data) GetSubjectCnOk ¶ added in v1.8.0
GetSubjectCnOk returns a tuple with the SubjectCn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Data) HasDnsNames ¶ added in v1.8.0
HasDnsNames returns a boolean if a field has been set.
func (*Data) HasExtendedKeyUsage ¶ added in v1.8.0
HasExtendedKeyUsage returns a boolean if a field has been set.
func (*Data) HasFingerprintSha1 ¶ added in v1.8.0
HasFingerprintSha1 returns a boolean if a field has been set.
func (*Data) HasFingerprintSha256 ¶ added in v1.8.0
HasFingerprintSha256 returns a boolean if a field has been set.
func (*Data) HasIsSelfSigned ¶ added in v1.8.0
HasIsSelfSigned returns a boolean if a field has been set.
func (*Data) HasIssuerCn ¶ added in v1.8.0
HasIssuerCn returns a boolean if a field has been set.
func (*Data) HasKeyStrength ¶ added in v1.8.0
HasKeyStrength returns a boolean if a field has been set.
func (*Data) HasNotAfter ¶ added in v1.8.0
HasNotAfter returns a boolean if a field has been set.
func (*Data) HasNotBefore ¶ added in v1.8.0
HasNotBefore returns a boolean if a field has been set.
func (*Data) HasOrganization ¶ added in v1.8.0
HasOrganization returns a boolean if a field has been set.
func (*Data) HasPublicKeyAlgorithm ¶ added in v1.8.0
HasPublicKeyAlgorithm returns a boolean if a field has been set.
func (*Data) HasSerialNumber ¶ added in v1.8.0
HasSerialNumber returns a boolean if a field has been set.
func (*Data) HasSignatureAlgorithm ¶ added in v1.8.0
HasSignatureAlgorithm returns a boolean if a field has been set.
func (*Data) HasSubjectCn ¶ added in v1.8.0
HasSubjectCn returns a boolean if a field has been set.
func (Data) MarshalJSON ¶ added in v1.8.0
func (*Data) SetDnsNames ¶ added in v1.8.0
SetDnsNames gets a reference to the given string and assigns it to the DnsNames field.
func (*Data) SetExtendedKeyUsage ¶ added in v1.8.0
SetExtendedKeyUsage gets a reference to the given string and assigns it to the ExtendedKeyUsage field.
func (*Data) SetFingerprintSha1 ¶ added in v1.8.0
SetFingerprintSha1 gets a reference to the given string and assigns it to the FingerprintSha1 field.
func (*Data) SetFingerprintSha256 ¶ added in v1.8.0
SetFingerprintSha256 gets a reference to the given string and assigns it to the FingerprintSha256 field.
func (*Data) SetIsCa ¶ added in v1.8.0
SetIsCa gets a reference to the given bool and assigns it to the IsCa field.
func (*Data) SetIsSelfSigned ¶ added in v1.8.0
SetIsSelfSigned gets a reference to the given bool and assigns it to the IsSelfSigned field.
func (*Data) SetIssuerCn ¶ added in v1.8.0
SetIssuerCn gets a reference to the given string and assigns it to the IssuerCn field.
func (*Data) SetKeyStrength ¶ added in v1.8.0
SetKeyStrength gets a reference to the given string and assigns it to the KeyStrength field.
func (*Data) SetNotAfter ¶ added in v1.8.0
SetNotAfter gets a reference to the given string and assigns it to the NotAfter field.
func (*Data) SetNotBefore ¶ added in v1.8.0
SetNotBefore gets a reference to the given string and assigns it to the NotBefore field.
func (*Data) SetOrganization ¶ added in v1.8.0
SetOrganization gets a reference to the given string and assigns it to the Organization field.
func (*Data) SetPublicKeyAlgorithm ¶ added in v1.8.0
SetPublicKeyAlgorithm gets a reference to the given string and assigns it to the PublicKeyAlgorithm field.
func (*Data) SetSerialNumber ¶ added in v1.8.0
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*Data) SetSignatureAlgorithm ¶ added in v1.8.0
SetSignatureAlgorithm gets a reference to the given string and assigns it to the SignatureAlgorithm field.
func (*Data) SetSubjectCn ¶ added in v1.8.0
SetSubjectCn gets a reference to the given string and assigns it to the SubjectCn field.
func (*Data) UnmarshalJSON ¶ added in v1.8.0
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateCertificate Store a TLS certificate in a project.
CreateCertificate will store a TLS certificate in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateCertificateRequest
*/
CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
// CreateCertificateExecute executes the request
// @return GetCertificateResponse
CreateCertificateExecute(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
/*
DeleteCertificate Delete a stored TLS certificate in a project.
DeleteCertificate will delete the stored TLS certificate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param id
@return ApiDeleteCertificateRequest
*/
DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
// DeleteCertificateExecute executes the request
// @return map[string]interface{}
DeleteCertificateExecute(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
/*
GetCertificate Retrieve the public parts of a stored TLS certificate.
GetCertificate will return the public parts of a stored TLS certificate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param id
@return ApiGetCertificateRequest
*/
GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
// GetCertificateExecute executes the request
// @return GetCertificateResponse
GetCertificateExecute(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
/*
GetQuota Get the quota for TLS certificates in a project.
Retrieves the configured TLS certificate quota for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiGetQuotaRequest
*/
GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
// GetQuotaExecute executes the request
// @return GetQuotaResponse
GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
/*
ListCertificates Retrieve the list of TLS certificate stored in a project.
ListCertificates will return the list of TLS certificates in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListCertificatesRequest
*/
ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
// ListCertificatesExecute executes the request
// @return ListCertificatesResponse
ListCertificatesExecute(r ApiListCertificatesRequest) (*ListCertificatesResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateCertificate ¶
func (a *DefaultAPIService) CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
CreateCertificate Store a TLS certificate in a project.
CreateCertificate will store a TLS certificate in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateCertificateRequest
func (*DefaultAPIService) CreateCertificateExecute ¶
func (a *DefaultAPIService) CreateCertificateExecute(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
Execute executes the request
@return GetCertificateResponse
func (*DefaultAPIService) DeleteCertificate ¶
func (a *DefaultAPIService) DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
DeleteCertificate Delete a stored TLS certificate in a project.
DeleteCertificate will delete the stored TLS certificate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param id @return ApiDeleteCertificateRequest
func (*DefaultAPIService) DeleteCertificateExecute ¶
func (a *DefaultAPIService) DeleteCertificateExecute(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) GetCertificate ¶
func (a *DefaultAPIService) GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
GetCertificate Retrieve the public parts of a stored TLS certificate.
GetCertificate will return the public parts of a stored TLS certificate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param id @return ApiGetCertificateRequest
func (*DefaultAPIService) GetCertificateExecute ¶
func (a *DefaultAPIService) GetCertificateExecute(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
Execute executes the request
@return GetCertificateResponse
func (*DefaultAPIService) GetQuota ¶ added in v1.5.0
func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
GetQuota Get the quota for TLS certificates in a project.
Retrieves the configured TLS certificate quota for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiGetQuotaRequest
func (*DefaultAPIService) GetQuotaExecute ¶ added in v1.5.0
func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
Execute executes the request
@return GetQuotaResponse
func (*DefaultAPIService) ListCertificates ¶
func (a *DefaultAPIService) ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
ListCertificates Retrieve the list of TLS certificate stored in a project.
ListCertificates will return the list of TLS certificates in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListCertificatesRequest
func (*DefaultAPIService) ListCertificatesExecute ¶
func (a *DefaultAPIService) ListCertificatesExecute(r ApiListCertificatesRequest) (*ListCertificatesResponse, error)
Execute executes the request
@return ListCertificatesResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateCertificateExecuteMock can be populated to implement the behavior of the CreateCertificateExecute function of this mock
CreateCertificateExecuteMock *func(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
// DeleteCertificateExecuteMock can be populated to implement the behavior of the DeleteCertificateExecute function of this mock
DeleteCertificateExecuteMock *func(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
// GetCertificateExecuteMock can be populated to implement the behavior of the GetCertificateExecute function of this mock
GetCertificateExecuteMock *func(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
// GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
// ListCertificatesExecuteMock can be populated to implement the behavior of the ListCertificatesExecute function of this mock
ListCertificatesExecuteMock *func(r ApiListCertificatesRequest) (*ListCertificatesResponse, 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) CreateCertificate ¶
func (a DefaultAPIServiceMock) CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
func (DefaultAPIServiceMock) CreateCertificateExecute ¶
func (a DefaultAPIServiceMock) CreateCertificateExecute(r ApiCreateCertificateRequest) (*GetCertificateResponse, error)
CreateCertificateExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCertificateExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteCertificate ¶
func (a DefaultAPIServiceMock) DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
func (DefaultAPIServiceMock) DeleteCertificateExecute ¶
func (a DefaultAPIServiceMock) DeleteCertificateExecute(r ApiDeleteCertificateRequest) (map[string]interface{}, error)
DeleteCertificateExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCertificateExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCertificate ¶
func (a DefaultAPIServiceMock) GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
func (DefaultAPIServiceMock) GetCertificateExecute ¶
func (a DefaultAPIServiceMock) GetCertificateExecute(r ApiGetCertificateRequest) (*GetCertificateResponse, error)
GetCertificateExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCertificateExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetQuota ¶ added in v1.5.0
func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
func (DefaultAPIServiceMock) GetQuotaExecute ¶ added in v1.5.0
func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCertificates ¶
func (a DefaultAPIServiceMock) ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
func (DefaultAPIServiceMock) ListCertificatesExecute ¶
func (a DefaultAPIServiceMock) ListCertificatesExecute(r ApiListCertificatesRequest) (*ListCertificatesResponse, error)
ListCertificatesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCertificatesExecuteMock field in the DefaultAPIServiceMock struct.
type GetCertificateResponse ¶
type GetCertificateResponse struct {
Data *Data `json:"data,omitempty"`
// The certificates resource id
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,251}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per Certificate. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Certificate display name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,251}[0-9a-z])?$"`
// The PEM encoded public key part
PublicKey *string `json:"publicKey,omitempty"`
// Region of the LoadBalancer
Region *string `json:"region,omitempty"`
Usage *Usage `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCertificateResponse GetCertificateResponse returns name, id and public key
func NewGetCertificateResponse ¶
func NewGetCertificateResponse() *GetCertificateResponse
NewGetCertificateResponse instantiates a new GetCertificateResponse 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 NewGetCertificateResponseWithDefaults ¶
func NewGetCertificateResponseWithDefaults() *GetCertificateResponse
NewGetCertificateResponseWithDefaults instantiates a new GetCertificateResponse 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 (*GetCertificateResponse) GetData ¶ added in v1.8.0
func (o *GetCertificateResponse) GetData() Data
GetData returns the Data field value if set, zero value otherwise.
func (*GetCertificateResponse) GetDataOk ¶ added in v1.8.0
func (o *GetCertificateResponse) GetDataOk() (*Data, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetId ¶
func (o *GetCertificateResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GetCertificateResponse) GetIdOk ¶
func (o *GetCertificateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetLabels ¶ added in v1.7.0
func (o *GetCertificateResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetCertificateResponse) GetLabelsOk ¶ added in v1.7.0
func (o *GetCertificateResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetName ¶
func (o *GetCertificateResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetCertificateResponse) GetNameOk ¶
func (o *GetCertificateResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetPublicKey ¶
func (o *GetCertificateResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*GetCertificateResponse) GetPublicKeyOk ¶
func (o *GetCertificateResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetRegion ¶
func (o *GetCertificateResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetCertificateResponse) GetRegionOk ¶
func (o *GetCertificateResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) GetUsage ¶ added in v1.8.0
func (o *GetCertificateResponse) GetUsage() Usage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetCertificateResponse) GetUsageOk ¶ added in v1.8.0
func (o *GetCertificateResponse) GetUsageOk() (*Usage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCertificateResponse) HasData ¶ added in v1.8.0
func (o *GetCertificateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetCertificateResponse) HasId ¶
func (o *GetCertificateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*GetCertificateResponse) HasLabels ¶ added in v1.7.0
func (o *GetCertificateResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetCertificateResponse) HasName ¶
func (o *GetCertificateResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetCertificateResponse) HasPublicKey ¶
func (o *GetCertificateResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (*GetCertificateResponse) HasRegion ¶
func (o *GetCertificateResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*GetCertificateResponse) HasUsage ¶ added in v1.8.0
func (o *GetCertificateResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (GetCertificateResponse) MarshalJSON ¶
func (o GetCertificateResponse) MarshalJSON() ([]byte, error)
func (*GetCertificateResponse) SetData ¶ added in v1.8.0
func (o *GetCertificateResponse) SetData(v Data)
SetData gets a reference to the given Data and assigns it to the Data field.
func (*GetCertificateResponse) SetId ¶
func (o *GetCertificateResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetCertificateResponse) SetLabels ¶ added in v1.7.0
func (o *GetCertificateResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetCertificateResponse) SetName ¶
func (o *GetCertificateResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetCertificateResponse) SetPublicKey ¶
func (o *GetCertificateResponse) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*GetCertificateResponse) SetRegion ¶
func (o *GetCertificateResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*GetCertificateResponse) SetUsage ¶ added in v1.8.0
func (o *GetCertificateResponse) SetUsage(v Usage)
SetUsage gets a reference to the given Usage and assigns it to the Usage field.
func (GetCertificateResponse) ToMap ¶
func (o GetCertificateResponse) ToMap() (map[string]interface{}, error)
func (*GetCertificateResponse) UnmarshalJSON ¶ added in v1.4.0
func (o *GetCertificateResponse) UnmarshalJSON(data []byte) (err error)
type GetQuotaResponse ¶ added in v1.5.0
type GetQuotaResponse struct {
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
Quotas *Quotas `json:"quotas,omitempty"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
GetQuotaResponse struct for GetQuotaResponse
func NewGetQuotaResponse ¶ added in v1.5.0
func NewGetQuotaResponse() *GetQuotaResponse
NewGetQuotaResponse instantiates a new GetQuotaResponse 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 NewGetQuotaResponseWithDefaults ¶ added in v1.5.0
func NewGetQuotaResponseWithDefaults() *GetQuotaResponse
NewGetQuotaResponseWithDefaults instantiates a new GetQuotaResponse 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 (*GetQuotaResponse) GetProjectId ¶ added in v1.5.0
func (o *GetQuotaResponse) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*GetQuotaResponse) GetProjectIdOk ¶ added in v1.5.0
func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetQuotas ¶ added in v1.5.0
func (o *GetQuotaResponse) GetQuotas() Quotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*GetQuotaResponse) GetQuotasOk ¶ added in v1.5.0
func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetRegion ¶ added in v1.5.0
func (o *GetQuotaResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetQuotaResponse) GetRegionOk ¶ added in v1.5.0
func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) HasProjectId ¶ added in v1.5.0
func (o *GetQuotaResponse) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*GetQuotaResponse) HasQuotas ¶ added in v1.5.0
func (o *GetQuotaResponse) HasQuotas() bool
HasQuotas returns a boolean if a field has been set.
func (*GetQuotaResponse) HasRegion ¶ added in v1.5.0
func (o *GetQuotaResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (GetQuotaResponse) MarshalJSON ¶ added in v1.5.0
func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
func (*GetQuotaResponse) SetProjectId ¶ added in v1.5.0
func (o *GetQuotaResponse) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*GetQuotaResponse) SetQuotas ¶ added in v1.5.0
func (o *GetQuotaResponse) SetQuotas(v Quotas)
SetQuotas gets a reference to the given Quotas and assigns it to the Quotas field.
func (*GetQuotaResponse) SetRegion ¶ added in v1.5.0
func (o *GetQuotaResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (GetQuotaResponse) ToMap ¶ added in v1.5.0
func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
func (*GetQuotaResponse) UnmarshalJSON ¶ added in v1.5.0
func (o *GetQuotaResponse) UnmarshalJSON(data []byte) (err error)
type GoogleProtobufAny ¶
type GoogleProtobufAny struct {
// The type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{}
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny 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 NewGoogleProtobufAnyWithDefaults ¶
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny 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 (*GoogleProtobufAny) GetType ¶
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoogleProtobufAny) HasType ¶
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (GoogleProtobufAny) ToMap ¶
func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
func (*GoogleProtobufAny) UnmarshalJSON ¶
func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
type ListCertificatesResponse ¶
type ListCertificatesResponse struct {
Items []GetCertificateResponse `json:"items,omitempty"`
// Continue token from the ListCertificatesResponse with Limit option
NextPageId *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
AdditionalProperties map[string]interface{}
}
ListCertificatesResponse ListCertificateResponse returns a list of certificate responses
func NewListCertificatesResponse ¶
func NewListCertificatesResponse() *ListCertificatesResponse
NewListCertificatesResponse instantiates a new ListCertificatesResponse 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 NewListCertificatesResponseWithDefaults ¶
func NewListCertificatesResponseWithDefaults() *ListCertificatesResponse
NewListCertificatesResponseWithDefaults instantiates a new ListCertificatesResponse 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 (*ListCertificatesResponse) GetItems ¶
func (o *ListCertificatesResponse) GetItems() []GetCertificateResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ListCertificatesResponse) GetItemsOk ¶
func (o *ListCertificatesResponse) GetItemsOk() ([]GetCertificateResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCertificatesResponse) GetNextPageId ¶
func (o *ListCertificatesResponse) GetNextPageId() string
GetNextPageId returns the NextPageId field value if set, zero value otherwise.
func (*ListCertificatesResponse) GetNextPageIdOk ¶
func (o *ListCertificatesResponse) GetNextPageIdOk() (*string, bool)
GetNextPageIdOk returns a tuple with the NextPageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCertificatesResponse) HasItems ¶
func (o *ListCertificatesResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ListCertificatesResponse) HasNextPageId ¶
func (o *ListCertificatesResponse) HasNextPageId() bool
HasNextPageId returns a boolean if a field has been set.
func (ListCertificatesResponse) MarshalJSON ¶
func (o ListCertificatesResponse) MarshalJSON() ([]byte, error)
func (*ListCertificatesResponse) SetItems ¶
func (o *ListCertificatesResponse) SetItems(v []GetCertificateResponse)
SetItems gets a reference to the given []GetCertificateResponse and assigns it to the Items field.
func (*ListCertificatesResponse) SetNextPageId ¶
func (o *ListCertificatesResponse) SetNextPageId(v string)
SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.
func (ListCertificatesResponse) ToMap ¶
func (o ListCertificatesResponse) ToMap() (map[string]interface{}, error)
func (*ListCertificatesResponse) UnmarshalJSON ¶ added in v1.4.0
func (o *ListCertificatesResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
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 NullableCertificatesQuota ¶ added in v1.5.0
type NullableCertificatesQuota struct {
// contains filtered or unexported fields
}
func NewNullableCertificatesQuota ¶ added in v1.5.0
func NewNullableCertificatesQuota(val *CertificatesQuota) *NullableCertificatesQuota
func (NullableCertificatesQuota) Get ¶ added in v1.5.0
func (v NullableCertificatesQuota) Get() *CertificatesQuota
func (NullableCertificatesQuota) IsSet ¶ added in v1.5.0
func (v NullableCertificatesQuota) IsSet() bool
func (NullableCertificatesQuota) MarshalJSON ¶ added in v1.5.0
func (v NullableCertificatesQuota) MarshalJSON() ([]byte, error)
func (*NullableCertificatesQuota) Set ¶ added in v1.5.0
func (v *NullableCertificatesQuota) Set(val *CertificatesQuota)
func (*NullableCertificatesQuota) UnmarshalJSON ¶ added in v1.5.0
func (v *NullableCertificatesQuota) UnmarshalJSON(src []byte) error
func (*NullableCertificatesQuota) Unset ¶ added in v1.5.0
func (v *NullableCertificatesQuota) Unset()
type NullableCreateCertificatePayload ¶
type NullableCreateCertificatePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateCertificatePayload ¶
func NewNullableCreateCertificatePayload(val *CreateCertificatePayload) *NullableCreateCertificatePayload
func (NullableCreateCertificatePayload) Get ¶
func (v NullableCreateCertificatePayload) Get() *CreateCertificatePayload
func (NullableCreateCertificatePayload) IsSet ¶
func (v NullableCreateCertificatePayload) IsSet() bool
func (NullableCreateCertificatePayload) MarshalJSON ¶
func (v NullableCreateCertificatePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateCertificatePayload) Set ¶
func (v *NullableCreateCertificatePayload) Set(val *CreateCertificatePayload)
func (*NullableCreateCertificatePayload) UnmarshalJSON ¶
func (v *NullableCreateCertificatePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateCertificatePayload) Unset ¶
func (v *NullableCreateCertificatePayload) Unset()
type NullableData ¶ added in v1.8.0
type NullableData struct {
// contains filtered or unexported fields
}
func NewNullableData ¶ added in v1.8.0
func NewNullableData(val *Data) *NullableData
func (NullableData) Get ¶ added in v1.8.0
func (v NullableData) Get() *Data
func (NullableData) IsSet ¶ added in v1.8.0
func (v NullableData) IsSet() bool
func (NullableData) MarshalJSON ¶ added in v1.8.0
func (v NullableData) MarshalJSON() ([]byte, error)
func (*NullableData) Set ¶ added in v1.8.0
func (v *NullableData) Set(val *Data)
func (*NullableData) UnmarshalJSON ¶ added in v1.8.0
func (v *NullableData) UnmarshalJSON(src []byte) error
func (*NullableData) Unset ¶ added in v1.8.0
func (v *NullableData) 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 NullableGetCertificateResponse ¶
type NullableGetCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCertificateResponse ¶
func NewNullableGetCertificateResponse(val *GetCertificateResponse) *NullableGetCertificateResponse
func (NullableGetCertificateResponse) Get ¶
func (v NullableGetCertificateResponse) Get() *GetCertificateResponse
func (NullableGetCertificateResponse) IsSet ¶
func (v NullableGetCertificateResponse) IsSet() bool
func (NullableGetCertificateResponse) MarshalJSON ¶
func (v NullableGetCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCertificateResponse) Set ¶
func (v *NullableGetCertificateResponse) Set(val *GetCertificateResponse)
func (*NullableGetCertificateResponse) UnmarshalJSON ¶
func (v *NullableGetCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCertificateResponse) Unset ¶
func (v *NullableGetCertificateResponse) Unset()
type NullableGetQuotaResponse ¶ added in v1.5.0
type NullableGetQuotaResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetQuotaResponse ¶ added in v1.5.0
func NewNullableGetQuotaResponse(val *GetQuotaResponse) *NullableGetQuotaResponse
func (NullableGetQuotaResponse) Get ¶ added in v1.5.0
func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
func (NullableGetQuotaResponse) IsSet ¶ added in v1.5.0
func (v NullableGetQuotaResponse) IsSet() bool
func (NullableGetQuotaResponse) MarshalJSON ¶ added in v1.5.0
func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
func (*NullableGetQuotaResponse) Set ¶ added in v1.5.0
func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
func (*NullableGetQuotaResponse) UnmarshalJSON ¶ added in v1.5.0
func (v *NullableGetQuotaResponse) UnmarshalJSON(src []byte) error
func (*NullableGetQuotaResponse) Unset ¶ added in v1.5.0
func (v *NullableGetQuotaResponse) Unset()
type NullableGoogleProtobufAny ¶
type NullableGoogleProtobufAny struct {
// contains filtered or unexported fields
}
func NewNullableGoogleProtobufAny ¶
func NewNullableGoogleProtobufAny(val *GoogleProtobufAny) *NullableGoogleProtobufAny
func (NullableGoogleProtobufAny) Get ¶
func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
func (NullableGoogleProtobufAny) IsSet ¶
func (v NullableGoogleProtobufAny) IsSet() bool
func (NullableGoogleProtobufAny) MarshalJSON ¶
func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*NullableGoogleProtobufAny) Set ¶
func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
func (*NullableGoogleProtobufAny) UnmarshalJSON ¶
func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
func (*NullableGoogleProtobufAny) Unset ¶
func (v *NullableGoogleProtobufAny) 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 NullableListCertificatesResponse ¶
type NullableListCertificatesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCertificatesResponse ¶
func NewNullableListCertificatesResponse(val *ListCertificatesResponse) *NullableListCertificatesResponse
func (NullableListCertificatesResponse) Get ¶
func (v NullableListCertificatesResponse) Get() *ListCertificatesResponse
func (NullableListCertificatesResponse) IsSet ¶
func (v NullableListCertificatesResponse) IsSet() bool
func (NullableListCertificatesResponse) MarshalJSON ¶
func (v NullableListCertificatesResponse) MarshalJSON() ([]byte, error)
func (*NullableListCertificatesResponse) Set ¶
func (v *NullableListCertificatesResponse) Set(val *ListCertificatesResponse)
func (*NullableListCertificatesResponse) UnmarshalJSON ¶
func (v *NullableListCertificatesResponse) UnmarshalJSON(src []byte) error
func (*NullableListCertificatesResponse) Unset ¶
func (v *NullableListCertificatesResponse) Unset()
type NullableQuotas ¶ added in v1.5.0
type NullableQuotas struct {
// contains filtered or unexported fields
}
func NewNullableQuotas ¶ added in v1.5.0
func NewNullableQuotas(val *Quotas) *NullableQuotas
func (NullableQuotas) Get ¶ added in v1.5.0
func (v NullableQuotas) Get() *Quotas
func (NullableQuotas) IsSet ¶ added in v1.5.0
func (v NullableQuotas) IsSet() bool
func (NullableQuotas) MarshalJSON ¶ added in v1.5.0
func (v NullableQuotas) MarshalJSON() ([]byte, error)
func (*NullableQuotas) Set ¶ added in v1.5.0
func (v *NullableQuotas) Set(val *Quotas)
func (*NullableQuotas) UnmarshalJSON ¶ added in v1.5.0
func (v *NullableQuotas) UnmarshalJSON(src []byte) error
func (*NullableQuotas) Unset ¶ added in v1.5.0
func (v *NullableQuotas) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) 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 NullableUsage ¶ added in v1.8.0
type NullableUsage struct {
// contains filtered or unexported fields
}
func NewNullableUsage ¶ added in v1.8.0
func NewNullableUsage(val *Usage) *NullableUsage
func (NullableUsage) Get ¶ added in v1.8.0
func (v NullableUsage) Get() *Usage
func (NullableUsage) IsSet ¶ added in v1.8.0
func (v NullableUsage) IsSet() bool
func (NullableUsage) MarshalJSON ¶ added in v1.8.0
func (v NullableUsage) MarshalJSON() ([]byte, error)
func (*NullableUsage) Set ¶ added in v1.8.0
func (v *NullableUsage) Set(val *Usage)
func (*NullableUsage) UnmarshalJSON ¶ added in v1.8.0
func (v *NullableUsage) UnmarshalJSON(src []byte) error
func (*NullableUsage) Unset ¶ added in v1.8.0
func (v *NullableUsage) Unset()
type NullableUsageItem ¶ added in v1.8.0
type NullableUsageItem struct {
// contains filtered or unexported fields
}
func NewNullableUsageItem ¶ added in v1.8.0
func NewNullableUsageItem(val *UsageItem) *NullableUsageItem
func (NullableUsageItem) Get ¶ added in v1.8.0
func (v NullableUsageItem) Get() *UsageItem
func (NullableUsageItem) IsSet ¶ added in v1.8.0
func (v NullableUsageItem) IsSet() bool
func (NullableUsageItem) MarshalJSON ¶ added in v1.8.0
func (v NullableUsageItem) MarshalJSON() ([]byte, error)
func (*NullableUsageItem) Set ¶ added in v1.8.0
func (v *NullableUsageItem) Set(val *UsageItem)
func (*NullableUsageItem) UnmarshalJSON ¶ added in v1.8.0
func (v *NullableUsageItem) UnmarshalJSON(src []byte) error
func (*NullableUsageItem) Unset ¶ added in v1.8.0
func (v *NullableUsageItem) Unset()
type Quotas ¶ added in v1.5.0
type Quotas struct {
Certificates *CertificatesQuota `json:"certificates,omitempty"`
AdditionalProperties map[string]interface{}
}
Quotas Quotas holds the specific quota elements for different resources
func NewQuotas ¶ added in v1.5.0
func NewQuotas() *Quotas
NewQuotas instantiates a new Quotas 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 NewQuotasWithDefaults ¶ added in v1.5.0
func NewQuotasWithDefaults() *Quotas
NewQuotasWithDefaults instantiates a new Quotas 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 (*Quotas) GetCertificates ¶ added in v1.5.0
func (o *Quotas) GetCertificates() CertificatesQuota
GetCertificates returns the Certificates field value if set, zero value otherwise.
func (*Quotas) GetCertificatesOk ¶ added in v1.5.0
func (o *Quotas) GetCertificatesOk() (*CertificatesQuota, bool)
GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quotas) HasCertificates ¶ added in v1.5.0
HasCertificates returns a boolean if a field has been set.
func (Quotas) MarshalJSON ¶ added in v1.5.0
func (*Quotas) SetCertificates ¶ added in v1.5.0
func (o *Quotas) SetCertificates(v CertificatesQuota)
SetCertificates gets a reference to the given CertificatesQuota and assigns it to the Certificates field.
func (*Quotas) UnmarshalJSON ¶ added in v1.5.0
type Status ¶
type Status struct {
// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
Code *int32 `json:"code,omitempty"`
// A list of messages that carry the error details. There is a common set of message types for APIs to use.
Details []GoogleProtobufAny `json:"details,omitempty"`
// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶
func (o *Status) GetDetails() []GoogleProtobufAny
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, 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 (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
func (o *Status) SetDetails(v []GoogleProtobufAny)
SetDetails gets a reference to the given []GoogleProtobufAny and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Status) UnmarshalJSON ¶ added in v1.4.0
type Usage ¶ added in v1.8.0
type Usage struct {
// Number of Load Balancers using this certificate.
Count *int32 `json:"count,omitempty"`
// List of Load Balancers with their associated listeners that use this certificate.
Items []UsageItem `json:"items,omitempty"`
AdditionalProperties map[string]interface{}
}
Usage struct for Usage
func NewUsage ¶ added in v1.8.0
func NewUsage() *Usage
NewUsage instantiates a new Usage 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 NewUsageWithDefaults ¶ added in v1.8.0
func NewUsageWithDefaults() *Usage
NewUsageWithDefaults instantiates a new Usage 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 (*Usage) GetCount ¶ added in v1.8.0
GetCount returns the Count field value if set, zero value otherwise.
func (*Usage) GetCountOk ¶ added in v1.8.0
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Usage) GetItems ¶ added in v1.8.0
GetItems returns the Items field value if set, zero value otherwise.
func (*Usage) GetItemsOk ¶ added in v1.8.0
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (Usage) MarshalJSON ¶ added in v1.8.0
func (*Usage) SetCount ¶ added in v1.8.0
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*Usage) SetItems ¶ added in v1.8.0
SetItems gets a reference to the given []UsageItem and assigns it to the Items field.
func (*Usage) UnmarshalJSON ¶ added in v1.8.0
type UsageItem ¶ added in v1.8.0
type UsageItem struct {
// A list of listener names on this Load Balancer that are using the certificate.
ListenerNames []string `json:"listenerNames,omitempty"`
// The display name of the Load Balancer.
LoadBalancerName *string `json:"loadBalancerName,omitempty"`
AdditionalProperties map[string]interface{}
}
UsageItem struct for UsageItem
func NewUsageItem ¶ added in v1.8.0
func NewUsageItem() *UsageItem
NewUsageItem instantiates a new UsageItem 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 NewUsageItemWithDefaults ¶ added in v1.8.0
func NewUsageItemWithDefaults() *UsageItem
NewUsageItemWithDefaults instantiates a new UsageItem 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 (*UsageItem) GetListenerNames ¶ added in v1.8.0
GetListenerNames returns the ListenerNames field value if set, zero value otherwise.
func (*UsageItem) GetListenerNamesOk ¶ added in v1.8.0
GetListenerNamesOk returns a tuple with the ListenerNames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageItem) GetLoadBalancerName ¶ added in v1.8.0
GetLoadBalancerName returns the LoadBalancerName field value if set, zero value otherwise.
func (*UsageItem) GetLoadBalancerNameOk ¶ added in v1.8.0
GetLoadBalancerNameOk returns a tuple with the LoadBalancerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageItem) HasListenerNames ¶ added in v1.8.0
HasListenerNames returns a boolean if a field has been set.
func (*UsageItem) HasLoadBalancerName ¶ added in v1.8.0
HasLoadBalancerName returns a boolean if a field has been set.
func (UsageItem) MarshalJSON ¶ added in v1.8.0
func (*UsageItem) SetListenerNames ¶ added in v1.8.0
SetListenerNames gets a reference to the given []string and assigns it to the ListenerNames field.
func (*UsageItem) SetLoadBalancerName ¶ added in v1.8.0
SetLoadBalancerName gets a reference to the given string and assigns it to the LoadBalancerName field.
func (*UsageItem) UnmarshalJSON ¶ added in v1.8.0
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_certificates_quota.go
- model_create_certificate_payload.go
- model_data.go
- model_get_certificate_response.go
- model_get_quota_response.go
- model_google_protobuf_any.go
- model_list_certificates_response.go
- model_quotas.go
- model_status.go
- model_usage.go
- model_usage_item.go
- response.go
- utils.go