Documentation
¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) CreateCertificate(ctx context.Context, projectId string, region string) ApiCreateCertificateRequest
- func (a *APIClient) CreateCertificateExecute(ctx context.Context, projectId string, region string) (*CreateCertificateResponse, error)
- func (a *APIClient) DeleteCertificate(ctx context.Context, projectId string, region string, id string) ApiDeleteCertificateRequest
- func (a *APIClient) DeleteCertificateExecute(ctx context.Context, projectId string, region string, id string) (map[string]interface{}, error)
- func (a *APIClient) GetCertificate(ctx context.Context, projectId string, region string, id string) ApiGetCertificateRequest
- func (a *APIClient) GetCertificateExecute(ctx context.Context, projectId string, region string, id string) (*GetCertificateResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) ListCertificates(ctx context.Context, projectId string, region string) ApiListCertificatesRequest
- func (a *APIClient) ListCertificatesExecute(ctx context.Context, projectId string, region string) (*ListCertificatesResponse, error)
- type ApiCreateCertificateRequest
- type ApiDeleteCertificateRequest
- type ApiGetCertificateRequest
- type ApiListCertificatesRequest
- type CreateCertificatePayload
- func (o *CreateCertificatePayload) GetName() (res CreateCertificatePayloadGetNameRetType)
- func (o *CreateCertificatePayload) GetNameOk() (ret CreateCertificatePayloadGetNameRetType, ok bool)
- func (o *CreateCertificatePayload) GetPrivateKey() (res CreateCertificatePayloadGetPrivateKeyRetType)
- func (o *CreateCertificatePayload) GetPrivateKeyOk() (ret CreateCertificatePayloadGetPrivateKeyRetType, ok bool)
- func (o *CreateCertificatePayload) GetProjectId() (res CreateCertificatePayloadGetProjectIdRetType)
- func (o *CreateCertificatePayload) GetProjectIdOk() (ret CreateCertificatePayloadGetProjectIdRetType, ok bool)
- func (o *CreateCertificatePayload) GetPublicKey() (res CreateCertificatePayloadGetPublicKeyRetType)
- func (o *CreateCertificatePayload) GetPublicKeyOk() (ret CreateCertificatePayloadGetPublicKeyRetType, ok bool)
- func (o *CreateCertificatePayload) GetRegion() (res CreateCertificatePayloadGetRegionRetType)
- func (o *CreateCertificatePayload) GetRegionOk() (ret CreateCertificatePayloadGetRegionRetType, ok 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) SetName(v CreateCertificatePayloadGetNameRetType)
- func (o *CreateCertificatePayload) SetPrivateKey(v CreateCertificatePayloadGetPrivateKeyRetType)
- func (o *CreateCertificatePayload) SetProjectId(v CreateCertificatePayloadGetProjectIdRetType)
- func (o *CreateCertificatePayload) SetPublicKey(v CreateCertificatePayloadGetPublicKeyRetType)
- func (o *CreateCertificatePayload) SetRegion(v CreateCertificatePayloadGetRegionRetType)
- func (o CreateCertificatePayload) ToMap() (map[string]interface{}, error)
- type CreateCertificatePayloadGetNameArgType
- type CreateCertificatePayloadGetNameAttributeType
- type CreateCertificatePayloadGetNameRetType
- type CreateCertificatePayloadGetPrivateKeyArgType
- type CreateCertificatePayloadGetPrivateKeyAttributeType
- type CreateCertificatePayloadGetPrivateKeyRetType
- type CreateCertificatePayloadGetProjectIdArgType
- type CreateCertificatePayloadGetProjectIdAttributeType
- type CreateCertificatePayloadGetProjectIdRetType
- type CreateCertificatePayloadGetPublicKeyArgType
- type CreateCertificatePayloadGetPublicKeyAttributeType
- type CreateCertificatePayloadGetPublicKeyRetType
- type CreateCertificatePayloadGetRegionArgType
- type CreateCertificatePayloadGetRegionAttributeType
- type CreateCertificatePayloadGetRegionRetType
- type CreateCertificateRequest
- type CreateCertificateResponse
- func (o *CreateCertificateResponse) GetId() (res CreateCertificateResponseGetIdRetType)
- func (o *CreateCertificateResponse) GetIdOk() (ret CreateCertificateResponseGetIdRetType, ok bool)
- func (o *CreateCertificateResponse) GetRegion() (res CreateCertificateResponseGetRegionRetType)
- func (o *CreateCertificateResponse) GetRegionOk() (ret CreateCertificateResponseGetRegionRetType, ok bool)
- func (o *CreateCertificateResponse) HasId() bool
- func (o *CreateCertificateResponse) HasRegion() bool
- func (o *CreateCertificateResponse) SetId(v CreateCertificateResponseGetIdRetType)
- func (o *CreateCertificateResponse) SetRegion(v CreateCertificateResponseGetRegionRetType)
- func (o CreateCertificateResponse) ToMap() (map[string]interface{}, error)
- type CreateCertificateResponseGetIdArgType
- type CreateCertificateResponseGetIdAttributeType
- type CreateCertificateResponseGetIdRetType
- type CreateCertificateResponseGetRegionArgType
- type CreateCertificateResponseGetRegionAttributeType
- type CreateCertificateResponseGetRegionRetType
- type DefaultApi
- type DefaultApiService
- type DeleteCertificateRequest
- type GetCertificateRequest
- type GetCertificateResponse
- func (o *GetCertificateResponse) GetId() (res GetCertificateResponseGetIdRetType)
- func (o *GetCertificateResponse) GetIdOk() (ret GetCertificateResponseGetIdRetType, ok bool)
- func (o *GetCertificateResponse) GetName() (res GetCertificateResponseGetNameRetType)
- func (o *GetCertificateResponse) GetNameOk() (ret GetCertificateResponseGetNameRetType, ok bool)
- func (o *GetCertificateResponse) GetPublicKey() (res GetCertificateResponseGetPublicKeyRetType)
- func (o *GetCertificateResponse) GetPublicKeyOk() (ret GetCertificateResponseGetPublicKeyRetType, ok bool)
- func (o *GetCertificateResponse) GetRegion() (res GetCertificateResponseGetRegionRetType)
- func (o *GetCertificateResponse) GetRegionOk() (ret GetCertificateResponseGetRegionRetType, ok bool)
- func (o *GetCertificateResponse) HasId() bool
- func (o *GetCertificateResponse) HasName() bool
- func (o *GetCertificateResponse) HasPublicKey() bool
- func (o *GetCertificateResponse) HasRegion() bool
- func (o *GetCertificateResponse) SetId(v GetCertificateResponseGetIdRetType)
- func (o *GetCertificateResponse) SetName(v GetCertificateResponseGetNameRetType)
- func (o *GetCertificateResponse) SetPublicKey(v GetCertificateResponseGetPublicKeyRetType)
- func (o *GetCertificateResponse) SetRegion(v GetCertificateResponseGetRegionRetType)
- func (o GetCertificateResponse) ToMap() (map[string]interface{}, error)
- type GetCertificateResponseGetIdArgType
- type GetCertificateResponseGetIdAttributeType
- type GetCertificateResponseGetIdRetType
- type GetCertificateResponseGetNameArgType
- type GetCertificateResponseGetNameAttributeType
- type GetCertificateResponseGetNameRetType
- type GetCertificateResponseGetPublicKeyArgType
- type GetCertificateResponseGetPublicKeyAttributeType
- type GetCertificateResponseGetPublicKeyRetType
- type GetCertificateResponseGetRegionArgType
- type GetCertificateResponseGetRegionAttributeType
- type GetCertificateResponseGetRegionRetType
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() (res GoogleProtobufAnyGetTypeRetType)
- func (o *GoogleProtobufAny) GetTypeOk() (ret GoogleProtobufAnyGetTypeRetType, ok bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o *GoogleProtobufAny) SetType(v GoogleProtobufAnyGetTypeRetType)
- func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
- type GoogleProtobufAnyGetTypeArgType
- type GoogleProtobufAnyGetTypeAttributeType
- type GoogleProtobufAnyGetTypeRetType
- type ListCertificatesRequest
- type ListCertificatesResponse
- func (o *ListCertificatesResponse) GetItems() (res ListCertificatesResponseGetItemsRetType)
- func (o *ListCertificatesResponse) GetItemsOk() (ret ListCertificatesResponseGetItemsRetType, ok bool)
- func (o *ListCertificatesResponse) GetNextPageId() (res ListCertificatesResponseGetNextPageIdRetType)
- func (o *ListCertificatesResponse) GetNextPageIdOk() (ret ListCertificatesResponseGetNextPageIdRetType, ok bool)
- func (o *ListCertificatesResponse) HasItems() bool
- func (o *ListCertificatesResponse) HasNextPageId() bool
- func (o *ListCertificatesResponse) SetItems(v ListCertificatesResponseGetItemsRetType)
- func (o *ListCertificatesResponse) SetNextPageId(v ListCertificatesResponseGetNextPageIdRetType)
- func (o ListCertificatesResponse) ToMap() (map[string]interface{}, error)
- type ListCertificatesResponseGetItemsArgType
- type ListCertificatesResponseGetItemsAttributeType
- type ListCertificatesResponseGetItemsRetType
- type ListCertificatesResponseGetNextPageIdArgType
- type ListCertificatesResponseGetNextPageIdAttributeType
- type ListCertificatesResponseGetNextPageIdRetType
- type MappedNullable
- type NullableBool
- 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 NullableCreateCertificateResponse
- func (v NullableCreateCertificateResponse) Get() *CreateCertificateResponse
- func (v NullableCreateCertificateResponse) IsSet() bool
- func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCertificateResponse) Set(val *CreateCertificateResponse)
- func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCertificateResponse) Unset()
- 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 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 NullableStatus
- type NullableString
- type NullableTime
- type NullableValue
- type Status
- func (o *Status) GetCode() (res StatusGetCodeRetType)
- func (o *Status) GetCodeOk() (ret StatusGetCodeRetType, ok bool)
- func (o *Status) GetDetails() (res StatusGetDetailsRetType)
- func (o *Status) GetDetailsOk() (ret StatusGetDetailsRetType, ok bool)
- func (o *Status) GetMessage() (res StatusGetMessageRetType)
- func (o *Status) GetMessageOk() (ret StatusGetMessageRetType, ok bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o *Status) SetCode(v StatusGetCodeRetType)
- func (o *Status) SetDetails(v StatusGetDetailsRetType)
- func (o *Status) SetMessage(v StatusGetMessageRetType)
- func (o Status) ToMap() (map[string]interface{}, error)
- type StatusGetCodeArgType
- type StatusGetCodeAttributeType
- type StatusGetCodeRetType
- type StatusGetDetailsArgType
- type StatusGetDetailsAttributeType
- type StatusGetDetailsRetType
- type StatusGetMessageArgType
- type StatusGetMessageAttributeType
- type StatusGetMessageRetType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 ParameterValueToString ¶
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 {
// contains filtered or unexported fields
}
APIClient manages communication with the Load Balancer Certificates API API v2beta.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. Optionally receives configuration options
func (*APIClient) CreateCertificate ¶
func (a *APIClient) 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 (*APIClient) CreateCertificateExecute ¶
func (*APIClient) DeleteCertificate ¶
func (a *APIClient) 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 (*APIClient) DeleteCertificateExecute ¶
func (*APIClient) GetCertificate ¶
func (a *APIClient) 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 (*APIClient) GetCertificateExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) ListCertificates ¶
func (a *APIClient) 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 (*APIClient) ListCertificatesExecute ¶
type ApiCreateCertificateRequest ¶
type ApiCreateCertificateRequest interface { CreateCertificatePayload(createCertificatePayload CreateCertificatePayload) ApiCreateCertificateRequest Execute() (*CreateCertificateResponse, error) }
type ApiGetCertificateRequest ¶
type ApiGetCertificateRequest interface {
Execute() (*GetCertificateResponse, error)
}
type ApiListCertificatesRequest ¶
type ApiListCertificatesRequest interface { // page_size specifies how many certificates should be returned on this page. Must be a positive number <= 1000 PageSize(pageSize string) ApiListCertificatesRequest // page_id is a page identifier returned by the previous response and is used to request the next page PageId(pageId string) ApiListCertificatesRequest Execute() (*ListCertificatesResponse, error) }
type CreateCertificatePayload ¶
type CreateCertificatePayload struct { // TLS certificate name Name CreateCertificatePayloadGetNameAttributeType `json:"name,omitempty"` // The PEM encoded private key part PrivateKey CreateCertificatePayloadGetPrivateKeyAttributeType `json:"privateKey,omitempty"` // Project identifier ProjectId CreateCertificatePayloadGetProjectIdAttributeType `json:"projectId,omitempty"` // The PEM encoded public key part PublicKey CreateCertificatePayloadGetPublicKeyAttributeType `json:"publicKey,omitempty"` // Region Region CreateCertificatePayloadGetRegionAttributeType `json:"region,omitempty"` }
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) GetName ¶
func (o *CreateCertificatePayload) GetName() (res CreateCertificatePayloadGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetNameOk ¶
func (o *CreateCertificatePayload) GetNameOk() (ret CreateCertificatePayloadGetNameRetType, ok 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() (res CreateCertificatePayloadGetPrivateKeyRetType)
GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetPrivateKeyOk ¶
func (o *CreateCertificatePayload) GetPrivateKeyOk() (ret CreateCertificatePayloadGetPrivateKeyRetType, ok 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() (res CreateCertificatePayloadGetProjectIdRetType)
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetProjectIdOk ¶
func (o *CreateCertificatePayload) GetProjectIdOk() (ret CreateCertificatePayloadGetProjectIdRetType, ok 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() (res CreateCertificatePayloadGetPublicKeyRetType)
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetPublicKeyOk ¶
func (o *CreateCertificatePayload) GetPublicKeyOk() (ret CreateCertificatePayloadGetPublicKeyRetType, ok 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 ¶ added in v1.0.1
func (o *CreateCertificatePayload) GetRegion() (res CreateCertificatePayloadGetRegionRetType)
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateCertificatePayload) GetRegionOk ¶ added in v1.0.1
func (o *CreateCertificatePayload) GetRegionOk() (ret CreateCertificatePayloadGetRegionRetType, ok 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) 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 ¶ added in v1.0.1
func (o *CreateCertificatePayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateCertificatePayload) SetName ¶
func (o *CreateCertificatePayload) SetName(v CreateCertificatePayloadGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateCertificatePayload) SetPrivateKey ¶
func (o *CreateCertificatePayload) SetPrivateKey(v CreateCertificatePayloadGetPrivateKeyRetType)
SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.
func (*CreateCertificatePayload) SetProjectId ¶
func (o *CreateCertificatePayload) SetProjectId(v CreateCertificatePayloadGetProjectIdRetType)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateCertificatePayload) SetPublicKey ¶
func (o *CreateCertificatePayload) SetPublicKey(v CreateCertificatePayloadGetPublicKeyRetType)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*CreateCertificatePayload) SetRegion ¶ added in v1.0.1
func (o *CreateCertificatePayload) SetRegion(v CreateCertificatePayloadGetRegionRetType)
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)
type CreateCertificatePayloadGetNameArgType ¶ added in v1.0.1
type CreateCertificatePayloadGetNameArgType = string
type CreateCertificatePayloadGetNameAttributeType ¶ added in v1.0.1
type CreateCertificatePayloadGetNameAttributeType = *string
isNotNullableString
type CreateCertificatePayloadGetNameRetType ¶ added in v1.0.1
type CreateCertificatePayloadGetNameRetType = string
type CreateCertificatePayloadGetPrivateKeyArgType ¶ added in v1.0.1
type CreateCertificatePayloadGetPrivateKeyArgType = string
type CreateCertificatePayloadGetPrivateKeyAttributeType ¶ added in v1.0.1
type CreateCertificatePayloadGetPrivateKeyAttributeType = *string
isNotNullableString
type CreateCertificatePayloadGetPrivateKeyRetType ¶ added in v1.0.1
type CreateCertificatePayloadGetPrivateKeyRetType = string
type CreateCertificatePayloadGetProjectIdArgType ¶ added in v1.0.1
type CreateCertificatePayloadGetProjectIdArgType = string
type CreateCertificatePayloadGetProjectIdAttributeType ¶ added in v1.0.1
type CreateCertificatePayloadGetProjectIdAttributeType = *string
isNotNullableString
type CreateCertificatePayloadGetProjectIdRetType ¶ added in v1.0.1
type CreateCertificatePayloadGetProjectIdRetType = string
type CreateCertificatePayloadGetPublicKeyArgType ¶ added in v1.0.1
type CreateCertificatePayloadGetPublicKeyArgType = string
type CreateCertificatePayloadGetPublicKeyAttributeType ¶ added in v1.0.1
type CreateCertificatePayloadGetPublicKeyAttributeType = *string
isNotNullableString
type CreateCertificatePayloadGetPublicKeyRetType ¶ added in v1.0.1
type CreateCertificatePayloadGetPublicKeyRetType = string
type CreateCertificatePayloadGetRegionArgType ¶ added in v1.0.1
type CreateCertificatePayloadGetRegionArgType = string
type CreateCertificatePayloadGetRegionAttributeType ¶ added in v1.0.1
type CreateCertificatePayloadGetRegionAttributeType = *string
isNotNullableString
type CreateCertificatePayloadGetRegionRetType ¶ added in v1.0.1
type CreateCertificatePayloadGetRegionRetType = string
type CreateCertificateRequest ¶ added in v1.1.0
type CreateCertificateRequest struct {
// contains filtered or unexported fields
}
func (CreateCertificateRequest) CreateCertificatePayload ¶ added in v1.1.0
func (r CreateCertificateRequest) CreateCertificatePayload(createCertificatePayload CreateCertificatePayload) ApiCreateCertificateRequest
func (CreateCertificateRequest) Execute ¶ added in v1.1.0
func (r CreateCertificateRequest) Execute() (*CreateCertificateResponse, error)
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { // The certificates resource id Id CreateCertificateResponseGetIdAttributeType `json:"id,omitempty"` // Region Region CreateCertificateResponseGetRegionAttributeType `json:"region,omitempty"` }
CreateCertificateResponse CreateCertificateResponse returns unique resource id
func NewCreateCertificateResponse ¶
func NewCreateCertificateResponse() *CreateCertificateResponse
NewCreateCertificateResponse instantiates a new CreateCertificateResponse 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 NewCreateCertificateResponseWithDefaults ¶
func NewCreateCertificateResponseWithDefaults() *CreateCertificateResponse
NewCreateCertificateResponseWithDefaults instantiates a new CreateCertificateResponse 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 (*CreateCertificateResponse) GetId ¶
func (o *CreateCertificateResponse) GetId() (res CreateCertificateResponseGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*CreateCertificateResponse) GetIdOk ¶
func (o *CreateCertificateResponse) GetIdOk() (ret CreateCertificateResponseGetIdRetType, ok 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 (*CreateCertificateResponse) GetRegion ¶ added in v1.0.1
func (o *CreateCertificateResponse) GetRegion() (res CreateCertificateResponseGetRegionRetType)
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateCertificateResponse) GetRegionOk ¶ added in v1.0.1
func (o *CreateCertificateResponse) GetRegionOk() (ret CreateCertificateResponseGetRegionRetType, ok 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 (*CreateCertificateResponse) HasId ¶
func (o *CreateCertificateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateCertificateResponse) HasRegion ¶ added in v1.0.1
func (o *CreateCertificateResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateCertificateResponse) SetId ¶
func (o *CreateCertificateResponse) SetId(v CreateCertificateResponseGetIdRetType)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateCertificateResponse) SetRegion ¶ added in v1.0.1
func (o *CreateCertificateResponse) SetRegion(v CreateCertificateResponseGetRegionRetType)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (CreateCertificateResponse) ToMap ¶
func (o CreateCertificateResponse) ToMap() (map[string]interface{}, error)
type CreateCertificateResponseGetIdArgType ¶ added in v1.0.1
type CreateCertificateResponseGetIdArgType = string
type CreateCertificateResponseGetIdAttributeType ¶ added in v1.0.1
type CreateCertificateResponseGetIdAttributeType = *string
isNotNullableString
type CreateCertificateResponseGetIdRetType ¶ added in v1.0.1
type CreateCertificateResponseGetIdRetType = string
type CreateCertificateResponseGetRegionArgType ¶ added in v1.0.1
type CreateCertificateResponseGetRegionArgType = string
type CreateCertificateResponseGetRegionAttributeType ¶ added in v1.0.1
type CreateCertificateResponseGetRegionAttributeType = *string
isNotNullableString
type CreateCertificateResponseGetRegionRetType ¶ added in v1.0.1
type CreateCertificateResponseGetRegionRetType = string
type DefaultApi ¶ added in v1.1.0
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 @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return CreateCertificateResponse */ CreateCertificateExecute(ctx context.Context, projectId string, region string) (*CreateCertificateResponse, 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 @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 map[string]interface{} */ DeleteCertificateExecute(ctx context.Context, projectId string, region string, id string) (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 @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 GetCertificateResponse */ GetCertificateExecute(ctx context.Context, projectId string, region string, id string) (*GetCertificateResponse, 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 @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ListCertificatesResponse */ ListCertificatesExecute(ctx context.Context, projectId string, region string) (*ListCertificatesResponse, error) }
type DeleteCertificateRequest ¶ added in v1.1.0
type DeleteCertificateRequest struct {
// contains filtered or unexported fields
}
func (DeleteCertificateRequest) Execute ¶ added in v1.1.0
func (r DeleteCertificateRequest) Execute() (map[string]interface{}, error)
type GetCertificateRequest ¶ added in v1.1.0
type GetCertificateRequest struct {
// contains filtered or unexported fields
}
func (GetCertificateRequest) Execute ¶ added in v1.1.0
func (r GetCertificateRequest) Execute() (*GetCertificateResponse, error)
type GetCertificateResponse ¶
type GetCertificateResponse struct { // The certificates resource id Id GetCertificateResponseGetIdAttributeType `json:"id,omitempty"` // TLS certificate name Name GetCertificateResponseGetNameAttributeType `json:"name,omitempty"` // The PEM encoded public key part PublicKey GetCertificateResponseGetPublicKeyAttributeType `json:"publicKey,omitempty"` // Region of the LoadBalancer Region GetCertificateResponseGetRegionAttributeType `json:"region,omitempty"` }
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) GetId ¶
func (o *GetCertificateResponse) GetId() (res GetCertificateResponseGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*GetCertificateResponse) GetIdOk ¶
func (o *GetCertificateResponse) GetIdOk() (ret GetCertificateResponseGetIdRetType, ok 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) GetName ¶
func (o *GetCertificateResponse) GetName() (res GetCertificateResponseGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*GetCertificateResponse) GetNameOk ¶
func (o *GetCertificateResponse) GetNameOk() (ret GetCertificateResponseGetNameRetType, ok 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() (res GetCertificateResponseGetPublicKeyRetType)
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*GetCertificateResponse) GetPublicKeyOk ¶
func (o *GetCertificateResponse) GetPublicKeyOk() (ret GetCertificateResponseGetPublicKeyRetType, ok 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 ¶ added in v1.0.1
func (o *GetCertificateResponse) GetRegion() (res GetCertificateResponseGetRegionRetType)
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetCertificateResponse) GetRegionOk ¶ added in v1.0.1
func (o *GetCertificateResponse) GetRegionOk() (ret GetCertificateResponseGetRegionRetType, ok 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) HasId ¶
func (o *GetCertificateResponse) HasId() bool
HasId 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 ¶ added in v1.0.1
func (o *GetCertificateResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*GetCertificateResponse) SetId ¶
func (o *GetCertificateResponse) SetId(v GetCertificateResponseGetIdRetType)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetCertificateResponse) SetName ¶
func (o *GetCertificateResponse) SetName(v GetCertificateResponseGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetCertificateResponse) SetPublicKey ¶
func (o *GetCertificateResponse) SetPublicKey(v GetCertificateResponseGetPublicKeyRetType)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*GetCertificateResponse) SetRegion ¶ added in v1.0.1
func (o *GetCertificateResponse) SetRegion(v GetCertificateResponseGetRegionRetType)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (GetCertificateResponse) ToMap ¶
func (o GetCertificateResponse) ToMap() (map[string]interface{}, error)
type GetCertificateResponseGetIdArgType ¶ added in v1.0.1
type GetCertificateResponseGetIdArgType = string
type GetCertificateResponseGetIdAttributeType ¶ added in v1.0.1
type GetCertificateResponseGetIdAttributeType = *string
isNotNullableString
type GetCertificateResponseGetIdRetType ¶ added in v1.0.1
type GetCertificateResponseGetIdRetType = string
type GetCertificateResponseGetNameArgType ¶ added in v1.0.1
type GetCertificateResponseGetNameArgType = string
type GetCertificateResponseGetNameAttributeType ¶ added in v1.0.1
type GetCertificateResponseGetNameAttributeType = *string
isNotNullableString
type GetCertificateResponseGetNameRetType ¶ added in v1.0.1
type GetCertificateResponseGetNameRetType = string
type GetCertificateResponseGetPublicKeyArgType ¶ added in v1.0.1
type GetCertificateResponseGetPublicKeyArgType = string
type GetCertificateResponseGetPublicKeyAttributeType ¶ added in v1.0.1
type GetCertificateResponseGetPublicKeyAttributeType = *string
isNotNullableString
type GetCertificateResponseGetPublicKeyRetType ¶ added in v1.0.1
type GetCertificateResponseGetPublicKeyRetType = string
type GetCertificateResponseGetRegionArgType ¶ added in v1.0.1
type GetCertificateResponseGetRegionArgType = string
type GetCertificateResponseGetRegionAttributeType ¶ added in v1.0.1
type GetCertificateResponseGetRegionAttributeType = *string
isNotNullableString
type GetCertificateResponseGetRegionRetType ¶ added in v1.0.1
type GetCertificateResponseGetRegionRetType = string
type GoogleProtobufAny ¶
type GoogleProtobufAny struct { // The type of the serialized message. Type GoogleProtobufAnyGetTypeAttributeType `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() (res GoogleProtobufAnyGetTypeRetType)
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (ret GoogleProtobufAnyGetTypeRetType, ok 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) SetType ¶
func (o *GoogleProtobufAny) SetType(v GoogleProtobufAnyGetTypeRetType)
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)
type GoogleProtobufAnyGetTypeArgType ¶ added in v1.0.1
type GoogleProtobufAnyGetTypeArgType = string
type GoogleProtobufAnyGetTypeAttributeType ¶ added in v1.0.1
type GoogleProtobufAnyGetTypeAttributeType = *string
isNotNullableString
type GoogleProtobufAnyGetTypeRetType ¶ added in v1.0.1
type GoogleProtobufAnyGetTypeRetType = string
type ListCertificatesRequest ¶ added in v1.1.0
type ListCertificatesRequest struct {
// contains filtered or unexported fields
}
func (ListCertificatesRequest) Execute ¶ added in v1.1.0
func (r ListCertificatesRequest) Execute() (*ListCertificatesResponse, error)
func (ListCertificatesRequest) PageId ¶ added in v1.1.0
func (r ListCertificatesRequest) PageId(pageId string) ApiListCertificatesRequest
func (ListCertificatesRequest) PageSize ¶ added in v1.1.0
func (r ListCertificatesRequest) PageSize(pageSize string) ApiListCertificatesRequest
type ListCertificatesResponse ¶
type ListCertificatesResponse struct { Items ListCertificatesResponseGetItemsAttributeType `json:"items,omitempty"` // Continue token from the ListCertificatesResponse with Limit option NextPageId ListCertificatesResponseGetNextPageIdAttributeType `json:"nextPageId,omitempty"` }
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() (res ListCertificatesResponseGetItemsRetType)
GetItems returns the Items field value if set, zero value otherwise.
func (*ListCertificatesResponse) GetItemsOk ¶
func (o *ListCertificatesResponse) GetItemsOk() (ret ListCertificatesResponseGetItemsRetType, ok 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() (res ListCertificatesResponseGetNextPageIdRetType)
GetNextPageId returns the NextPageId field value if set, zero value otherwise.
func (*ListCertificatesResponse) GetNextPageIdOk ¶
func (o *ListCertificatesResponse) GetNextPageIdOk() (ret ListCertificatesResponseGetNextPageIdRetType, ok 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) SetItems ¶
func (o *ListCertificatesResponse) SetItems(v ListCertificatesResponseGetItemsRetType)
SetItems gets a reference to the given []GetCertificateResponse and assigns it to the Items field.
func (*ListCertificatesResponse) SetNextPageId ¶
func (o *ListCertificatesResponse) SetNextPageId(v ListCertificatesResponseGetNextPageIdRetType)
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)
type ListCertificatesResponseGetItemsArgType ¶ added in v1.0.1
type ListCertificatesResponseGetItemsArgType = []GetCertificateResponse
type ListCertificatesResponseGetItemsAttributeType ¶ added in v1.0.1
type ListCertificatesResponseGetItemsAttributeType = *[]GetCertificateResponse
isArray
type ListCertificatesResponseGetItemsRetType ¶ added in v1.0.1
type ListCertificatesResponseGetItemsRetType = []GetCertificateResponse
type ListCertificatesResponseGetNextPageIdArgType ¶ added in v1.0.1
type ListCertificatesResponseGetNextPageIdArgType = string
type ListCertificatesResponseGetNextPageIdAttributeType ¶ added in v1.0.1
type ListCertificatesResponseGetNextPageIdAttributeType = *string
isNotNullableString
type ListCertificatesResponseGetNextPageIdRetType ¶ added in v1.0.1
type ListCertificatesResponseGetNextPageIdRetType = string
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 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 NullableCreateCertificateResponse ¶
type NullableCreateCertificateResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCertificateResponse ¶
func NewNullableCreateCertificateResponse(val *CreateCertificateResponse) *NullableCreateCertificateResponse
func (NullableCreateCertificateResponse) Get ¶
func (v NullableCreateCertificateResponse) Get() *CreateCertificateResponse
func (NullableCreateCertificateResponse) IsSet ¶
func (v NullableCreateCertificateResponse) IsSet() bool
func (NullableCreateCertificateResponse) MarshalJSON ¶
func (v NullableCreateCertificateResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCertificateResponse) Set ¶
func (v *NullableCreateCertificateResponse) Set(val *CreateCertificateResponse)
func (*NullableCreateCertificateResponse) UnmarshalJSON ¶
func (v *NullableCreateCertificateResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCertificateResponse) Unset ¶
func (v *NullableCreateCertificateResponse) 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 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 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 NullableValue ¶ added in v1.0.1
type NullableValue[T any] struct { // contains filtered or unexported fields }
func (NullableValue[T]) Get ¶ added in v1.0.1
func (v NullableValue[T]) Get() *T
func (NullableValue[T]) IsSet ¶ added in v1.0.1
func (v NullableValue[T]) IsSet() bool
func (*NullableValue[T]) Set ¶ added in v1.0.1
func (v *NullableValue[T]) Set(val *T)
func (*NullableValue[T]) Unset ¶ added in v1.0.1
func (v *NullableValue[T]) Unset()
type Status ¶
type Status struct { // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. // Can be cast to int32 without loss of precision. Code StatusGetCodeAttributeType `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 StatusGetDetailsAttributeType `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 StatusGetMessageAttributeType `json:"message,omitempty"` }
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) GetCode ¶
func (o *Status) GetCode() (res StatusGetCodeRetType)
GetCode returns the Code field value if set, zero value otherwise.
func (*Status) GetCodeOk ¶
func (o *Status) GetCodeOk() (ret StatusGetCodeRetType, ok bool)
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() (res StatusGetDetailsRetType)
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
func (o *Status) GetDetailsOk() (ret StatusGetDetailsRetType, ok 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 ¶
func (o *Status) GetMessage() (res StatusGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
func (o *Status) GetMessageOk() (ret StatusGetMessageRetType, ok bool)
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) SetCode ¶
func (o *Status) SetCode(v StatusGetCodeRetType)
SetCode gets a reference to the given int64 and assigns it to the Code field.
func (*Status) SetDetails ¶
func (o *Status) SetDetails(v StatusGetDetailsRetType)
SetDetails gets a reference to the given []GoogleProtobufAny and assigns it to the Details field.
func (*Status) SetMessage ¶
func (o *Status) SetMessage(v StatusGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
type StatusGetCodeArgType ¶ added in v1.0.1
type StatusGetCodeArgType = int64
type StatusGetCodeAttributeType ¶ added in v1.0.1
type StatusGetCodeAttributeType = *int64
isInteger
type StatusGetCodeRetType ¶ added in v1.0.1
type StatusGetCodeRetType = int64
type StatusGetDetailsArgType ¶ added in v1.0.1
type StatusGetDetailsArgType = []GoogleProtobufAny
type StatusGetDetailsAttributeType ¶ added in v1.0.1
type StatusGetDetailsAttributeType = *[]GoogleProtobufAny
isArray
type StatusGetDetailsRetType ¶ added in v1.0.1
type StatusGetDetailsRetType = []GoogleProtobufAny
type StatusGetMessageArgType ¶ added in v1.0.1
type StatusGetMessageArgType = string
type StatusGetMessageAttributeType ¶ added in v1.0.1
type StatusGetMessageAttributeType = *string
isNotNullableString
type StatusGetMessageRetType ¶ added in v1.0.1
type StatusGetMessageRetType = string