keys

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Go API client for DDI Keys API

The DDI Keys application is a BloxOne DDI service for managing TSIG keys and GSS-TSIG (Kerberos) keys which are used by other BloxOne DDI applications. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network.

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: v1
  • Generator version: 7.5.0
  • Build package: com.infoblox.codegen.BloxoneGoClientCodegen

Installation

Install the package using go get:

go get github.com/infobloxopen/bloxone-go-client/keys

Import the package into your code:

import "github.com/infobloxopen/bloxone-go-client/keys"

To use a proxy, set the environment variable HTTP_PROXY:

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

To create a new API client, you can use the NewAPIClient function as shown below

client := keys.NewAPIClient()

Configuration

The NewAPIClient function accepts a variadic list of option.ClientOption functions that can be used to configure the client. It requires the option package to be imported. You can import the package using:

import "github.com/infobloxopen/bloxone-go-client/option"
Client Name

The client name is used to identify the client in the logs. By default, the client name is set to bloxone-go-client. You can change this using the option.WithClientName option. For example:

client := keys.NewAPIClient(option.WithClientName("my-client"))
Server URL

The default URL for the Cloud Services Portal is https://csp.infoblox.com. If you need to change this, you can use option.WithCSPUrl to set the URL. For example:

client := keys.NewAPIClient(option.WithCSPUrl("https://csp.eu.infoblox.com"))

You can also set the URL using the environment variable BLOXONE_CSP_URL

Authorization

An API key is required to access DDI Keys API. You can obtain an API key by following the instructions in the guide for Configuring User API Keys.

To use an API key with DDI Keys API, you can use the option.WithAPIKey option. For example:

client := keys.NewAPIClient(option.WithAPIKey("YOUR_API_KEY"))

You can also set the API key using the environment variable BLOXONE_API_KEY

Note: The API key is a secret and should be handled securely. Hardcoding the API key in your code is not recommended.

Default Tags

You can set default tags for all API requests using the option.WithDefaultTags option. For example:

client := keys.NewAPIClient(option.WithDefaultTags(map[string]string{"tag1": "value1", "tag2": "value2"}))

This will add the tags tag1=value1 and tag2=value2 to all API requests that support tags in the request body.

Documentation for API Endpoints

All URIs are relative to http://csp.infoblox.com/api/ddi/v1

Class Method HTTP request Description
GenerateTsigAPI GenerateTSIG Get /keys/generate_tsig Generate TSIG key with a random secret.
KerberosAPI Delete Delete /keys/kerberos/{id} Delete the Kerberos key.
KerberosAPI List Get /keys/kerberos Retrieve Kerberos keys.
KerberosAPI Read Get /keys/kerberos/{id} Retrieve the Kerberos key.
KerberosAPI Update Patch /keys/kerberos/{id} Update the Kerberos key.
TsigAPI Create Post /keys/tsig Create the TSIG key.
TsigAPI Delete Delete /keys/tsig/{id} Delete the TSIG key.
TsigAPI List Get /keys/tsig Retrieve TSIG keys.
TsigAPI Read Get /keys/tsig/{id} Retrieve the TSIG key.
TsigAPI Update Patch /keys/tsig/{id} Update the TSIG key.
UploadAPI Upload Post /keys/upload Upload content to the keys service.

Documentation For Models

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedUploadContentTypeEnumValues = []UploadContentType{
	"UNKNOWN",
	"KEYTAB",
}

All allowed values of UploadContentType enum

Functions

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 {
	*internal.APIClient

	// API Services
	GenerateTsigAPI GenerateTsigAPI
	KerberosAPI     KerberosAPI
	TsigAPI         TsigAPI
	UploadAPI       UploadAPI
}

APIClient manages communication with the DDI Keys API v1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(options ...option.ClientOption) *APIClient

NewAPIClient creates a new API client. The client can be configured with a variadic option. The following options are available: - WithClientName(string) sets the name of the client using the SDK. - WithCSPUrl(string) sets the URL for BloxOne Cloud Services Portal. - WithAPIKey(string) sets the APIKey for accessing the BloxOne API. - WithHTTPClient(*http.Client) sets the HTTPClient to use for the SDK. - WithDefaultTags(map[string]string) sets the tags the client can set by default for objects that has tags support. - WithDebug() sets the debug mode.

type CreateTSIGKeyResponse

type CreateTSIGKeyResponse struct {
	Result               *TSIGKey `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateTSIGKeyResponse The response format to create a __TSIGKey__ object.

func NewCreateTSIGKeyResponse

func NewCreateTSIGKeyResponse() *CreateTSIGKeyResponse

NewCreateTSIGKeyResponse instantiates a new CreateTSIGKeyResponse 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 NewCreateTSIGKeyResponseWithDefaults

func NewCreateTSIGKeyResponseWithDefaults() *CreateTSIGKeyResponse

NewCreateTSIGKeyResponseWithDefaults instantiates a new CreateTSIGKeyResponse 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 (*CreateTSIGKeyResponse) GetResult

func (o *CreateTSIGKeyResponse) GetResult() TSIGKey

GetResult returns the Result field value if set, zero value otherwise.

func (*CreateTSIGKeyResponse) GetResultOk

func (o *CreateTSIGKeyResponse) GetResultOk() (*TSIGKey, bool)

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

func (*CreateTSIGKeyResponse) HasResult

func (o *CreateTSIGKeyResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (CreateTSIGKeyResponse) MarshalJSON

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

func (*CreateTSIGKeyResponse) SetResult

func (o *CreateTSIGKeyResponse) SetResult(v TSIGKey)

SetResult gets a reference to the given TSIGKey and assigns it to the Result field.

func (CreateTSIGKeyResponse) ToMap

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

func (*CreateTSIGKeyResponse) UnmarshalJSON

func (o *CreateTSIGKeyResponse) UnmarshalJSON(data []byte) (err error)

type DdiuploadResponse

type DdiuploadResponse struct {
	KerberosKeys *KerberosKeys `json:"kerberos_keys,omitempty"`
	// May contain any non-critical warning messages after processing the content.
	Warning              *string `json:"warning,omitempty"`
	AdditionalProperties map[string]interface{}
}

DdiuploadResponse The response format for uploading content.

func NewDdiuploadResponse

func NewDdiuploadResponse() *DdiuploadResponse

NewDdiuploadResponse instantiates a new DdiuploadResponse 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 NewDdiuploadResponseWithDefaults

func NewDdiuploadResponseWithDefaults() *DdiuploadResponse

NewDdiuploadResponseWithDefaults instantiates a new DdiuploadResponse 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 (*DdiuploadResponse) GetKerberosKeys

func (o *DdiuploadResponse) GetKerberosKeys() KerberosKeys

GetKerberosKeys returns the KerberosKeys field value if set, zero value otherwise.

func (*DdiuploadResponse) GetKerberosKeysOk

func (o *DdiuploadResponse) GetKerberosKeysOk() (*KerberosKeys, bool)

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

func (*DdiuploadResponse) GetWarning

func (o *DdiuploadResponse) GetWarning() string

GetWarning returns the Warning field value if set, zero value otherwise.

func (*DdiuploadResponse) GetWarningOk

func (o *DdiuploadResponse) GetWarningOk() (*string, bool)

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

func (*DdiuploadResponse) HasKerberosKeys

func (o *DdiuploadResponse) HasKerberosKeys() bool

HasKerberosKeys returns a boolean if a field has been set.

func (*DdiuploadResponse) HasWarning

func (o *DdiuploadResponse) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (DdiuploadResponse) MarshalJSON

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

func (*DdiuploadResponse) SetKerberosKeys

func (o *DdiuploadResponse) SetKerberosKeys(v KerberosKeys)

SetKerberosKeys gets a reference to the given KerberosKeys and assigns it to the KerberosKeys field.

func (*DdiuploadResponse) SetWarning

func (o *DdiuploadResponse) SetWarning(v string)

SetWarning gets a reference to the given string and assigns it to the Warning field.

func (DdiuploadResponse) ToMap

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

func (*DdiuploadResponse) UnmarshalJSON

func (o *DdiuploadResponse) UnmarshalJSON(data []byte) (err error)

type GenerateTSIGResponse

type GenerateTSIGResponse struct {
	Result               *GenerateTSIGResult `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

GenerateTSIGResponse The response format to generate the TSIG key.

func NewGenerateTSIGResponse

func NewGenerateTSIGResponse() *GenerateTSIGResponse

NewGenerateTSIGResponse instantiates a new GenerateTSIGResponse 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 NewGenerateTSIGResponseWithDefaults

func NewGenerateTSIGResponseWithDefaults() *GenerateTSIGResponse

NewGenerateTSIGResponseWithDefaults instantiates a new GenerateTSIGResponse 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 (*GenerateTSIGResponse) GetResult

GetResult returns the Result field value if set, zero value otherwise.

func (*GenerateTSIGResponse) GetResultOk

func (o *GenerateTSIGResponse) GetResultOk() (*GenerateTSIGResult, bool)

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

func (*GenerateTSIGResponse) HasResult

func (o *GenerateTSIGResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (GenerateTSIGResponse) MarshalJSON

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

func (*GenerateTSIGResponse) SetResult

func (o *GenerateTSIGResponse) SetResult(v GenerateTSIGResult)

SetResult gets a reference to the given GenerateTSIGResult and assigns it to the Result field.

func (GenerateTSIGResponse) ToMap

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

func (*GenerateTSIGResponse) UnmarshalJSON

func (o *GenerateTSIGResponse) UnmarshalJSON(data []byte) (err error)

type GenerateTSIGResult

type GenerateTSIGResult struct {
	// The random TSIG key secret generated by the specified algorithm as a Base64 encoded string.
	Secret               *string `json:"secret,omitempty"`
	AdditionalProperties map[string]interface{}
}

GenerateTSIGResult The generated TSIG key.

func NewGenerateTSIGResult

func NewGenerateTSIGResult() *GenerateTSIGResult

NewGenerateTSIGResult instantiates a new GenerateTSIGResult 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 NewGenerateTSIGResultWithDefaults

func NewGenerateTSIGResultWithDefaults() *GenerateTSIGResult

NewGenerateTSIGResultWithDefaults instantiates a new GenerateTSIGResult 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 (*GenerateTSIGResult) GetSecret

func (o *GenerateTSIGResult) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*GenerateTSIGResult) GetSecretOk

func (o *GenerateTSIGResult) GetSecretOk() (*string, bool)

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

func (*GenerateTSIGResult) HasSecret

func (o *GenerateTSIGResult) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (GenerateTSIGResult) MarshalJSON

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

func (*GenerateTSIGResult) SetSecret

func (o *GenerateTSIGResult) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (GenerateTSIGResult) ToMap

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

func (*GenerateTSIGResult) UnmarshalJSON

func (o *GenerateTSIGResult) UnmarshalJSON(data []byte) (err error)

type GenerateTsigAPI

type GenerateTsigAPI interface {
	/*
		GenerateTSIG Generate TSIG key with a random secret.

		Use this method to generate a TSIG key with a random secret using the specified algorithm.

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

	// GenerateTSIGExecute executes the request
	//  @return GenerateTSIGResponse
	GenerateTSIGExecute(r GenerateTsigAPIGenerateTSIGRequest) (*GenerateTSIGResponse, *http.Response, error)
}

type GenerateTsigAPIGenerateTSIGRequest

type GenerateTsigAPIGenerateTSIGRequest struct {
	ApiService GenerateTsigAPI
	// contains filtered or unexported fields
}

func (GenerateTsigAPIGenerateTSIGRequest) Algorithm

The TSIG key algorithm. Valid values are: * _hmac_sha256_ * _hmac_sha1_ * _hmac_sha224_ * _hmac_sha384_ * _hmac_sha512_ Defaults to _hmac_sha256_.

func (GenerateTsigAPIGenerateTSIGRequest) Execute

type GenerateTsigAPIService

type GenerateTsigAPIService internal.Service

GenerateTsigAPIService GenerateTsigAPI service

func (*GenerateTsigAPIService) GenerateTSIG

GenerateTSIG Generate TSIG key with a random secret.

Use this method to generate a TSIG key with a random secret using the specified algorithm.

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

func (*GenerateTsigAPIService) GenerateTSIGExecute

Execute executes the request

@return GenerateTSIGResponse

type KerberosAPI

type KerberosAPI interface {
	/*
			Delete Delete the Kerberos key.

			Use this method to delete a __KerberosKey__ object.
		A __KerberosKey__ object represents a Kerberos key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return KerberosAPIDeleteRequest
	*/
	Delete(ctx context.Context, id string) KerberosAPIDeleteRequest

	// DeleteExecute executes the request
	DeleteExecute(r KerberosAPIDeleteRequest) (*http.Response, error)
	/*
			List Retrieve Kerberos keys.

			Use this method to retrieve __KerberosKey__ objects.
		A __KerberosKey__ object represents a Kerberos key.

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

	// ListExecute executes the request
	//  @return ListKerberosKeyResponse
	ListExecute(r KerberosAPIListRequest) (*ListKerberosKeyResponse, *http.Response, error)
	/*
			Read Retrieve the Kerberos key.

			Use this method to retrieve a __KerberosKey__ object.
		A __KerberosKey__ object represents a Kerberos key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return KerberosAPIReadRequest
	*/
	Read(ctx context.Context, id string) KerberosAPIReadRequest

	// ReadExecute executes the request
	//  @return ReadKerberosKeyResponse
	ReadExecute(r KerberosAPIReadRequest) (*ReadKerberosKeyResponse, *http.Response, error)
	/*
			Update Update the Kerberos key.

			Use this method to update a __KerberosKey__ object.
		A __KerberosKey__ object represents a Kerberos key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return KerberosAPIUpdateRequest
	*/
	Update(ctx context.Context, id string) KerberosAPIUpdateRequest

	// UpdateExecute executes the request
	//  @return UpdateKerberosKeyResponse
	UpdateExecute(r KerberosAPIUpdateRequest) (*UpdateKerberosKeyResponse, *http.Response, error)
}

type KerberosAPIDeleteRequest

type KerberosAPIDeleteRequest struct {
	ApiService KerberosAPI
	// contains filtered or unexported fields
}

func (KerberosAPIDeleteRequest) Execute

func (r KerberosAPIDeleteRequest) Execute() (*http.Response, error)

type KerberosAPIListRequest

type KerberosAPIListRequest struct {
	ApiService KerberosAPI
	// contains filtered or unexported fields
}

func (KerberosAPIListRequest) Execute

func (KerberosAPIListRequest) Fields

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

func (KerberosAPIListRequest) Filter

A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (KerberosAPIListRequest) Limit

The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.

func (KerberosAPIListRequest) Offset

The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.

func (KerberosAPIListRequest) OrderBy

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (KerberosAPIListRequest) PageToken

func (r KerberosAPIListRequest) PageToken(pageToken string) KerberosAPIListRequest

The service-defined string used to identify a page of resources. A null value indicates the first page.

func (KerberosAPIListRequest) Tfilter

This parameter is used for filtering by tags.

func (KerberosAPIListRequest) TorderBy

This parameter is used for sorting by tags.

type KerberosAPIReadRequest

type KerberosAPIReadRequest struct {
	ApiService KerberosAPI
	// contains filtered or unexported fields
}

func (KerberosAPIReadRequest) Execute

func (KerberosAPIReadRequest) Fields

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

type KerberosAPIService

type KerberosAPIService internal.Service

KerberosAPIService KerberosAPI service

func (*KerberosAPIService) Delete

Delete Delete the Kerberos key.

Use this method to delete a __KerberosKey__ object. A __KerberosKey__ object represents a Kerberos key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return KerberosAPIDeleteRequest

func (*KerberosAPIService) DeleteExecute

Execute executes the request

func (*KerberosAPIService) List

List Retrieve Kerberos keys.

Use this method to retrieve __KerberosKey__ objects. A __KerberosKey__ object represents a Kerberos key.

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

func (*KerberosAPIService) ListExecute

Execute executes the request

@return ListKerberosKeyResponse

func (*KerberosAPIService) Read

Read Retrieve the Kerberos key.

Use this method to retrieve a __KerberosKey__ object. A __KerberosKey__ object represents a Kerberos key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return KerberosAPIReadRequest

func (*KerberosAPIService) ReadExecute

Execute executes the request

@return ReadKerberosKeyResponse

func (*KerberosAPIService) Update

Update Update the Kerberos key.

Use this method to update a __KerberosKey__ object. A __KerberosKey__ object represents a Kerberos key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return KerberosAPIUpdateRequest

func (*KerberosAPIService) UpdateExecute

Execute executes the request

@return UpdateKerberosKeyResponse

type KerberosAPIUpdateRequest

type KerberosAPIUpdateRequest struct {
	ApiService KerberosAPI
	// contains filtered or unexported fields
}

func (KerberosAPIUpdateRequest) Body

func (KerberosAPIUpdateRequest) Execute

type KerberosKey

type KerberosKey struct {
	// Encryption algorithm of the key in accordance with RFC 3961.
	Algorithm *string `json:"algorithm,omitempty"`
	// The description for Kerberos key. May contain 0 to 1024 characters. Can include UTF-8.
	Comment *string `json:"comment,omitempty"`
	// Kerberos realm of the principal.
	Domain *string `json:"domain,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// Kerberos principal associated with key.
	Principal *string `json:"principal,omitempty"`
	// The tags for the Kerberos key in JSON format.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// Upload time for the key.
	UploadedAt *string `json:"uploaded_at,omitempty"`
	// The version number (KVNO) of the key.
	Version              *int64 `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

KerberosKey A __Key__ object represents a Kerberos key.

func NewKerberosKey

func NewKerberosKey() *KerberosKey

NewKerberosKey instantiates a new KerberosKey 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 NewKerberosKeyWithDefaults

func NewKerberosKeyWithDefaults() *KerberosKey

NewKerberosKeyWithDefaults instantiates a new KerberosKey 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 (*KerberosKey) GetAlgorithm

func (o *KerberosKey) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*KerberosKey) GetAlgorithmOk

func (o *KerberosKey) GetAlgorithmOk() (*string, bool)

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

func (*KerberosKey) GetComment

func (o *KerberosKey) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*KerberosKey) GetCommentOk

func (o *KerberosKey) GetCommentOk() (*string, bool)

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

func (*KerberosKey) GetDomain

func (o *KerberosKey) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*KerberosKey) GetDomainOk

func (o *KerberosKey) GetDomainOk() (*string, bool)

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

func (*KerberosKey) GetId

func (o *KerberosKey) GetId() string

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

func (*KerberosKey) GetIdOk

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

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

func (*KerberosKey) GetPrincipal

func (o *KerberosKey) GetPrincipal() string

GetPrincipal returns the Principal field value if set, zero value otherwise.

func (*KerberosKey) GetPrincipalOk

func (o *KerberosKey) GetPrincipalOk() (*string, bool)

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

func (*KerberosKey) GetTags

func (o *KerberosKey) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*KerberosKey) GetTagsOk

func (o *KerberosKey) GetTagsOk() (map[string]interface{}, bool)

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

func (*KerberosKey) GetUploadedAt

func (o *KerberosKey) GetUploadedAt() string

GetUploadedAt returns the UploadedAt field value if set, zero value otherwise.

func (*KerberosKey) GetUploadedAtOk

func (o *KerberosKey) GetUploadedAtOk() (*string, bool)

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

func (*KerberosKey) GetVersion

func (o *KerberosKey) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*KerberosKey) GetVersionOk

func (o *KerberosKey) GetVersionOk() (*int64, bool)

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

func (*KerberosKey) HasAlgorithm

func (o *KerberosKey) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*KerberosKey) HasComment

func (o *KerberosKey) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*KerberosKey) HasDomain

func (o *KerberosKey) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*KerberosKey) HasId

func (o *KerberosKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*KerberosKey) HasPrincipal

func (o *KerberosKey) HasPrincipal() bool

HasPrincipal returns a boolean if a field has been set.

func (*KerberosKey) HasTags

func (o *KerberosKey) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*KerberosKey) HasUploadedAt

func (o *KerberosKey) HasUploadedAt() bool

HasUploadedAt returns a boolean if a field has been set.

func (*KerberosKey) HasVersion

func (o *KerberosKey) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (KerberosKey) MarshalJSON

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

func (*KerberosKey) SetAlgorithm

func (o *KerberosKey) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*KerberosKey) SetComment

func (o *KerberosKey) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*KerberosKey) SetDomain

func (o *KerberosKey) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*KerberosKey) SetId

func (o *KerberosKey) SetId(v string)

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

func (*KerberosKey) SetPrincipal

func (o *KerberosKey) SetPrincipal(v string)

SetPrincipal gets a reference to the given string and assigns it to the Principal field.

func (*KerberosKey) SetTags

func (o *KerberosKey) SetTags(v map[string]interface{})

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

func (*KerberosKey) SetUploadedAt

func (o *KerberosKey) SetUploadedAt(v string)

SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field.

func (*KerberosKey) SetVersion

func (o *KerberosKey) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (KerberosKey) ToMap

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

func (*KerberosKey) UnmarshalJSON

func (o *KerberosKey) UnmarshalJSON(data []byte) (err error)

type KerberosKeys

type KerberosKeys struct {
	Items                []KerberosKey `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

KerberosKeys The list of __Key__ objects.

func NewKerberosKeys

func NewKerberosKeys() *KerberosKeys

NewKerberosKeys instantiates a new KerberosKeys 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 NewKerberosKeysWithDefaults

func NewKerberosKeysWithDefaults() *KerberosKeys

NewKerberosKeysWithDefaults instantiates a new KerberosKeys 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 (*KerberosKeys) GetItems

func (o *KerberosKeys) GetItems() []KerberosKey

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

func (*KerberosKeys) GetItemsOk

func (o *KerberosKeys) GetItemsOk() ([]KerberosKey, bool)

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

func (*KerberosKeys) HasItems

func (o *KerberosKeys) HasItems() bool

HasItems returns a boolean if a field has been set.

func (KerberosKeys) MarshalJSON

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

func (*KerberosKeys) SetItems

func (o *KerberosKeys) SetItems(v []KerberosKey)

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

func (KerberosKeys) ToMap

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

func (*KerberosKeys) UnmarshalJSON

func (o *KerberosKeys) UnmarshalJSON(data []byte) (err error)

type ListKerberosKeyResponse

type ListKerberosKeyResponse struct {
	// The list of KerberosKey objects.
	Results              []KerberosKey `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListKerberosKeyResponse The response format to retrieve __KerberosKey__ resources extracted from the uploaded keytab file.

func NewListKerberosKeyResponse

func NewListKerberosKeyResponse() *ListKerberosKeyResponse

NewListKerberosKeyResponse instantiates a new ListKerberosKeyResponse 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 NewListKerberosKeyResponseWithDefaults

func NewListKerberosKeyResponseWithDefaults() *ListKerberosKeyResponse

NewListKerberosKeyResponseWithDefaults instantiates a new ListKerberosKeyResponse 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 (*ListKerberosKeyResponse) GetResults

func (o *ListKerberosKeyResponse) GetResults() []KerberosKey

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

func (*ListKerberosKeyResponse) GetResultsOk

func (o *ListKerberosKeyResponse) GetResultsOk() ([]KerberosKey, 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 (*ListKerberosKeyResponse) HasResults

func (o *ListKerberosKeyResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListKerberosKeyResponse) MarshalJSON

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

func (*ListKerberosKeyResponse) SetResults

func (o *ListKerberosKeyResponse) SetResults(v []KerberosKey)

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

func (ListKerberosKeyResponse) ToMap

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

func (*ListKerberosKeyResponse) UnmarshalJSON

func (o *ListKerberosKeyResponse) UnmarshalJSON(data []byte) (err error)

type ListTSIGKeyResponse

type ListTSIGKeyResponse struct {
	// The list of TSIGKey objects.
	Results              []TSIGKey `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListTSIGKeyResponse The response format to retrieve __TSIGKey__ objects.

func NewListTSIGKeyResponse

func NewListTSIGKeyResponse() *ListTSIGKeyResponse

NewListTSIGKeyResponse instantiates a new ListTSIGKeyResponse 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 NewListTSIGKeyResponseWithDefaults

func NewListTSIGKeyResponseWithDefaults() *ListTSIGKeyResponse

NewListTSIGKeyResponseWithDefaults instantiates a new ListTSIGKeyResponse 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 (*ListTSIGKeyResponse) GetResults

func (o *ListTSIGKeyResponse) GetResults() []TSIGKey

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

func (*ListTSIGKeyResponse) GetResultsOk

func (o *ListTSIGKeyResponse) GetResultsOk() ([]TSIGKey, 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 (*ListTSIGKeyResponse) HasResults

func (o *ListTSIGKeyResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListTSIGKeyResponse) MarshalJSON

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

func (*ListTSIGKeyResponse) SetResults

func (o *ListTSIGKeyResponse) SetResults(v []TSIGKey)

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

func (ListTSIGKeyResponse) ToMap

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

func (*ListTSIGKeyResponse) UnmarshalJSON

func (o *ListTSIGKeyResponse) UnmarshalJSON(data []byte) (err 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 NullableCreateTSIGKeyResponse

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

func (NullableCreateTSIGKeyResponse) Get

func (NullableCreateTSIGKeyResponse) IsSet

func (NullableCreateTSIGKeyResponse) MarshalJSON

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

func (*NullableCreateTSIGKeyResponse) Set

func (*NullableCreateTSIGKeyResponse) UnmarshalJSON

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

func (*NullableCreateTSIGKeyResponse) Unset

func (v *NullableCreateTSIGKeyResponse) Unset()

type NullableDdiuploadResponse

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

func NewNullableDdiuploadResponse

func NewNullableDdiuploadResponse(val *DdiuploadResponse) *NullableDdiuploadResponse

func (NullableDdiuploadResponse) Get

func (NullableDdiuploadResponse) IsSet

func (v NullableDdiuploadResponse) IsSet() bool

func (NullableDdiuploadResponse) MarshalJSON

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

func (*NullableDdiuploadResponse) Set

func (*NullableDdiuploadResponse) UnmarshalJSON

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

func (*NullableDdiuploadResponse) Unset

func (v *NullableDdiuploadResponse) 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 NullableGenerateTSIGResponse

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

func NewNullableGenerateTSIGResponse

func NewNullableGenerateTSIGResponse(val *GenerateTSIGResponse) *NullableGenerateTSIGResponse

func (NullableGenerateTSIGResponse) Get

func (NullableGenerateTSIGResponse) IsSet

func (NullableGenerateTSIGResponse) MarshalJSON

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

func (*NullableGenerateTSIGResponse) Set

func (*NullableGenerateTSIGResponse) UnmarshalJSON

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

func (*NullableGenerateTSIGResponse) Unset

func (v *NullableGenerateTSIGResponse) Unset()

type NullableGenerateTSIGResult

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

func NewNullableGenerateTSIGResult

func NewNullableGenerateTSIGResult(val *GenerateTSIGResult) *NullableGenerateTSIGResult

func (NullableGenerateTSIGResult) Get

func (NullableGenerateTSIGResult) IsSet

func (v NullableGenerateTSIGResult) IsSet() bool

func (NullableGenerateTSIGResult) MarshalJSON

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

func (*NullableGenerateTSIGResult) Set

func (*NullableGenerateTSIGResult) UnmarshalJSON

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

func (*NullableGenerateTSIGResult) Unset

func (v *NullableGenerateTSIGResult) 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 NullableKerberosKey

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

func NewNullableKerberosKey

func NewNullableKerberosKey(val *KerberosKey) *NullableKerberosKey

func (NullableKerberosKey) Get

func (NullableKerberosKey) IsSet

func (v NullableKerberosKey) IsSet() bool

func (NullableKerberosKey) MarshalJSON

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

func (*NullableKerberosKey) Set

func (v *NullableKerberosKey) Set(val *KerberosKey)

func (*NullableKerberosKey) UnmarshalJSON

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

func (*NullableKerberosKey) Unset

func (v *NullableKerberosKey) Unset()

type NullableKerberosKeys

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

func NewNullableKerberosKeys

func NewNullableKerberosKeys(val *KerberosKeys) *NullableKerberosKeys

func (NullableKerberosKeys) Get

func (NullableKerberosKeys) IsSet

func (v NullableKerberosKeys) IsSet() bool

func (NullableKerberosKeys) MarshalJSON

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

func (*NullableKerberosKeys) Set

func (v *NullableKerberosKeys) Set(val *KerberosKeys)

func (*NullableKerberosKeys) UnmarshalJSON

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

func (*NullableKerberosKeys) Unset

func (v *NullableKerberosKeys) Unset()

type NullableListKerberosKeyResponse

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

func (NullableListKerberosKeyResponse) Get

func (NullableListKerberosKeyResponse) IsSet

func (NullableListKerberosKeyResponse) MarshalJSON

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

func (*NullableListKerberosKeyResponse) Set

func (*NullableListKerberosKeyResponse) UnmarshalJSON

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

func (*NullableListKerberosKeyResponse) Unset

type NullableListTSIGKeyResponse

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

func NewNullableListTSIGKeyResponse

func NewNullableListTSIGKeyResponse(val *ListTSIGKeyResponse) *NullableListTSIGKeyResponse

func (NullableListTSIGKeyResponse) Get

func (NullableListTSIGKeyResponse) IsSet

func (NullableListTSIGKeyResponse) MarshalJSON

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

func (*NullableListTSIGKeyResponse) Set

func (*NullableListTSIGKeyResponse) UnmarshalJSON

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

func (*NullableListTSIGKeyResponse) Unset

func (v *NullableListTSIGKeyResponse) Unset()

type NullableProtobufFieldMask

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

func NewNullableProtobufFieldMask

func NewNullableProtobufFieldMask(val *ProtobufFieldMask) *NullableProtobufFieldMask

func (NullableProtobufFieldMask) Get

func (NullableProtobufFieldMask) IsSet

func (v NullableProtobufFieldMask) IsSet() bool

func (NullableProtobufFieldMask) MarshalJSON

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

func (*NullableProtobufFieldMask) Set

func (*NullableProtobufFieldMask) UnmarshalJSON

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

func (*NullableProtobufFieldMask) Unset

func (v *NullableProtobufFieldMask) Unset()

type NullableReadKerberosKeyResponse

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

func (NullableReadKerberosKeyResponse) Get

func (NullableReadKerberosKeyResponse) IsSet

func (NullableReadKerberosKeyResponse) MarshalJSON

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

func (*NullableReadKerberosKeyResponse) Set

func (*NullableReadKerberosKeyResponse) UnmarshalJSON

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

func (*NullableReadKerberosKeyResponse) Unset

type NullableReadTSIGKeyResponse

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

func NewNullableReadTSIGKeyResponse

func NewNullableReadTSIGKeyResponse(val *ReadTSIGKeyResponse) *NullableReadTSIGKeyResponse

func (NullableReadTSIGKeyResponse) Get

func (NullableReadTSIGKeyResponse) IsSet

func (NullableReadTSIGKeyResponse) MarshalJSON

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

func (*NullableReadTSIGKeyResponse) Set

func (*NullableReadTSIGKeyResponse) UnmarshalJSON

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

func (*NullableReadTSIGKeyResponse) Unset

func (v *NullableReadTSIGKeyResponse) 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 NullableTSIGKey

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

func NewNullableTSIGKey

func NewNullableTSIGKey(val *TSIGKey) *NullableTSIGKey

func (NullableTSIGKey) Get

func (v NullableTSIGKey) Get() *TSIGKey

func (NullableTSIGKey) IsSet

func (v NullableTSIGKey) IsSet() bool

func (NullableTSIGKey) MarshalJSON

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

func (*NullableTSIGKey) Set

func (v *NullableTSIGKey) Set(val *TSIGKey)

func (*NullableTSIGKey) UnmarshalJSON

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

func (*NullableTSIGKey) Unset

func (v *NullableTSIGKey) 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 NullableUpdateKerberosKeyResponse

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

func (NullableUpdateKerberosKeyResponse) Get

func (NullableUpdateKerberosKeyResponse) IsSet

func (NullableUpdateKerberosKeyResponse) MarshalJSON

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

func (*NullableUpdateKerberosKeyResponse) Set

func (*NullableUpdateKerberosKeyResponse) UnmarshalJSON

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

func (*NullableUpdateKerberosKeyResponse) Unset

type NullableUpdateTSIGKeyResponse

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

func (NullableUpdateTSIGKeyResponse) Get

func (NullableUpdateTSIGKeyResponse) IsSet

func (NullableUpdateTSIGKeyResponse) MarshalJSON

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

func (*NullableUpdateTSIGKeyResponse) Set

func (*NullableUpdateTSIGKeyResponse) UnmarshalJSON

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

func (*NullableUpdateTSIGKeyResponse) Unset

func (v *NullableUpdateTSIGKeyResponse) Unset()

type NullableUploadContentType

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

func NewNullableUploadContentType

func NewNullableUploadContentType(val *UploadContentType) *NullableUploadContentType

func (NullableUploadContentType) Get

func (NullableUploadContentType) IsSet

func (v NullableUploadContentType) IsSet() bool

func (NullableUploadContentType) MarshalJSON

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

func (*NullableUploadContentType) Set

func (*NullableUploadContentType) UnmarshalJSON

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

func (*NullableUploadContentType) Unset

func (v *NullableUploadContentType) Unset()

type NullableUploadRequest

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

func NewNullableUploadRequest

func NewNullableUploadRequest(val *UploadRequest) *NullableUploadRequest

func (NullableUploadRequest) Get

func (NullableUploadRequest) IsSet

func (v NullableUploadRequest) IsSet() bool

func (NullableUploadRequest) MarshalJSON

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

func (*NullableUploadRequest) Set

func (v *NullableUploadRequest) Set(val *UploadRequest)

func (*NullableUploadRequest) UnmarshalJSON

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

func (*NullableUploadRequest) Unset

func (v *NullableUploadRequest) Unset()

type ProtobufFieldMask

type ProtobufFieldMask struct {
	// The set of field mask paths.
	Paths                []string `json:"paths,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProtobufFieldMask paths: \"f.a\" paths: \"f.b.d\" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to specify a subset of fields that should be returned by a get operation or modified by an update operation. Field masks also have a custom JSON encoding (see below). # Field Masks in Projections When used in the context of a projection, a response message or sub-message is filtered by the API to only contain those fields as specified in the mask. For example, if the mask in the previous example is applied to a response message as follows: f { a : 22 b { d : 1 x : 2 } y : 13 } z: 8 The result will not contain specific values for fields x,y and z (their value will be set to the default, and omitted in proto text output): f { a : 22 b { d : 1 } } A repeated field is not allowed except at the last position of a paths string. If a FieldMask object is not present in a get operation, the operation applies to all fields (as if a FieldMask of all fields had been specified). Note that a field mask does not necessarily apply to the top-level response message. In case of a REST get operation, the field mask applies directly to the response, but in case of a REST list operation, the mask instead applies to each individual message in the returned resource list. In case of a REST custom method, other definitions may be used. Where the mask applies will be clearly documented together with its declaration in the API. In any case, the effect on the returned resource/resources is required behavior for APIs. # Field Masks in Update Operations A field mask in update operations specifies which fields of the targeted resource are going to be updated. The API is required to only change the values of the fields as specified in the mask and leave the others untouched. If a resource is passed in to describe the updated values, the API ignores the values of all fields not covered by the mask. If a repeated field is specified for an update operation, the existing repeated values in the target resource will be overwritten by the new values. Note that a repeated field is only allowed in the last position of a `paths` string. If a sub-message is specified in the last position of the field mask for an update operation, then the existing sub-message in the target resource is overwritten. Given the target message: f { b { d : 1 x : 2 } c : 1 } And an update message: f { b { d : 10 } } then if the field mask is: paths: \"f.b\" then the result will be: f { b { d : 10 } c : 1 } However, if the update mask was: paths: \"f.b.d\" then the result would be: f { b { d : 10 x : 2 } c : 1 } In order to reset a field's value to the default, the field must be in the mask and set to the default value in the provided resource. Hence, in order to reset all fields of a resource, provide a default instance of the resource and set all fields in the mask, or do not provide a mask as described below. If a field mask is not present on update, the operation applies to all fields (as if a field mask of all fields has been specified). Note that in the presence of schema evolution, this may mean that fields the client does not know and has therefore not filled into the request will be reset to their default. If this is unwanted behavior, a specific service may require a client to always specify a field mask, producing an error if not. As with get operations, the location of the resource which describes the updated values in the request message depends on the operation kind. In any case, the effect of the field mask is required to be honored by the API. ## Considerations for HTTP REST The HTTP kind of an update operation which uses a field mask must be set to PATCH instead of PUT in order to satisfy HTTP semantics (PUT must only be used for full updates). # JSON Encoding of Field Masks In JSON, a field mask is encoded as a single string where paths are separated by a comma. Fields name in each path are converted to/from lower-camel naming conventions. As an example, consider the following message declarations: message Profile { User user = 1; Photo photo = 2; } message User { string display_name = 1; string address = 2; } In proto a field mask for `Profile` may look as such: mask { paths: \"user.display_name\" paths: \"photo\" } In JSON, the same mask is represented as below: { mask: \"user.displayName,photo\" } # Field Masks and Oneof Fields Field masks treat fields in oneofs just as regular fields. Consider the following message: message SampleMessage { oneof test_oneof { string name = 4; SubMessage sub_message = 9; } } The field mask can be: mask { paths: \"name\" } Or: mask { paths: \"sub_message\" } Note that oneof type names (\"test_oneof\" in this case) cannot be used in paths. ## Field Mask Verification The implementation of the all the API methods, which have any FieldMask type field in the request, should verify the included field paths, and return `INVALID_ARGUMENT` error if any path is duplicated or unmappable.

func NewProtobufFieldMask

func NewProtobufFieldMask() *ProtobufFieldMask

NewProtobufFieldMask instantiates a new ProtobufFieldMask 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 NewProtobufFieldMaskWithDefaults

func NewProtobufFieldMaskWithDefaults() *ProtobufFieldMask

NewProtobufFieldMaskWithDefaults instantiates a new ProtobufFieldMask 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 (*ProtobufFieldMask) GetPaths

func (o *ProtobufFieldMask) GetPaths() []string

GetPaths returns the Paths field value if set, zero value otherwise.

func (*ProtobufFieldMask) GetPathsOk

func (o *ProtobufFieldMask) GetPathsOk() ([]string, bool)

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

func (*ProtobufFieldMask) HasPaths

func (o *ProtobufFieldMask) HasPaths() bool

HasPaths returns a boolean if a field has been set.

func (ProtobufFieldMask) MarshalJSON

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

func (*ProtobufFieldMask) SetPaths

func (o *ProtobufFieldMask) SetPaths(v []string)

SetPaths gets a reference to the given []string and assigns it to the Paths field.

func (ProtobufFieldMask) ToMap

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

func (*ProtobufFieldMask) UnmarshalJSON

func (o *ProtobufFieldMask) UnmarshalJSON(data []byte) (err error)

type ReadKerberosKeyResponse

type ReadKerberosKeyResponse struct {
	Result               *KerberosKey `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReadKerberosKeyResponse The response format to retrieve the __KerberosKey__ resource extracted from the uploaded keytab file.

func NewReadKerberosKeyResponse

func NewReadKerberosKeyResponse() *ReadKerberosKeyResponse

NewReadKerberosKeyResponse instantiates a new ReadKerberosKeyResponse 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 NewReadKerberosKeyResponseWithDefaults

func NewReadKerberosKeyResponseWithDefaults() *ReadKerberosKeyResponse

NewReadKerberosKeyResponseWithDefaults instantiates a new ReadKerberosKeyResponse 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 (*ReadKerberosKeyResponse) GetResult

func (o *ReadKerberosKeyResponse) GetResult() KerberosKey

GetResult returns the Result field value if set, zero value otherwise.

func (*ReadKerberosKeyResponse) GetResultOk

func (o *ReadKerberosKeyResponse) GetResultOk() (*KerberosKey, bool)

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

func (*ReadKerberosKeyResponse) HasResult

func (o *ReadKerberosKeyResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (ReadKerberosKeyResponse) MarshalJSON

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

func (*ReadKerberosKeyResponse) SetResult

func (o *ReadKerberosKeyResponse) SetResult(v KerberosKey)

SetResult gets a reference to the given KerberosKey and assigns it to the Result field.

func (ReadKerberosKeyResponse) ToMap

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

func (*ReadKerberosKeyResponse) UnmarshalJSON

func (o *ReadKerberosKeyResponse) UnmarshalJSON(data []byte) (err error)

type ReadTSIGKeyResponse

type ReadTSIGKeyResponse struct {
	Result               *TSIGKey `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReadTSIGKeyResponse The response format to retrieve the __TSIGKey__ object.

func NewReadTSIGKeyResponse

func NewReadTSIGKeyResponse() *ReadTSIGKeyResponse

NewReadTSIGKeyResponse instantiates a new ReadTSIGKeyResponse 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 NewReadTSIGKeyResponseWithDefaults

func NewReadTSIGKeyResponseWithDefaults() *ReadTSIGKeyResponse

NewReadTSIGKeyResponseWithDefaults instantiates a new ReadTSIGKeyResponse 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 (*ReadTSIGKeyResponse) GetResult

func (o *ReadTSIGKeyResponse) GetResult() TSIGKey

GetResult returns the Result field value if set, zero value otherwise.

func (*ReadTSIGKeyResponse) GetResultOk

func (o *ReadTSIGKeyResponse) GetResultOk() (*TSIGKey, bool)

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

func (*ReadTSIGKeyResponse) HasResult

func (o *ReadTSIGKeyResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (ReadTSIGKeyResponse) MarshalJSON

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

func (*ReadTSIGKeyResponse) SetResult

func (o *ReadTSIGKeyResponse) SetResult(v TSIGKey)

SetResult gets a reference to the given TSIGKey and assigns it to the Result field.

func (ReadTSIGKeyResponse) ToMap

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

func (*ReadTSIGKeyResponse) UnmarshalJSON

func (o *ReadTSIGKeyResponse) UnmarshalJSON(data []byte) (err error)

type TSIGKey

type TSIGKey struct {
	// The TSIG key algorithm.  Valid values are: * _hmac_sha1_ * _hmac_sha224_ * _hmac_sha256_ * _hmac_sha384_ * _hmac_sha512_  Defaults to _hmac_sha256_.
	Algorithm *string `json:"algorithm,omitempty"`
	// The description for the TSIG key. May contain 0 to 1024 characters. Can include UTF-8.
	Comment *string `json:"comment,omitempty"`
	// Time when the object has been created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// The TSIG key name in the absolute domain name format.
	Name string `json:"name"`
	// The TSIG key name supplied during a create/update operation that is converted to canonical form in punycode.
	ProtocolName *string `json:"protocol_name,omitempty"`
	// The TSIG key secret as a Base64 encoded string.
	Secret string `json:"secret"`
	// The tags for the TSIG key in JSON format.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// Time when the object has been updated. Equals to _created_at_ if not updated after creation.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

TSIGKey A __TSIGKey__ object (_keys/tsig_) represents a TSIG key.

func NewTSIGKey

func NewTSIGKey(name string, secret string) *TSIGKey

NewTSIGKey instantiates a new TSIGKey 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 NewTSIGKeyWithDefaults

func NewTSIGKeyWithDefaults() *TSIGKey

NewTSIGKeyWithDefaults instantiates a new TSIGKey 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 (*TSIGKey) GetAlgorithm

func (o *TSIGKey) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*TSIGKey) GetAlgorithmOk

func (o *TSIGKey) GetAlgorithmOk() (*string, bool)

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

func (*TSIGKey) GetComment

func (o *TSIGKey) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*TSIGKey) GetCommentOk

func (o *TSIGKey) GetCommentOk() (*string, bool)

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

func (*TSIGKey) GetCreatedAt

func (o *TSIGKey) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*TSIGKey) GetCreatedAtOk

func (o *TSIGKey) GetCreatedAtOk() (*time.Time, bool)

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

func (*TSIGKey) GetId

func (o *TSIGKey) GetId() string

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

func (*TSIGKey) GetIdOk

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

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

func (*TSIGKey) GetName

func (o *TSIGKey) GetName() string

GetName returns the Name field value

func (*TSIGKey) GetNameOk

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

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

func (*TSIGKey) GetProtocolName

func (o *TSIGKey) GetProtocolName() string

GetProtocolName returns the ProtocolName field value if set, zero value otherwise.

func (*TSIGKey) GetProtocolNameOk

func (o *TSIGKey) GetProtocolNameOk() (*string, bool)

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

func (*TSIGKey) GetSecret

func (o *TSIGKey) GetSecret() string

GetSecret returns the Secret field value

func (*TSIGKey) GetSecretOk

func (o *TSIGKey) GetSecretOk() (*string, bool)

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

func (*TSIGKey) GetTags

func (o *TSIGKey) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*TSIGKey) GetTagsOk

func (o *TSIGKey) GetTagsOk() (map[string]interface{}, bool)

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

func (*TSIGKey) GetUpdatedAt

func (o *TSIGKey) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*TSIGKey) GetUpdatedAtOk

func (o *TSIGKey) GetUpdatedAtOk() (*time.Time, bool)

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

func (*TSIGKey) HasAlgorithm

func (o *TSIGKey) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*TSIGKey) HasComment

func (o *TSIGKey) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*TSIGKey) HasCreatedAt

func (o *TSIGKey) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*TSIGKey) HasId

func (o *TSIGKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*TSIGKey) HasProtocolName

func (o *TSIGKey) HasProtocolName() bool

HasProtocolName returns a boolean if a field has been set.

func (*TSIGKey) HasTags

func (o *TSIGKey) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*TSIGKey) HasUpdatedAt

func (o *TSIGKey) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (TSIGKey) MarshalJSON

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

func (*TSIGKey) SetAlgorithm

func (o *TSIGKey) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*TSIGKey) SetComment

func (o *TSIGKey) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*TSIGKey) SetCreatedAt

func (o *TSIGKey) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*TSIGKey) SetId

func (o *TSIGKey) SetId(v string)

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

func (*TSIGKey) SetName

func (o *TSIGKey) SetName(v string)

SetName sets field value

func (*TSIGKey) SetProtocolName

func (o *TSIGKey) SetProtocolName(v string)

SetProtocolName gets a reference to the given string and assigns it to the ProtocolName field.

func (*TSIGKey) SetSecret

func (o *TSIGKey) SetSecret(v string)

SetSecret sets field value

func (*TSIGKey) SetTags

func (o *TSIGKey) SetTags(v map[string]interface{})

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

func (*TSIGKey) SetUpdatedAt

func (o *TSIGKey) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (TSIGKey) ToMap

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

func (*TSIGKey) UnmarshalJSON

func (o *TSIGKey) UnmarshalJSON(data []byte) (err error)

type TsigAPI

type TsigAPI interface {
	/*
			Create Create the TSIG key.

			Use this method to create a __TSIGKey__ object.
		A __TSIGKey__ object represents a TSIG key.

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

	// CreateExecute executes the request
	//  @return CreateTSIGKeyResponse
	CreateExecute(r TsigAPICreateRequest) (*CreateTSIGKeyResponse, *http.Response, error)
	/*
			Delete Delete the TSIG key.

			Use this method to delete a __TSIGKey__ object.
		A __TSIGKey__ object represents a TSIG key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return TsigAPIDeleteRequest
	*/
	Delete(ctx context.Context, id string) TsigAPIDeleteRequest

	// DeleteExecute executes the request
	DeleteExecute(r TsigAPIDeleteRequest) (*http.Response, error)
	/*
			List Retrieve TSIG keys.

			Use this method to retrieve __TSIGKey__ objects.
		A __TSIGKey__ object represents a TSIG key.

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

	// ListExecute executes the request
	//  @return ListTSIGKeyResponse
	ListExecute(r TsigAPIListRequest) (*ListTSIGKeyResponse, *http.Response, error)
	/*
			Read Retrieve the TSIG key.

			Use this method to retrieve a __TSIGKey__ object.
		A __TSIGKey__ object represents a TSIG key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return TsigAPIReadRequest
	*/
	Read(ctx context.Context, id string) TsigAPIReadRequest

	// ReadExecute executes the request
	//  @return ReadTSIGKeyResponse
	ReadExecute(r TsigAPIReadRequest) (*ReadTSIGKeyResponse, *http.Response, error)
	/*
			Update Update the TSIG key.

			Use this method to update a __TSIGKey__ object.
		A __TSIGKey__ object represents a TSIG key.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return TsigAPIUpdateRequest
	*/
	Update(ctx context.Context, id string) TsigAPIUpdateRequest

	// UpdateExecute executes the request
	//  @return UpdateTSIGKeyResponse
	UpdateExecute(r TsigAPIUpdateRequest) (*UpdateTSIGKeyResponse, *http.Response, error)
}

type TsigAPICreateRequest

type TsigAPICreateRequest struct {
	ApiService TsigAPI
	// contains filtered or unexported fields
}

func (TsigAPICreateRequest) Body

func (TsigAPICreateRequest) Execute

type TsigAPIDeleteRequest

type TsigAPIDeleteRequest struct {
	ApiService TsigAPI
	// contains filtered or unexported fields
}

func (TsigAPIDeleteRequest) Execute

func (r TsigAPIDeleteRequest) Execute() (*http.Response, error)

type TsigAPIListRequest

type TsigAPIListRequest struct {
	ApiService TsigAPI
	// contains filtered or unexported fields
}

func (TsigAPIListRequest) Execute

func (TsigAPIListRequest) Fields

func (r TsigAPIListRequest) Fields(fields string) TsigAPIListRequest

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

func (TsigAPIListRequest) Filter

func (r TsigAPIListRequest) Filter(filter string) TsigAPIListRequest

A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (TsigAPIListRequest) Limit

The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.

func (TsigAPIListRequest) Offset

func (r TsigAPIListRequest) Offset(offset int32) TsigAPIListRequest

The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.

func (TsigAPIListRequest) OrderBy

func (r TsigAPIListRequest) OrderBy(orderBy string) TsigAPIListRequest

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (TsigAPIListRequest) PageToken

func (r TsigAPIListRequest) PageToken(pageToken string) TsigAPIListRequest

The service-defined string used to identify a page of resources. A null value indicates the first page.

func (TsigAPIListRequest) Tfilter

func (r TsigAPIListRequest) Tfilter(tfilter string) TsigAPIListRequest

This parameter is used for filtering by tags.

func (TsigAPIListRequest) TorderBy

func (r TsigAPIListRequest) TorderBy(torderBy string) TsigAPIListRequest

This parameter is used for sorting by tags.

type TsigAPIReadRequest

type TsigAPIReadRequest struct {
	ApiService TsigAPI
	// contains filtered or unexported fields
}

func (TsigAPIReadRequest) Execute

func (TsigAPIReadRequest) Fields

func (r TsigAPIReadRequest) Fields(fields string) TsigAPIReadRequest

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

type TsigAPIService

type TsigAPIService internal.Service

TsigAPIService TsigAPI service

func (*TsigAPIService) Create

Create Create the TSIG key.

Use this method to create a __TSIGKey__ object. A __TSIGKey__ object represents a TSIG key.

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

func (*TsigAPIService) CreateExecute

Execute executes the request

@return CreateTSIGKeyResponse

func (*TsigAPIService) Delete

Delete Delete the TSIG key.

Use this method to delete a __TSIGKey__ object. A __TSIGKey__ object represents a TSIG key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return TsigAPIDeleteRequest

func (*TsigAPIService) DeleteExecute

func (a *TsigAPIService) DeleteExecute(r TsigAPIDeleteRequest) (*http.Response, error)

Execute executes the request

func (*TsigAPIService) List

List Retrieve TSIG keys.

Use this method to retrieve __TSIGKey__ objects. A __TSIGKey__ object represents a TSIG key.

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

func (*TsigAPIService) ListExecute

Execute executes the request

@return ListTSIGKeyResponse

func (*TsigAPIService) Read

Read Retrieve the TSIG key.

Use this method to retrieve a __TSIGKey__ object. A __TSIGKey__ object represents a TSIG key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return TsigAPIReadRequest

func (*TsigAPIService) ReadExecute

Execute executes the request

@return ReadTSIGKeyResponse

func (*TsigAPIService) Update

Update Update the TSIG key.

Use this method to update a __TSIGKey__ object. A __TSIGKey__ object represents a TSIG key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return TsigAPIUpdateRequest

func (*TsigAPIService) UpdateExecute

Execute executes the request

@return UpdateTSIGKeyResponse

type TsigAPIUpdateRequest

type TsigAPIUpdateRequest struct {
	ApiService TsigAPI
	// contains filtered or unexported fields
}

func (TsigAPIUpdateRequest) Body

func (TsigAPIUpdateRequest) Execute

type UpdateKerberosKeyResponse

type UpdateKerberosKeyResponse struct {
	Result               *KerberosKey `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateKerberosKeyResponse The response format to update __KerberosKey__ resource extracted from the uploaded keytab file.

func NewUpdateKerberosKeyResponse

func NewUpdateKerberosKeyResponse() *UpdateKerberosKeyResponse

NewUpdateKerberosKeyResponse instantiates a new UpdateKerberosKeyResponse 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 NewUpdateKerberosKeyResponseWithDefaults

func NewUpdateKerberosKeyResponseWithDefaults() *UpdateKerberosKeyResponse

NewUpdateKerberosKeyResponseWithDefaults instantiates a new UpdateKerberosKeyResponse 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 (*UpdateKerberosKeyResponse) GetResult

func (o *UpdateKerberosKeyResponse) GetResult() KerberosKey

GetResult returns the Result field value if set, zero value otherwise.

func (*UpdateKerberosKeyResponse) GetResultOk

func (o *UpdateKerberosKeyResponse) GetResultOk() (*KerberosKey, bool)

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

func (*UpdateKerberosKeyResponse) HasResult

func (o *UpdateKerberosKeyResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (UpdateKerberosKeyResponse) MarshalJSON

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

func (*UpdateKerberosKeyResponse) SetResult

func (o *UpdateKerberosKeyResponse) SetResult(v KerberosKey)

SetResult gets a reference to the given KerberosKey and assigns it to the Result field.

func (UpdateKerberosKeyResponse) ToMap

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

func (*UpdateKerberosKeyResponse) UnmarshalJSON

func (o *UpdateKerberosKeyResponse) UnmarshalJSON(data []byte) (err error)

type UpdateTSIGKeyResponse

type UpdateTSIGKeyResponse struct {
	Result               *TSIGKey `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateTSIGKeyResponse The response format to update __TSIGKey__ object.

func NewUpdateTSIGKeyResponse

func NewUpdateTSIGKeyResponse() *UpdateTSIGKeyResponse

NewUpdateTSIGKeyResponse instantiates a new UpdateTSIGKeyResponse 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 NewUpdateTSIGKeyResponseWithDefaults

func NewUpdateTSIGKeyResponseWithDefaults() *UpdateTSIGKeyResponse

NewUpdateTSIGKeyResponseWithDefaults instantiates a new UpdateTSIGKeyResponse 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 (*UpdateTSIGKeyResponse) GetResult

func (o *UpdateTSIGKeyResponse) GetResult() TSIGKey

GetResult returns the Result field value if set, zero value otherwise.

func (*UpdateTSIGKeyResponse) GetResultOk

func (o *UpdateTSIGKeyResponse) GetResultOk() (*TSIGKey, bool)

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

func (*UpdateTSIGKeyResponse) HasResult

func (o *UpdateTSIGKeyResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (UpdateTSIGKeyResponse) MarshalJSON

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

func (*UpdateTSIGKeyResponse) SetResult

func (o *UpdateTSIGKeyResponse) SetResult(v TSIGKey)

SetResult gets a reference to the given TSIGKey and assigns it to the Result field.

func (UpdateTSIGKeyResponse) ToMap

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

func (*UpdateTSIGKeyResponse) UnmarshalJSON

func (o *UpdateTSIGKeyResponse) UnmarshalJSON(data []byte) (err error)

type UploadAPI

type UploadAPI interface {
	/*
		Upload Upload content to the keys service.

		Use this method to upload specified content type to the keys service.

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

	// UploadExecute executes the request
	//  @return DdiuploadResponse
	UploadExecute(r UploadAPIUploadRequest) (*DdiuploadResponse, *http.Response, error)
}

type UploadAPIService

type UploadAPIService internal.Service

UploadAPIService UploadAPI service

func (*UploadAPIService) Upload

Upload Upload content to the keys service.

Use this method to upload specified content type to the keys service.

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

func (*UploadAPIService) UploadExecute

Execute executes the request

@return DdiuploadResponse

type UploadAPIUploadRequest

type UploadAPIUploadRequest struct {
	ApiService UploadAPI
	// contains filtered or unexported fields
}

func (UploadAPIUploadRequest) Body

func (UploadAPIUploadRequest) Execute

type UploadContentType

type UploadContentType string

UploadContentType - UNKNOWN: Unknown type. - KEYTAB: Keytab file containing Kerberos keys.

const (
	UPLOADCONTENTTYPE_UNKNOWN UploadContentType = "UNKNOWN"
	UPLOADCONTENTTYPE_KEYTAB  UploadContentType = "KEYTAB"
)

List of uploadContentType

func NewUploadContentTypeFromValue

func NewUploadContentTypeFromValue(v string) (*UploadContentType, error)

NewUploadContentTypeFromValue returns a pointer to a valid UploadContentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (UploadContentType) IsValid

func (v UploadContentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (UploadContentType) Ptr

Ptr returns reference to uploadContentType value

func (*UploadContentType) UnmarshalJSON

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

type UploadRequest

type UploadRequest struct {
	// The description for uploaded content. May contain 0 to 1024 characters. Can include UTF-8.
	Comment *string `json:"comment,omitempty"`
	// Base64 encoded content.
	Content string             `json:"content"`
	Fields  *ProtobufFieldMask `json:"fields,omitempty"`
	// The tags for uploaded content in JSON format.
	Tags                 map[string]interface{} `json:"tags,omitempty"`
	Type                 UploadContentType      `json:"type"`
	AdditionalProperties map[string]interface{}
}

UploadRequest The request format for uploading content.

func NewUploadRequest

func NewUploadRequest(content string, type_ UploadContentType) *UploadRequest

NewUploadRequest instantiates a new UploadRequest 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 NewUploadRequestWithDefaults

func NewUploadRequestWithDefaults() *UploadRequest

NewUploadRequestWithDefaults instantiates a new UploadRequest 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 (*UploadRequest) GetComment

func (o *UploadRequest) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*UploadRequest) GetCommentOk

func (o *UploadRequest) GetCommentOk() (*string, bool)

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

func (*UploadRequest) GetContent

func (o *UploadRequest) GetContent() string

GetContent returns the Content field value

func (*UploadRequest) GetContentOk

func (o *UploadRequest) GetContentOk() (*string, bool)

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

func (*UploadRequest) GetFields

func (o *UploadRequest) GetFields() ProtobufFieldMask

GetFields returns the Fields field value if set, zero value otherwise.

func (*UploadRequest) GetFieldsOk

func (o *UploadRequest) GetFieldsOk() (*ProtobufFieldMask, bool)

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

func (*UploadRequest) GetTags

func (o *UploadRequest) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*UploadRequest) GetTagsOk

func (o *UploadRequest) GetTagsOk() (map[string]interface{}, bool)

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

func (*UploadRequest) GetType

func (o *UploadRequest) GetType() UploadContentType

GetType returns the Type field value

func (*UploadRequest) GetTypeOk

func (o *UploadRequest) GetTypeOk() (*UploadContentType, bool)

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

func (*UploadRequest) HasComment

func (o *UploadRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*UploadRequest) HasFields

func (o *UploadRequest) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*UploadRequest) HasTags

func (o *UploadRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UploadRequest) MarshalJSON

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

func (*UploadRequest) SetComment

func (o *UploadRequest) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*UploadRequest) SetContent

func (o *UploadRequest) SetContent(v string)

SetContent sets field value

func (*UploadRequest) SetFields

func (o *UploadRequest) SetFields(v ProtobufFieldMask)

SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field.

func (*UploadRequest) SetTags

func (o *UploadRequest) SetTags(v map[string]interface{})

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

func (*UploadRequest) SetType

func (o *UploadRequest) SetType(v UploadContentType)

SetType sets field value

func (UploadRequest) ToMap

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

func (*UploadRequest) UnmarshalJSON

func (o *UploadRequest) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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