digital_certificates

package
v0.135.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 20 Imported by: 0

README

Go API client for digital_certificates

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import digital_certificates "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), digital_certificates.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), digital_certificates.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), digital_certificates.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), digital_certificates.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.azionapi.net

Class Method HTTP request Description
CreateCSRApi CreateCSR Post /digital_certificates/csr Create an encrypted Certificate Request with Azion, which can then be sent for signing to a CA
CreateDigitalCertificateApi CreateCertificate Post /digital_certificates Create a new digital certificate
DeleteDigitalCertificateApi RemoveDigitalCertificates Delete /digital_certificates/{digital_certificate_id} Remove a digital certificate or CSR from your account
OverwriteDigitalCertificateApi OverwriteDigitalCertificate Put /digital_certificates/{digital_certificate_id} Overwrite a digital certificate with another complete digital certificate
RetrieveDigitalCertificateByIDApi GetCertificate Get /digital_certificates/{digital_certificate_id} Get more data on a specific digital certificate or CSR.
RetrieveDigitalCertificateListApi ListDigitalCertificates Get /digital_certificates List all existing digital certificates and CSRs registered to your account
UpdateDigitalCertificateApi UpdateDigitalCertificate Patch /digital_certificates/{digital_certificate_id} Change only select settings of your digital certificate or CSR.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	CreateCSRApi *CreateCSRApiService

	CreateDigitalCertificateApi *CreateDigitalCertificateApiService

	DeleteDigitalCertificateApi *DeleteDigitalCertificateApiService

	OverwriteDigitalCertificateApi *OverwriteDigitalCertificateApiService

	RetrieveDigitalCertificateByIDApi *RetrieveDigitalCertificateByIDApiService

	RetrieveDigitalCertificateListApi *RetrieveDigitalCertificateListApiService

	UpdateDigitalCertificateApi *UpdateDigitalCertificateApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Digital Certificates API API v2.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *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() *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 APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateCSRRequest

type ApiCreateCSRRequest struct {
	ApiService *CreateCSRApiService
	// contains filtered or unexported fields
}

func (ApiCreateCSRRequest) CreateCSRRequest

func (r ApiCreateCSRRequest) CreateCSRRequest(createCSRRequest CreateCSRRequest) ApiCreateCSRRequest

func (ApiCreateCSRRequest) Execute

func (r ApiCreateCSRRequest) Execute() (*DC200, *http.Response, error)

type ApiCreateCertificateRequest

type ApiCreateCertificateRequest struct {
	ApiService *CreateDigitalCertificateApiService
	// contains filtered or unexported fields
}

func (ApiCreateCertificateRequest) CreateCertificateRequest

func (r ApiCreateCertificateRequest) CreateCertificateRequest(createCertificateRequest CreateCertificateRequest) ApiCreateCertificateRequest

func (ApiCreateCertificateRequest) Execute

type ApiGetCertificateRequest

type ApiGetCertificateRequest struct {
	ApiService *RetrieveDigitalCertificateByIDApiService
	// contains filtered or unexported fields
}

func (ApiGetCertificateRequest) Execute

func (r ApiGetCertificateRequest) Execute() (*DC200, *http.Response, error)

type ApiListDigitalCertificatesRequest

type ApiListDigitalCertificatesRequest struct {
	ApiService *RetrieveDigitalCertificateListApiService
	// contains filtered or unexported fields
}

func (ApiListDigitalCertificatesRequest) Execute

func (ApiListDigitalCertificatesRequest) Name

Searches certificate for name

func (ApiListDigitalCertificatesRequest) OrderBy

Response field to order by, current options are \"name\" or \"id\"

func (ApiListDigitalCertificatesRequest) Search

Searches for string in certificate name

func (ApiListDigitalCertificatesRequest) Sort

Sorting direction

type ApiOverwriteDigitalCertificateRequest

type ApiOverwriteDigitalCertificateRequest struct {
	ApiService *OverwriteDigitalCertificateApiService
	// contains filtered or unexported fields
}

func (ApiOverwriteDigitalCertificateRequest) CreateCertificateRequest

func (ApiOverwriteDigitalCertificateRequest) Execute

type ApiRemoveDigitalCertificatesRequest

type ApiRemoveDigitalCertificatesRequest struct {
	ApiService *DeleteDigitalCertificateApiService
	// contains filtered or unexported fields
}

func (ApiRemoveDigitalCertificatesRequest) Execute

type ApiUpdateDigitalCertificateRequest

type ApiUpdateDigitalCertificateRequest struct {
	ApiService *UpdateDigitalCertificateApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDigitalCertificateRequest) Execute

func (ApiUpdateDigitalCertificateRequest) UpdateDigitalCertificateRequest

func (r ApiUpdateDigitalCertificateRequest) UpdateDigitalCertificateRequest(updateDigitalCertificateRequest UpdateDigitalCertificateRequest) ApiUpdateDigitalCertificateRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateCSRApiService

type CreateCSRApiService service

CreateCSRApiService CreateCSRApi service

func (*CreateCSRApiService) CreateCSR

CreateCSR Create an encrypted Certificate Request with Azion, which can then be sent for signing to a CA

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

func (*CreateCSRApiService) CreateCSRExecute

func (a *CreateCSRApiService) CreateCSRExecute(r ApiCreateCSRRequest) (*DC200, *http.Response, error)

Execute executes the request

@return DC200

type CreateCSRRequest

type CreateCSRRequest struct {
	Name              *string  `json:"name,omitempty"`
	CommonName        *string  `json:"common_name,omitempty"`
	Country           *string  `json:"country,omitempty"`
	State             *string  `json:"state,omitempty"`
	Locality          *string  `json:"locality,omitempty"`
	Organization      *string  `json:"organization,omitempty"`
	OrganizationUnity *string  `json:"organization_unity,omitempty"`
	Email             *string  `json:"email,omitempty"`
	PrivateKeyType    *string  `json:"private_key_type,omitempty"`
	Sans              []string `json:"sans,omitempty"`
}

CreateCSRRequest struct for CreateCSRRequest

func NewCreateCSRRequest

func NewCreateCSRRequest() *CreateCSRRequest

NewCreateCSRRequest instantiates a new CreateCSRRequest 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 NewCreateCSRRequestWithDefaults

func NewCreateCSRRequestWithDefaults() *CreateCSRRequest

NewCreateCSRRequestWithDefaults instantiates a new CreateCSRRequest 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 (*CreateCSRRequest) GetCommonName

func (o *CreateCSRRequest) GetCommonName() string

GetCommonName returns the CommonName field value if set, zero value otherwise.

func (*CreateCSRRequest) GetCommonNameOk

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

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

func (*CreateCSRRequest) GetCountry

func (o *CreateCSRRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*CreateCSRRequest) GetCountryOk

func (o *CreateCSRRequest) GetCountryOk() (*string, bool)

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

func (*CreateCSRRequest) GetEmail

func (o *CreateCSRRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateCSRRequest) GetEmailOk

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

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

func (*CreateCSRRequest) GetLocality

func (o *CreateCSRRequest) GetLocality() string

GetLocality returns the Locality field value if set, zero value otherwise.

func (*CreateCSRRequest) GetLocalityOk

func (o *CreateCSRRequest) GetLocalityOk() (*string, bool)

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

func (*CreateCSRRequest) GetName

func (o *CreateCSRRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateCSRRequest) GetNameOk

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

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

func (*CreateCSRRequest) GetOrganization

func (o *CreateCSRRequest) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*CreateCSRRequest) GetOrganizationOk

func (o *CreateCSRRequest) GetOrganizationOk() (*string, bool)

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

func (*CreateCSRRequest) GetOrganizationUnity

func (o *CreateCSRRequest) GetOrganizationUnity() string

GetOrganizationUnity returns the OrganizationUnity field value if set, zero value otherwise.

func (*CreateCSRRequest) GetOrganizationUnityOk

func (o *CreateCSRRequest) GetOrganizationUnityOk() (*string, bool)

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

func (*CreateCSRRequest) GetPrivateKeyType

func (o *CreateCSRRequest) GetPrivateKeyType() string

GetPrivateKeyType returns the PrivateKeyType field value if set, zero value otherwise.

func (*CreateCSRRequest) GetPrivateKeyTypeOk

func (o *CreateCSRRequest) GetPrivateKeyTypeOk() (*string, bool)

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

func (*CreateCSRRequest) GetSans

func (o *CreateCSRRequest) GetSans() []string

GetSans returns the Sans field value if set, zero value otherwise.

func (*CreateCSRRequest) GetSansOk

func (o *CreateCSRRequest) GetSansOk() ([]string, bool)

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

func (*CreateCSRRequest) GetState

func (o *CreateCSRRequest) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*CreateCSRRequest) GetStateOk

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

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

func (*CreateCSRRequest) HasCommonName

func (o *CreateCSRRequest) HasCommonName() bool

HasCommonName returns a boolean if a field has been set.

func (*CreateCSRRequest) HasCountry

func (o *CreateCSRRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CreateCSRRequest) HasEmail

func (o *CreateCSRRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CreateCSRRequest) HasLocality

func (o *CreateCSRRequest) HasLocality() bool

HasLocality returns a boolean if a field has been set.

func (*CreateCSRRequest) HasName

func (o *CreateCSRRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateCSRRequest) HasOrganization

func (o *CreateCSRRequest) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*CreateCSRRequest) HasOrganizationUnity

func (o *CreateCSRRequest) HasOrganizationUnity() bool

HasOrganizationUnity returns a boolean if a field has been set.

func (*CreateCSRRequest) HasPrivateKeyType

func (o *CreateCSRRequest) HasPrivateKeyType() bool

HasPrivateKeyType returns a boolean if a field has been set.

func (*CreateCSRRequest) HasSans

func (o *CreateCSRRequest) HasSans() bool

HasSans returns a boolean if a field has been set.

func (*CreateCSRRequest) HasState

func (o *CreateCSRRequest) HasState() bool

HasState returns a boolean if a field has been set.

func (CreateCSRRequest) MarshalJSON

func (o CreateCSRRequest) MarshalJSON() ([]byte, error)

func (*CreateCSRRequest) SetCommonName

func (o *CreateCSRRequest) SetCommonName(v string)

SetCommonName gets a reference to the given string and assigns it to the CommonName field.

func (*CreateCSRRequest) SetCountry

func (o *CreateCSRRequest) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CreateCSRRequest) SetEmail

func (o *CreateCSRRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CreateCSRRequest) SetLocality

func (o *CreateCSRRequest) SetLocality(v string)

SetLocality gets a reference to the given string and assigns it to the Locality field.

func (*CreateCSRRequest) SetName

func (o *CreateCSRRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateCSRRequest) SetOrganization

func (o *CreateCSRRequest) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*CreateCSRRequest) SetOrganizationUnity

func (o *CreateCSRRequest) SetOrganizationUnity(v string)

SetOrganizationUnity gets a reference to the given string and assigns it to the OrganizationUnity field.

func (*CreateCSRRequest) SetPrivateKeyType

func (o *CreateCSRRequest) SetPrivateKeyType(v string)

SetPrivateKeyType gets a reference to the given string and assigns it to the PrivateKeyType field.

func (*CreateCSRRequest) SetSans

func (o *CreateCSRRequest) SetSans(v []string)

SetSans gets a reference to the given []string and assigns it to the Sans field.

func (*CreateCSRRequest) SetState

func (o *CreateCSRRequest) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (CreateCSRRequest) ToMap

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

type CreateCertificateRequest

type CreateCertificateRequest struct {
	Name            string  `json:"name"`
	Certificate     string  `json:"certificate"`
	PrivateKey      string  `json:"private_key"`
	CertificateType *string `json:"certificate_type,omitempty"`
	Managed         *bool   `json:"managed,omitempty"`
}

CreateCertificateRequest struct for CreateCertificateRequest

func NewCreateCertificateRequest

func NewCreateCertificateRequest(name string, certificate string, privateKey string) *CreateCertificateRequest

NewCreateCertificateRequest instantiates a new CreateCertificateRequest 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 NewCreateCertificateRequestWithDefaults

func NewCreateCertificateRequestWithDefaults() *CreateCertificateRequest

NewCreateCertificateRequestWithDefaults instantiates a new CreateCertificateRequest 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 (*CreateCertificateRequest) GetCertificate

func (o *CreateCertificateRequest) GetCertificate() string

GetCertificate returns the Certificate field value

func (*CreateCertificateRequest) GetCertificateOk

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

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

func (*CreateCertificateRequest) GetCertificateType

func (o *CreateCertificateRequest) GetCertificateType() string

GetCertificateType returns the CertificateType field value if set, zero value otherwise.

func (*CreateCertificateRequest) GetCertificateTypeOk

func (o *CreateCertificateRequest) GetCertificateTypeOk() (*string, bool)

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

func (*CreateCertificateRequest) GetManaged

func (o *CreateCertificateRequest) GetManaged() bool

GetManaged returns the Managed field value if set, zero value otherwise.

func (*CreateCertificateRequest) GetManagedOk

func (o *CreateCertificateRequest) GetManagedOk() (*bool, bool)

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

func (*CreateCertificateRequest) GetName

func (o *CreateCertificateRequest) GetName() string

GetName returns the Name field value

func (*CreateCertificateRequest) GetNameOk

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

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

func (*CreateCertificateRequest) GetPrivateKey

func (o *CreateCertificateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value

func (*CreateCertificateRequest) GetPrivateKeyOk

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

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

func (*CreateCertificateRequest) HasCertificateType

func (o *CreateCertificateRequest) HasCertificateType() bool

HasCertificateType returns a boolean if a field has been set.

func (*CreateCertificateRequest) HasManaged

func (o *CreateCertificateRequest) HasManaged() bool

HasManaged returns a boolean if a field has been set.

func (CreateCertificateRequest) MarshalJSON

func (o CreateCertificateRequest) MarshalJSON() ([]byte, error)

func (*CreateCertificateRequest) SetCertificate

func (o *CreateCertificateRequest) SetCertificate(v string)

SetCertificate sets field value

func (*CreateCertificateRequest) SetCertificateType

func (o *CreateCertificateRequest) SetCertificateType(v string)

SetCertificateType gets a reference to the given string and assigns it to the CertificateType field.

func (*CreateCertificateRequest) SetManaged

func (o *CreateCertificateRequest) SetManaged(v bool)

SetManaged gets a reference to the given bool and assigns it to the Managed field.

func (*CreateCertificateRequest) SetName

func (o *CreateCertificateRequest) SetName(v string)

SetName sets field value

func (*CreateCertificateRequest) SetPrivateKey

func (o *CreateCertificateRequest) SetPrivateKey(v string)

SetPrivateKey sets field value

func (CreateCertificateRequest) ToMap

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

type CreateDigitalCertificateApiService

type CreateDigitalCertificateApiService service

CreateDigitalCertificateApiService CreateDigitalCertificateApi service

func (*CreateDigitalCertificateApiService) CreateCertificate

CreateCertificate Create a new digital certificate

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

func (*CreateDigitalCertificateApiService) CreateCertificateExecute

Execute executes the request

@return DC200

type DC200

type DC200 struct {
	SchemaVersion *int32        `json:"schema_version,omitempty"`
	Results       *SingleResult `json:"results,omitempty"`
}

DC200 struct for DC200

func NewDC200

func NewDC200() *DC200

NewDC200 instantiates a new DC200 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 NewDC200WithDefaults

func NewDC200WithDefaults() *DC200

NewDC200WithDefaults instantiates a new DC200 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 (*DC200) GetResults added in v0.67.0

func (o *DC200) GetResults() SingleResult

GetResults returns the Results field value if set, zero value otherwise.

func (*DC200) GetResultsOk added in v0.67.0

func (o *DC200) GetResultsOk() (*SingleResult, bool)

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

func (*DC200) GetSchemaVersion

func (o *DC200) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC200) GetSchemaVersionOk

func (o *DC200) GetSchemaVersionOk() (*int32, bool)

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

func (*DC200) HasResults added in v0.67.0

func (o *DC200) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*DC200) HasSchemaVersion

func (o *DC200) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC200) MarshalJSON

func (o DC200) MarshalJSON() ([]byte, error)

func (*DC200) SetResults added in v0.67.0

func (o *DC200) SetResults(v SingleResult)

SetResults gets a reference to the given SingleResult and assigns it to the Results field.

func (*DC200) SetSchemaVersion

func (o *DC200) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC200) ToMap

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

type DC200List

type DC200List struct {
	Count         *int32          `json:"count,omitempty"`
	TotalPages    *int32          `json:"total_pages,omitempty"`
	SchemaVersion *int32          `json:"schema_version,omitempty"`
	Links         *DC200ListLinks `json:"links,omitempty"`
	Results       []ResultsInner  `json:"results,omitempty"`
}

DC200List struct for DC200List

func NewDC200List

func NewDC200List() *DC200List

NewDC200List instantiates a new DC200List 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 NewDC200ListWithDefaults

func NewDC200ListWithDefaults() *DC200List

NewDC200ListWithDefaults instantiates a new DC200List 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 (*DC200List) GetCount

func (o *DC200List) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*DC200List) GetCountOk

func (o *DC200List) GetCountOk() (*int32, bool)

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

func (o *DC200List) GetLinks() DC200ListLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*DC200List) GetLinksOk

func (o *DC200List) GetLinksOk() (*DC200ListLinks, bool)

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

func (*DC200List) GetResults

func (o *DC200List) GetResults() []ResultsInner

GetResults returns the Results field value if set, zero value otherwise.

func (*DC200List) GetResultsOk

func (o *DC200List) GetResultsOk() ([]ResultsInner, bool)

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

func (*DC200List) GetSchemaVersion

func (o *DC200List) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC200List) GetSchemaVersionOk

func (o *DC200List) GetSchemaVersionOk() (*int32, bool)

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

func (*DC200List) GetTotalPages

func (o *DC200List) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*DC200List) GetTotalPagesOk

func (o *DC200List) GetTotalPagesOk() (*int32, bool)

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

func (*DC200List) HasCount

func (o *DC200List) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *DC200List) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*DC200List) HasResults

func (o *DC200List) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*DC200List) HasSchemaVersion

func (o *DC200List) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*DC200List) HasTotalPages

func (o *DC200List) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (DC200List) MarshalJSON

func (o DC200List) MarshalJSON() ([]byte, error)

func (*DC200List) SetCount

func (o *DC200List) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (o *DC200List) SetLinks(v DC200ListLinks)

SetLinks gets a reference to the given DC200ListLinks and assigns it to the Links field.

func (*DC200List) SetResults

func (o *DC200List) SetResults(v []ResultsInner)

SetResults gets a reference to the given []ResultsInner and assigns it to the Results field.

func (*DC200List) SetSchemaVersion

func (o *DC200List) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (*DC200List) SetTotalPages

func (o *DC200List) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

func (DC200List) ToMap

func (o DC200List) ToMap() (map[string]interface{}, error)
type DC200ListLinks struct {
	Previous NullableString `json:"previous,omitempty"`
	Next     NullableString `json:"next,omitempty"`
}

DC200ListLinks struct for DC200ListLinks

func NewDC200ListLinks() *DC200ListLinks

NewDC200ListLinks instantiates a new DC200ListLinks 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 NewDC200ListLinksWithDefaults

func NewDC200ListLinksWithDefaults() *DC200ListLinks

NewDC200ListLinksWithDefaults instantiates a new DC200ListLinks 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 (*DC200ListLinks) GetNext

func (o *DC200ListLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DC200ListLinks) GetNextOk

func (o *DC200ListLinks) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DC200ListLinks) GetPrevious

func (o *DC200ListLinks) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DC200ListLinks) GetPreviousOk

func (o *DC200ListLinks) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DC200ListLinks) HasNext

func (o *DC200ListLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*DC200ListLinks) HasPrevious

func (o *DC200ListLinks) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (DC200ListLinks) MarshalJSON

func (o DC200ListLinks) MarshalJSON() ([]byte, error)

func (*DC200ListLinks) SetNext

func (o *DC200ListLinks) SetNext(v string)

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

func (*DC200ListLinks) SetNextNil

func (o *DC200ListLinks) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*DC200ListLinks) SetPrevious

func (o *DC200ListLinks) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*DC200ListLinks) SetPreviousNil

func (o *DC200ListLinks) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (DC200ListLinks) ToMap

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

func (*DC200ListLinks) UnsetNext

func (o *DC200ListLinks) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*DC200ListLinks) UnsetPrevious

func (o *DC200ListLinks) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type DC201

type DC201 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC201 struct for DC201

func NewDC201

func NewDC201() *DC201

NewDC201 instantiates a new DC201 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 NewDC201WithDefaults

func NewDC201WithDefaults() *DC201

NewDC201WithDefaults instantiates a new DC201 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 (*DC201) GetErrors

func (o *DC201) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC201) GetErrorsOk

func (o *DC201) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC201) GetSchemaVersion

func (o *DC201) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC201) GetSchemaVersionOk

func (o *DC201) GetSchemaVersionOk() (*int32, bool)

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

func (*DC201) HasErrors

func (o *DC201) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC201) HasSchemaVersion

func (o *DC201) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC201) MarshalJSON

func (o DC201) MarshalJSON() ([]byte, error)

func (*DC201) SetErrors

func (o *DC201) SetErrors(v []map[string]interface{})

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

func (*DC201) SetSchemaVersion

func (o *DC201) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC201) ToMap

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

type DC400

type DC400 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC400 struct for DC400

func NewDC400

func NewDC400() *DC400

NewDC400 instantiates a new DC400 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 NewDC400WithDefaults

func NewDC400WithDefaults() *DC400

NewDC400WithDefaults instantiates a new DC400 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 (*DC400) GetErrors

func (o *DC400) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC400) GetErrorsOk

func (o *DC400) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC400) GetSchemaVersion

func (o *DC400) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC400) GetSchemaVersionOk

func (o *DC400) GetSchemaVersionOk() (*int32, bool)

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

func (*DC400) HasErrors

func (o *DC400) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC400) HasSchemaVersion

func (o *DC400) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC400) MarshalJSON

func (o DC400) MarshalJSON() ([]byte, error)

func (*DC400) SetErrors

func (o *DC400) SetErrors(v []map[string]interface{})

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

func (*DC400) SetSchemaVersion

func (o *DC400) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC400) ToMap

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

type DC401

type DC401 struct {
	Detail *string `json:"detail,omitempty"`
}

DC401 struct for DC401

func NewDC401

func NewDC401() *DC401

NewDC401 instantiates a new DC401 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 NewDC401WithDefaults

func NewDC401WithDefaults() *DC401

NewDC401WithDefaults instantiates a new DC401 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 (*DC401) GetDetail

func (o *DC401) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*DC401) GetDetailOk

func (o *DC401) GetDetailOk() (*string, bool)

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

func (*DC401) HasDetail

func (o *DC401) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (DC401) MarshalJSON

func (o DC401) MarshalJSON() ([]byte, error)

func (*DC401) SetDetail

func (o *DC401) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (DC401) ToMap

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

type DC403

type DC403 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC403 struct for DC403

func NewDC403

func NewDC403() *DC403

NewDC403 instantiates a new DC403 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 NewDC403WithDefaults

func NewDC403WithDefaults() *DC403

NewDC403WithDefaults instantiates a new DC403 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 (*DC403) GetErrors

func (o *DC403) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC403) GetErrorsOk

func (o *DC403) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC403) GetSchemaVersion

func (o *DC403) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC403) GetSchemaVersionOk

func (o *DC403) GetSchemaVersionOk() (*int32, bool)

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

func (*DC403) HasErrors

func (o *DC403) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC403) HasSchemaVersion

func (o *DC403) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC403) MarshalJSON

func (o DC403) MarshalJSON() ([]byte, error)

func (*DC403) SetErrors

func (o *DC403) SetErrors(v []map[string]interface{})

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

func (*DC403) SetSchemaVersion

func (o *DC403) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC403) ToMap

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

type DC404

type DC404 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC404 struct for DC404

func NewDC404

func NewDC404() *DC404

NewDC404 instantiates a new DC404 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 NewDC404WithDefaults

func NewDC404WithDefaults() *DC404

NewDC404WithDefaults instantiates a new DC404 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 (*DC404) GetErrors

func (o *DC404) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC404) GetErrorsOk

func (o *DC404) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC404) GetSchemaVersion

func (o *DC404) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC404) GetSchemaVersionOk

func (o *DC404) GetSchemaVersionOk() (*int32, bool)

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

func (*DC404) HasErrors

func (o *DC404) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC404) HasSchemaVersion

func (o *DC404) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC404) MarshalJSON

func (o DC404) MarshalJSON() ([]byte, error)

func (*DC404) SetErrors

func (o *DC404) SetErrors(v []map[string]interface{})

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

func (*DC404) SetSchemaVersion

func (o *DC404) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC404) ToMap

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

type DC406

type DC406 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC406 struct for DC406

func NewDC406

func NewDC406() *DC406

NewDC406 instantiates a new DC406 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 NewDC406WithDefaults

func NewDC406WithDefaults() *DC406

NewDC406WithDefaults instantiates a new DC406 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 (*DC406) GetErrors

func (o *DC406) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC406) GetErrorsOk

func (o *DC406) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC406) GetSchemaVersion

func (o *DC406) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC406) GetSchemaVersionOk

func (o *DC406) GetSchemaVersionOk() (*int32, bool)

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

func (*DC406) HasErrors

func (o *DC406) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC406) HasSchemaVersion

func (o *DC406) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC406) MarshalJSON

func (o DC406) MarshalJSON() ([]byte, error)

func (*DC406) SetErrors

func (o *DC406) SetErrors(v []map[string]interface{})

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

func (*DC406) SetSchemaVersion

func (o *DC406) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC406) ToMap

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

type DC409

type DC409 struct {
	Errors        []map[string]interface{} `json:"errors,omitempty"`
	SchemaVersion *int32                   `json:"schema_version,omitempty"`
}

DC409 struct for DC409

func NewDC409

func NewDC409() *DC409

NewDC409 instantiates a new DC409 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 NewDC409WithDefaults

func NewDC409WithDefaults() *DC409

NewDC409WithDefaults instantiates a new DC409 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 (*DC409) GetErrors

func (o *DC409) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DC409) GetErrorsOk

func (o *DC409) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*DC409) GetSchemaVersion

func (o *DC409) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*DC409) GetSchemaVersionOk

func (o *DC409) GetSchemaVersionOk() (*int32, bool)

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

func (*DC409) HasErrors

func (o *DC409) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*DC409) HasSchemaVersion

func (o *DC409) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (DC409) MarshalJSON

func (o DC409) MarshalJSON() ([]byte, error)

func (*DC409) SetErrors

func (o *DC409) SetErrors(v []map[string]interface{})

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

func (*DC409) SetSchemaVersion

func (o *DC409) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (DC409) ToMap

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

type DeleteDigitalCertificateApiService

type DeleteDigitalCertificateApiService service

DeleteDigitalCertificateApiService DeleteDigitalCertificateApi service

func (*DeleteDigitalCertificateApiService) RemoveDigitalCertificates

func (a *DeleteDigitalCertificateApiService) RemoveDigitalCertificates(ctx context.Context, digitalCertificateId int32) ApiRemoveDigitalCertificatesRequest

RemoveDigitalCertificates Remove a digital certificate or CSR from your account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param digitalCertificateId ID of certificate to delete
@return ApiRemoveDigitalCertificatesRequest

func (*DeleteDigitalCertificateApiService) RemoveDigitalCertificatesExecute

Execute executes the request

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type MappedNullable

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateCSRRequest

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

func NewNullableCreateCSRRequest

func NewNullableCreateCSRRequest(val *CreateCSRRequest) *NullableCreateCSRRequest

func (NullableCreateCSRRequest) Get

func (NullableCreateCSRRequest) IsSet

func (v NullableCreateCSRRequest) IsSet() bool

func (NullableCreateCSRRequest) MarshalJSON

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

func (*NullableCreateCSRRequest) Set

func (*NullableCreateCSRRequest) UnmarshalJSON

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

func (*NullableCreateCSRRequest) Unset

func (v *NullableCreateCSRRequest) Unset()

type NullableCreateCertificateRequest

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

func (NullableCreateCertificateRequest) Get

func (NullableCreateCertificateRequest) IsSet

func (NullableCreateCertificateRequest) MarshalJSON

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

func (*NullableCreateCertificateRequest) Set

func (*NullableCreateCertificateRequest) UnmarshalJSON

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

func (*NullableCreateCertificateRequest) Unset

type NullableDC200

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

func NewNullableDC200

func NewNullableDC200(val *DC200) *NullableDC200

func (NullableDC200) Get

func (v NullableDC200) Get() *DC200

func (NullableDC200) IsSet

func (v NullableDC200) IsSet() bool

func (NullableDC200) MarshalJSON

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

func (*NullableDC200) Set

func (v *NullableDC200) Set(val *DC200)

func (*NullableDC200) UnmarshalJSON

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

func (*NullableDC200) Unset

func (v *NullableDC200) Unset()

type NullableDC200List

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

func NewNullableDC200List

func NewNullableDC200List(val *DC200List) *NullableDC200List

func (NullableDC200List) Get

func (v NullableDC200List) Get() *DC200List

func (NullableDC200List) IsSet

func (v NullableDC200List) IsSet() bool

func (NullableDC200List) MarshalJSON

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

func (*NullableDC200List) Set

func (v *NullableDC200List) Set(val *DC200List)

func (*NullableDC200List) UnmarshalJSON

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

func (*NullableDC200List) Unset

func (v *NullableDC200List) Unset()
type NullableDC200ListLinks struct {
	// contains filtered or unexported fields
}
func NewNullableDC200ListLinks(val *DC200ListLinks) *NullableDC200ListLinks

func (NullableDC200ListLinks) Get

func (NullableDC200ListLinks) IsSet

func (v NullableDC200ListLinks) IsSet() bool

func (NullableDC200ListLinks) MarshalJSON

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

func (*NullableDC200ListLinks) Set

func (*NullableDC200ListLinks) UnmarshalJSON

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

func (*NullableDC200ListLinks) Unset

func (v *NullableDC200ListLinks) Unset()

type NullableDC201

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

func NewNullableDC201

func NewNullableDC201(val *DC201) *NullableDC201

func (NullableDC201) Get

func (v NullableDC201) Get() *DC201

func (NullableDC201) IsSet

func (v NullableDC201) IsSet() bool

func (NullableDC201) MarshalJSON

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

func (*NullableDC201) Set

func (v *NullableDC201) Set(val *DC201)

func (*NullableDC201) UnmarshalJSON

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

func (*NullableDC201) Unset

func (v *NullableDC201) Unset()

type NullableDC400

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

func NewNullableDC400

func NewNullableDC400(val *DC400) *NullableDC400

func (NullableDC400) Get

func (v NullableDC400) Get() *DC400

func (NullableDC400) IsSet

func (v NullableDC400) IsSet() bool

func (NullableDC400) MarshalJSON

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

func (*NullableDC400) Set

func (v *NullableDC400) Set(val *DC400)

func (*NullableDC400) UnmarshalJSON

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

func (*NullableDC400) Unset

func (v *NullableDC400) Unset()

type NullableDC401

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

func NewNullableDC401

func NewNullableDC401(val *DC401) *NullableDC401

func (NullableDC401) Get

func (v NullableDC401) Get() *DC401

func (NullableDC401) IsSet

func (v NullableDC401) IsSet() bool

func (NullableDC401) MarshalJSON

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

func (*NullableDC401) Set

func (v *NullableDC401) Set(val *DC401)

func (*NullableDC401) UnmarshalJSON

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

func (*NullableDC401) Unset

func (v *NullableDC401) Unset()

type NullableDC403

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

func NewNullableDC403

func NewNullableDC403(val *DC403) *NullableDC403

func (NullableDC403) Get

func (v NullableDC403) Get() *DC403

func (NullableDC403) IsSet

func (v NullableDC403) IsSet() bool

func (NullableDC403) MarshalJSON

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

func (*NullableDC403) Set

func (v *NullableDC403) Set(val *DC403)

func (*NullableDC403) UnmarshalJSON

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

func (*NullableDC403) Unset

func (v *NullableDC403) Unset()

type NullableDC404

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

func NewNullableDC404

func NewNullableDC404(val *DC404) *NullableDC404

func (NullableDC404) Get

func (v NullableDC404) Get() *DC404

func (NullableDC404) IsSet

func (v NullableDC404) IsSet() bool

func (NullableDC404) MarshalJSON

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

func (*NullableDC404) Set

func (v *NullableDC404) Set(val *DC404)

func (*NullableDC404) UnmarshalJSON

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

func (*NullableDC404) Unset

func (v *NullableDC404) Unset()

type NullableDC406

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

func NewNullableDC406

func NewNullableDC406(val *DC406) *NullableDC406

func (NullableDC406) Get

func (v NullableDC406) Get() *DC406

func (NullableDC406) IsSet

func (v NullableDC406) IsSet() bool

func (NullableDC406) MarshalJSON

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

func (*NullableDC406) Set

func (v *NullableDC406) Set(val *DC406)

func (*NullableDC406) UnmarshalJSON

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

func (*NullableDC406) Unset

func (v *NullableDC406) Unset()

type NullableDC409

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

func NewNullableDC409

func NewNullableDC409(val *DC409) *NullableDC409

func (NullableDC409) Get

func (v NullableDC409) Get() *DC409

func (NullableDC409) IsSet

func (v NullableDC409) IsSet() bool

func (NullableDC409) MarshalJSON

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

func (*NullableDC409) Set

func (v *NullableDC409) Set(val *DC409)

func (*NullableDC409) UnmarshalJSON

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

func (*NullableDC409) Unset

func (v *NullableDC409) 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 NullableResultsInner

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

func NewNullableResultsInner

func NewNullableResultsInner(val *ResultsInner) *NullableResultsInner

func (NullableResultsInner) Get

func (NullableResultsInner) IsSet

func (v NullableResultsInner) IsSet() bool

func (NullableResultsInner) MarshalJSON

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

func (*NullableResultsInner) Set

func (v *NullableResultsInner) Set(val *ResultsInner)

func (*NullableResultsInner) UnmarshalJSON

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

func (*NullableResultsInner) Unset

func (v *NullableResultsInner) Unset()

type NullableSingleResult

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

func NewNullableSingleResult

func NewNullableSingleResult(val *SingleResult) *NullableSingleResult

func (NullableSingleResult) Get

func (NullableSingleResult) IsSet

func (v NullableSingleResult) IsSet() bool

func (NullableSingleResult) MarshalJSON

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

func (*NullableSingleResult) Set

func (v *NullableSingleResult) Set(val *SingleResult)

func (*NullableSingleResult) UnmarshalJSON

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

func (*NullableSingleResult) Unset

func (v *NullableSingleResult) 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 NullableUpdateDigitalCertificateRequest

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

func (NullableUpdateDigitalCertificateRequest) Get

func (NullableUpdateDigitalCertificateRequest) IsSet

func (NullableUpdateDigitalCertificateRequest) MarshalJSON

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

func (*NullableUpdateDigitalCertificateRequest) Set

func (*NullableUpdateDigitalCertificateRequest) UnmarshalJSON

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

func (*NullableUpdateDigitalCertificateRequest) Unset

type OverwriteDigitalCertificateApiService

type OverwriteDigitalCertificateApiService service

OverwriteDigitalCertificateApiService OverwriteDigitalCertificateApi service

func (*OverwriteDigitalCertificateApiService) OverwriteDigitalCertificate

func (a *OverwriteDigitalCertificateApiService) OverwriteDigitalCertificate(ctx context.Context, digitalCertificateId int32) ApiOverwriteDigitalCertificateRequest

OverwriteDigitalCertificate Overwrite a digital certificate with another complete digital certificate

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param digitalCertificateId ID of certificate to overwrite
@return ApiOverwriteDigitalCertificateRequest

func (*OverwriteDigitalCertificateApiService) OverwriteDigitalCertificateExecute

Execute executes the request

@return DC200

type ResultsInner

type ResultsInner struct {
	Id               *int32         `json:"id,omitempty"`
	Name             *string        `json:"name,omitempty"`
	SubjectName      []string       `json:"subject_name,omitempty"`
	Validity         NullableString `json:"validity,omitempty"`
	Status           *string        `json:"status,omitempty"`
	CertificateType  *string        `json:"certificate_type,omitempty"`
	Managed          *bool          `json:"managed,omitempty"`
	Issuer           NullableString `json:"issuer,omitempty"`
	AzionInformation *string        `json:"azion_information,omitempty"`
}

ResultsInner struct for ResultsInner

func NewResultsInner

func NewResultsInner() *ResultsInner

NewResultsInner instantiates a new ResultsInner 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 NewResultsInnerWithDefaults

func NewResultsInnerWithDefaults() *ResultsInner

NewResultsInnerWithDefaults instantiates a new ResultsInner 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 (*ResultsInner) GetAzionInformation added in v0.66.0

func (o *ResultsInner) GetAzionInformation() string

GetAzionInformation returns the AzionInformation field value if set, zero value otherwise.

func (*ResultsInner) GetAzionInformationOk added in v0.66.0

func (o *ResultsInner) GetAzionInformationOk() (*string, bool)

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

func (*ResultsInner) GetCertificateType

func (o *ResultsInner) GetCertificateType() string

GetCertificateType returns the CertificateType field value if set, zero value otherwise.

func (*ResultsInner) GetCertificateTypeOk

func (o *ResultsInner) GetCertificateTypeOk() (*string, bool)

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

func (*ResultsInner) GetId

func (o *ResultsInner) GetId() int32

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

func (*ResultsInner) GetIdOk

func (o *ResultsInner) GetIdOk() (*int32, bool)

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

func (*ResultsInner) GetIssuer added in v0.66.0

func (o *ResultsInner) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResultsInner) GetIssuerOk added in v0.66.0

func (o *ResultsInner) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResultsInner) GetManaged

func (o *ResultsInner) GetManaged() bool

GetManaged returns the Managed field value if set, zero value otherwise.

func (*ResultsInner) GetManagedOk

func (o *ResultsInner) GetManagedOk() (*bool, bool)

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

func (*ResultsInner) GetName

func (o *ResultsInner) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ResultsInner) GetNameOk

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

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

func (*ResultsInner) GetStatus

func (o *ResultsInner) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ResultsInner) GetStatusOk

func (o *ResultsInner) GetStatusOk() (*string, bool)

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

func (*ResultsInner) GetSubjectName

func (o *ResultsInner) GetSubjectName() []string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*ResultsInner) GetSubjectNameOk

func (o *ResultsInner) GetSubjectNameOk() ([]string, bool)

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

func (*ResultsInner) GetValidity

func (o *ResultsInner) GetValidity() string

GetValidity returns the Validity field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResultsInner) GetValidityOk

func (o *ResultsInner) GetValidityOk() (*string, bool)

GetValidityOk returns a tuple with the Validity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResultsInner) HasAzionInformation added in v0.66.0

func (o *ResultsInner) HasAzionInformation() bool

HasAzionInformation returns a boolean if a field has been set.

func (*ResultsInner) HasCertificateType

func (o *ResultsInner) HasCertificateType() bool

HasCertificateType returns a boolean if a field has been set.

func (*ResultsInner) HasId

func (o *ResultsInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*ResultsInner) HasIssuer added in v0.66.0

func (o *ResultsInner) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*ResultsInner) HasManaged

func (o *ResultsInner) HasManaged() bool

HasManaged returns a boolean if a field has been set.

func (*ResultsInner) HasName

func (o *ResultsInner) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResultsInner) HasStatus

func (o *ResultsInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResultsInner) HasSubjectName

func (o *ResultsInner) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*ResultsInner) HasValidity

func (o *ResultsInner) HasValidity() bool

HasValidity returns a boolean if a field has been set.

func (ResultsInner) MarshalJSON

func (o ResultsInner) MarshalJSON() ([]byte, error)

func (*ResultsInner) SetAzionInformation added in v0.66.0

func (o *ResultsInner) SetAzionInformation(v string)

SetAzionInformation gets a reference to the given string and assigns it to the AzionInformation field.

func (*ResultsInner) SetCertificateType

func (o *ResultsInner) SetCertificateType(v string)

SetCertificateType gets a reference to the given string and assigns it to the CertificateType field.

func (*ResultsInner) SetId

func (o *ResultsInner) SetId(v int32)

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

func (*ResultsInner) SetIssuer added in v0.66.0

func (o *ResultsInner) SetIssuer(v string)

SetIssuer gets a reference to the given NullableString and assigns it to the Issuer field.

func (*ResultsInner) SetIssuerNil added in v0.66.0

func (o *ResultsInner) SetIssuerNil()

SetIssuerNil sets the value for Issuer to be an explicit nil

func (*ResultsInner) SetManaged

func (o *ResultsInner) SetManaged(v bool)

SetManaged gets a reference to the given bool and assigns it to the Managed field.

func (*ResultsInner) SetName

func (o *ResultsInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ResultsInner) SetStatus

func (o *ResultsInner) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ResultsInner) SetSubjectName

func (o *ResultsInner) SetSubjectName(v []string)

SetSubjectName gets a reference to the given []string and assigns it to the SubjectName field.

func (*ResultsInner) SetValidity

func (o *ResultsInner) SetValidity(v string)

SetValidity gets a reference to the given NullableString and assigns it to the Validity field.

func (*ResultsInner) SetValidityNil added in v0.66.0

func (o *ResultsInner) SetValidityNil()

SetValidityNil sets the value for Validity to be an explicit nil

func (ResultsInner) ToMap

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

func (*ResultsInner) UnsetIssuer added in v0.66.0

func (o *ResultsInner) UnsetIssuer()

UnsetIssuer ensures that no value is present for Issuer, not even an explicit nil

func (*ResultsInner) UnsetValidity added in v0.66.0

func (o *ResultsInner) UnsetValidity()

UnsetValidity ensures that no value is present for Validity, not even an explicit nil

type RetrieveDigitalCertificateByIDApiService

type RetrieveDigitalCertificateByIDApiService service

RetrieveDigitalCertificateByIDApiService RetrieveDigitalCertificateByIDApi service

func (*RetrieveDigitalCertificateByIDApiService) GetCertificate

func (a *RetrieveDigitalCertificateByIDApiService) GetCertificate(ctx context.Context, digitalCertificateId int64) ApiGetCertificateRequest

GetCertificate Get more data on a specific digital certificate or CSR.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param digitalCertificateId ID of certificate
@return ApiGetCertificateRequest

func (*RetrieveDigitalCertificateByIDApiService) GetCertificateExecute

Execute executes the request

@return DC200

type RetrieveDigitalCertificateListApiService

type RetrieveDigitalCertificateListApiService service

RetrieveDigitalCertificateListApiService RetrieveDigitalCertificateListApi service

func (*RetrieveDigitalCertificateListApiService) ListDigitalCertificates

ListDigitalCertificates List all existing digital certificates and CSRs registered to your account

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

func (*RetrieveDigitalCertificateListApiService) ListDigitalCertificatesExecute

Execute executes the request

@return DC200List

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SingleResult

type SingleResult struct {
	Id                 *int32         `json:"id,omitempty"`
	Name               *string        `json:"name,omitempty"`
	SubjectName        []string       `json:"subject_name,omitempty"`
	Issuer             NullableString `json:"issuer,omitempty"`
	Validity           NullableString `json:"validity,omitempty"`
	Status             *string        `json:"status,omitempty"`
	CertificateType    *string        `json:"certificate_type,omitempty"`
	Managed            *bool          `json:"managed,omitempty"`
	Csr                NullableString `json:"csr,omitempty"`
	CertificateContent NullableString `json:"certificate_content,omitempty"`
	AzionInformation   *string        `json:"azion_information,omitempty"`
}

SingleResult struct for SingleResult

func NewSingleResult

func NewSingleResult() *SingleResult

NewSingleResult instantiates a new SingleResult 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 NewSingleResultWithDefaults

func NewSingleResultWithDefaults() *SingleResult

NewSingleResultWithDefaults instantiates a new SingleResult 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 (*SingleResult) GetAzionInformation added in v0.66.0

func (o *SingleResult) GetAzionInformation() string

GetAzionInformation returns the AzionInformation field value if set, zero value otherwise.

func (*SingleResult) GetAzionInformationOk added in v0.66.0

func (o *SingleResult) GetAzionInformationOk() (*string, bool)

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

func (*SingleResult) GetCertificateContent added in v0.66.0

func (o *SingleResult) GetCertificateContent() string

GetCertificateContent returns the CertificateContent field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SingleResult) GetCertificateContentOk added in v0.66.0

func (o *SingleResult) GetCertificateContentOk() (*string, bool)

GetCertificateContentOk returns a tuple with the CertificateContent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SingleResult) GetCertificateType

func (o *SingleResult) GetCertificateType() string

GetCertificateType returns the CertificateType field value if set, zero value otherwise.

func (*SingleResult) GetCertificateTypeOk

func (o *SingleResult) GetCertificateTypeOk() (*string, bool)

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

func (*SingleResult) GetCsr added in v0.66.0

func (o *SingleResult) GetCsr() string

GetCsr returns the Csr field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SingleResult) GetCsrOk added in v0.66.0

func (o *SingleResult) GetCsrOk() (*string, bool)

GetCsrOk returns a tuple with the Csr field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SingleResult) GetId

func (o *SingleResult) GetId() int32

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

func (*SingleResult) GetIdOk

func (o *SingleResult) GetIdOk() (*int32, bool)

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

func (*SingleResult) GetIssuer added in v0.66.0

func (o *SingleResult) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SingleResult) GetIssuerOk added in v0.66.0

func (o *SingleResult) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SingleResult) GetManaged

func (o *SingleResult) GetManaged() bool

GetManaged returns the Managed field value if set, zero value otherwise.

func (*SingleResult) GetManagedOk

func (o *SingleResult) GetManagedOk() (*bool, bool)

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

func (*SingleResult) GetName

func (o *SingleResult) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SingleResult) GetNameOk

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

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

func (*SingleResult) GetStatus

func (o *SingleResult) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*SingleResult) GetStatusOk

func (o *SingleResult) GetStatusOk() (*string, bool)

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

func (*SingleResult) GetSubjectName

func (o *SingleResult) GetSubjectName() []string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*SingleResult) GetSubjectNameOk

func (o *SingleResult) GetSubjectNameOk() ([]string, bool)

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

func (*SingleResult) GetValidity

func (o *SingleResult) GetValidity() string

GetValidity returns the Validity field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SingleResult) GetValidityOk

func (o *SingleResult) GetValidityOk() (*string, bool)

GetValidityOk returns a tuple with the Validity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SingleResult) HasAzionInformation added in v0.66.0

func (o *SingleResult) HasAzionInformation() bool

HasAzionInformation returns a boolean if a field has been set.

func (*SingleResult) HasCertificateContent added in v0.66.0

func (o *SingleResult) HasCertificateContent() bool

HasCertificateContent returns a boolean if a field has been set.

func (*SingleResult) HasCertificateType

func (o *SingleResult) HasCertificateType() bool

HasCertificateType returns a boolean if a field has been set.

func (*SingleResult) HasCsr added in v0.66.0

func (o *SingleResult) HasCsr() bool

HasCsr returns a boolean if a field has been set.

func (*SingleResult) HasId

func (o *SingleResult) HasId() bool

HasId returns a boolean if a field has been set.

func (*SingleResult) HasIssuer added in v0.66.0

func (o *SingleResult) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*SingleResult) HasManaged

func (o *SingleResult) HasManaged() bool

HasManaged returns a boolean if a field has been set.

func (*SingleResult) HasName

func (o *SingleResult) HasName() bool

HasName returns a boolean if a field has been set.

func (*SingleResult) HasStatus

func (o *SingleResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SingleResult) HasSubjectName

func (o *SingleResult) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*SingleResult) HasValidity

func (o *SingleResult) HasValidity() bool

HasValidity returns a boolean if a field has been set.

func (SingleResult) MarshalJSON

func (o SingleResult) MarshalJSON() ([]byte, error)

func (*SingleResult) SetAzionInformation added in v0.66.0

func (o *SingleResult) SetAzionInformation(v string)

SetAzionInformation gets a reference to the given string and assigns it to the AzionInformation field.

func (*SingleResult) SetCertificateContent added in v0.66.0

func (o *SingleResult) SetCertificateContent(v string)

SetCertificateContent gets a reference to the given NullableString and assigns it to the CertificateContent field.

func (*SingleResult) SetCertificateContentNil added in v0.66.0

func (o *SingleResult) SetCertificateContentNil()

SetCertificateContentNil sets the value for CertificateContent to be an explicit nil

func (*SingleResult) SetCertificateType

func (o *SingleResult) SetCertificateType(v string)

SetCertificateType gets a reference to the given string and assigns it to the CertificateType field.

func (*SingleResult) SetCsr added in v0.66.0

func (o *SingleResult) SetCsr(v string)

SetCsr gets a reference to the given NullableString and assigns it to the Csr field.

func (*SingleResult) SetCsrNil added in v0.66.0

func (o *SingleResult) SetCsrNil()

SetCsrNil sets the value for Csr to be an explicit nil

func (*SingleResult) SetId

func (o *SingleResult) SetId(v int32)

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

func (*SingleResult) SetIssuer added in v0.66.0

func (o *SingleResult) SetIssuer(v string)

SetIssuer gets a reference to the given NullableString and assigns it to the Issuer field.

func (*SingleResult) SetIssuerNil added in v0.66.0

func (o *SingleResult) SetIssuerNil()

SetIssuerNil sets the value for Issuer to be an explicit nil

func (*SingleResult) SetManaged

func (o *SingleResult) SetManaged(v bool)

SetManaged gets a reference to the given bool and assigns it to the Managed field.

func (*SingleResult) SetName

func (o *SingleResult) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SingleResult) SetStatus

func (o *SingleResult) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*SingleResult) SetSubjectName

func (o *SingleResult) SetSubjectName(v []string)

SetSubjectName gets a reference to the given []string and assigns it to the SubjectName field.

func (*SingleResult) SetValidity

func (o *SingleResult) SetValidity(v string)

SetValidity gets a reference to the given NullableString and assigns it to the Validity field.

func (*SingleResult) SetValidityNil added in v0.66.0

func (o *SingleResult) SetValidityNil()

SetValidityNil sets the value for Validity to be an explicit nil

func (SingleResult) ToMap

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

func (*SingleResult) UnsetCertificateContent added in v0.66.0

func (o *SingleResult) UnsetCertificateContent()

UnsetCertificateContent ensures that no value is present for CertificateContent, not even an explicit nil

func (*SingleResult) UnsetCsr added in v0.66.0

func (o *SingleResult) UnsetCsr()

UnsetCsr ensures that no value is present for Csr, not even an explicit nil

func (*SingleResult) UnsetIssuer added in v0.66.0

func (o *SingleResult) UnsetIssuer()

UnsetIssuer ensures that no value is present for Issuer, not even an explicit nil

func (*SingleResult) UnsetValidity added in v0.66.0

func (o *SingleResult) UnsetValidity()

UnsetValidity ensures that no value is present for Validity, not even an explicit nil

type UpdateDigitalCertificateApiService

type UpdateDigitalCertificateApiService service

UpdateDigitalCertificateApiService UpdateDigitalCertificateApi service

func (*UpdateDigitalCertificateApiService) UpdateDigitalCertificate

func (a *UpdateDigitalCertificateApiService) UpdateDigitalCertificate(ctx context.Context, digitalCertificateId int32) ApiUpdateDigitalCertificateRequest

UpdateDigitalCertificate Change only select settings of your digital certificate or CSR.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param digitalCertificateId ID of certificate to update
@return ApiUpdateDigitalCertificateRequest

func (*UpdateDigitalCertificateApiService) UpdateDigitalCertificateExecute

Execute executes the request

@return DC200

type UpdateDigitalCertificateRequest

type UpdateDigitalCertificateRequest struct {
	Name            *string `json:"name,omitempty"`
	Certificate     *string `json:"certificate,omitempty"`
	PrivateKey      *string `json:"private_key,omitempty"`
	CertificateType *string `json:"certificate_type,omitempty"`
	Managed         *bool   `json:"managed,omitempty"`
}

UpdateDigitalCertificateRequest struct for UpdateDigitalCertificateRequest

func NewUpdateDigitalCertificateRequest

func NewUpdateDigitalCertificateRequest() *UpdateDigitalCertificateRequest

NewUpdateDigitalCertificateRequest instantiates a new UpdateDigitalCertificateRequest 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 NewUpdateDigitalCertificateRequestWithDefaults

func NewUpdateDigitalCertificateRequestWithDefaults() *UpdateDigitalCertificateRequest

NewUpdateDigitalCertificateRequestWithDefaults instantiates a new UpdateDigitalCertificateRequest 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 (*UpdateDigitalCertificateRequest) GetCertificate

func (o *UpdateDigitalCertificateRequest) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*UpdateDigitalCertificateRequest) GetCertificateOk

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

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

func (*UpdateDigitalCertificateRequest) GetCertificateType

func (o *UpdateDigitalCertificateRequest) GetCertificateType() string

GetCertificateType returns the CertificateType field value if set, zero value otherwise.

func (*UpdateDigitalCertificateRequest) GetCertificateTypeOk

func (o *UpdateDigitalCertificateRequest) GetCertificateTypeOk() (*string, bool)

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

func (*UpdateDigitalCertificateRequest) GetManaged

func (o *UpdateDigitalCertificateRequest) GetManaged() bool

GetManaged returns the Managed field value if set, zero value otherwise.

func (*UpdateDigitalCertificateRequest) GetManagedOk

func (o *UpdateDigitalCertificateRequest) GetManagedOk() (*bool, bool)

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

func (*UpdateDigitalCertificateRequest) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateDigitalCertificateRequest) GetNameOk

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

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

func (*UpdateDigitalCertificateRequest) GetPrivateKey

func (o *UpdateDigitalCertificateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*UpdateDigitalCertificateRequest) GetPrivateKeyOk

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

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

func (*UpdateDigitalCertificateRequest) HasCertificate

func (o *UpdateDigitalCertificateRequest) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*UpdateDigitalCertificateRequest) HasCertificateType

func (o *UpdateDigitalCertificateRequest) HasCertificateType() bool

HasCertificateType returns a boolean if a field has been set.

func (*UpdateDigitalCertificateRequest) HasManaged

func (o *UpdateDigitalCertificateRequest) HasManaged() bool

HasManaged returns a boolean if a field has been set.

func (*UpdateDigitalCertificateRequest) HasName

HasName returns a boolean if a field has been set.

func (*UpdateDigitalCertificateRequest) HasPrivateKey

func (o *UpdateDigitalCertificateRequest) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (UpdateDigitalCertificateRequest) MarshalJSON

func (o UpdateDigitalCertificateRequest) MarshalJSON() ([]byte, error)

func (*UpdateDigitalCertificateRequest) SetCertificate

func (o *UpdateDigitalCertificateRequest) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*UpdateDigitalCertificateRequest) SetCertificateType

func (o *UpdateDigitalCertificateRequest) SetCertificateType(v string)

SetCertificateType gets a reference to the given string and assigns it to the CertificateType field.

func (*UpdateDigitalCertificateRequest) SetManaged

func (o *UpdateDigitalCertificateRequest) SetManaged(v bool)

SetManaged gets a reference to the given bool and assigns it to the Managed field.

func (*UpdateDigitalCertificateRequest) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateDigitalCertificateRequest) SetPrivateKey

func (o *UpdateDigitalCertificateRequest) SetPrivateKey(v string)

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (UpdateDigitalCertificateRequest) ToMap

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

Jump to

Keyboard shortcuts

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