cert

package module
v2.1.0 Latest Latest
Warning

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

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

README

Go API client for cert

Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources.

For the Application Load Balancer, you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.

Overview

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/cert.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/cert.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/cert@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

Authentication

All available server URLs are:

By default, https://certificate-manager.de-fra.ionos.com is used, however this can be overriden at authentication, either by setting the IONOS_API_URL environment variable or by specifying the hostUrl parameter when initializing the sdk client.

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	cert "github.com/ionos-cloud/sdk-go-bundle/products/cert"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "hostUrl_here")
	cfg.LogLevel = Trace
	apiClient := cert.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        cert "github.com/ionos-cloud/sdk-go-bundle/products/cert"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "hostUrl_here")
        cfg.LogLevel = Trace
        apiClient := cert.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         cert "github.com/ionos-cloud/sdk-go-bundle/products/cert"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := cert.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information Trace - we recommend you only set this field for debugging purposes. Disable it in your production environments because it can log sensitive data. It logs the full request and response without encryption, even for an HTTPS call. Verbose request and response logging can also significantly impact your application's performance.

package main

    import (
        cert "github.com/ionos-cloud/sdk-go-bundle/products/cert"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := cert.NewAPIClient(cfg)
}

Documentation for API Endpoints

All URIs are relative to https://certificate-manager.de-fra.ionos.com

API Endpoints table
Class Method HTTP request Description
AutoCertificateApi AutoCertificatesDelete Delete /auto-certificates/{autoCertificateId} Delete AutoCertificate
AutoCertificateApi AutoCertificatesFindById Get /auto-certificates/{autoCertificateId} Retrieve AutoCertificate
AutoCertificateApi AutoCertificatesGet Get /auto-certificates Retrieve all AutoCertificate
AutoCertificateApi AutoCertificatesPatch Patch /auto-certificates/{autoCertificateId} Updates AutoCertificate
AutoCertificateApi AutoCertificatesPost Post /auto-certificates Create AutoCertificate
CertificateApi CertificatesDelete Delete /certificates/{certificateId} Delete Certificate
CertificateApi CertificatesFindById Get /certificates/{certificateId} Retrieve Certificate
CertificateApi CertificatesGet Get /certificates Retrieve all Certificate
CertificateApi CertificatesPatch Patch /certificates/{certificateId} Updates Certificate
CertificateApi CertificatesPost Post /certificates Create Certificate
ProviderApi ProvidersDelete Delete /providers/{providerId} Delete Provider
ProviderApi ProvidersFindById Get /providers/{providerId} Retrieve Provider
ProviderApi ProvidersGet Get /providers Retrieve all Provider
ProviderApi ProvidersPatch Patch /providers/{providerId} Updates Provider
ProviderApi ProvidersPost Post /providers Create Provider

Documentation For Models

All URIs are relative to https://certificate-manager.de-fra.ionos.com

API models list

[Back to API list] [Back to Model list]

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "products/cert/v2.1.0"
)

Variables

This section is empty.

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

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

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

func DeepCopy added in v2.0.2

func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

Types

type APIClient

type APIClient struct {
	AutoCertificateApi *AutoCertificateApiService

	CertificateApi *CertificateApiService

	ProviderApi *ProviderApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Certificate Manager Service API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *shared.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

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

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

type ApiAutoCertificatesDeleteRequest

type ApiAutoCertificatesDeleteRequest struct {
	ApiService *AutoCertificateApiService
	// contains filtered or unexported fields
}

func (ApiAutoCertificatesDeleteRequest) Execute

type ApiAutoCertificatesFindByIdRequest

type ApiAutoCertificatesFindByIdRequest struct {
	ApiService *AutoCertificateApiService
	// contains filtered or unexported fields
}

func (ApiAutoCertificatesFindByIdRequest) Execute

type ApiAutoCertificatesGetRequest

type ApiAutoCertificatesGetRequest struct {
	ApiService *AutoCertificateApiService
	// contains filtered or unexported fields
}

func (ApiAutoCertificatesGetRequest) Execute

func (ApiAutoCertificatesGetRequest) FilterCommonName

func (r ApiAutoCertificatesGetRequest) FilterCommonName(filterCommonName string) ApiAutoCertificatesGetRequest

func (ApiAutoCertificatesGetRequest) Limit

func (ApiAutoCertificatesGetRequest) Offset

type ApiAutoCertificatesPatchRequest

type ApiAutoCertificatesPatchRequest struct {
	ApiService *AutoCertificateApiService
	// contains filtered or unexported fields
}

func (ApiAutoCertificatesPatchRequest) AutoCertificatePatch

func (r ApiAutoCertificatesPatchRequest) AutoCertificatePatch(autoCertificatePatch AutoCertificatePatch) ApiAutoCertificatesPatchRequest

func (ApiAutoCertificatesPatchRequest) Execute

type ApiAutoCertificatesPostRequest

type ApiAutoCertificatesPostRequest struct {
	ApiService *AutoCertificateApiService
	// contains filtered or unexported fields
}

func (ApiAutoCertificatesPostRequest) AutoCertificateCreate

func (r ApiAutoCertificatesPostRequest) AutoCertificateCreate(autoCertificateCreate AutoCertificateCreate) ApiAutoCertificatesPostRequest

func (ApiAutoCertificatesPostRequest) Execute

type ApiCertificatesDeleteRequest

type ApiCertificatesDeleteRequest struct {
	ApiService *CertificateApiService
	// contains filtered or unexported fields
}

func (ApiCertificatesDeleteRequest) Execute

type ApiCertificatesFindByIdRequest

type ApiCertificatesFindByIdRequest struct {
	ApiService *CertificateApiService
	// contains filtered or unexported fields
}

func (ApiCertificatesFindByIdRequest) Execute

type ApiCertificatesGetRequest

type ApiCertificatesGetRequest struct {
	ApiService *CertificateApiService
	// contains filtered or unexported fields
}

func (ApiCertificatesGetRequest) Execute

func (ApiCertificatesGetRequest) FilterAutoCertificate

func (r ApiCertificatesGetRequest) FilterAutoCertificate(filterAutoCertificate string) ApiCertificatesGetRequest

func (ApiCertificatesGetRequest) FilterCommonName

func (r ApiCertificatesGetRequest) FilterCommonName(filterCommonName string) ApiCertificatesGetRequest

func (ApiCertificatesGetRequest) Limit

func (ApiCertificatesGetRequest) Offset

type ApiCertificatesPatchRequest

type ApiCertificatesPatchRequest struct {
	ApiService *CertificateApiService
	// contains filtered or unexported fields
}

func (ApiCertificatesPatchRequest) CertificatePatch

func (r ApiCertificatesPatchRequest) CertificatePatch(certificatePatch CertificatePatch) ApiCertificatesPatchRequest

func (ApiCertificatesPatchRequest) Execute

type ApiCertificatesPostRequest

type ApiCertificatesPostRequest struct {
	ApiService *CertificateApiService
	// contains filtered or unexported fields
}

func (ApiCertificatesPostRequest) CertificateCreate

func (r ApiCertificatesPostRequest) CertificateCreate(certificateCreate CertificateCreate) ApiCertificatesPostRequest

func (ApiCertificatesPostRequest) Execute

type ApiProvidersDeleteRequest

type ApiProvidersDeleteRequest struct {
	ApiService *ProviderApiService
	// contains filtered or unexported fields
}

func (ApiProvidersDeleteRequest) Execute

type ApiProvidersFindByIdRequest

type ApiProvidersFindByIdRequest struct {
	ApiService *ProviderApiService
	// contains filtered or unexported fields
}

func (ApiProvidersFindByIdRequest) Execute

type ApiProvidersGetRequest

type ApiProvidersGetRequest struct {
	ApiService *ProviderApiService
	// contains filtered or unexported fields
}

func (ApiProvidersGetRequest) Execute

func (ApiProvidersGetRequest) Limit

func (ApiProvidersGetRequest) Offset

type ApiProvidersPatchRequest

type ApiProvidersPatchRequest struct {
	ApiService *ProviderApiService
	// contains filtered or unexported fields
}

func (ApiProvidersPatchRequest) Execute

func (ApiProvidersPatchRequest) ProviderPatch

func (r ApiProvidersPatchRequest) ProviderPatch(providerPatch ProviderPatch) ApiProvidersPatchRequest

type ApiProvidersPostRequest

type ApiProvidersPostRequest struct {
	ApiService *ProviderApiService
	// contains filtered or unexported fields
}

func (ApiProvidersPostRequest) Execute

func (ApiProvidersPostRequest) ProviderCreate

func (r ApiProvidersPostRequest) ProviderCreate(providerCreate ProviderCreate) ApiProvidersPostRequest

type AutoCertificate

type AutoCertificate struct {
	// The certificate provider used to issue the certificates.
	Provider string `json:"provider"`
	// The common name (DNS) of the certificate to issue. The common name needs to be part of a zone in IONOS Cloud DNS.
	CommonName string `json:"commonName"`
	// The key algorithm used to generate the certificate.
	KeyAlgorithm string `json:"keyAlgorithm"`
	// A certificate name used for management purposes.
	Name string `json:"name"`
	// Optional additional names to be added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS.
	SubjectAlternativeNames []string `json:"subjectAlternativeNames,omitempty"`
}

AutoCertificate Auto certificates create new certificates based on a certificate provider.

func NewAutoCertificate

func NewAutoCertificate(provider string, commonName string, keyAlgorithm string, name string) *AutoCertificate

NewAutoCertificate instantiates a new AutoCertificate 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 NewAutoCertificateWithDefaults

func NewAutoCertificateWithDefaults() *AutoCertificate

NewAutoCertificateWithDefaults instantiates a new AutoCertificate 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 (*AutoCertificate) GetCommonName

func (o *AutoCertificate) GetCommonName() string

GetCommonName returns the CommonName field value

func (*AutoCertificate) GetCommonNameOk

func (o *AutoCertificate) GetCommonNameOk() (*string, bool)

GetCommonNameOk returns a tuple with the CommonName field value and a boolean to check if the value has been set.

func (*AutoCertificate) GetKeyAlgorithm

func (o *AutoCertificate) GetKeyAlgorithm() string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*AutoCertificate) GetKeyAlgorithmOk

func (o *AutoCertificate) GetKeyAlgorithmOk() (*string, bool)

GetKeyAlgorithmOk returns a tuple with the KeyAlgorithm field value and a boolean to check if the value has been set.

func (*AutoCertificate) GetName

func (o *AutoCertificate) GetName() string

GetName returns the Name field value

func (*AutoCertificate) GetNameOk

func (o *AutoCertificate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*AutoCertificate) GetProvider

func (o *AutoCertificate) GetProvider() string

GetProvider returns the Provider field value

func (*AutoCertificate) GetProviderOk

func (o *AutoCertificate) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*AutoCertificate) GetSubjectAlternativeNames

func (o *AutoCertificate) GetSubjectAlternativeNames() []string

GetSubjectAlternativeNames returns the SubjectAlternativeNames field value if set, zero value otherwise.

func (*AutoCertificate) GetSubjectAlternativeNamesOk

func (o *AutoCertificate) GetSubjectAlternativeNamesOk() ([]string, bool)

GetSubjectAlternativeNamesOk returns a tuple with the SubjectAlternativeNames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AutoCertificate) HasSubjectAlternativeNames

func (o *AutoCertificate) HasSubjectAlternativeNames() bool

HasSubjectAlternativeNames returns a boolean if a field has been set.

func (*AutoCertificate) SetCommonName

func (o *AutoCertificate) SetCommonName(v string)

SetCommonName sets field value

func (*AutoCertificate) SetKeyAlgorithm

func (o *AutoCertificate) SetKeyAlgorithm(v string)

SetKeyAlgorithm sets field value

func (*AutoCertificate) SetName

func (o *AutoCertificate) SetName(v string)

SetName sets field value

func (*AutoCertificate) SetProvider

func (o *AutoCertificate) SetProvider(v string)

SetProvider sets field value

func (*AutoCertificate) SetSubjectAlternativeNames

func (o *AutoCertificate) SetSubjectAlternativeNames(v []string)

SetSubjectAlternativeNames gets a reference to the given []string and assigns it to the SubjectAlternativeNames field.

func (AutoCertificate) ToMap

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

type AutoCertificateApiService

type AutoCertificateApiService service

AutoCertificateApiService AutoCertificateApi service

func (*AutoCertificateApiService) AutoCertificatesDelete

func (a *AutoCertificateApiService) AutoCertificatesDelete(ctx _context.Context, autoCertificateId string) ApiAutoCertificatesDeleteRequest

* AutoCertificatesDelete Delete AutoCertificate * Deletes the specified AutoCertificate. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param autoCertificateId The ID (UUID) of the AutoCertificate. * @return ApiAutoCertificatesDeleteRequest

func (*AutoCertificateApiService) AutoCertificatesDeleteExecute

func (a *AutoCertificateApiService) AutoCertificatesDeleteExecute(r ApiAutoCertificatesDeleteRequest) (*shared.APIResponse, error)

* Execute executes the request

func (*AutoCertificateApiService) AutoCertificatesFindById

func (a *AutoCertificateApiService) AutoCertificatesFindById(ctx _context.Context, autoCertificateId string) ApiAutoCertificatesFindByIdRequest

* AutoCertificatesFindById Retrieve AutoCertificate * Returns the AutoCertificate by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param autoCertificateId The ID (UUID) of the AutoCertificate. * @return ApiAutoCertificatesFindByIdRequest

func (*AutoCertificateApiService) AutoCertificatesFindByIdExecute

* Execute executes the request * @return AutoCertificateRead

func (*AutoCertificateApiService) AutoCertificatesGet

  • AutoCertificatesGet Retrieve all AutoCertificate
  • This endpoint enables retrieving all AutoCertificate using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiAutoCertificatesGetRequest

func (*AutoCertificateApiService) AutoCertificatesGetExecute

* Execute executes the request * @return AutoCertificateReadList

func (*AutoCertificateApiService) AutoCertificatesPatch

func (a *AutoCertificateApiService) AutoCertificatesPatch(ctx _context.Context, autoCertificateId string) ApiAutoCertificatesPatchRequest
  • AutoCertificatesPatch Updates AutoCertificate
  • Changes AutoCertificate with the provided ID.

Values provides will replace the existing data.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param autoCertificateId The ID (UUID) of the AutoCertificate.
  • @return ApiAutoCertificatesPatchRequest

func (*AutoCertificateApiService) AutoCertificatesPatchExecute

* Execute executes the request * @return AutoCertificateRead

func (*AutoCertificateApiService) AutoCertificatesPost

  • AutoCertificatesPost Create AutoCertificate
  • Creates a new AutoCertificate.

The full AutoCertificate needs to be provided to create the object. Optional data will be filled with defaults or left empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiAutoCertificatesPostRequest

func (*AutoCertificateApiService) AutoCertificatesPostExecute

* Execute executes the request * @return AutoCertificateRead

type AutoCertificateCreate

type AutoCertificateCreate struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties AutoCertificate        `json:"properties"`
}

AutoCertificateCreate struct for AutoCertificateCreate

func NewAutoCertificateCreate

func NewAutoCertificateCreate(properties AutoCertificate) *AutoCertificateCreate

NewAutoCertificateCreate instantiates a new AutoCertificateCreate 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 NewAutoCertificateCreateWithDefaults

func NewAutoCertificateCreateWithDefaults() *AutoCertificateCreate

NewAutoCertificateCreateWithDefaults instantiates a new AutoCertificateCreate 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 (*AutoCertificateCreate) GetMetadata

func (o *AutoCertificateCreate) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*AutoCertificateCreate) GetMetadataOk

func (o *AutoCertificateCreate) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AutoCertificateCreate) GetProperties

func (o *AutoCertificateCreate) GetProperties() AutoCertificate

GetProperties returns the Properties field value

func (*AutoCertificateCreate) GetPropertiesOk

func (o *AutoCertificateCreate) GetPropertiesOk() (*AutoCertificate, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*AutoCertificateCreate) HasMetadata

func (o *AutoCertificateCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*AutoCertificateCreate) SetMetadata

func (o *AutoCertificateCreate) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*AutoCertificateCreate) SetProperties

func (o *AutoCertificateCreate) SetProperties(v AutoCertificate)

SetProperties sets field value

func (AutoCertificateCreate) ToMap

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

type AutoCertificatePatch

type AutoCertificatePatch struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties PatchName              `json:"properties"`
}

AutoCertificatePatch struct for AutoCertificatePatch

func NewAutoCertificatePatch

func NewAutoCertificatePatch(properties PatchName) *AutoCertificatePatch

NewAutoCertificatePatch instantiates a new AutoCertificatePatch 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 NewAutoCertificatePatchWithDefaults

func NewAutoCertificatePatchWithDefaults() *AutoCertificatePatch

NewAutoCertificatePatchWithDefaults instantiates a new AutoCertificatePatch 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 (*AutoCertificatePatch) GetMetadata

func (o *AutoCertificatePatch) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*AutoCertificatePatch) GetMetadataOk

func (o *AutoCertificatePatch) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AutoCertificatePatch) GetProperties

func (o *AutoCertificatePatch) GetProperties() PatchName

GetProperties returns the Properties field value

func (*AutoCertificatePatch) GetPropertiesOk

func (o *AutoCertificatePatch) GetPropertiesOk() (*PatchName, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*AutoCertificatePatch) HasMetadata

func (o *AutoCertificatePatch) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*AutoCertificatePatch) SetMetadata

func (o *AutoCertificatePatch) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*AutoCertificatePatch) SetProperties

func (o *AutoCertificatePatch) SetProperties(v PatchName)

SetProperties sets field value

func (AutoCertificatePatch) ToMap

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

type AutoCertificateRead

type AutoCertificateRead struct {
	// The ID (UUID) of the AutoCertificate.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the AutoCertificate.
	Href       string                                 `json:"href"`
	Metadata   MetadataWithAutoCertificateInformation `json:"metadata"`
	Properties AutoCertificate                        `json:"properties"`
}

AutoCertificateRead struct for AutoCertificateRead

func NewAutoCertificateRead

func NewAutoCertificateRead(id string, type_ string, href string, metadata MetadataWithAutoCertificateInformation, properties AutoCertificate) *AutoCertificateRead

NewAutoCertificateRead instantiates a new AutoCertificateRead 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 NewAutoCertificateReadWithDefaults

func NewAutoCertificateReadWithDefaults() *AutoCertificateRead

NewAutoCertificateReadWithDefaults instantiates a new AutoCertificateRead 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 (*AutoCertificateRead) GetHref

func (o *AutoCertificateRead) GetHref() string

GetHref returns the Href field value

func (*AutoCertificateRead) GetHrefOk

func (o *AutoCertificateRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*AutoCertificateRead) GetId

func (o *AutoCertificateRead) GetId() string

GetId returns the Id field value

func (*AutoCertificateRead) GetIdOk

func (o *AutoCertificateRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*AutoCertificateRead) GetMetadata

GetMetadata returns the Metadata field value

func (*AutoCertificateRead) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*AutoCertificateRead) GetProperties

func (o *AutoCertificateRead) GetProperties() AutoCertificate

GetProperties returns the Properties field value

func (*AutoCertificateRead) GetPropertiesOk

func (o *AutoCertificateRead) GetPropertiesOk() (*AutoCertificate, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*AutoCertificateRead) GetType

func (o *AutoCertificateRead) GetType() string

GetType returns the Type field value

func (*AutoCertificateRead) GetTypeOk

func (o *AutoCertificateRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*AutoCertificateRead) SetHref

func (o *AutoCertificateRead) SetHref(v string)

SetHref sets field value

func (*AutoCertificateRead) SetId

func (o *AutoCertificateRead) SetId(v string)

SetId sets field value

func (*AutoCertificateRead) SetMetadata

SetMetadata sets field value

func (*AutoCertificateRead) SetProperties

func (o *AutoCertificateRead) SetProperties(v AutoCertificate)

SetProperties sets field value

func (*AutoCertificateRead) SetType

func (o *AutoCertificateRead) SetType(v string)

SetType sets field value

func (AutoCertificateRead) ToMap

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

type AutoCertificateReadList

type AutoCertificateReadList struct {
	// ID of the list of AutoCertificate resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of AutoCertificate resources.
	Href string `json:"href"`
	// The list of AutoCertificate resources.
	Items []AutoCertificateRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit int32 `json:"limit"`
	Links Links `json:"_links"`
}

AutoCertificateReadList struct for AutoCertificateReadList

func NewAutoCertificateReadList

func NewAutoCertificateReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *AutoCertificateReadList

NewAutoCertificateReadList instantiates a new AutoCertificateReadList 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 NewAutoCertificateReadListWithDefaults

func NewAutoCertificateReadListWithDefaults() *AutoCertificateReadList

NewAutoCertificateReadListWithDefaults instantiates a new AutoCertificateReadList 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 (*AutoCertificateReadList) GetHref

func (o *AutoCertificateReadList) GetHref() string

GetHref returns the Href field value

func (*AutoCertificateReadList) GetHrefOk

func (o *AutoCertificateReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*AutoCertificateReadList) GetId

func (o *AutoCertificateReadList) GetId() string

GetId returns the Id field value

func (*AutoCertificateReadList) GetIdOk

func (o *AutoCertificateReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*AutoCertificateReadList) GetItems

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

func (*AutoCertificateReadList) GetItemsOk

func (o *AutoCertificateReadList) GetItemsOk() ([]AutoCertificateRead, 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 (*AutoCertificateReadList) GetLimit

func (o *AutoCertificateReadList) GetLimit() int32

GetLimit returns the Limit field value

func (*AutoCertificateReadList) GetLimitOk

func (o *AutoCertificateReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *AutoCertificateReadList) GetLinks() Links

GetLinks returns the Links field value

func (*AutoCertificateReadList) GetLinksOk

func (o *AutoCertificateReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*AutoCertificateReadList) GetOffset

func (o *AutoCertificateReadList) GetOffset() int32

GetOffset returns the Offset field value

func (*AutoCertificateReadList) GetOffsetOk

func (o *AutoCertificateReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*AutoCertificateReadList) GetType

func (o *AutoCertificateReadList) GetType() string

GetType returns the Type field value

func (*AutoCertificateReadList) GetTypeOk

func (o *AutoCertificateReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*AutoCertificateReadList) HasItems

func (o *AutoCertificateReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AutoCertificateReadList) SetHref

func (o *AutoCertificateReadList) SetHref(v string)

SetHref sets field value

func (*AutoCertificateReadList) SetId

func (o *AutoCertificateReadList) SetId(v string)

SetId sets field value

func (*AutoCertificateReadList) SetItems

SetItems gets a reference to the given []AutoCertificateRead and assigns it to the Items field.

func (*AutoCertificateReadList) SetLimit

func (o *AutoCertificateReadList) SetLimit(v int32)

SetLimit sets field value

func (o *AutoCertificateReadList) SetLinks(v Links)

SetLinks sets field value

func (*AutoCertificateReadList) SetOffset

func (o *AutoCertificateReadList) SetOffset(v int32)

SetOffset sets field value

func (*AutoCertificateReadList) SetType

func (o *AutoCertificateReadList) SetType(v string)

SetType sets field value

func (AutoCertificateReadList) ToMap

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

type AutoCertificateReadListAllOf

type AutoCertificateReadListAllOf struct {
	// ID of the list of AutoCertificate resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of AutoCertificate resources.
	Href string `json:"href"`
	// The list of AutoCertificate resources.
	Items []AutoCertificateRead `json:"items,omitempty"`
}

AutoCertificateReadListAllOf struct for AutoCertificateReadListAllOf

func NewAutoCertificateReadListAllOf

func NewAutoCertificateReadListAllOf(id string, type_ string, href string) *AutoCertificateReadListAllOf

NewAutoCertificateReadListAllOf instantiates a new AutoCertificateReadListAllOf 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 NewAutoCertificateReadListAllOfWithDefaults

func NewAutoCertificateReadListAllOfWithDefaults() *AutoCertificateReadListAllOf

NewAutoCertificateReadListAllOfWithDefaults instantiates a new AutoCertificateReadListAllOf 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 (*AutoCertificateReadListAllOf) GetHref

func (o *AutoCertificateReadListAllOf) GetHref() string

GetHref returns the Href field value

func (*AutoCertificateReadListAllOf) GetHrefOk

func (o *AutoCertificateReadListAllOf) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*AutoCertificateReadListAllOf) GetId

GetId returns the Id field value

func (*AutoCertificateReadListAllOf) GetIdOk

func (o *AutoCertificateReadListAllOf) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*AutoCertificateReadListAllOf) GetItems

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

func (*AutoCertificateReadListAllOf) 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 (*AutoCertificateReadListAllOf) GetType

func (o *AutoCertificateReadListAllOf) GetType() string

GetType returns the Type field value

func (*AutoCertificateReadListAllOf) GetTypeOk

func (o *AutoCertificateReadListAllOf) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*AutoCertificateReadListAllOf) HasItems

func (o *AutoCertificateReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AutoCertificateReadListAllOf) SetHref

func (o *AutoCertificateReadListAllOf) SetHref(v string)

SetHref sets field value

func (*AutoCertificateReadListAllOf) SetId

SetId sets field value

func (*AutoCertificateReadListAllOf) SetItems

SetItems gets a reference to the given []AutoCertificateRead and assigns it to the Items field.

func (*AutoCertificateReadListAllOf) SetType

func (o *AutoCertificateReadListAllOf) SetType(v string)

SetType sets field value

func (AutoCertificateReadListAllOf) ToMap

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

type Certificate

type Certificate struct {
	// The certificate name.
	Name string `json:"name"`
	// The certificate body.
	Certificate string `json:"certificate"`
	// The certificate chain.
	CertificateChain string `json:"certificateChain"`
	// The RSA private key is used for authentication and symmetric key exchange when establishing an SSL session. It is a part of the public key infrastructure generally used with SSL certificates.
	PrivateKey string `json:"privateKey"`
}

Certificate TLS/SSL certificates are used to secure network communications and prove the identity of websites on the Internet and resources on private networks. The certificates and their associated private keys are provided in PEM (Privacy Enhanced Mail) format.

func NewCertificate

func NewCertificate(name string, certificate string, certificateChain string, privateKey string) *Certificate

NewCertificate instantiates a new Certificate 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 NewCertificateWithDefaults

func NewCertificateWithDefaults() *Certificate

NewCertificateWithDefaults instantiates a new Certificate 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 (*Certificate) GetCertificate

func (o *Certificate) GetCertificate() string

GetCertificate returns the Certificate field value

func (*Certificate) GetCertificateChain

func (o *Certificate) GetCertificateChain() string

GetCertificateChain returns the CertificateChain field value

func (*Certificate) GetCertificateChainOk

func (o *Certificate) GetCertificateChainOk() (*string, bool)

GetCertificateChainOk returns a tuple with the CertificateChain field value and a boolean to check if the value has been set.

func (*Certificate) GetCertificateOk

func (o *Certificate) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value and a boolean to check if the value has been set.

func (*Certificate) GetName

func (o *Certificate) GetName() string

GetName returns the Name field value

func (*Certificate) GetNameOk

func (o *Certificate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Certificate) GetPrivateKey

func (o *Certificate) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value

func (*Certificate) GetPrivateKeyOk

func (o *Certificate) GetPrivateKeyOk() (*string, bool)

GetPrivateKeyOk returns a tuple with the PrivateKey field value and a boolean to check if the value has been set.

func (*Certificate) SetCertificate

func (o *Certificate) SetCertificate(v string)

SetCertificate sets field value

func (*Certificate) SetCertificateChain

func (o *Certificate) SetCertificateChain(v string)

SetCertificateChain sets field value

func (*Certificate) SetName

func (o *Certificate) SetName(v string)

SetName sets field value

func (*Certificate) SetPrivateKey

func (o *Certificate) SetPrivateKey(v string)

SetPrivateKey sets field value

func (Certificate) ToMap

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

type CertificateApiService

type CertificateApiService service

CertificateApiService CertificateApi service

func (*CertificateApiService) CertificatesDelete

func (a *CertificateApiService) CertificatesDelete(ctx _context.Context, certificateId string) ApiCertificatesDeleteRequest

* CertificatesDelete Delete Certificate * Deletes the specified Certificate. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param certificateId The ID (UUID) of the Certificate. * @return ApiCertificatesDeleteRequest

func (*CertificateApiService) CertificatesDeleteExecute

func (a *CertificateApiService) CertificatesDeleteExecute(r ApiCertificatesDeleteRequest) (*shared.APIResponse, error)

* Execute executes the request

func (*CertificateApiService) CertificatesFindById

func (a *CertificateApiService) CertificatesFindById(ctx _context.Context, certificateId string) ApiCertificatesFindByIdRequest

* CertificatesFindById Retrieve Certificate * Returns the Certificate by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param certificateId The ID (UUID) of the Certificate. * @return ApiCertificatesFindByIdRequest

func (*CertificateApiService) CertificatesFindByIdExecute

* Execute executes the request * @return CertificateRead

func (*CertificateApiService) CertificatesGet

  • CertificatesGet Retrieve all Certificate
  • This endpoint enables retrieving all Certificate using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiCertificatesGetRequest

func (*CertificateApiService) CertificatesGetExecute

* Execute executes the request * @return CertificateReadList

func (*CertificateApiService) CertificatesPatch

func (a *CertificateApiService) CertificatesPatch(ctx _context.Context, certificateId string) ApiCertificatesPatchRequest
  • CertificatesPatch Updates Certificate
  • Changes Certificate with the provided ID.

Values provides will replace the existing data.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param certificateId The ID (UUID) of the Certificate.
  • @return ApiCertificatesPatchRequest

func (*CertificateApiService) CertificatesPatchExecute

* Execute executes the request * @return CertificateRead

func (*CertificateApiService) CertificatesPost

  • CertificatesPost Create Certificate
  • Creates a new Certificate.

The full Certificate needs to be provided to create the object. Optional data will be filled with defaults or left empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiCertificatesPostRequest

func (*CertificateApiService) CertificatesPostExecute

* Execute executes the request * @return CertificateRead

type CertificateCreate

type CertificateCreate struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties Certificate            `json:"properties"`
}

CertificateCreate struct for CertificateCreate

func NewCertificateCreate

func NewCertificateCreate(properties Certificate) *CertificateCreate

NewCertificateCreate instantiates a new CertificateCreate 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 NewCertificateCreateWithDefaults

func NewCertificateCreateWithDefaults() *CertificateCreate

NewCertificateCreateWithDefaults instantiates a new CertificateCreate 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 (*CertificateCreate) GetMetadata

func (o *CertificateCreate) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CertificateCreate) GetMetadataOk

func (o *CertificateCreate) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CertificateCreate) GetProperties

func (o *CertificateCreate) GetProperties() Certificate

GetProperties returns the Properties field value

func (*CertificateCreate) GetPropertiesOk

func (o *CertificateCreate) GetPropertiesOk() (*Certificate, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*CertificateCreate) HasMetadata

func (o *CertificateCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CertificateCreate) SetMetadata

func (o *CertificateCreate) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*CertificateCreate) SetProperties

func (o *CertificateCreate) SetProperties(v Certificate)

SetProperties sets field value

func (CertificateCreate) ToMap

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

type CertificatePatch

type CertificatePatch struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties PatchName              `json:"properties"`
}

CertificatePatch struct for CertificatePatch

func NewCertificatePatch

func NewCertificatePatch(properties PatchName) *CertificatePatch

NewCertificatePatch instantiates a new CertificatePatch 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 NewCertificatePatchWithDefaults

func NewCertificatePatchWithDefaults() *CertificatePatch

NewCertificatePatchWithDefaults instantiates a new CertificatePatch 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 (*CertificatePatch) GetMetadata

func (o *CertificatePatch) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CertificatePatch) GetMetadataOk

func (o *CertificatePatch) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CertificatePatch) GetProperties

func (o *CertificatePatch) GetProperties() PatchName

GetProperties returns the Properties field value

func (*CertificatePatch) GetPropertiesOk

func (o *CertificatePatch) GetPropertiesOk() (*PatchName, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*CertificatePatch) HasMetadata

func (o *CertificatePatch) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CertificatePatch) SetMetadata

func (o *CertificatePatch) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*CertificatePatch) SetProperties

func (o *CertificatePatch) SetProperties(v PatchName)

SetProperties sets field value

func (CertificatePatch) ToMap

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

type CertificateRead

type CertificateRead struct {
	// The ID (UUID) of the Certificate.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the Certificate.
	Href       string                             `json:"href"`
	Metadata   MetadataWithCertificateInformation `json:"metadata"`
	Properties Certificate                        `json:"properties"`
}

CertificateRead struct for CertificateRead

func NewCertificateRead

func NewCertificateRead(id string, type_ string, href string, metadata MetadataWithCertificateInformation, properties Certificate) *CertificateRead

NewCertificateRead instantiates a new CertificateRead 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 NewCertificateReadWithDefaults

func NewCertificateReadWithDefaults() *CertificateRead

NewCertificateReadWithDefaults instantiates a new CertificateRead 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 (*CertificateRead) GetHref

func (o *CertificateRead) GetHref() string

GetHref returns the Href field value

func (*CertificateRead) GetHrefOk

func (o *CertificateRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*CertificateRead) GetId

func (o *CertificateRead) GetId() string

GetId returns the Id field value

func (*CertificateRead) GetIdOk

func (o *CertificateRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CertificateRead) GetMetadata

GetMetadata returns the Metadata field value

func (*CertificateRead) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*CertificateRead) GetProperties

func (o *CertificateRead) GetProperties() Certificate

GetProperties returns the Properties field value

func (*CertificateRead) GetPropertiesOk

func (o *CertificateRead) GetPropertiesOk() (*Certificate, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*CertificateRead) GetType

func (o *CertificateRead) GetType() string

GetType returns the Type field value

func (*CertificateRead) GetTypeOk

func (o *CertificateRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CertificateRead) SetHref

func (o *CertificateRead) SetHref(v string)

SetHref sets field value

func (*CertificateRead) SetId

func (o *CertificateRead) SetId(v string)

SetId sets field value

func (*CertificateRead) SetMetadata

SetMetadata sets field value

func (*CertificateRead) SetProperties

func (o *CertificateRead) SetProperties(v Certificate)

SetProperties sets field value

func (*CertificateRead) SetType

func (o *CertificateRead) SetType(v string)

SetType sets field value

func (CertificateRead) ToMap

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

type CertificateReadList

type CertificateReadList struct {
	// ID of the list of Certificate resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of Certificate resources.
	Href string `json:"href"`
	// The list of Certificate resources.
	Items []CertificateRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit int32 `json:"limit"`
	Links Links `json:"_links"`
}

CertificateReadList struct for CertificateReadList

func NewCertificateReadList

func NewCertificateReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *CertificateReadList

NewCertificateReadList instantiates a new CertificateReadList 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 NewCertificateReadListWithDefaults

func NewCertificateReadListWithDefaults() *CertificateReadList

NewCertificateReadListWithDefaults instantiates a new CertificateReadList 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 (*CertificateReadList) GetHref

func (o *CertificateReadList) GetHref() string

GetHref returns the Href field value

func (*CertificateReadList) GetHrefOk

func (o *CertificateReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*CertificateReadList) GetId

func (o *CertificateReadList) GetId() string

GetId returns the Id field value

func (*CertificateReadList) GetIdOk

func (o *CertificateReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CertificateReadList) GetItems

func (o *CertificateReadList) GetItems() []CertificateRead

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

func (*CertificateReadList) GetItemsOk

func (o *CertificateReadList) GetItemsOk() ([]CertificateRead, 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 (*CertificateReadList) GetLimit

func (o *CertificateReadList) GetLimit() int32

GetLimit returns the Limit field value

func (*CertificateReadList) GetLimitOk

func (o *CertificateReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *CertificateReadList) GetLinks() Links

GetLinks returns the Links field value

func (*CertificateReadList) GetLinksOk

func (o *CertificateReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*CertificateReadList) GetOffset

func (o *CertificateReadList) GetOffset() int32

GetOffset returns the Offset field value

func (*CertificateReadList) GetOffsetOk

func (o *CertificateReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*CertificateReadList) GetType

func (o *CertificateReadList) GetType() string

GetType returns the Type field value

func (*CertificateReadList) GetTypeOk

func (o *CertificateReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CertificateReadList) HasItems

func (o *CertificateReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*CertificateReadList) SetHref

func (o *CertificateReadList) SetHref(v string)

SetHref sets field value

func (*CertificateReadList) SetId

func (o *CertificateReadList) SetId(v string)

SetId sets field value

func (*CertificateReadList) SetItems

func (o *CertificateReadList) SetItems(v []CertificateRead)

SetItems gets a reference to the given []CertificateRead and assigns it to the Items field.

func (*CertificateReadList) SetLimit

func (o *CertificateReadList) SetLimit(v int32)

SetLimit sets field value

func (o *CertificateReadList) SetLinks(v Links)

SetLinks sets field value

func (*CertificateReadList) SetOffset

func (o *CertificateReadList) SetOffset(v int32)

SetOffset sets field value

func (*CertificateReadList) SetType

func (o *CertificateReadList) SetType(v string)

SetType sets field value

func (CertificateReadList) ToMap

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

type CertificateReadListAllOf

type CertificateReadListAllOf struct {
	// ID of the list of Certificate resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of Certificate resources.
	Href string `json:"href"`
	// The list of Certificate resources.
	Items []CertificateRead `json:"items,omitempty"`
}

CertificateReadListAllOf struct for CertificateReadListAllOf

func NewCertificateReadListAllOf

func NewCertificateReadListAllOf(id string, type_ string, href string) *CertificateReadListAllOf

NewCertificateReadListAllOf instantiates a new CertificateReadListAllOf 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 NewCertificateReadListAllOfWithDefaults

func NewCertificateReadListAllOfWithDefaults() *CertificateReadListAllOf

NewCertificateReadListAllOfWithDefaults instantiates a new CertificateReadListAllOf 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 (*CertificateReadListAllOf) GetHref

func (o *CertificateReadListAllOf) GetHref() string

GetHref returns the Href field value

func (*CertificateReadListAllOf) GetHrefOk

func (o *CertificateReadListAllOf) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*CertificateReadListAllOf) GetId

func (o *CertificateReadListAllOf) GetId() string

GetId returns the Id field value

func (*CertificateReadListAllOf) GetIdOk

func (o *CertificateReadListAllOf) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CertificateReadListAllOf) GetItems

func (o *CertificateReadListAllOf) GetItems() []CertificateRead

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

func (*CertificateReadListAllOf) GetItemsOk

func (o *CertificateReadListAllOf) GetItemsOk() ([]CertificateRead, 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 (*CertificateReadListAllOf) GetType

func (o *CertificateReadListAllOf) GetType() string

GetType returns the Type field value

func (*CertificateReadListAllOf) GetTypeOk

func (o *CertificateReadListAllOf) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CertificateReadListAllOf) HasItems

func (o *CertificateReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*CertificateReadListAllOf) SetHref

func (o *CertificateReadListAllOf) SetHref(v string)

SetHref sets field value

func (*CertificateReadListAllOf) SetId

func (o *CertificateReadListAllOf) SetId(v string)

SetId sets field value

func (*CertificateReadListAllOf) SetItems

func (o *CertificateReadListAllOf) SetItems(v []CertificateRead)

SetItems gets a reference to the given []CertificateRead and assigns it to the Items field.

func (*CertificateReadListAllOf) SetType

func (o *CertificateReadListAllOf) SetType(v string)

SetType sets field value

func (CertificateReadListAllOf) ToMap

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

type Connection

type Connection struct {
	// The datacenter to connect your instance to.
	DatacenterId string `json:"datacenterId"`
	// The numeric LAN ID to connect your instance to.
	LanId string `json:"lanId"`
	// The IP and subnet for your instance. Note the following unavailable IP range: 10.244.0.0/11
	Cidr string `json:"cidr"`
}

Connection Details about the network connection for your instance.

func NewConnection

func NewConnection(datacenterId string, lanId string, cidr string) *Connection

NewConnection instantiates a new Connection 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 NewConnectionWithDefaults

func NewConnectionWithDefaults() *Connection

NewConnectionWithDefaults instantiates a new Connection 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 (*Connection) GetCidr

func (o *Connection) GetCidr() string

GetCidr returns the Cidr field value

func (*Connection) GetCidrOk

func (o *Connection) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*Connection) GetDatacenterId

func (o *Connection) GetDatacenterId() string

GetDatacenterId returns the DatacenterId field value

func (*Connection) GetDatacenterIdOk

func (o *Connection) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set.

func (*Connection) GetLanId

func (o *Connection) GetLanId() string

GetLanId returns the LanId field value

func (*Connection) GetLanIdOk

func (o *Connection) GetLanIdOk() (*string, bool)

GetLanIdOk returns a tuple with the LanId field value and a boolean to check if the value has been set.

func (*Connection) SetCidr

func (o *Connection) SetCidr(v string)

SetCidr sets field value

func (*Connection) SetDatacenterId

func (o *Connection) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*Connection) SetLanId

func (o *Connection) SetLanId(v string)

SetLanId sets field value

func (Connection) ToMap

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

type DayOfTheWeek

type DayOfTheWeek string

DayOfTheWeek The name of the week day.

const (
	DAYOFTHEWEEK_SUNDAY    DayOfTheWeek = "Sunday"
	DAYOFTHEWEEK_MONDAY    DayOfTheWeek = "Monday"
	DAYOFTHEWEEK_TUESDAY   DayOfTheWeek = "Tuesday"
	DAYOFTHEWEEK_WEDNESDAY DayOfTheWeek = "Wednesday"
	DAYOFTHEWEEK_THURSDAY  DayOfTheWeek = "Thursday"
	DAYOFTHEWEEK_FRIDAY    DayOfTheWeek = "Friday"
	DAYOFTHEWEEK_SATURDAY  DayOfTheWeek = "Saturday"
)

List of DayOfTheWeek

func (DayOfTheWeek) Ptr

func (v DayOfTheWeek) Ptr() *DayOfTheWeek

Ptr returns reference to DayOfTheWeek value

func (*DayOfTheWeek) UnmarshalJSON

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

type Error

type Error struct {
	// The HTTP status code of the operation.
	HttpStatus *int32 `json:"httpStatus,omitempty"`
	// A list of error messages.
	Messages []ErrorMessages `json:"messages,omitempty"`
}

Error The Error object is used to represent an error response from the API.

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetHttpStatus

func (o *Error) GetHttpStatus() int32

GetHttpStatus returns the HttpStatus field value if set, zero value otherwise.

func (*Error) GetHttpStatusOk

func (o *Error) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetMessages

func (o *Error) GetMessages() []ErrorMessages

GetMessages returns the Messages field value if set, zero value otherwise.

func (*Error) GetMessagesOk

func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) HasHttpStatus

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*Error) SetHttpStatus

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.

func (*Error) SetMessages

func (o *Error) SetMessages(v []ErrorMessages)

SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.

func (Error) ToMap

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

type ErrorMessages

type ErrorMessages struct {
	// Application internal error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation specific to this occurrence of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessages struct for ErrorMessages

func NewErrorMessages

func NewErrorMessages() *ErrorMessages

NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults

func NewErrorMessagesWithDefaults() *ErrorMessages

NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode

func (o *ErrorMessages) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorMessages) GetErrorCodeOk

func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessages) GetMessage

func (o *ErrorMessages) GetMessage() string

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

func (*ErrorMessages) GetMessageOk

func (o *ErrorMessages) 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 (*ErrorMessages) HasErrorCode

func (o *ErrorMessages) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessages) HasMessage

func (o *ErrorMessages) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorMessages) SetErrorCode

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorMessages) SetMessage

func (o *ErrorMessages) SetMessage(v string)

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

func (ErrorMessages) ToMap

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

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error
type Links struct {
	// URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.
	Prev *string `json:"prev,omitempty"`
	// URL (with offset and limit parameters) of the current page.
	Self *string `json:"self,omitempty"`
	// URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.
	Next *string `json:"next,omitempty"`
}

Links URLs to navigate the different pages. As of now we always only return a single page.

func NewLinks() *Links

NewLinks instantiates a new Links 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 NewLinksWithDefaults

func NewLinksWithDefaults() *Links

NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext

func (o *Links) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*Links) GetNextOk

func (o *Links) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Links) GetPrev

func (o *Links) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*Links) GetPrevOk

func (o *Links) GetPrevOk() (*string, bool)

GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Links) GetSelf

func (o *Links) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*Links) GetSelfOk

func (o *Links) GetSelfOk() (*string, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Links) HasNext

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*Links) SetNext

func (o *Links) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

func (Links) ToMap

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

type MaintenanceWindow

type MaintenanceWindow struct {
	// Start of the maintenance window in UTC time.
	Time         string       `json:"time"`
	DayOfTheWeek DayOfTheWeek `json:"dayOfTheWeek"`
}

MaintenanceWindow A weekly 4 hour-long window, during which maintenance might occur.

func NewMaintenanceWindow

func NewMaintenanceWindow(time string, dayOfTheWeek DayOfTheWeek) *MaintenanceWindow

NewMaintenanceWindow instantiates a new MaintenanceWindow 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 NewMaintenanceWindowWithDefaults

func NewMaintenanceWindowWithDefaults() *MaintenanceWindow

NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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 (*MaintenanceWindow) GetDayOfTheWeek

func (o *MaintenanceWindow) GetDayOfTheWeek() DayOfTheWeek

GetDayOfTheWeek returns the DayOfTheWeek field value

func (*MaintenanceWindow) GetDayOfTheWeekOk

func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)

GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek field value and a boolean to check if the value has been set.

func (*MaintenanceWindow) GetTime

func (o *MaintenanceWindow) GetTime() string

GetTime returns the Time field value

func (*MaintenanceWindow) GetTimeOk

func (o *MaintenanceWindow) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*MaintenanceWindow) SetDayOfTheWeek

func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)

SetDayOfTheWeek sets field value

func (*MaintenanceWindow) SetTime

func (o *MaintenanceWindow) SetTime(v string)

SetTime sets field value

func (MaintenanceWindow) ToMap

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

type MappedNullable

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

type Metadata

type Metadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetResourceURN

func (o *Metadata) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*Metadata) GetResourceURNOk

func (o *Metadata) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasResourceURN

func (o *Metadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*Metadata) SetResourceURN

func (o *Metadata) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (Metadata) ToMap

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

type MetadataWithAutoCertificateInformation

type MetadataWithAutoCertificateInformation struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The resource state.
	State string `json:"state"`
	// A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
	Message string `json:"message"`
	// The ID of the last certificate that was issued.
	LastIssuedCertificate *string `json:"lastIssuedCertificate,omitempty"`
}

MetadataWithAutoCertificateInformation struct for MetadataWithAutoCertificateInformation

func NewMetadataWithAutoCertificateInformation

func NewMetadataWithAutoCertificateInformation(state string, message string) *MetadataWithAutoCertificateInformation

NewMetadataWithAutoCertificateInformation instantiates a new MetadataWithAutoCertificateInformation 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 NewMetadataWithAutoCertificateInformationWithDefaults

func NewMetadataWithAutoCertificateInformationWithDefaults() *MetadataWithAutoCertificateInformation

NewMetadataWithAutoCertificateInformationWithDefaults instantiates a new MetadataWithAutoCertificateInformation 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 (*MetadataWithAutoCertificateInformation) GetCreatedBy

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetCreatedByOk

func (o *MetadataWithAutoCertificateInformation) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetCreatedByUserId

func (o *MetadataWithAutoCertificateInformation) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetCreatedByUserIdOk

func (o *MetadataWithAutoCertificateInformation) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetCreatedDate

func (o *MetadataWithAutoCertificateInformation) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetCreatedDateOk

func (o *MetadataWithAutoCertificateInformation) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformation) GetLastIssuedCertificate() string

GetLastIssuedCertificate returns the LastIssuedCertificate field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetLastIssuedCertificateOk

func (o *MetadataWithAutoCertificateInformation) GetLastIssuedCertificateOk() (*string, bool)

GetLastIssuedCertificateOk returns a tuple with the LastIssuedCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedBy

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedByOk

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedByUserId

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedByUserIdOk

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedDate

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetLastModifiedDateOk

func (o *MetadataWithAutoCertificateInformation) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetMessage

GetMessage returns the Message field value

func (*MetadataWithAutoCertificateInformation) GetMessageOk

func (o *MetadataWithAutoCertificateInformation) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetResourceURN

func (o *MetadataWithAutoCertificateInformation) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformation) GetResourceURNOk

func (o *MetadataWithAutoCertificateInformation) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) GetState

GetState returns the State field value

func (*MetadataWithAutoCertificateInformation) GetStateOk

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformation) HasCreatedBy

func (o *MetadataWithAutoCertificateInformation) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasCreatedByUserId

func (o *MetadataWithAutoCertificateInformation) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasCreatedDate

func (o *MetadataWithAutoCertificateInformation) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformation) HasLastIssuedCertificate() bool

HasLastIssuedCertificate returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasLastModifiedBy

func (o *MetadataWithAutoCertificateInformation) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasLastModifiedByUserId

func (o *MetadataWithAutoCertificateInformation) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasLastModifiedDate

func (o *MetadataWithAutoCertificateInformation) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) HasResourceURN

func (o *MetadataWithAutoCertificateInformation) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformation) SetCreatedBy

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithAutoCertificateInformation) SetCreatedByUserId

func (o *MetadataWithAutoCertificateInformation) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithAutoCertificateInformation) SetCreatedDate

func (o *MetadataWithAutoCertificateInformation) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithAutoCertificateInformation) SetLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformation) SetLastIssuedCertificate(v string)

SetLastIssuedCertificate gets a reference to the given string and assigns it to the LastIssuedCertificate field.

func (*MetadataWithAutoCertificateInformation) SetLastModifiedBy

func (o *MetadataWithAutoCertificateInformation) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithAutoCertificateInformation) SetLastModifiedByUserId

func (o *MetadataWithAutoCertificateInformation) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithAutoCertificateInformation) SetLastModifiedDate

func (o *MetadataWithAutoCertificateInformation) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithAutoCertificateInformation) SetMessage

SetMessage sets field value

func (*MetadataWithAutoCertificateInformation) SetResourceURN

func (o *MetadataWithAutoCertificateInformation) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithAutoCertificateInformation) SetState

SetState sets field value

func (MetadataWithAutoCertificateInformation) ToMap

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

type MetadataWithAutoCertificateInformationAllOf

type MetadataWithAutoCertificateInformationAllOf struct {
	// The ID of the last certificate that was issued.
	LastIssuedCertificate *string `json:"lastIssuedCertificate,omitempty"`
}

MetadataWithAutoCertificateInformationAllOf struct for MetadataWithAutoCertificateInformationAllOf

func NewMetadataWithAutoCertificateInformationAllOf

func NewMetadataWithAutoCertificateInformationAllOf() *MetadataWithAutoCertificateInformationAllOf

NewMetadataWithAutoCertificateInformationAllOf instantiates a new MetadataWithAutoCertificateInformationAllOf 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 NewMetadataWithAutoCertificateInformationAllOfWithDefaults

func NewMetadataWithAutoCertificateInformationAllOfWithDefaults() *MetadataWithAutoCertificateInformationAllOf

NewMetadataWithAutoCertificateInformationAllOfWithDefaults instantiates a new MetadataWithAutoCertificateInformationAllOf 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 (*MetadataWithAutoCertificateInformationAllOf) GetLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformationAllOf) GetLastIssuedCertificate() string

GetLastIssuedCertificate returns the LastIssuedCertificate field value if set, zero value otherwise.

func (*MetadataWithAutoCertificateInformationAllOf) GetLastIssuedCertificateOk

func (o *MetadataWithAutoCertificateInformationAllOf) GetLastIssuedCertificateOk() (*string, bool)

GetLastIssuedCertificateOk returns a tuple with the LastIssuedCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithAutoCertificateInformationAllOf) HasLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformationAllOf) HasLastIssuedCertificate() bool

HasLastIssuedCertificate returns a boolean if a field has been set.

func (*MetadataWithAutoCertificateInformationAllOf) SetLastIssuedCertificate

func (o *MetadataWithAutoCertificateInformationAllOf) SetLastIssuedCertificate(v string)

SetLastIssuedCertificate gets a reference to the given string and assigns it to the LastIssuedCertificate field.

func (MetadataWithAutoCertificateInformationAllOf) ToMap

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

type MetadataWithCertificateInformation

type MetadataWithCertificateInformation struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The resource state.
	State string `json:"state"`
	// A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
	Message string `json:"message"`
	// The ID of the auto-certificate that caused issuing of the certificate.
	AutoCertificate *string `json:"autoCertificate,omitempty"`
	// The ID of the last issued certificate that belongs to the same auto-certificate.
	LastIssuedCertificate *string `json:"lastIssuedCertificate,omitempty"`
	// Indicates if the certificate is expired.
	Expired bool `json:"expired"`
	// The start date of the certificate.
	NotBefore *IonosTime `json:"notBefore"`
	// The end date of the certificate.
	NotAfter *IonosTime `json:"notAfter"`
	// The serial number of the certificate in hex.
	SerialNumber string `json:"serialNumber"`
	// The common name (DNS) of the certificate.
	CommonName string `json:"commonName"`
	// Optional additional names added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS.
	SubjectAlternativeNames []string `json:"subjectAlternativeNames"`
}

MetadataWithCertificateInformation struct for MetadataWithCertificateInformation

func NewMetadataWithCertificateInformation

func NewMetadataWithCertificateInformation(state string, message string, expired bool, notBefore time.Time, notAfter time.Time, serialNumber string, commonName string, subjectAlternativeNames []string) *MetadataWithCertificateInformation

NewMetadataWithCertificateInformation instantiates a new MetadataWithCertificateInformation 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 NewMetadataWithCertificateInformationWithDefaults

func NewMetadataWithCertificateInformationWithDefaults() *MetadataWithCertificateInformation

NewMetadataWithCertificateInformationWithDefaults instantiates a new MetadataWithCertificateInformation 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 (*MetadataWithCertificateInformation) GetAutoCertificate

func (o *MetadataWithCertificateInformation) GetAutoCertificate() string

GetAutoCertificate returns the AutoCertificate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetAutoCertificateOk

func (o *MetadataWithCertificateInformation) GetAutoCertificateOk() (*string, bool)

GetAutoCertificateOk returns a tuple with the AutoCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetCommonName

func (o *MetadataWithCertificateInformation) GetCommonName() string

GetCommonName returns the CommonName field value

func (*MetadataWithCertificateInformation) GetCommonNameOk

func (o *MetadataWithCertificateInformation) GetCommonNameOk() (*string, bool)

GetCommonNameOk returns a tuple with the CommonName field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetCreatedBy

func (o *MetadataWithCertificateInformation) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetCreatedByOk

func (o *MetadataWithCertificateInformation) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetCreatedByUserId

func (o *MetadataWithCertificateInformation) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetCreatedByUserIdOk

func (o *MetadataWithCertificateInformation) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetCreatedDate

func (o *MetadataWithCertificateInformation) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetCreatedDateOk

func (o *MetadataWithCertificateInformation) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetExpired

func (o *MetadataWithCertificateInformation) GetExpired() bool

GetExpired returns the Expired field value

func (*MetadataWithCertificateInformation) GetExpiredOk

func (o *MetadataWithCertificateInformation) GetExpiredOk() (*bool, bool)

GetExpiredOk returns a tuple with the Expired field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetLastIssuedCertificate

func (o *MetadataWithCertificateInformation) GetLastIssuedCertificate() string

GetLastIssuedCertificate returns the LastIssuedCertificate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetLastIssuedCertificateOk

func (o *MetadataWithCertificateInformation) GetLastIssuedCertificateOk() (*string, bool)

GetLastIssuedCertificateOk returns a tuple with the LastIssuedCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetLastModifiedBy

func (o *MetadataWithCertificateInformation) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetLastModifiedByOk

func (o *MetadataWithCertificateInformation) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetLastModifiedByUserId

func (o *MetadataWithCertificateInformation) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetLastModifiedByUserIdOk

func (o *MetadataWithCertificateInformation) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetLastModifiedDate

func (o *MetadataWithCertificateInformation) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetLastModifiedDateOk

func (o *MetadataWithCertificateInformation) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetMessage

GetMessage returns the Message field value

func (*MetadataWithCertificateInformation) GetMessageOk

func (o *MetadataWithCertificateInformation) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetNotAfter

func (o *MetadataWithCertificateInformation) GetNotAfter() time.Time

GetNotAfter returns the NotAfter field value

func (*MetadataWithCertificateInformation) GetNotAfterOk

func (o *MetadataWithCertificateInformation) GetNotAfterOk() (*time.Time, bool)

GetNotAfterOk returns a tuple with the NotAfter field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetNotBefore

func (o *MetadataWithCertificateInformation) GetNotBefore() time.Time

GetNotBefore returns the NotBefore field value

func (*MetadataWithCertificateInformation) GetNotBeforeOk

func (o *MetadataWithCertificateInformation) GetNotBeforeOk() (*time.Time, bool)

GetNotBeforeOk returns a tuple with the NotBefore field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetResourceURN

func (o *MetadataWithCertificateInformation) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithCertificateInformation) GetResourceURNOk

func (o *MetadataWithCertificateInformation) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetSerialNumber

func (o *MetadataWithCertificateInformation) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value

func (*MetadataWithCertificateInformation) GetSerialNumberOk

func (o *MetadataWithCertificateInformation) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetState

GetState returns the State field value

func (*MetadataWithCertificateInformation) GetStateOk

func (o *MetadataWithCertificateInformation) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) GetSubjectAlternativeNames

func (o *MetadataWithCertificateInformation) GetSubjectAlternativeNames() []string

GetSubjectAlternativeNames returns the SubjectAlternativeNames field value

func (*MetadataWithCertificateInformation) GetSubjectAlternativeNamesOk

func (o *MetadataWithCertificateInformation) GetSubjectAlternativeNamesOk() ([]string, bool)

GetSubjectAlternativeNamesOk returns a tuple with the SubjectAlternativeNames field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformation) HasAutoCertificate

func (o *MetadataWithCertificateInformation) HasAutoCertificate() bool

HasAutoCertificate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasCreatedBy

func (o *MetadataWithCertificateInformation) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasCreatedByUserId

func (o *MetadataWithCertificateInformation) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasCreatedDate

func (o *MetadataWithCertificateInformation) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasLastIssuedCertificate

func (o *MetadataWithCertificateInformation) HasLastIssuedCertificate() bool

HasLastIssuedCertificate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasLastModifiedBy

func (o *MetadataWithCertificateInformation) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasLastModifiedByUserId

func (o *MetadataWithCertificateInformation) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasLastModifiedDate

func (o *MetadataWithCertificateInformation) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) HasResourceURN

func (o *MetadataWithCertificateInformation) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithCertificateInformation) SetAutoCertificate

func (o *MetadataWithCertificateInformation) SetAutoCertificate(v string)

SetAutoCertificate gets a reference to the given string and assigns it to the AutoCertificate field.

func (*MetadataWithCertificateInformation) SetCommonName

func (o *MetadataWithCertificateInformation) SetCommonName(v string)

SetCommonName sets field value

func (*MetadataWithCertificateInformation) SetCreatedBy

func (o *MetadataWithCertificateInformation) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithCertificateInformation) SetCreatedByUserId

func (o *MetadataWithCertificateInformation) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithCertificateInformation) SetCreatedDate

func (o *MetadataWithCertificateInformation) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithCertificateInformation) SetExpired

func (o *MetadataWithCertificateInformation) SetExpired(v bool)

SetExpired sets field value

func (*MetadataWithCertificateInformation) SetLastIssuedCertificate

func (o *MetadataWithCertificateInformation) SetLastIssuedCertificate(v string)

SetLastIssuedCertificate gets a reference to the given string and assigns it to the LastIssuedCertificate field.

func (*MetadataWithCertificateInformation) SetLastModifiedBy

func (o *MetadataWithCertificateInformation) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithCertificateInformation) SetLastModifiedByUserId

func (o *MetadataWithCertificateInformation) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithCertificateInformation) SetLastModifiedDate

func (o *MetadataWithCertificateInformation) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithCertificateInformation) SetMessage

func (o *MetadataWithCertificateInformation) SetMessage(v string)

SetMessage sets field value

func (*MetadataWithCertificateInformation) SetNotAfter

func (o *MetadataWithCertificateInformation) SetNotAfter(v time.Time)

SetNotAfter sets field value

func (*MetadataWithCertificateInformation) SetNotBefore

func (o *MetadataWithCertificateInformation) SetNotBefore(v time.Time)

SetNotBefore sets field value

func (*MetadataWithCertificateInformation) SetResourceURN

func (o *MetadataWithCertificateInformation) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithCertificateInformation) SetSerialNumber

func (o *MetadataWithCertificateInformation) SetSerialNumber(v string)

SetSerialNumber sets field value

func (*MetadataWithCertificateInformation) SetState

SetState sets field value

func (*MetadataWithCertificateInformation) SetSubjectAlternativeNames

func (o *MetadataWithCertificateInformation) SetSubjectAlternativeNames(v []string)

SetSubjectAlternativeNames sets field value

func (MetadataWithCertificateInformation) ToMap

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

type MetadataWithCertificateInformationAllOf

type MetadataWithCertificateInformationAllOf struct {
	// The ID of the auto-certificate that caused issuing of the certificate.
	AutoCertificate *string `json:"autoCertificate,omitempty"`
	// The ID of the last issued certificate that belongs to the same auto-certificate.
	LastIssuedCertificate *string `json:"lastIssuedCertificate,omitempty"`
	// Indicates if the certificate is expired.
	Expired bool `json:"expired"`
	// The start date of the certificate.
	NotBefore *IonosTime `json:"notBefore"`
	// The end date of the certificate.
	NotAfter *IonosTime `json:"notAfter"`
	// The serial number of the certificate in hex.
	SerialNumber string `json:"serialNumber"`
	// The common name (DNS) of the certificate.
	CommonName string `json:"commonName"`
	// Optional additional names added to the issued certificate. The additional names needs to be part of a zone in IONOS Cloud DNS.
	SubjectAlternativeNames []string `json:"subjectAlternativeNames"`
}

MetadataWithCertificateInformationAllOf struct for MetadataWithCertificateInformationAllOf

func NewMetadataWithCertificateInformationAllOf

func NewMetadataWithCertificateInformationAllOf(expired bool, notBefore time.Time, notAfter time.Time, serialNumber string, commonName string, subjectAlternativeNames []string) *MetadataWithCertificateInformationAllOf

NewMetadataWithCertificateInformationAllOf instantiates a new MetadataWithCertificateInformationAllOf 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 NewMetadataWithCertificateInformationAllOfWithDefaults

func NewMetadataWithCertificateInformationAllOfWithDefaults() *MetadataWithCertificateInformationAllOf

NewMetadataWithCertificateInformationAllOfWithDefaults instantiates a new MetadataWithCertificateInformationAllOf 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 (*MetadataWithCertificateInformationAllOf) GetAutoCertificate

func (o *MetadataWithCertificateInformationAllOf) GetAutoCertificate() string

GetAutoCertificate returns the AutoCertificate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformationAllOf) GetAutoCertificateOk

func (o *MetadataWithCertificateInformationAllOf) GetAutoCertificateOk() (*string, bool)

GetAutoCertificateOk returns a tuple with the AutoCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetCommonName

GetCommonName returns the CommonName field value

func (*MetadataWithCertificateInformationAllOf) GetCommonNameOk

func (o *MetadataWithCertificateInformationAllOf) GetCommonNameOk() (*string, bool)

GetCommonNameOk returns a tuple with the CommonName field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetExpired

GetExpired returns the Expired field value

func (*MetadataWithCertificateInformationAllOf) GetExpiredOk

func (o *MetadataWithCertificateInformationAllOf) GetExpiredOk() (*bool, bool)

GetExpiredOk returns a tuple with the Expired field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetLastIssuedCertificate

func (o *MetadataWithCertificateInformationAllOf) GetLastIssuedCertificate() string

GetLastIssuedCertificate returns the LastIssuedCertificate field value if set, zero value otherwise.

func (*MetadataWithCertificateInformationAllOf) GetLastIssuedCertificateOk

func (o *MetadataWithCertificateInformationAllOf) GetLastIssuedCertificateOk() (*string, bool)

GetLastIssuedCertificateOk returns a tuple with the LastIssuedCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetNotAfter

GetNotAfter returns the NotAfter field value

func (*MetadataWithCertificateInformationAllOf) GetNotAfterOk

func (o *MetadataWithCertificateInformationAllOf) GetNotAfterOk() (*time.Time, bool)

GetNotAfterOk returns a tuple with the NotAfter field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetNotBefore

GetNotBefore returns the NotBefore field value

func (*MetadataWithCertificateInformationAllOf) GetNotBeforeOk

func (o *MetadataWithCertificateInformationAllOf) GetNotBeforeOk() (*time.Time, bool)

GetNotBeforeOk returns a tuple with the NotBefore field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetSerialNumber

func (o *MetadataWithCertificateInformationAllOf) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value

func (*MetadataWithCertificateInformationAllOf) GetSerialNumberOk

func (o *MetadataWithCertificateInformationAllOf) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) GetSubjectAlternativeNames

func (o *MetadataWithCertificateInformationAllOf) GetSubjectAlternativeNames() []string

GetSubjectAlternativeNames returns the SubjectAlternativeNames field value

func (*MetadataWithCertificateInformationAllOf) GetSubjectAlternativeNamesOk

func (o *MetadataWithCertificateInformationAllOf) GetSubjectAlternativeNamesOk() ([]string, bool)

GetSubjectAlternativeNamesOk returns a tuple with the SubjectAlternativeNames field value and a boolean to check if the value has been set.

func (*MetadataWithCertificateInformationAllOf) HasAutoCertificate

func (o *MetadataWithCertificateInformationAllOf) HasAutoCertificate() bool

HasAutoCertificate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformationAllOf) HasLastIssuedCertificate

func (o *MetadataWithCertificateInformationAllOf) HasLastIssuedCertificate() bool

HasLastIssuedCertificate returns a boolean if a field has been set.

func (*MetadataWithCertificateInformationAllOf) SetAutoCertificate

func (o *MetadataWithCertificateInformationAllOf) SetAutoCertificate(v string)

SetAutoCertificate gets a reference to the given string and assigns it to the AutoCertificate field.

func (*MetadataWithCertificateInformationAllOf) SetCommonName

func (o *MetadataWithCertificateInformationAllOf) SetCommonName(v string)

SetCommonName sets field value

func (*MetadataWithCertificateInformationAllOf) SetExpired

SetExpired sets field value

func (*MetadataWithCertificateInformationAllOf) SetLastIssuedCertificate

func (o *MetadataWithCertificateInformationAllOf) SetLastIssuedCertificate(v string)

SetLastIssuedCertificate gets a reference to the given string and assigns it to the LastIssuedCertificate field.

func (*MetadataWithCertificateInformationAllOf) SetNotAfter

SetNotAfter sets field value

func (*MetadataWithCertificateInformationAllOf) SetNotBefore

SetNotBefore sets field value

func (*MetadataWithCertificateInformationAllOf) SetSerialNumber

func (o *MetadataWithCertificateInformationAllOf) SetSerialNumber(v string)

SetSerialNumber sets field value

func (*MetadataWithCertificateInformationAllOf) SetSubjectAlternativeNames

func (o *MetadataWithCertificateInformationAllOf) SetSubjectAlternativeNames(v []string)

SetSubjectAlternativeNames sets field value

func (MetadataWithCertificateInformationAllOf) ToMap

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

type MetadataWithStatus

type MetadataWithStatus struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The resource state.
	State string `json:"state"`
	// A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
	Message string `json:"message"`
}

MetadataWithStatus struct for MetadataWithStatus

func NewMetadataWithStatus

func NewMetadataWithStatus(state string, message string) *MetadataWithStatus

NewMetadataWithStatus instantiates a new MetadataWithStatus 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 NewMetadataWithStatusWithDefaults

func NewMetadataWithStatusWithDefaults() *MetadataWithStatus

NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus 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 (*MetadataWithStatus) GetCreatedBy

func (o *MetadataWithStatus) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByOk

func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetCreatedByUserId

func (o *MetadataWithStatus) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByUserIdOk

func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetCreatedDate

func (o *MetadataWithStatus) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedDateOk

func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedBy

func (o *MetadataWithStatus) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByOk

func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedByUserId

func (o *MetadataWithStatus) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByUserIdOk

func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedDate

func (o *MetadataWithStatus) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedDateOk

func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetMessage

func (o *MetadataWithStatus) GetMessage() string

GetMessage returns the Message field value

func (*MetadataWithStatus) GetMessageOk

func (o *MetadataWithStatus) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetResourceURN

func (o *MetadataWithStatus) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithStatus) GetResourceURNOk

func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetState

func (o *MetadataWithStatus) GetState() string

GetState returns the State field value

func (*MetadataWithStatus) GetStateOk

func (o *MetadataWithStatus) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStatus) HasCreatedBy

func (o *MetadataWithStatus) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedByUserId

func (o *MetadataWithStatus) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedDate

func (o *MetadataWithStatus) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedBy

func (o *MetadataWithStatus) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedByUserId

func (o *MetadataWithStatus) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedDate

func (o *MetadataWithStatus) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasResourceURN

func (o *MetadataWithStatus) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithStatus) SetCreatedBy

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithStatus) SetCreatedByUserId

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithStatus) SetCreatedDate

func (o *MetadataWithStatus) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithStatus) SetLastModifiedBy

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithStatus) SetLastModifiedByUserId

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithStatus) SetLastModifiedDate

func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithStatus) SetMessage

func (o *MetadataWithStatus) SetMessage(v string)

SetMessage sets field value

func (*MetadataWithStatus) SetResourceURN

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithStatus) SetState

func (o *MetadataWithStatus) SetState(v string)

SetState sets field value

func (MetadataWithStatus) ToMap

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

type MetadataWithStatusAllOf

type MetadataWithStatusAllOf struct {
	// The resource state.
	State string `json:"state"`
	// A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
	Message string `json:"message"`
}

MetadataWithStatusAllOf struct for MetadataWithStatusAllOf

func NewMetadataWithStatusAllOf

func NewMetadataWithStatusAllOf(state string, message string) *MetadataWithStatusAllOf

NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf 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 NewMetadataWithStatusAllOfWithDefaults

func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf

NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf 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 (*MetadataWithStatusAllOf) GetMessage

func (o *MetadataWithStatusAllOf) GetMessage() string

GetMessage returns the Message field value

func (*MetadataWithStatusAllOf) GetMessageOk

func (o *MetadataWithStatusAllOf) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*MetadataWithStatusAllOf) GetState

func (o *MetadataWithStatusAllOf) GetState() string

GetState returns the State field value

func (*MetadataWithStatusAllOf) GetStateOk

func (o *MetadataWithStatusAllOf) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStatusAllOf) SetMessage

func (o *MetadataWithStatusAllOf) SetMessage(v string)

SetMessage sets field value

func (*MetadataWithStatusAllOf) SetState

func (o *MetadataWithStatusAllOf) SetState(v string)

SetState sets field value

func (MetadataWithStatusAllOf) ToMap

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

type NullableAutoCertificate

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

func NewNullableAutoCertificate

func NewNullableAutoCertificate(val *AutoCertificate) *NullableAutoCertificate

func (NullableAutoCertificate) Get

func (NullableAutoCertificate) IsSet

func (v NullableAutoCertificate) IsSet() bool

func (NullableAutoCertificate) MarshalJSON

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

func (*NullableAutoCertificate) Set

func (*NullableAutoCertificate) UnmarshalJSON

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

func (*NullableAutoCertificate) Unset

func (v *NullableAutoCertificate) Unset()

type NullableAutoCertificateCreate

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

func (NullableAutoCertificateCreate) Get

func (NullableAutoCertificateCreate) IsSet

func (NullableAutoCertificateCreate) MarshalJSON

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

func (*NullableAutoCertificateCreate) Set

func (*NullableAutoCertificateCreate) UnmarshalJSON

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

func (*NullableAutoCertificateCreate) Unset

func (v *NullableAutoCertificateCreate) Unset()

type NullableAutoCertificatePatch

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

func NewNullableAutoCertificatePatch

func NewNullableAutoCertificatePatch(val *AutoCertificatePatch) *NullableAutoCertificatePatch

func (NullableAutoCertificatePatch) Get

func (NullableAutoCertificatePatch) IsSet

func (NullableAutoCertificatePatch) MarshalJSON

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

func (*NullableAutoCertificatePatch) Set

func (*NullableAutoCertificatePatch) UnmarshalJSON

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

func (*NullableAutoCertificatePatch) Unset

func (v *NullableAutoCertificatePatch) Unset()

type NullableAutoCertificateRead

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

func NewNullableAutoCertificateRead

func NewNullableAutoCertificateRead(val *AutoCertificateRead) *NullableAutoCertificateRead

func (NullableAutoCertificateRead) Get

func (NullableAutoCertificateRead) IsSet

func (NullableAutoCertificateRead) MarshalJSON

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

func (*NullableAutoCertificateRead) Set

func (*NullableAutoCertificateRead) UnmarshalJSON

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

func (*NullableAutoCertificateRead) Unset

func (v *NullableAutoCertificateRead) Unset()

type NullableAutoCertificateReadList

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

func (NullableAutoCertificateReadList) Get

func (NullableAutoCertificateReadList) IsSet

func (NullableAutoCertificateReadList) MarshalJSON

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

func (*NullableAutoCertificateReadList) Set

func (*NullableAutoCertificateReadList) UnmarshalJSON

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

func (*NullableAutoCertificateReadList) Unset

type NullableAutoCertificateReadListAllOf

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

func (NullableAutoCertificateReadListAllOf) Get

func (NullableAutoCertificateReadListAllOf) IsSet

func (NullableAutoCertificateReadListAllOf) MarshalJSON

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

func (*NullableAutoCertificateReadListAllOf) Set

func (*NullableAutoCertificateReadListAllOf) UnmarshalJSON

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

func (*NullableAutoCertificateReadListAllOf) Unset

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCertificate

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

func NewNullableCertificate

func NewNullableCertificate(val *Certificate) *NullableCertificate

func (NullableCertificate) Get

func (NullableCertificate) IsSet

func (v NullableCertificate) IsSet() bool

func (NullableCertificate) MarshalJSON

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

func (*NullableCertificate) Set

func (v *NullableCertificate) Set(val *Certificate)

func (*NullableCertificate) UnmarshalJSON

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

func (*NullableCertificate) Unset

func (v *NullableCertificate) Unset()

type NullableCertificateCreate

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

func NewNullableCertificateCreate

func NewNullableCertificateCreate(val *CertificateCreate) *NullableCertificateCreate

func (NullableCertificateCreate) Get

func (NullableCertificateCreate) IsSet

func (v NullableCertificateCreate) IsSet() bool

func (NullableCertificateCreate) MarshalJSON

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

func (*NullableCertificateCreate) Set

func (*NullableCertificateCreate) UnmarshalJSON

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

func (*NullableCertificateCreate) Unset

func (v *NullableCertificateCreate) Unset()

type NullableCertificatePatch

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

func NewNullableCertificatePatch

func NewNullableCertificatePatch(val *CertificatePatch) *NullableCertificatePatch

func (NullableCertificatePatch) Get

func (NullableCertificatePatch) IsSet

func (v NullableCertificatePatch) IsSet() bool

func (NullableCertificatePatch) MarshalJSON

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

func (*NullableCertificatePatch) Set

func (*NullableCertificatePatch) UnmarshalJSON

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

func (*NullableCertificatePatch) Unset

func (v *NullableCertificatePatch) Unset()

type NullableCertificateRead

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

func NewNullableCertificateRead

func NewNullableCertificateRead(val *CertificateRead) *NullableCertificateRead

func (NullableCertificateRead) Get

func (NullableCertificateRead) IsSet

func (v NullableCertificateRead) IsSet() bool

func (NullableCertificateRead) MarshalJSON

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

func (*NullableCertificateRead) Set

func (*NullableCertificateRead) UnmarshalJSON

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

func (*NullableCertificateRead) Unset

func (v *NullableCertificateRead) Unset()

type NullableCertificateReadList

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

func NewNullableCertificateReadList

func NewNullableCertificateReadList(val *CertificateReadList) *NullableCertificateReadList

func (NullableCertificateReadList) Get

func (NullableCertificateReadList) IsSet

func (NullableCertificateReadList) MarshalJSON

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

func (*NullableCertificateReadList) Set

func (*NullableCertificateReadList) UnmarshalJSON

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

func (*NullableCertificateReadList) Unset

func (v *NullableCertificateReadList) Unset()

type NullableCertificateReadListAllOf

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

func (NullableCertificateReadListAllOf) Get

func (NullableCertificateReadListAllOf) IsSet

func (NullableCertificateReadListAllOf) MarshalJSON

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

func (*NullableCertificateReadListAllOf) Set

func (*NullableCertificateReadListAllOf) UnmarshalJSON

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

func (*NullableCertificateReadListAllOf) Unset

type NullableConnection

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

func NewNullableConnection

func NewNullableConnection(val *Connection) *NullableConnection

func (NullableConnection) Get

func (v NullableConnection) Get() *Connection

func (NullableConnection) IsSet

func (v NullableConnection) IsSet() bool

func (NullableConnection) MarshalJSON

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

func (*NullableConnection) Set

func (v *NullableConnection) Set(val *Connection)

func (*NullableConnection) UnmarshalJSON

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

func (*NullableConnection) Unset

func (v *NullableConnection) Unset()

type NullableDayOfTheWeek

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

func NewNullableDayOfTheWeek

func NewNullableDayOfTheWeek(val *DayOfTheWeek) *NullableDayOfTheWeek

func (NullableDayOfTheWeek) Get

func (NullableDayOfTheWeek) IsSet

func (v NullableDayOfTheWeek) IsSet() bool

func (NullableDayOfTheWeek) MarshalJSON

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

func (*NullableDayOfTheWeek) Set

func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)

func (*NullableDayOfTheWeek) UnmarshalJSON

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

func (*NullableDayOfTheWeek) Unset

func (v *NullableDayOfTheWeek) Unset()

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorMessages

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

func NewNullableErrorMessages

func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages

func (NullableErrorMessages) Get

func (NullableErrorMessages) IsSet

func (v NullableErrorMessages) IsSet() bool

func (NullableErrorMessages) MarshalJSON

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

func (*NullableErrorMessages) Set

func (v *NullableErrorMessages) Set(val *ErrorMessages)

func (*NullableErrorMessages) UnmarshalJSON

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

func (*NullableErrorMessages) Unset

func (v *NullableErrorMessages) 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 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 NullableIonosTime added in v2.0.2

type NullableIonosTime struct {
	NullableTime
}
type NullableLinks struct {
	// contains filtered or unexported fields
}
func NewNullableLinks(val *Links) *NullableLinks

func (NullableLinks) Get

func (v NullableLinks) Get() *Links

func (NullableLinks) IsSet

func (v NullableLinks) IsSet() bool

func (NullableLinks) MarshalJSON

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

func (*NullableLinks) Set

func (v *NullableLinks) Set(val *Links)

func (*NullableLinks) UnmarshalJSON

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

func (*NullableLinks) Unset

func (v *NullableLinks) Unset()

type NullableMaintenanceWindow

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

func NewNullableMaintenanceWindow

func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow

func (NullableMaintenanceWindow) Get

func (NullableMaintenanceWindow) IsSet

func (v NullableMaintenanceWindow) IsSet() bool

func (NullableMaintenanceWindow) MarshalJSON

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

func (*NullableMaintenanceWindow) Set

func (*NullableMaintenanceWindow) UnmarshalJSON

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

func (*NullableMaintenanceWindow) Unset

func (v *NullableMaintenanceWindow) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetadataWithAutoCertificateInformation

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

func (NullableMetadataWithAutoCertificateInformation) Get

func (NullableMetadataWithAutoCertificateInformation) IsSet

func (NullableMetadataWithAutoCertificateInformation) MarshalJSON

func (*NullableMetadataWithAutoCertificateInformation) Set

func (*NullableMetadataWithAutoCertificateInformation) UnmarshalJSON

func (*NullableMetadataWithAutoCertificateInformation) Unset

type NullableMetadataWithAutoCertificateInformationAllOf

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

func (NullableMetadataWithAutoCertificateInformationAllOf) Get

func (NullableMetadataWithAutoCertificateInformationAllOf) IsSet

func (NullableMetadataWithAutoCertificateInformationAllOf) MarshalJSON

func (*NullableMetadataWithAutoCertificateInformationAllOf) Set

func (*NullableMetadataWithAutoCertificateInformationAllOf) UnmarshalJSON

func (*NullableMetadataWithAutoCertificateInformationAllOf) Unset

type NullableMetadataWithCertificateInformation

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

func (NullableMetadataWithCertificateInformation) Get

func (NullableMetadataWithCertificateInformation) IsSet

func (NullableMetadataWithCertificateInformation) MarshalJSON

func (*NullableMetadataWithCertificateInformation) Set

func (*NullableMetadataWithCertificateInformation) UnmarshalJSON

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

func (*NullableMetadataWithCertificateInformation) Unset

type NullableMetadataWithCertificateInformationAllOf

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

func (NullableMetadataWithCertificateInformationAllOf) Get

func (NullableMetadataWithCertificateInformationAllOf) IsSet

func (NullableMetadataWithCertificateInformationAllOf) MarshalJSON

func (*NullableMetadataWithCertificateInformationAllOf) Set

func (*NullableMetadataWithCertificateInformationAllOf) UnmarshalJSON

func (*NullableMetadataWithCertificateInformationAllOf) Unset

type NullableMetadataWithStatus

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

func NewNullableMetadataWithStatus

func NewNullableMetadataWithStatus(val *MetadataWithStatus) *NullableMetadataWithStatus

func (NullableMetadataWithStatus) Get

func (NullableMetadataWithStatus) IsSet

func (v NullableMetadataWithStatus) IsSet() bool

func (NullableMetadataWithStatus) MarshalJSON

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

func (*NullableMetadataWithStatus) Set

func (*NullableMetadataWithStatus) UnmarshalJSON

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

func (*NullableMetadataWithStatus) Unset

func (v *NullableMetadataWithStatus) Unset()

type NullableMetadataWithStatusAllOf

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

func (NullableMetadataWithStatusAllOf) Get

func (NullableMetadataWithStatusAllOf) IsSet

func (NullableMetadataWithStatusAllOf) MarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Set

func (*NullableMetadataWithStatusAllOf) UnmarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Unset

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullablePatchName

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

func NewNullablePatchName

func NewNullablePatchName(val *PatchName) *NullablePatchName

func (NullablePatchName) Get

func (v NullablePatchName) Get() *PatchName

func (NullablePatchName) IsSet

func (v NullablePatchName) IsSet() bool

func (NullablePatchName) MarshalJSON

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

func (*NullablePatchName) Set

func (v *NullablePatchName) Set(val *PatchName)

func (*NullablePatchName) UnmarshalJSON

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

func (*NullablePatchName) Unset

func (v *NullablePatchName) Unset()

type NullableProvider

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

func NewNullableProvider

func NewNullableProvider(val *Provider) *NullableProvider

func (NullableProvider) Get

func (v NullableProvider) Get() *Provider

func (NullableProvider) IsSet

func (v NullableProvider) IsSet() bool

func (NullableProvider) MarshalJSON

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

func (*NullableProvider) Set

func (v *NullableProvider) Set(val *Provider)

func (*NullableProvider) UnmarshalJSON

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

func (*NullableProvider) Unset

func (v *NullableProvider) Unset()

type NullableProviderCreate

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

func NewNullableProviderCreate

func NewNullableProviderCreate(val *ProviderCreate) *NullableProviderCreate

func (NullableProviderCreate) Get

func (NullableProviderCreate) IsSet

func (v NullableProviderCreate) IsSet() bool

func (NullableProviderCreate) MarshalJSON

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

func (*NullableProviderCreate) Set

func (*NullableProviderCreate) UnmarshalJSON

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

func (*NullableProviderCreate) Unset

func (v *NullableProviderCreate) Unset()

type NullableProviderExternalAccountBinding

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

func (NullableProviderExternalAccountBinding) Get

func (NullableProviderExternalAccountBinding) IsSet

func (NullableProviderExternalAccountBinding) MarshalJSON

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

func (*NullableProviderExternalAccountBinding) Set

func (*NullableProviderExternalAccountBinding) UnmarshalJSON

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

func (*NullableProviderExternalAccountBinding) Unset

type NullableProviderPatch

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

func NewNullableProviderPatch

func NewNullableProviderPatch(val *ProviderPatch) *NullableProviderPatch

func (NullableProviderPatch) Get

func (NullableProviderPatch) IsSet

func (v NullableProviderPatch) IsSet() bool

func (NullableProviderPatch) MarshalJSON

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

func (*NullableProviderPatch) Set

func (v *NullableProviderPatch) Set(val *ProviderPatch)

func (*NullableProviderPatch) UnmarshalJSON

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

func (*NullableProviderPatch) Unset

func (v *NullableProviderPatch) Unset()

type NullableProviderRead

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

func NewNullableProviderRead

func NewNullableProviderRead(val *ProviderRead) *NullableProviderRead

func (NullableProviderRead) Get

func (NullableProviderRead) IsSet

func (v NullableProviderRead) IsSet() bool

func (NullableProviderRead) MarshalJSON

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

func (*NullableProviderRead) Set

func (v *NullableProviderRead) Set(val *ProviderRead)

func (*NullableProviderRead) UnmarshalJSON

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

func (*NullableProviderRead) Unset

func (v *NullableProviderRead) Unset()

type NullableProviderReadList

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

func NewNullableProviderReadList

func NewNullableProviderReadList(val *ProviderReadList) *NullableProviderReadList

func (NullableProviderReadList) Get

func (NullableProviderReadList) IsSet

func (v NullableProviderReadList) IsSet() bool

func (NullableProviderReadList) MarshalJSON

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

func (*NullableProviderReadList) Set

func (*NullableProviderReadList) UnmarshalJSON

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

func (*NullableProviderReadList) Unset

func (v *NullableProviderReadList) Unset()

type NullableProviderReadListAllOf

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

func (NullableProviderReadListAllOf) Get

func (NullableProviderReadListAllOf) IsSet

func (NullableProviderReadListAllOf) MarshalJSON

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

func (*NullableProviderReadListAllOf) Set

func (*NullableProviderReadListAllOf) UnmarshalJSON

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

func (*NullableProviderReadListAllOf) Unset

func (v *NullableProviderReadListAllOf) 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 Pagination

type Pagination struct {
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit int32 `json:"limit"`
	Links Links `json:"_links"`
}

Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.

func NewPagination

func NewPagination(offset int32, limit int32, links Links) *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetLimit

func (o *Pagination) GetLimit() int32

GetLimit returns the Limit field value

func (*Pagination) GetLimitOk

func (o *Pagination) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *Pagination) GetLinks() Links

GetLinks returns the Links field value

func (*Pagination) GetLinksOk

func (o *Pagination) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*Pagination) GetOffset

func (o *Pagination) GetOffset() int32

GetOffset returns the Offset field value

func (*Pagination) GetOffsetOk

func (o *Pagination) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*Pagination) SetLimit

func (o *Pagination) SetLimit(v int32)

SetLimit sets field value

func (o *Pagination) SetLinks(v Links)

SetLinks sets field value

func (*Pagination) SetOffset

func (o *Pagination) SetOffset(v int32)

SetOffset sets field value

func (Pagination) ToMap

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

type PatchName

type PatchName struct {
	// The new name.
	Name string `json:"name"`
}

PatchName struct for PatchName

func NewPatchName

func NewPatchName(name string) *PatchName

NewPatchName instantiates a new PatchName 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 NewPatchNameWithDefaults

func NewPatchNameWithDefaults() *PatchName

NewPatchNameWithDefaults instantiates a new PatchName 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 (*PatchName) GetName

func (o *PatchName) GetName() string

GetName returns the Name field value

func (*PatchName) GetNameOk

func (o *PatchName) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PatchName) SetName

func (o *PatchName) SetName(v string)

SetName sets field value

func (PatchName) ToMap

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

type Provider

type Provider struct {
	// The name of the certificate provider.
	Name string `json:"name"`
	// The email address of the certificate requester.
	Email string `json:"email"`
	// The URL of the certificate provider.
	Server                 string                          `json:"server"`
	ExternalAccountBinding *ProviderExternalAccountBinding `json:"externalAccountBinding,omitempty"`
}

Provider Certificate provider used to renew certificates before their expiry.

func NewProvider

func NewProvider(name string, email string, server string) *Provider

NewProvider instantiates a new Provider 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 NewProviderWithDefaults

func NewProviderWithDefaults() *Provider

NewProviderWithDefaults instantiates a new Provider 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 (*Provider) GetEmail

func (o *Provider) GetEmail() string

GetEmail returns the Email field value

func (*Provider) GetEmailOk

func (o *Provider) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*Provider) GetExternalAccountBinding

func (o *Provider) GetExternalAccountBinding() ProviderExternalAccountBinding

GetExternalAccountBinding returns the ExternalAccountBinding field value if set, zero value otherwise.

func (*Provider) GetExternalAccountBindingOk

func (o *Provider) GetExternalAccountBindingOk() (*ProviderExternalAccountBinding, bool)

GetExternalAccountBindingOk returns a tuple with the ExternalAccountBinding field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Provider) GetName

func (o *Provider) GetName() string

GetName returns the Name field value

func (*Provider) GetNameOk

func (o *Provider) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Provider) GetServer

func (o *Provider) GetServer() string

GetServer returns the Server field value

func (*Provider) GetServerOk

func (o *Provider) GetServerOk() (*string, bool)

GetServerOk returns a tuple with the Server field value and a boolean to check if the value has been set.

func (*Provider) HasExternalAccountBinding

func (o *Provider) HasExternalAccountBinding() bool

HasExternalAccountBinding returns a boolean if a field has been set.

func (*Provider) SetEmail

func (o *Provider) SetEmail(v string)

SetEmail sets field value

func (*Provider) SetExternalAccountBinding

func (o *Provider) SetExternalAccountBinding(v ProviderExternalAccountBinding)

SetExternalAccountBinding gets a reference to the given ProviderExternalAccountBinding and assigns it to the ExternalAccountBinding field.

func (*Provider) SetName

func (o *Provider) SetName(v string)

SetName sets field value

func (*Provider) SetServer

func (o *Provider) SetServer(v string)

SetServer sets field value

func (Provider) ToMap

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

type ProviderApiService

type ProviderApiService service

ProviderApiService ProviderApi service

func (*ProviderApiService) ProvidersDelete

func (a *ProviderApiService) ProvidersDelete(ctx _context.Context, providerId string) ApiProvidersDeleteRequest

* ProvidersDelete Delete Provider * Deletes the specified Provider. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param providerId The ID (UUID) of the Provider. * @return ApiProvidersDeleteRequest

func (*ProviderApiService) ProvidersDeleteExecute

func (a *ProviderApiService) ProvidersDeleteExecute(r ApiProvidersDeleteRequest) (*shared.APIResponse, error)

* Execute executes the request

func (*ProviderApiService) ProvidersFindById

func (a *ProviderApiService) ProvidersFindById(ctx _context.Context, providerId string) ApiProvidersFindByIdRequest

* ProvidersFindById Retrieve Provider * Returns the Provider by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param providerId The ID (UUID) of the Provider. * @return ApiProvidersFindByIdRequest

func (*ProviderApiService) ProvidersFindByIdExecute

* Execute executes the request * @return ProviderRead

func (*ProviderApiService) ProvidersGet

  • ProvidersGet Retrieve all Provider
  • This endpoint enables retrieving all Provider using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiProvidersGetRequest

func (*ProviderApiService) ProvidersGetExecute

* Execute executes the request * @return ProviderReadList

func (*ProviderApiService) ProvidersPatch

func (a *ProviderApiService) ProvidersPatch(ctx _context.Context, providerId string) ApiProvidersPatchRequest
  • ProvidersPatch Updates Provider
  • Changes Provider with the provided ID.

Values provides will replace the existing data.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param providerId The ID (UUID) of the Provider.
  • @return ApiProvidersPatchRequest

func (*ProviderApiService) ProvidersPatchExecute

* Execute executes the request * @return ProviderRead

func (*ProviderApiService) ProvidersPost

  • ProvidersPost Create Provider
  • Creates a new Provider.

The full Provider needs to be provided to create the object. Optional data will be filled with defaults or left empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiProvidersPostRequest

func (*ProviderApiService) ProvidersPostExecute

* Execute executes the request * @return ProviderRead

type ProviderCreate

type ProviderCreate struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties Provider               `json:"properties"`
}

ProviderCreate struct for ProviderCreate

func NewProviderCreate

func NewProviderCreate(properties Provider) *ProviderCreate

NewProviderCreate instantiates a new ProviderCreate 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 NewProviderCreateWithDefaults

func NewProviderCreateWithDefaults() *ProviderCreate

NewProviderCreateWithDefaults instantiates a new ProviderCreate 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 (*ProviderCreate) GetMetadata

func (o *ProviderCreate) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ProviderCreate) GetMetadataOk

func (o *ProviderCreate) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderCreate) GetProperties

func (o *ProviderCreate) GetProperties() Provider

GetProperties returns the Properties field value

func (*ProviderCreate) GetPropertiesOk

func (o *ProviderCreate) GetPropertiesOk() (*Provider, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ProviderCreate) HasMetadata

func (o *ProviderCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ProviderCreate) SetMetadata

func (o *ProviderCreate) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ProviderCreate) SetProperties

func (o *ProviderCreate) SetProperties(v Provider)

SetProperties sets field value

func (ProviderCreate) ToMap

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

type ProviderExternalAccountBinding

type ProviderExternalAccountBinding struct {
	// The key ID of the external account binding.
	KeyId *string `json:"keyId,omitempty"`
	// The secret of the external account binding.
	KeySecret *string `json:"keySecret,omitempty"`
}

ProviderExternalAccountBinding struct for ProviderExternalAccountBinding

func NewProviderExternalAccountBinding

func NewProviderExternalAccountBinding() *ProviderExternalAccountBinding

NewProviderExternalAccountBinding instantiates a new ProviderExternalAccountBinding 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 NewProviderExternalAccountBindingWithDefaults

func NewProviderExternalAccountBindingWithDefaults() *ProviderExternalAccountBinding

NewProviderExternalAccountBindingWithDefaults instantiates a new ProviderExternalAccountBinding 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 (*ProviderExternalAccountBinding) GetKeyId

func (o *ProviderExternalAccountBinding) GetKeyId() string

GetKeyId returns the KeyId field value if set, zero value otherwise.

func (*ProviderExternalAccountBinding) GetKeyIdOk

func (o *ProviderExternalAccountBinding) GetKeyIdOk() (*string, bool)

GetKeyIdOk returns a tuple with the KeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderExternalAccountBinding) GetKeySecret

func (o *ProviderExternalAccountBinding) GetKeySecret() string

GetKeySecret returns the KeySecret field value if set, zero value otherwise.

func (*ProviderExternalAccountBinding) GetKeySecretOk

func (o *ProviderExternalAccountBinding) GetKeySecretOk() (*string, bool)

GetKeySecretOk returns a tuple with the KeySecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderExternalAccountBinding) HasKeyId

func (o *ProviderExternalAccountBinding) HasKeyId() bool

HasKeyId returns a boolean if a field has been set.

func (*ProviderExternalAccountBinding) HasKeySecret

func (o *ProviderExternalAccountBinding) HasKeySecret() bool

HasKeySecret returns a boolean if a field has been set.

func (*ProviderExternalAccountBinding) SetKeyId

func (o *ProviderExternalAccountBinding) SetKeyId(v string)

SetKeyId gets a reference to the given string and assigns it to the KeyId field.

func (*ProviderExternalAccountBinding) SetKeySecret

func (o *ProviderExternalAccountBinding) SetKeySecret(v string)

SetKeySecret gets a reference to the given string and assigns it to the KeySecret field.

func (ProviderExternalAccountBinding) ToMap

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

type ProviderPatch

type ProviderPatch struct {
	// Metadata
	Metadata   map[string]interface{} `json:"metadata,omitempty"`
	Properties PatchName              `json:"properties"`
}

ProviderPatch struct for ProviderPatch

func NewProviderPatch

func NewProviderPatch(properties PatchName) *ProviderPatch

NewProviderPatch instantiates a new ProviderPatch 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 NewProviderPatchWithDefaults

func NewProviderPatchWithDefaults() *ProviderPatch

NewProviderPatchWithDefaults instantiates a new ProviderPatch 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 (*ProviderPatch) GetMetadata

func (o *ProviderPatch) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ProviderPatch) GetMetadataOk

func (o *ProviderPatch) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderPatch) GetProperties

func (o *ProviderPatch) GetProperties() PatchName

GetProperties returns the Properties field value

func (*ProviderPatch) GetPropertiesOk

func (o *ProviderPatch) GetPropertiesOk() (*PatchName, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ProviderPatch) HasMetadata

func (o *ProviderPatch) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ProviderPatch) SetMetadata

func (o *ProviderPatch) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ProviderPatch) SetProperties

func (o *ProviderPatch) SetProperties(v PatchName)

SetProperties sets field value

func (ProviderPatch) ToMap

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

type ProviderRead

type ProviderRead struct {
	// The ID (UUID) of the Provider.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the Provider.
	Href       string             `json:"href"`
	Metadata   MetadataWithStatus `json:"metadata"`
	Properties Provider           `json:"properties"`
}

ProviderRead struct for ProviderRead

func NewProviderRead

func NewProviderRead(id string, type_ string, href string, metadata MetadataWithStatus, properties Provider) *ProviderRead

NewProviderRead instantiates a new ProviderRead 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 NewProviderReadWithDefaults

func NewProviderReadWithDefaults() *ProviderRead

NewProviderReadWithDefaults instantiates a new ProviderRead 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 (*ProviderRead) GetHref

func (o *ProviderRead) GetHref() string

GetHref returns the Href field value

func (*ProviderRead) GetHrefOk

func (o *ProviderRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ProviderRead) GetId

func (o *ProviderRead) GetId() string

GetId returns the Id field value

func (*ProviderRead) GetIdOk

func (o *ProviderRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProviderRead) GetMetadata

func (o *ProviderRead) GetMetadata() MetadataWithStatus

GetMetadata returns the Metadata field value

func (*ProviderRead) GetMetadataOk

func (o *ProviderRead) GetMetadataOk() (*MetadataWithStatus, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*ProviderRead) GetProperties

func (o *ProviderRead) GetProperties() Provider

GetProperties returns the Properties field value

func (*ProviderRead) GetPropertiesOk

func (o *ProviderRead) GetPropertiesOk() (*Provider, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ProviderRead) GetType

func (o *ProviderRead) GetType() string

GetType returns the Type field value

func (*ProviderRead) GetTypeOk

func (o *ProviderRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ProviderRead) SetHref

func (o *ProviderRead) SetHref(v string)

SetHref sets field value

func (*ProviderRead) SetId

func (o *ProviderRead) SetId(v string)

SetId sets field value

func (*ProviderRead) SetMetadata

func (o *ProviderRead) SetMetadata(v MetadataWithStatus)

SetMetadata sets field value

func (*ProviderRead) SetProperties

func (o *ProviderRead) SetProperties(v Provider)

SetProperties sets field value

func (*ProviderRead) SetType

func (o *ProviderRead) SetType(v string)

SetType sets field value

func (ProviderRead) ToMap

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

type ProviderReadList

type ProviderReadList struct {
	// ID of the list of Provider resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of Provider resources.
	Href string `json:"href"`
	// The list of Provider resources.
	Items []ProviderRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit int32 `json:"limit"`
	Links Links `json:"_links"`
}

ProviderReadList struct for ProviderReadList

func NewProviderReadList

func NewProviderReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ProviderReadList

NewProviderReadList instantiates a new ProviderReadList 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 NewProviderReadListWithDefaults

func NewProviderReadListWithDefaults() *ProviderReadList

NewProviderReadListWithDefaults instantiates a new ProviderReadList 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 (*ProviderReadList) GetHref

func (o *ProviderReadList) GetHref() string

GetHref returns the Href field value

func (*ProviderReadList) GetHrefOk

func (o *ProviderReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ProviderReadList) GetId

func (o *ProviderReadList) GetId() string

GetId returns the Id field value

func (*ProviderReadList) GetIdOk

func (o *ProviderReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProviderReadList) GetItems

func (o *ProviderReadList) GetItems() []ProviderRead

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

func (*ProviderReadList) GetItemsOk

func (o *ProviderReadList) GetItemsOk() ([]ProviderRead, 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 (*ProviderReadList) GetLimit

func (o *ProviderReadList) GetLimit() int32

GetLimit returns the Limit field value

func (*ProviderReadList) GetLimitOk

func (o *ProviderReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *ProviderReadList) GetLinks() Links

GetLinks returns the Links field value

func (*ProviderReadList) GetLinksOk

func (o *ProviderReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (*ProviderReadList) GetOffset

func (o *ProviderReadList) GetOffset() int32

GetOffset returns the Offset field value

func (*ProviderReadList) GetOffsetOk

func (o *ProviderReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*ProviderReadList) GetType

func (o *ProviderReadList) GetType() string

GetType returns the Type field value

func (*ProviderReadList) GetTypeOk

func (o *ProviderReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ProviderReadList) HasItems

func (o *ProviderReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ProviderReadList) SetHref

func (o *ProviderReadList) SetHref(v string)

SetHref sets field value

func (*ProviderReadList) SetId

func (o *ProviderReadList) SetId(v string)

SetId sets field value

func (*ProviderReadList) SetItems

func (o *ProviderReadList) SetItems(v []ProviderRead)

SetItems gets a reference to the given []ProviderRead and assigns it to the Items field.

func (*ProviderReadList) SetLimit

func (o *ProviderReadList) SetLimit(v int32)

SetLimit sets field value

func (o *ProviderReadList) SetLinks(v Links)

SetLinks sets field value

func (*ProviderReadList) SetOffset

func (o *ProviderReadList) SetOffset(v int32)

SetOffset sets field value

func (*ProviderReadList) SetType

func (o *ProviderReadList) SetType(v string)

SetType sets field value

func (ProviderReadList) ToMap

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

type ProviderReadListAllOf

type ProviderReadListAllOf struct {
	// ID of the list of Provider resources.
	Id string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
	// The URL of the list of Provider resources.
	Href string `json:"href"`
	// The list of Provider resources.
	Items []ProviderRead `json:"items,omitempty"`
}

ProviderReadListAllOf struct for ProviderReadListAllOf

func NewProviderReadListAllOf

func NewProviderReadListAllOf(id string, type_ string, href string) *ProviderReadListAllOf

NewProviderReadListAllOf instantiates a new ProviderReadListAllOf 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 NewProviderReadListAllOfWithDefaults

func NewProviderReadListAllOfWithDefaults() *ProviderReadListAllOf

NewProviderReadListAllOfWithDefaults instantiates a new ProviderReadListAllOf 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 (*ProviderReadListAllOf) GetHref

func (o *ProviderReadListAllOf) GetHref() string

GetHref returns the Href field value

func (*ProviderReadListAllOf) GetHrefOk

func (o *ProviderReadListAllOf) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ProviderReadListAllOf) GetId

func (o *ProviderReadListAllOf) GetId() string

GetId returns the Id field value

func (*ProviderReadListAllOf) GetIdOk

func (o *ProviderReadListAllOf) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProviderReadListAllOf) GetItems

func (o *ProviderReadListAllOf) GetItems() []ProviderRead

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

func (*ProviderReadListAllOf) GetItemsOk

func (o *ProviderReadListAllOf) GetItemsOk() ([]ProviderRead, 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 (*ProviderReadListAllOf) GetType

func (o *ProviderReadListAllOf) GetType() string

GetType returns the Type field value

func (*ProviderReadListAllOf) GetTypeOk

func (o *ProviderReadListAllOf) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ProviderReadListAllOf) HasItems

func (o *ProviderReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ProviderReadListAllOf) SetHref

func (o *ProviderReadListAllOf) SetHref(v string)

SetHref sets field value

func (*ProviderReadListAllOf) SetId

func (o *ProviderReadListAllOf) SetId(v string)

SetId sets field value

func (*ProviderReadListAllOf) SetItems

func (o *ProviderReadListAllOf) SetItems(v []ProviderRead)

SetItems gets a reference to the given []ProviderRead and assigns it to the Items field.

func (*ProviderReadListAllOf) SetType

func (o *ProviderReadListAllOf) SetType(v string)

SetType sets field value

func (ProviderReadListAllOf) ToMap

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

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

Jump to

Keyboard shortcuts

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