certificates

package module
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the Load Balancer Certificates API API v1beta.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) 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
@return ApiCreateCertificateRequest

func (*APIClient) CreateCertificateExecute

func (a *APIClient) CreateCertificateExecute(ctx context.Context, projectId string) (*CreateCertificateResponse, error)

func (*APIClient) DeleteCertificate

func (a *APIClient) DeleteCertificate(ctx context.Context, projectId 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 id
@return ApiDeleteCertificateRequest

func (*APIClient) DeleteCertificateExecute

func (a *APIClient) DeleteCertificateExecute(ctx context.Context, projectId string, id string) (map[string]interface{}, error)

func (*APIClient) GetCertificate

func (a *APIClient) GetCertificate(ctx context.Context, projectId 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 id
@return ApiGetCertificateRequest

func (*APIClient) GetCertificateExecute

func (a *APIClient) GetCertificateExecute(ctx context.Context, projectId string, id string) (*GetCertificateResponse, error)

func (*APIClient) GetConfig

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

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

func (*APIClient) ListCertificates

func (a *APIClient) ListCertificates(ctx context.Context, projectId 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
@return ApiListCertificatesRequest

func (*APIClient) ListCertificatesExecute

func (a *APIClient) ListCertificatesExecute(ctx context.Context, projectId string) (*ListCertificatesResponse, error)

type ApiCreateCertificateRequest

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

func (ApiCreateCertificateRequest) CreateCertificatePayload

func (r ApiCreateCertificateRequest) CreateCertificatePayload(createCertificatePayload CreateCertificatePayload) ApiCreateCertificateRequest

func (ApiCreateCertificateRequest) Execute

type ApiDeleteCertificateRequest

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

func (ApiDeleteCertificateRequest) Execute

func (r ApiDeleteCertificateRequest) Execute() (map[string]interface{}, error)

type ApiGetCertificateRequest

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

func (ApiGetCertificateRequest) Execute

type ApiListCertificatesRequest

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

func (ApiListCertificatesRequest) Execute

func (ApiListCertificatesRequest) PageId

func (ApiListCertificatesRequest) PageSize

type CreateCertificatePayload

type CreateCertificatePayload struct {
	// TLS certificate name
	Name *string `json:"name,omitempty"`
	// The PEM encoded private key part
	PrivateKey *string `json:"privateKey,omitempty"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty"`
	// The PEM encoded public key part
	PublicKey *string `json:"publicKey,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() *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) 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) 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) ToMap

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

type CreateCertificateResponse

type CreateCertificateResponse struct {
	// The certificates resource id
	Id *string `json:"id,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() *string

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

func (*CreateCertificateResponse) GetIdOk

func (o *CreateCertificateResponse) 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 (*CreateCertificateResponse) HasId

func (o *CreateCertificateResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateCertificateResponse) SetId

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

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

func (CreateCertificateResponse) ToMap

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

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type GetCertificateResponse

type GetCertificateResponse struct {
	// The certificates resource id
	Id *string `json:"id,omitempty"`
	// TLS certificate name
	Name *string `json:"name,omitempty"`
	// The PEM encoded public key part
	PublicKey *string `json:"publicKey,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() *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) 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) 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) SetId

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

SetId gets a reference to the given string and assigns it to the Id 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) ToMap

func (o GetCertificateResponse) ToMap() (map[string]interface{}, 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) 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)

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Items *[]GetCertificateResponse `json:"items,omitempty"`
	// Continue token from the ListCertificatesResponse with Limit option
	NextPageId *string `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

GetItems returns the Items field value if set, zero value otherwise.

func (*ListCertificatesResponse) GetItemsOk

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) SetItems

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)

type MappedNullable

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

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 (NullableCreateCertificatePayload) Get

func (NullableCreateCertificatePayload) IsSet

func (NullableCreateCertificatePayload) MarshalJSON

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

func (*NullableCreateCertificatePayload) Set

func (*NullableCreateCertificatePayload) UnmarshalJSON

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

func (*NullableCreateCertificatePayload) Unset

type NullableCreateCertificateResponse

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

func (NullableCreateCertificateResponse) Get

func (NullableCreateCertificateResponse) IsSet

func (NullableCreateCertificateResponse) MarshalJSON

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

func (*NullableCreateCertificateResponse) Set

func (*NullableCreateCertificateResponse) UnmarshalJSON

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

func (*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 (NullableGetCertificateResponse) Get

func (NullableGetCertificateResponse) IsSet

func (NullableGetCertificateResponse) MarshalJSON

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

func (*NullableGetCertificateResponse) Set

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 (NullableGoogleProtobufAny) IsSet

func (v NullableGoogleProtobufAny) IsSet() bool

func (NullableGoogleProtobufAny) MarshalJSON

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

func (*NullableGoogleProtobufAny) Set

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 (NullableListCertificatesResponse) Get

func (NullableListCertificatesResponse) IsSet

func (NullableListCertificatesResponse) MarshalJSON

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

func (*NullableListCertificatesResponse) Set

func (*NullableListCertificatesResponse) UnmarshalJSON

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

func (*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 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 *int64 `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"`
}

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() *int64

GetCode returns the Code field value if set, zero value otherwise.

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int64, 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() *[]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

func (o *Status) GetMessage() *string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Status) GetMessageOk

func (o *Status) GetMessageOk() (*string, 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) HasCode

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Status) SetCode

func (o *Status) SetCode(v *int64)

SetCode gets a reference to the given int64 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

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

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Status) ToMap

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

Jump to

Keyboard shortcuts

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