openapi

package
v0.0.0-...-8f85093 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 20 Imported by: 3

README

Go API client for openapi

maestro Service API

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: 0.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost:8000

Class Method HTTP request Description
DefaultApi ApiMaestroV1ConsumersGet Get /api/maestro/v1/consumers Returns a list of consumers
DefaultApi ApiMaestroV1ConsumersIdDelete Delete /api/maestro/v1/consumers/{id} Delete a consumer
DefaultApi ApiMaestroV1ConsumersIdGet Get /api/maestro/v1/consumers/{id} Get an consumer by id
DefaultApi ApiMaestroV1ConsumersIdPatch Patch /api/maestro/v1/consumers/{id} Update an consumer
DefaultApi ApiMaestroV1ConsumersPost Post /api/maestro/v1/consumers Create a new consumer
DefaultApi ApiMaestroV1ResourceBundlesGet Get /api/maestro/v1/resource-bundles Returns a list of resource bundles
DefaultApi ApiMaestroV1ResourceBundlesIdGet Get /api/maestro/v1/resource-bundles/{id} Get an resource bundle by id
DefaultApi ApiMaestroV1ResourcesGet Get /api/maestro/v1/resources Returns a list of resources
DefaultApi ApiMaestroV1ResourcesIdDelete Delete /api/maestro/v1/resources/{id} Delete a resource
DefaultApi ApiMaestroV1ResourcesIdGet Get /api/maestro/v1/resources/{id} Get an resource by id
DefaultApi ApiMaestroV1ResourcesIdPatch Patch /api/maestro/v1/resources/{id} Update an resource
DefaultApi ApiMaestroV1ResourcesPost Post /api/maestro/v1/resources Create a new resource

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Bearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultApi *DefaultApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the maestro Service API API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiApiMaestroV1ConsumersGetRequest

type ApiApiMaestroV1ConsumersGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ConsumersGetRequest) Execute

func (ApiApiMaestroV1ConsumersGetRequest) Fields

Supplies a comma-separated list of fields to be returned. Fields of sub-structures and of arrays use <structure>.<field> notation. <stucture>.* means all field of a structure Example: For each Subscription to get id, href, plan(id and kind) and labels (all fields) ``` ocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true ```

func (ApiApiMaestroV1ConsumersGetRequest) OrderBy

Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the _order by_ clause of an SQL statement, but using the names of the json attributes / column of the account. For example, in order to retrieve all accounts ordered by username: ```sql username asc ``` Or in order to retrieve all accounts ordered by username _and_ first name: ```sql username asc, firstName asc ``` If the parameter isn't provided, or if the value is empty, then no explicit ordering will be applied.

func (ApiApiMaestroV1ConsumersGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiMaestroV1ConsumersGetRequest) Search

Specifies the search criteria. The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, using the names of the json attributes / column names of the account. For example, in order to retrieve all the accounts with a username starting with `my`: ```sql username like 'my%' ``` The search criteria can also be applied on related resource. For example, in order to retrieve all the subscriptions labeled by `foo=bar`, ```sql subscription_labels.key = 'foo' and subscription_labels.value = 'bar' ``` If the parameter isn't provided, or if the value is empty, then all the accounts that the user has permission to see will be returned.

func (ApiApiMaestroV1ConsumersGetRequest) Size

Maximum number of records to return

type ApiApiMaestroV1ConsumersIdDeleteRequest

type ApiApiMaestroV1ConsumersIdDeleteRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ConsumersIdDeleteRequest) Execute

type ApiApiMaestroV1ConsumersIdGetRequest

type ApiApiMaestroV1ConsumersIdGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ConsumersIdGetRequest) Execute

type ApiApiMaestroV1ConsumersIdPatchRequest

type ApiApiMaestroV1ConsumersIdPatchRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ConsumersIdPatchRequest) ConsumerPatchRequest

Updated consumer data

func (ApiApiMaestroV1ConsumersIdPatchRequest) Execute

type ApiApiMaestroV1ConsumersPostRequest

type ApiApiMaestroV1ConsumersPostRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ConsumersPostRequest) Consumer

Consumer data

func (ApiApiMaestroV1ConsumersPostRequest) Execute

type ApiApiMaestroV1ResourceBundlesGetRequest

type ApiApiMaestroV1ResourceBundlesGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourceBundlesGetRequest) Execute

func (ApiApiMaestroV1ResourceBundlesGetRequest) Fields

Supplies a comma-separated list of fields to be returned. Fields of sub-structures and of arrays use <structure>.<field> notation. <stucture>.* means all field of a structure Example: For each Subscription to get id, href, plan(id and kind) and labels (all fields) ``` ocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true ```

func (ApiApiMaestroV1ResourceBundlesGetRequest) OrderBy

Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the _order by_ clause of an SQL statement, but using the names of the json attributes / column of the account. For example, in order to retrieve all accounts ordered by username: ```sql username asc ``` Or in order to retrieve all accounts ordered by username _and_ first name: ```sql username asc, firstName asc ``` If the parameter isn't provided, or if the value is empty, then no explicit ordering will be applied.

func (ApiApiMaestroV1ResourceBundlesGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiMaestroV1ResourceBundlesGetRequest) Search

Specifies the search criteria. The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, using the names of the json attributes / column names of the account. For example, in order to retrieve all the accounts with a username starting with `my`: ```sql username like 'my%' ``` The search criteria can also be applied on related resource. For example, in order to retrieve all the subscriptions labeled by `foo=bar`, ```sql subscription_labels.key = 'foo' and subscription_labels.value = 'bar' ``` If the parameter isn't provided, or if the value is empty, then all the accounts that the user has permission to see will be returned.

func (ApiApiMaestroV1ResourceBundlesGetRequest) Size

Maximum number of records to return

type ApiApiMaestroV1ResourceBundlesIdGetRequest

type ApiApiMaestroV1ResourceBundlesIdGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourceBundlesIdGetRequest) Execute

type ApiApiMaestroV1ResourcesGetRequest

type ApiApiMaestroV1ResourcesGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourcesGetRequest) Execute

func (ApiApiMaestroV1ResourcesGetRequest) Fields

Supplies a comma-separated list of fields to be returned. Fields of sub-structures and of arrays use <structure>.<field> notation. <stucture>.* means all field of a structure Example: For each Subscription to get id, href, plan(id and kind) and labels (all fields) ``` ocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true ```

func (ApiApiMaestroV1ResourcesGetRequest) OrderBy

Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the _order by_ clause of an SQL statement, but using the names of the json attributes / column of the account. For example, in order to retrieve all accounts ordered by username: ```sql username asc ``` Or in order to retrieve all accounts ordered by username _and_ first name: ```sql username asc, firstName asc ``` If the parameter isn't provided, or if the value is empty, then no explicit ordering will be applied.

func (ApiApiMaestroV1ResourcesGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiMaestroV1ResourcesGetRequest) Search

Specifies the search criteria. The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, using the names of the json attributes / column names of the account. For example, in order to retrieve all the accounts with a username starting with `my`: ```sql username like 'my%' ``` The search criteria can also be applied on related resource. For example, in order to retrieve all the subscriptions labeled by `foo=bar`, ```sql subscription_labels.key = 'foo' and subscription_labels.value = 'bar' ``` If the parameter isn't provided, or if the value is empty, then all the accounts that the user has permission to see will be returned.

func (ApiApiMaestroV1ResourcesGetRequest) Size

Maximum number of records to return

type ApiApiMaestroV1ResourcesIdDeleteRequest

type ApiApiMaestroV1ResourcesIdDeleteRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourcesIdDeleteRequest) Execute

type ApiApiMaestroV1ResourcesIdGetRequest

type ApiApiMaestroV1ResourcesIdGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourcesIdGetRequest) Execute

type ApiApiMaestroV1ResourcesIdPatchRequest

type ApiApiMaestroV1ResourcesIdPatchRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourcesIdPatchRequest) Execute

func (ApiApiMaestroV1ResourcesIdPatchRequest) ResourcePatchRequest

Updated resource data

type ApiApiMaestroV1ResourcesPostRequest

type ApiApiMaestroV1ResourcesPostRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiApiMaestroV1ResourcesPostRequest) Execute

func (ApiApiMaestroV1ResourcesPostRequest) Resource

Resource data

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Consumer

type Consumer struct {
	Id        *string            `json:"id,omitempty"`
	Kind      *string            `json:"kind,omitempty"`
	Href      *string            `json:"href,omitempty"`
	Name      *string            `json:"name,omitempty"`
	Labels    *map[string]string `json:"labels,omitempty"`
	CreatedAt *time.Time         `json:"created_at,omitempty"`
	UpdatedAt *time.Time         `json:"updated_at,omitempty"`
}

Consumer struct for Consumer

func NewConsumer

func NewConsumer() *Consumer

NewConsumer instantiates a new Consumer 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 NewConsumerWithDefaults

func NewConsumerWithDefaults() *Consumer

NewConsumerWithDefaults instantiates a new Consumer 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 (*Consumer) GetCreatedAt

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

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

func (*Consumer) GetCreatedAtOk

func (o *Consumer) 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 (*Consumer) GetHref

func (o *Consumer) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Consumer) GetHrefOk

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

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

func (*Consumer) GetId

func (o *Consumer) GetId() string

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

func (*Consumer) GetIdOk

func (o *Consumer) 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 (*Consumer) GetKind

func (o *Consumer) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Consumer) GetKindOk

func (o *Consumer) GetKindOk() (*string, bool)

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

func (*Consumer) GetLabels

func (o *Consumer) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Consumer) GetLabelsOk

func (o *Consumer) GetLabelsOk() (*map[string]string, bool)

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

func (*Consumer) GetName

func (o *Consumer) GetName() string

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

func (*Consumer) GetNameOk

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

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

func (*Consumer) GetUpdatedAt

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

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

func (*Consumer) GetUpdatedAtOk

func (o *Consumer) 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 (*Consumer) HasCreatedAt

func (o *Consumer) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Consumer) HasHref

func (o *Consumer) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Consumer) HasId

func (o *Consumer) HasId() bool

HasId returns a boolean if a field has been set.

func (*Consumer) HasKind

func (o *Consumer) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Consumer) HasLabels

func (o *Consumer) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Consumer) HasName

func (o *Consumer) HasName() bool

HasName returns a boolean if a field has been set.

func (*Consumer) HasUpdatedAt

func (o *Consumer) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Consumer) MarshalJSON

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

func (*Consumer) SetCreatedAt

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

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

func (*Consumer) SetHref

func (o *Consumer) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Consumer) SetId

func (o *Consumer) SetId(v string)

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

func (*Consumer) SetKind

func (o *Consumer) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Consumer) SetLabels

func (o *Consumer) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Consumer) SetName

func (o *Consumer) SetName(v string)

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

func (*Consumer) SetUpdatedAt

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

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

func (Consumer) ToMap

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

type ConsumerAllOf

type ConsumerAllOf struct {
	Name      *string            `json:"name,omitempty"`
	Labels    *map[string]string `json:"labels,omitempty"`
	CreatedAt *time.Time         `json:"created_at,omitempty"`
	UpdatedAt *time.Time         `json:"updated_at,omitempty"`
}

ConsumerAllOf struct for ConsumerAllOf

func NewConsumerAllOf

func NewConsumerAllOf() *ConsumerAllOf

NewConsumerAllOf instantiates a new ConsumerAllOf 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 NewConsumerAllOfWithDefaults

func NewConsumerAllOfWithDefaults() *ConsumerAllOf

NewConsumerAllOfWithDefaults instantiates a new ConsumerAllOf 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 (*ConsumerAllOf) GetCreatedAt

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

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

func (*ConsumerAllOf) GetCreatedAtOk

func (o *ConsumerAllOf) 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 (*ConsumerAllOf) GetLabels

func (o *ConsumerAllOf) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ConsumerAllOf) GetLabelsOk

func (o *ConsumerAllOf) GetLabelsOk() (*map[string]string, bool)

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

func (*ConsumerAllOf) GetName

func (o *ConsumerAllOf) GetName() string

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

func (*ConsumerAllOf) GetNameOk

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

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

func (*ConsumerAllOf) GetUpdatedAt

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

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

func (*ConsumerAllOf) GetUpdatedAtOk

func (o *ConsumerAllOf) 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 (*ConsumerAllOf) HasCreatedAt

func (o *ConsumerAllOf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ConsumerAllOf) HasLabels

func (o *ConsumerAllOf) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ConsumerAllOf) HasName

func (o *ConsumerAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*ConsumerAllOf) HasUpdatedAt

func (o *ConsumerAllOf) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ConsumerAllOf) MarshalJSON

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

func (*ConsumerAllOf) SetCreatedAt

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

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

func (*ConsumerAllOf) SetLabels

func (o *ConsumerAllOf) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*ConsumerAllOf) SetName

func (o *ConsumerAllOf) SetName(v string)

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

func (*ConsumerAllOf) SetUpdatedAt

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

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

func (ConsumerAllOf) ToMap

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

type ConsumerList

type ConsumerList struct {
	Kind  string     `json:"kind"`
	Page  int32      `json:"page"`
	Size  int32      `json:"size"`
	Total int32      `json:"total"`
	Items []Consumer `json:"items"`
}

ConsumerList struct for ConsumerList

func NewConsumerList

func NewConsumerList(kind string, page int32, size int32, total int32, items []Consumer) *ConsumerList

NewConsumerList instantiates a new ConsumerList 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 NewConsumerListWithDefaults

func NewConsumerListWithDefaults() *ConsumerList

NewConsumerListWithDefaults instantiates a new ConsumerList 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 (*ConsumerList) GetItems

func (o *ConsumerList) GetItems() []Consumer

GetItems returns the Items field value

func (*ConsumerList) GetItemsOk

func (o *ConsumerList) GetItemsOk() ([]Consumer, bool)

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

func (*ConsumerList) GetKind

func (o *ConsumerList) GetKind() string

GetKind returns the Kind field value

func (*ConsumerList) GetKindOk

func (o *ConsumerList) GetKindOk() (*string, bool)

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

func (*ConsumerList) GetPage

func (o *ConsumerList) GetPage() int32

GetPage returns the Page field value

func (*ConsumerList) GetPageOk

func (o *ConsumerList) GetPageOk() (*int32, bool)

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

func (*ConsumerList) GetSize

func (o *ConsumerList) GetSize() int32

GetSize returns the Size field value

func (*ConsumerList) GetSizeOk

func (o *ConsumerList) GetSizeOk() (*int32, bool)

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

func (*ConsumerList) GetTotal

func (o *ConsumerList) GetTotal() int32

GetTotal returns the Total field value

func (*ConsumerList) GetTotalOk

func (o *ConsumerList) GetTotalOk() (*int32, bool)

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

func (ConsumerList) MarshalJSON

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

func (*ConsumerList) SetItems

func (o *ConsumerList) SetItems(v []Consumer)

SetItems sets field value

func (*ConsumerList) SetKind

func (o *ConsumerList) SetKind(v string)

SetKind sets field value

func (*ConsumerList) SetPage

func (o *ConsumerList) SetPage(v int32)

SetPage sets field value

func (*ConsumerList) SetSize

func (o *ConsumerList) SetSize(v int32)

SetSize sets field value

func (*ConsumerList) SetTotal

func (o *ConsumerList) SetTotal(v int32)

SetTotal sets field value

func (ConsumerList) ToMap

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

type ConsumerListAllOf

type ConsumerListAllOf struct {
	Items []Consumer `json:"items,omitempty"`
}

ConsumerListAllOf struct for ConsumerListAllOf

func NewConsumerListAllOf

func NewConsumerListAllOf() *ConsumerListAllOf

NewConsumerListAllOf instantiates a new ConsumerListAllOf 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 NewConsumerListAllOfWithDefaults

func NewConsumerListAllOfWithDefaults() *ConsumerListAllOf

NewConsumerListAllOfWithDefaults instantiates a new ConsumerListAllOf 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 (*ConsumerListAllOf) GetItems

func (o *ConsumerListAllOf) GetItems() []Consumer

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

func (*ConsumerListAllOf) GetItemsOk

func (o *ConsumerListAllOf) GetItemsOk() ([]Consumer, 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 (*ConsumerListAllOf) HasItems

func (o *ConsumerListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ConsumerListAllOf) MarshalJSON

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

func (*ConsumerListAllOf) SetItems

func (o *ConsumerListAllOf) SetItems(v []Consumer)

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

func (ConsumerListAllOf) ToMap

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

type ConsumerPatchRequest

type ConsumerPatchRequest struct {
	Labels *map[string]string `json:"labels,omitempty"`
}

ConsumerPatchRequest struct for ConsumerPatchRequest

func NewConsumerPatchRequest

func NewConsumerPatchRequest() *ConsumerPatchRequest

NewConsumerPatchRequest instantiates a new ConsumerPatchRequest 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 NewConsumerPatchRequestWithDefaults

func NewConsumerPatchRequestWithDefaults() *ConsumerPatchRequest

NewConsumerPatchRequestWithDefaults instantiates a new ConsumerPatchRequest 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 (*ConsumerPatchRequest) GetLabels

func (o *ConsumerPatchRequest) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ConsumerPatchRequest) GetLabelsOk

func (o *ConsumerPatchRequest) GetLabelsOk() (*map[string]string, bool)

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

func (*ConsumerPatchRequest) HasLabels

func (o *ConsumerPatchRequest) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (ConsumerPatchRequest) MarshalJSON

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

func (*ConsumerPatchRequest) SetLabels

func (o *ConsumerPatchRequest) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (ConsumerPatchRequest) ToMap

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

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) ApiMaestroV1ConsumersGet

func (a *DefaultApiService) ApiMaestroV1ConsumersGet(ctx context.Context) ApiApiMaestroV1ConsumersGetRequest

ApiMaestroV1ConsumersGet Returns a list of consumers

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

func (*DefaultApiService) ApiMaestroV1ConsumersGetExecute

func (a *DefaultApiService) ApiMaestroV1ConsumersGetExecute(r ApiApiMaestroV1ConsumersGetRequest) (*ConsumerList, *http.Response, error)

Execute executes the request

@return ConsumerList

func (*DefaultApiService) ApiMaestroV1ConsumersIdDelete

func (a *DefaultApiService) ApiMaestroV1ConsumersIdDelete(ctx context.Context, id string) ApiApiMaestroV1ConsumersIdDeleteRequest

ApiMaestroV1ConsumersIdDelete Delete a consumer

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

func (*DefaultApiService) ApiMaestroV1ConsumersIdDeleteExecute

func (a *DefaultApiService) ApiMaestroV1ConsumersIdDeleteExecute(r ApiApiMaestroV1ConsumersIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultApiService) ApiMaestroV1ConsumersIdGet

func (a *DefaultApiService) ApiMaestroV1ConsumersIdGet(ctx context.Context, id string) ApiApiMaestroV1ConsumersIdGetRequest

ApiMaestroV1ConsumersIdGet Get an consumer by id

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

func (*DefaultApiService) ApiMaestroV1ConsumersIdGetExecute

func (a *DefaultApiService) ApiMaestroV1ConsumersIdGetExecute(r ApiApiMaestroV1ConsumersIdGetRequest) (*Consumer, *http.Response, error)

Execute executes the request

@return Consumer

func (*DefaultApiService) ApiMaestroV1ConsumersIdPatch

func (a *DefaultApiService) ApiMaestroV1ConsumersIdPatch(ctx context.Context, id string) ApiApiMaestroV1ConsumersIdPatchRequest

ApiMaestroV1ConsumersIdPatch Update an consumer

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

func (*DefaultApiService) ApiMaestroV1ConsumersIdPatchExecute

func (a *DefaultApiService) ApiMaestroV1ConsumersIdPatchExecute(r ApiApiMaestroV1ConsumersIdPatchRequest) (*Consumer, *http.Response, error)

Execute executes the request

@return Consumer

func (*DefaultApiService) ApiMaestroV1ConsumersPost

func (a *DefaultApiService) ApiMaestroV1ConsumersPost(ctx context.Context) ApiApiMaestroV1ConsumersPostRequest

ApiMaestroV1ConsumersPost Create a new consumer

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

func (*DefaultApiService) ApiMaestroV1ConsumersPostExecute

func (a *DefaultApiService) ApiMaestroV1ConsumersPostExecute(r ApiApiMaestroV1ConsumersPostRequest) (*Consumer, *http.Response, error)

Execute executes the request

@return Consumer

func (*DefaultApiService) ApiMaestroV1ResourceBundlesGet

func (a *DefaultApiService) ApiMaestroV1ResourceBundlesGet(ctx context.Context) ApiApiMaestroV1ResourceBundlesGetRequest

ApiMaestroV1ResourceBundlesGet Returns a list of resource bundles

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

func (*DefaultApiService) ApiMaestroV1ResourceBundlesGetExecute

func (a *DefaultApiService) ApiMaestroV1ResourceBundlesGetExecute(r ApiApiMaestroV1ResourceBundlesGetRequest) (*ResourceBundleList, *http.Response, error)

Execute executes the request

@return ResourceBundleList

func (*DefaultApiService) ApiMaestroV1ResourceBundlesIdGet

func (a *DefaultApiService) ApiMaestroV1ResourceBundlesIdGet(ctx context.Context, id string) ApiApiMaestroV1ResourceBundlesIdGetRequest

ApiMaestroV1ResourceBundlesIdGet Get an resource bundle by id

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

func (*DefaultApiService) ApiMaestroV1ResourceBundlesIdGetExecute

func (a *DefaultApiService) ApiMaestroV1ResourceBundlesIdGetExecute(r ApiApiMaestroV1ResourceBundlesIdGetRequest) (*ResourceBundle, *http.Response, error)

Execute executes the request

@return ResourceBundle

func (*DefaultApiService) ApiMaestroV1ResourcesGet

func (a *DefaultApiService) ApiMaestroV1ResourcesGet(ctx context.Context) ApiApiMaestroV1ResourcesGetRequest

ApiMaestroV1ResourcesGet Returns a list of resources

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

func (*DefaultApiService) ApiMaestroV1ResourcesGetExecute

func (a *DefaultApiService) ApiMaestroV1ResourcesGetExecute(r ApiApiMaestroV1ResourcesGetRequest) (*ResourceList, *http.Response, error)

Execute executes the request

@return ResourceList

func (*DefaultApiService) ApiMaestroV1ResourcesIdDelete

func (a *DefaultApiService) ApiMaestroV1ResourcesIdDelete(ctx context.Context, id string) ApiApiMaestroV1ResourcesIdDeleteRequest

ApiMaestroV1ResourcesIdDelete Delete a resource

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

func (*DefaultApiService) ApiMaestroV1ResourcesIdDeleteExecute

func (a *DefaultApiService) ApiMaestroV1ResourcesIdDeleteExecute(r ApiApiMaestroV1ResourcesIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultApiService) ApiMaestroV1ResourcesIdGet

func (a *DefaultApiService) ApiMaestroV1ResourcesIdGet(ctx context.Context, id string) ApiApiMaestroV1ResourcesIdGetRequest

ApiMaestroV1ResourcesIdGet Get an resource by id

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

func (*DefaultApiService) ApiMaestroV1ResourcesIdGetExecute

func (a *DefaultApiService) ApiMaestroV1ResourcesIdGetExecute(r ApiApiMaestroV1ResourcesIdGetRequest) (*Resource, *http.Response, error)

Execute executes the request

@return Resource

func (*DefaultApiService) ApiMaestroV1ResourcesIdPatch

func (a *DefaultApiService) ApiMaestroV1ResourcesIdPatch(ctx context.Context, id string) ApiApiMaestroV1ResourcesIdPatchRequest

ApiMaestroV1ResourcesIdPatch Update an resource

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

func (*DefaultApiService) ApiMaestroV1ResourcesIdPatchExecute

func (a *DefaultApiService) ApiMaestroV1ResourcesIdPatchExecute(r ApiApiMaestroV1ResourcesIdPatchRequest) (*Resource, *http.Response, error)

Execute executes the request

@return Resource

func (*DefaultApiService) ApiMaestroV1ResourcesPost

func (a *DefaultApiService) ApiMaestroV1ResourcesPost(ctx context.Context) ApiApiMaestroV1ResourcesPostRequest

ApiMaestroV1ResourcesPost Create a new resource

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

func (*DefaultApiService) ApiMaestroV1ResourcesPostExecute

func (a *DefaultApiService) ApiMaestroV1ResourcesPostExecute(r ApiApiMaestroV1ResourcesPostRequest) (*Resource, *http.Response, error)

Execute executes the request

@return Resource

type Error

type Error struct {
	Id          *string `json:"id,omitempty"`
	Kind        *string `json:"kind,omitempty"`
	Href        *string `json:"href,omitempty"`
	Code        *string `json:"code,omitempty"`
	Reason      *string `json:"reason,omitempty"`
	OperationId *string `json:"operation_id,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCode

func (o *Error) GetCode() string

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

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*string, bool)

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

func (*Error) GetHref

func (o *Error) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Error) GetHrefOk

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

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

func (*Error) GetId

func (o *Error) GetId() string

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

func (*Error) GetIdOk

func (o *Error) 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 (*Error) GetKind

func (o *Error) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Error) GetKindOk

func (o *Error) GetKindOk() (*string, bool)

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

func (*Error) GetOperationId

func (o *Error) GetOperationId() string

GetOperationId returns the OperationId field value if set, zero value otherwise.

func (*Error) GetOperationIdOk

func (o *Error) GetOperationIdOk() (*string, bool)

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

func (*Error) GetReason

func (o *Error) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*Error) GetReasonOk

func (o *Error) GetReasonOk() (*string, bool)

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

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasHref

func (o *Error) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Error) HasId

func (o *Error) HasId() bool

HasId returns a boolean if a field has been set.

func (*Error) HasKind

func (o *Error) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Error) HasOperationId

func (o *Error) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

func (*Error) HasReason

func (o *Error) HasReason() bool

HasReason returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCode

func (o *Error) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error) SetHref

func (o *Error) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Error) SetId

func (o *Error) SetId(v string)

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

func (*Error) SetKind

func (o *Error) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Error) SetOperationId

func (o *Error) SetOperationId(v string)

SetOperationId gets a reference to the given string and assigns it to the OperationId field.

func (*Error) SetReason

func (o *Error) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (Error) ToMap

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

type ErrorAllOf

type ErrorAllOf struct {
	Code        *string `json:"code,omitempty"`
	Reason      *string `json:"reason,omitempty"`
	OperationId *string `json:"operation_id,omitempty"`
}

ErrorAllOf struct for ErrorAllOf

func NewErrorAllOf

func NewErrorAllOf() *ErrorAllOf

NewErrorAllOf instantiates a new ErrorAllOf 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 NewErrorAllOfWithDefaults

func NewErrorAllOfWithDefaults() *ErrorAllOf

NewErrorAllOfWithDefaults instantiates a new ErrorAllOf 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 (*ErrorAllOf) GetCode

func (o *ErrorAllOf) GetCode() string

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

func (*ErrorAllOf) GetCodeOk

func (o *ErrorAllOf) GetCodeOk() (*string, bool)

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

func (*ErrorAllOf) GetOperationId

func (o *ErrorAllOf) GetOperationId() string

GetOperationId returns the OperationId field value if set, zero value otherwise.

func (*ErrorAllOf) GetOperationIdOk

func (o *ErrorAllOf) GetOperationIdOk() (*string, bool)

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

func (*ErrorAllOf) GetReason

func (o *ErrorAllOf) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*ErrorAllOf) GetReasonOk

func (o *ErrorAllOf) GetReasonOk() (*string, bool)

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

func (*ErrorAllOf) HasCode

func (o *ErrorAllOf) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorAllOf) HasOperationId

func (o *ErrorAllOf) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

func (*ErrorAllOf) HasReason

func (o *ErrorAllOf) HasReason() bool

HasReason returns a boolean if a field has been set.

func (ErrorAllOf) MarshalJSON

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

func (*ErrorAllOf) SetCode

func (o *ErrorAllOf) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ErrorAllOf) SetOperationId

func (o *ErrorAllOf) SetOperationId(v string)

SetOperationId gets a reference to the given string and assigns it to the OperationId field.

func (*ErrorAllOf) SetReason

func (o *ErrorAllOf) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (ErrorAllOf) ToMap

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

type ErrorList

type ErrorList struct {
	Kind  string  `json:"kind"`
	Page  int32   `json:"page"`
	Size  int32   `json:"size"`
	Total int32   `json:"total"`
	Items []Error `json:"items"`
}

ErrorList struct for ErrorList

func NewErrorList

func NewErrorList(kind string, page int32, size int32, total int32, items []Error) *ErrorList

NewErrorList instantiates a new ErrorList 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 NewErrorListWithDefaults

func NewErrorListWithDefaults() *ErrorList

NewErrorListWithDefaults instantiates a new ErrorList 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 (*ErrorList) GetItems

func (o *ErrorList) GetItems() []Error

GetItems returns the Items field value

func (*ErrorList) GetItemsOk

func (o *ErrorList) GetItemsOk() ([]Error, bool)

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

func (*ErrorList) GetKind

func (o *ErrorList) GetKind() string

GetKind returns the Kind field value

func (*ErrorList) GetKindOk

func (o *ErrorList) GetKindOk() (*string, bool)

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

func (*ErrorList) GetPage

func (o *ErrorList) GetPage() int32

GetPage returns the Page field value

func (*ErrorList) GetPageOk

func (o *ErrorList) GetPageOk() (*int32, bool)

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

func (*ErrorList) GetSize

func (o *ErrorList) GetSize() int32

GetSize returns the Size field value

func (*ErrorList) GetSizeOk

func (o *ErrorList) GetSizeOk() (*int32, bool)

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

func (*ErrorList) GetTotal

func (o *ErrorList) GetTotal() int32

GetTotal returns the Total field value

func (*ErrorList) GetTotalOk

func (o *ErrorList) GetTotalOk() (*int32, bool)

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

func (ErrorList) MarshalJSON

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

func (*ErrorList) SetItems

func (o *ErrorList) SetItems(v []Error)

SetItems sets field value

func (*ErrorList) SetKind

func (o *ErrorList) SetKind(v string)

SetKind sets field value

func (*ErrorList) SetPage

func (o *ErrorList) SetPage(v int32)

SetPage sets field value

func (*ErrorList) SetSize

func (o *ErrorList) SetSize(v int32)

SetSize sets field value

func (*ErrorList) SetTotal

func (o *ErrorList) SetTotal(v int32)

SetTotal sets field value

func (ErrorList) ToMap

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

type ErrorListAllOf

type ErrorListAllOf struct {
	Items []Error `json:"items,omitempty"`
}

ErrorListAllOf struct for ErrorListAllOf

func NewErrorListAllOf

func NewErrorListAllOf() *ErrorListAllOf

NewErrorListAllOf instantiates a new ErrorListAllOf 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 NewErrorListAllOfWithDefaults

func NewErrorListAllOfWithDefaults() *ErrorListAllOf

NewErrorListAllOfWithDefaults instantiates a new ErrorListAllOf 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 (*ErrorListAllOf) GetItems

func (o *ErrorListAllOf) GetItems() []Error

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

func (*ErrorListAllOf) GetItemsOk

func (o *ErrorListAllOf) GetItemsOk() ([]Error, 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 (*ErrorListAllOf) HasItems

func (o *ErrorListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ErrorListAllOf) MarshalJSON

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

func (*ErrorListAllOf) SetItems

func (o *ErrorListAllOf) SetItems(v []Error)

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

func (ErrorListAllOf) ToMap

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type List

type List struct {
	Kind  string `json:"kind"`
	Page  int32  `json:"page"`
	Size  int32  `json:"size"`
	Total int32  `json:"total"`
}

List struct for List

func NewList

func NewList(kind string, page int32, size int32, total int32) *List

NewList instantiates a new List 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 NewListWithDefaults

func NewListWithDefaults() *List

NewListWithDefaults instantiates a new List 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 (*List) GetKind

func (o *List) GetKind() string

GetKind returns the Kind field value

func (*List) GetKindOk

func (o *List) GetKindOk() (*string, bool)

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

func (*List) GetPage

func (o *List) GetPage() int32

GetPage returns the Page field value

func (*List) GetPageOk

func (o *List) GetPageOk() (*int32, bool)

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

func (*List) GetSize

func (o *List) GetSize() int32

GetSize returns the Size field value

func (*List) GetSizeOk

func (o *List) GetSizeOk() (*int32, bool)

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

func (*List) GetTotal

func (o *List) GetTotal() int32

GetTotal returns the Total field value

func (*List) GetTotalOk

func (o *List) GetTotalOk() (*int32, bool)

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

func (List) MarshalJSON

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

func (*List) SetKind

func (o *List) SetKind(v string)

SetKind sets field value

func (*List) SetPage

func (o *List) SetPage(v int32)

SetPage sets field value

func (*List) SetSize

func (o *List) SetSize(v int32)

SetSize sets field value

func (*List) SetTotal

func (o *List) SetTotal(v int32)

SetTotal sets field value

func (List) ToMap

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

type MappedNullable

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableConsumer

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

func NewNullableConsumer

func NewNullableConsumer(val *Consumer) *NullableConsumer

func (NullableConsumer) Get

func (v NullableConsumer) Get() *Consumer

func (NullableConsumer) IsSet

func (v NullableConsumer) IsSet() bool

func (NullableConsumer) MarshalJSON

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

func (*NullableConsumer) Set

func (v *NullableConsumer) Set(val *Consumer)

func (*NullableConsumer) UnmarshalJSON

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

func (*NullableConsumer) Unset

func (v *NullableConsumer) Unset()

type NullableConsumerAllOf

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

func NewNullableConsumerAllOf

func NewNullableConsumerAllOf(val *ConsumerAllOf) *NullableConsumerAllOf

func (NullableConsumerAllOf) Get

func (NullableConsumerAllOf) IsSet

func (v NullableConsumerAllOf) IsSet() bool

func (NullableConsumerAllOf) MarshalJSON

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

func (*NullableConsumerAllOf) Set

func (v *NullableConsumerAllOf) Set(val *ConsumerAllOf)

func (*NullableConsumerAllOf) UnmarshalJSON

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

func (*NullableConsumerAllOf) Unset

func (v *NullableConsumerAllOf) Unset()

type NullableConsumerList

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

func NewNullableConsumerList

func NewNullableConsumerList(val *ConsumerList) *NullableConsumerList

func (NullableConsumerList) Get

func (NullableConsumerList) IsSet

func (v NullableConsumerList) IsSet() bool

func (NullableConsumerList) MarshalJSON

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

func (*NullableConsumerList) Set

func (v *NullableConsumerList) Set(val *ConsumerList)

func (*NullableConsumerList) UnmarshalJSON

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

func (*NullableConsumerList) Unset

func (v *NullableConsumerList) Unset()

type NullableConsumerListAllOf

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

func NewNullableConsumerListAllOf

func NewNullableConsumerListAllOf(val *ConsumerListAllOf) *NullableConsumerListAllOf

func (NullableConsumerListAllOf) Get

func (NullableConsumerListAllOf) IsSet

func (v NullableConsumerListAllOf) IsSet() bool

func (NullableConsumerListAllOf) MarshalJSON

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

func (*NullableConsumerListAllOf) Set

func (*NullableConsumerListAllOf) UnmarshalJSON

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

func (*NullableConsumerListAllOf) Unset

func (v *NullableConsumerListAllOf) Unset()

type NullableConsumerPatchRequest

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

func NewNullableConsumerPatchRequest

func NewNullableConsumerPatchRequest(val *ConsumerPatchRequest) *NullableConsumerPatchRequest

func (NullableConsumerPatchRequest) Get

func (NullableConsumerPatchRequest) IsSet

func (NullableConsumerPatchRequest) MarshalJSON

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

func (*NullableConsumerPatchRequest) Set

func (*NullableConsumerPatchRequest) UnmarshalJSON

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

func (*NullableConsumerPatchRequest) Unset

func (v *NullableConsumerPatchRequest) Unset()

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

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

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorAllOf

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

func NewNullableErrorAllOf

func NewNullableErrorAllOf(val *ErrorAllOf) *NullableErrorAllOf

func (NullableErrorAllOf) Get

func (v NullableErrorAllOf) Get() *ErrorAllOf

func (NullableErrorAllOf) IsSet

func (v NullableErrorAllOf) IsSet() bool

func (NullableErrorAllOf) MarshalJSON

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

func (*NullableErrorAllOf) Set

func (v *NullableErrorAllOf) Set(val *ErrorAllOf)

func (*NullableErrorAllOf) UnmarshalJSON

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

func (*NullableErrorAllOf) Unset

func (v *NullableErrorAllOf) Unset()

type NullableErrorList

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

func NewNullableErrorList

func NewNullableErrorList(val *ErrorList) *NullableErrorList

func (NullableErrorList) Get

func (v NullableErrorList) Get() *ErrorList

func (NullableErrorList) IsSet

func (v NullableErrorList) IsSet() bool

func (NullableErrorList) MarshalJSON

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

func (*NullableErrorList) Set

func (v *NullableErrorList) Set(val *ErrorList)

func (*NullableErrorList) UnmarshalJSON

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

func (*NullableErrorList) Unset

func (v *NullableErrorList) Unset()

type NullableErrorListAllOf

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

func NewNullableErrorListAllOf

func NewNullableErrorListAllOf(val *ErrorListAllOf) *NullableErrorListAllOf

func (NullableErrorListAllOf) Get

func (NullableErrorListAllOf) IsSet

func (v NullableErrorListAllOf) IsSet() bool

func (NullableErrorListAllOf) MarshalJSON

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

func (*NullableErrorListAllOf) Set

func (*NullableErrorListAllOf) UnmarshalJSON

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

func (*NullableErrorListAllOf) Unset

func (v *NullableErrorListAllOf) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableList

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

func NewNullableList

func NewNullableList(val *List) *NullableList

func (NullableList) Get

func (v NullableList) Get() *List

func (NullableList) IsSet

func (v NullableList) IsSet() bool

func (NullableList) MarshalJSON

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

func (*NullableList) Set

func (v *NullableList) Set(val *List)

func (*NullableList) UnmarshalJSON

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

func (*NullableList) Unset

func (v *NullableList) Unset()

type NullableObjectReference

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

func NewNullableObjectReference

func NewNullableObjectReference(val *ObjectReference) *NullableObjectReference

func (NullableObjectReference) Get

func (NullableObjectReference) IsSet

func (v NullableObjectReference) IsSet() bool

func (NullableObjectReference) MarshalJSON

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

func (*NullableObjectReference) Set

func (*NullableObjectReference) UnmarshalJSON

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

func (*NullableObjectReference) Unset

func (v *NullableObjectReference) Unset()

type NullableResource

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

func NewNullableResource

func NewNullableResource(val *Resource) *NullableResource

func (NullableResource) Get

func (v NullableResource) Get() *Resource

func (NullableResource) IsSet

func (v NullableResource) IsSet() bool

func (NullableResource) MarshalJSON

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

func (*NullableResource) Set

func (v *NullableResource) Set(val *Resource)

func (*NullableResource) UnmarshalJSON

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

func (*NullableResource) Unset

func (v *NullableResource) Unset()

type NullableResourceAllOf

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

func NewNullableResourceAllOf

func NewNullableResourceAllOf(val *ResourceAllOf) *NullableResourceAllOf

func (NullableResourceAllOf) Get

func (NullableResourceAllOf) IsSet

func (v NullableResourceAllOf) IsSet() bool

func (NullableResourceAllOf) MarshalJSON

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

func (*NullableResourceAllOf) Set

func (v *NullableResourceAllOf) Set(val *ResourceAllOf)

func (*NullableResourceAllOf) UnmarshalJSON

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

func (*NullableResourceAllOf) Unset

func (v *NullableResourceAllOf) Unset()

type NullableResourceBundle

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

func NewNullableResourceBundle

func NewNullableResourceBundle(val *ResourceBundle) *NullableResourceBundle

func (NullableResourceBundle) Get

func (NullableResourceBundle) IsSet

func (v NullableResourceBundle) IsSet() bool

func (NullableResourceBundle) MarshalJSON

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

func (*NullableResourceBundle) Set

func (*NullableResourceBundle) UnmarshalJSON

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

func (*NullableResourceBundle) Unset

func (v *NullableResourceBundle) Unset()

type NullableResourceBundleAllOf

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

func NewNullableResourceBundleAllOf

func NewNullableResourceBundleAllOf(val *ResourceBundleAllOf) *NullableResourceBundleAllOf

func (NullableResourceBundleAllOf) Get

func (NullableResourceBundleAllOf) IsSet

func (NullableResourceBundleAllOf) MarshalJSON

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

func (*NullableResourceBundleAllOf) Set

func (*NullableResourceBundleAllOf) UnmarshalJSON

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

func (*NullableResourceBundleAllOf) Unset

func (v *NullableResourceBundleAllOf) Unset()

type NullableResourceBundleList

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

func NewNullableResourceBundleList

func NewNullableResourceBundleList(val *ResourceBundleList) *NullableResourceBundleList

func (NullableResourceBundleList) Get

func (NullableResourceBundleList) IsSet

func (v NullableResourceBundleList) IsSet() bool

func (NullableResourceBundleList) MarshalJSON

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

func (*NullableResourceBundleList) Set

func (*NullableResourceBundleList) UnmarshalJSON

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

func (*NullableResourceBundleList) Unset

func (v *NullableResourceBundleList) Unset()

type NullableResourceBundleListAllOf

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

func (NullableResourceBundleListAllOf) Get

func (NullableResourceBundleListAllOf) IsSet

func (NullableResourceBundleListAllOf) MarshalJSON

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

func (*NullableResourceBundleListAllOf) Set

func (*NullableResourceBundleListAllOf) UnmarshalJSON

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

func (*NullableResourceBundleListAllOf) Unset

type NullableResourceList

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

func NewNullableResourceList

func NewNullableResourceList(val *ResourceList) *NullableResourceList

func (NullableResourceList) Get

func (NullableResourceList) IsSet

func (v NullableResourceList) IsSet() bool

func (NullableResourceList) MarshalJSON

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

func (*NullableResourceList) Set

func (v *NullableResourceList) Set(val *ResourceList)

func (*NullableResourceList) UnmarshalJSON

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

func (*NullableResourceList) Unset

func (v *NullableResourceList) Unset()

type NullableResourceListAllOf

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

func NewNullableResourceListAllOf

func NewNullableResourceListAllOf(val *ResourceListAllOf) *NullableResourceListAllOf

func (NullableResourceListAllOf) Get

func (NullableResourceListAllOf) IsSet

func (v NullableResourceListAllOf) IsSet() bool

func (NullableResourceListAllOf) MarshalJSON

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

func (*NullableResourceListAllOf) Set

func (*NullableResourceListAllOf) UnmarshalJSON

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

func (*NullableResourceListAllOf) Unset

func (v *NullableResourceListAllOf) Unset()

type NullableResourcePatchRequest

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

func NewNullableResourcePatchRequest

func NewNullableResourcePatchRequest(val *ResourcePatchRequest) *NullableResourcePatchRequest

func (NullableResourcePatchRequest) Get

func (NullableResourcePatchRequest) IsSet

func (NullableResourcePatchRequest) MarshalJSON

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

func (*NullableResourcePatchRequest) Set

func (*NullableResourcePatchRequest) UnmarshalJSON

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

func (*NullableResourcePatchRequest) Unset

func (v *NullableResourcePatchRequest) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ObjectReference

type ObjectReference struct {
	Id   *string `json:"id,omitempty"`
	Kind *string `json:"kind,omitempty"`
	Href *string `json:"href,omitempty"`
}

ObjectReference struct for ObjectReference

func NewObjectReference

func NewObjectReference() *ObjectReference

NewObjectReference instantiates a new ObjectReference 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 NewObjectReferenceWithDefaults

func NewObjectReferenceWithDefaults() *ObjectReference

NewObjectReferenceWithDefaults instantiates a new ObjectReference 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 (*ObjectReference) GetHref

func (o *ObjectReference) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*ObjectReference) GetHrefOk

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

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

func (*ObjectReference) GetId

func (o *ObjectReference) GetId() string

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

func (*ObjectReference) GetIdOk

func (o *ObjectReference) 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 (*ObjectReference) GetKind

func (o *ObjectReference) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ObjectReference) GetKindOk

func (o *ObjectReference) GetKindOk() (*string, bool)

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

func (*ObjectReference) HasHref

func (o *ObjectReference) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ObjectReference) HasId

func (o *ObjectReference) HasId() bool

HasId returns a boolean if a field has been set.

func (*ObjectReference) HasKind

func (o *ObjectReference) HasKind() bool

HasKind returns a boolean if a field has been set.

func (ObjectReference) MarshalJSON

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

func (*ObjectReference) SetHref

func (o *ObjectReference) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ObjectReference) SetId

func (o *ObjectReference) SetId(v string)

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

func (*ObjectReference) SetKind

func (o *ObjectReference) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (ObjectReference) ToMap

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

type Resource

type Resource struct {
	Id             *string                `json:"id,omitempty"`
	Kind           *string                `json:"kind,omitempty"`
	Href           *string                `json:"href,omitempty"`
	Name           *string                `json:"name,omitempty"`
	ConsumerName   *string                `json:"consumer_name,omitempty"`
	Version        *int32                 `json:"version,omitempty"`
	CreatedAt      *time.Time             `json:"created_at,omitempty"`
	UpdatedAt      *time.Time             `json:"updated_at,omitempty"`
	DeletedAt      *time.Time             `json:"deleted_at,omitempty"`
	Manifest       map[string]interface{} `json:"manifest,omitempty"`
	DeleteOption   map[string]interface{} `json:"delete_option,omitempty"`
	UpdateStrategy map[string]interface{} `json:"update_strategy,omitempty"`
	Status         map[string]interface{} `json:"status,omitempty"`
}

Resource struct for Resource

func NewResource

func NewResource() *Resource

NewResource instantiates a new Resource 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 NewResourceWithDefaults

func NewResourceWithDefaults() *Resource

NewResourceWithDefaults instantiates a new Resource 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 (*Resource) GetConsumerName

func (o *Resource) GetConsumerName() string

GetConsumerName returns the ConsumerName field value if set, zero value otherwise.

func (*Resource) GetConsumerNameOk

func (o *Resource) GetConsumerNameOk() (*string, bool)

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

func (*Resource) GetCreatedAt

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

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

func (*Resource) GetCreatedAtOk

func (o *Resource) 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 (*Resource) GetDeleteOption

func (o *Resource) GetDeleteOption() map[string]interface{}

GetDeleteOption returns the DeleteOption field value if set, zero value otherwise.

func (*Resource) GetDeleteOptionOk

func (o *Resource) GetDeleteOptionOk() (map[string]interface{}, bool)

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

func (*Resource) GetDeletedAt

func (o *Resource) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Resource) GetDeletedAtOk

func (o *Resource) GetDeletedAtOk() (*time.Time, bool)

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

func (*Resource) GetHref

func (o *Resource) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Resource) GetHrefOk

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

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

func (*Resource) GetId

func (o *Resource) GetId() string

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

func (*Resource) GetIdOk

func (o *Resource) 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 (*Resource) GetKind

func (o *Resource) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Resource) GetKindOk

func (o *Resource) GetKindOk() (*string, bool)

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

func (*Resource) GetManifest

func (o *Resource) GetManifest() map[string]interface{}

GetManifest returns the Manifest field value if set, zero value otherwise.

func (*Resource) GetManifestOk

func (o *Resource) GetManifestOk() (map[string]interface{}, bool)

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

func (*Resource) GetName

func (o *Resource) GetName() string

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

func (*Resource) GetNameOk

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

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

func (*Resource) GetStatus

func (o *Resource) GetStatus() map[string]interface{}

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

func (*Resource) GetStatusOk

func (o *Resource) GetStatusOk() (map[string]interface{}, bool)

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

func (*Resource) GetUpdateStrategy

func (o *Resource) GetUpdateStrategy() map[string]interface{}

GetUpdateStrategy returns the UpdateStrategy field value if set, zero value otherwise.

func (*Resource) GetUpdateStrategyOk

func (o *Resource) GetUpdateStrategyOk() (map[string]interface{}, bool)

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

func (*Resource) GetUpdatedAt

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

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

func (*Resource) GetUpdatedAtOk

func (o *Resource) 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 (*Resource) GetVersion

func (o *Resource) GetVersion() int32

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

func (*Resource) GetVersionOk

func (o *Resource) GetVersionOk() (*int32, 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 (*Resource) HasConsumerName

func (o *Resource) HasConsumerName() bool

HasConsumerName returns a boolean if a field has been set.

func (*Resource) HasCreatedAt

func (o *Resource) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Resource) HasDeleteOption

func (o *Resource) HasDeleteOption() bool

HasDeleteOption returns a boolean if a field has been set.

func (*Resource) HasDeletedAt

func (o *Resource) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Resource) HasHref

func (o *Resource) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Resource) HasId

func (o *Resource) HasId() bool

HasId returns a boolean if a field has been set.

func (*Resource) HasKind

func (o *Resource) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Resource) HasManifest

func (o *Resource) HasManifest() bool

HasManifest returns a boolean if a field has been set.

func (*Resource) HasName

func (o *Resource) HasName() bool

HasName returns a boolean if a field has been set.

func (*Resource) HasStatus

func (o *Resource) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Resource) HasUpdateStrategy

func (o *Resource) HasUpdateStrategy() bool

HasUpdateStrategy returns a boolean if a field has been set.

func (*Resource) HasUpdatedAt

func (o *Resource) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Resource) HasVersion

func (o *Resource) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Resource) MarshalJSON

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

func (*Resource) SetConsumerName

func (o *Resource) SetConsumerName(v string)

SetConsumerName gets a reference to the given string and assigns it to the ConsumerName field.

func (*Resource) SetCreatedAt

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

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

func (*Resource) SetDeleteOption

func (o *Resource) SetDeleteOption(v map[string]interface{})

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

func (*Resource) SetDeletedAt

func (o *Resource) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Resource) SetHref

func (o *Resource) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Resource) SetId

func (o *Resource) SetId(v string)

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

func (*Resource) SetKind

func (o *Resource) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Resource) SetManifest

func (o *Resource) SetManifest(v map[string]interface{})

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

func (*Resource) SetName

func (o *Resource) SetName(v string)

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

func (*Resource) SetStatus

func (o *Resource) SetStatus(v map[string]interface{})

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

func (*Resource) SetUpdateStrategy

func (o *Resource) SetUpdateStrategy(v map[string]interface{})

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

func (*Resource) SetUpdatedAt

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

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

func (*Resource) SetVersion

func (o *Resource) SetVersion(v int32)

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

func (Resource) ToMap

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

type ResourceAllOf

type ResourceAllOf struct {
	Name           *string                `json:"name,omitempty"`
	ConsumerName   *string                `json:"consumer_name,omitempty"`
	Version        *int32                 `json:"version,omitempty"`
	CreatedAt      *time.Time             `json:"created_at,omitempty"`
	UpdatedAt      *time.Time             `json:"updated_at,omitempty"`
	DeletedAt      *time.Time             `json:"deleted_at,omitempty"`
	Manifest       map[string]interface{} `json:"manifest,omitempty"`
	DeleteOption   map[string]interface{} `json:"delete_option,omitempty"`
	UpdateStrategy map[string]interface{} `json:"update_strategy,omitempty"`
	Status         map[string]interface{} `json:"status,omitempty"`
}

ResourceAllOf struct for ResourceAllOf

func NewResourceAllOf

func NewResourceAllOf() *ResourceAllOf

NewResourceAllOf instantiates a new ResourceAllOf 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 NewResourceAllOfWithDefaults

func NewResourceAllOfWithDefaults() *ResourceAllOf

NewResourceAllOfWithDefaults instantiates a new ResourceAllOf 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 (*ResourceAllOf) GetConsumerName

func (o *ResourceAllOf) GetConsumerName() string

GetConsumerName returns the ConsumerName field value if set, zero value otherwise.

func (*ResourceAllOf) GetConsumerNameOk

func (o *ResourceAllOf) GetConsumerNameOk() (*string, bool)

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

func (*ResourceAllOf) GetCreatedAt

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

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

func (*ResourceAllOf) GetCreatedAtOk

func (o *ResourceAllOf) 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 (*ResourceAllOf) GetDeleteOption

func (o *ResourceAllOf) GetDeleteOption() map[string]interface{}

GetDeleteOption returns the DeleteOption field value if set, zero value otherwise.

func (*ResourceAllOf) GetDeleteOptionOk

func (o *ResourceAllOf) GetDeleteOptionOk() (map[string]interface{}, bool)

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

func (*ResourceAllOf) GetDeletedAt

func (o *ResourceAllOf) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ResourceAllOf) GetDeletedAtOk

func (o *ResourceAllOf) GetDeletedAtOk() (*time.Time, bool)

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

func (*ResourceAllOf) GetManifest

func (o *ResourceAllOf) GetManifest() map[string]interface{}

GetManifest returns the Manifest field value if set, zero value otherwise.

func (*ResourceAllOf) GetManifestOk

func (o *ResourceAllOf) GetManifestOk() (map[string]interface{}, bool)

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

func (*ResourceAllOf) GetName

func (o *ResourceAllOf) GetName() string

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

func (*ResourceAllOf) GetNameOk

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

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

func (*ResourceAllOf) GetStatus

func (o *ResourceAllOf) GetStatus() map[string]interface{}

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

func (*ResourceAllOf) GetStatusOk

func (o *ResourceAllOf) GetStatusOk() (map[string]interface{}, bool)

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

func (*ResourceAllOf) GetUpdateStrategy

func (o *ResourceAllOf) GetUpdateStrategy() map[string]interface{}

GetUpdateStrategy returns the UpdateStrategy field value if set, zero value otherwise.

func (*ResourceAllOf) GetUpdateStrategyOk

func (o *ResourceAllOf) GetUpdateStrategyOk() (map[string]interface{}, bool)

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

func (*ResourceAllOf) GetUpdatedAt

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

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

func (*ResourceAllOf) GetUpdatedAtOk

func (o *ResourceAllOf) 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 (*ResourceAllOf) GetVersion

func (o *ResourceAllOf) GetVersion() int32

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

func (*ResourceAllOf) GetVersionOk

func (o *ResourceAllOf) GetVersionOk() (*int32, 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 (*ResourceAllOf) HasConsumerName

func (o *ResourceAllOf) HasConsumerName() bool

HasConsumerName returns a boolean if a field has been set.

func (*ResourceAllOf) HasCreatedAt

func (o *ResourceAllOf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ResourceAllOf) HasDeleteOption

func (o *ResourceAllOf) HasDeleteOption() bool

HasDeleteOption returns a boolean if a field has been set.

func (*ResourceAllOf) HasDeletedAt

func (o *ResourceAllOf) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ResourceAllOf) HasManifest

func (o *ResourceAllOf) HasManifest() bool

HasManifest returns a boolean if a field has been set.

func (*ResourceAllOf) HasName

func (o *ResourceAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceAllOf) HasStatus

func (o *ResourceAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResourceAllOf) HasUpdateStrategy

func (o *ResourceAllOf) HasUpdateStrategy() bool

HasUpdateStrategy returns a boolean if a field has been set.

func (*ResourceAllOf) HasUpdatedAt

func (o *ResourceAllOf) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ResourceAllOf) HasVersion

func (o *ResourceAllOf) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ResourceAllOf) MarshalJSON

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

func (*ResourceAllOf) SetConsumerName

func (o *ResourceAllOf) SetConsumerName(v string)

SetConsumerName gets a reference to the given string and assigns it to the ConsumerName field.

func (*ResourceAllOf) SetCreatedAt

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

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

func (*ResourceAllOf) SetDeleteOption

func (o *ResourceAllOf) SetDeleteOption(v map[string]interface{})

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

func (*ResourceAllOf) SetDeletedAt

func (o *ResourceAllOf) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ResourceAllOf) SetManifest

func (o *ResourceAllOf) SetManifest(v map[string]interface{})

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

func (*ResourceAllOf) SetName

func (o *ResourceAllOf) SetName(v string)

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

func (*ResourceAllOf) SetStatus

func (o *ResourceAllOf) SetStatus(v map[string]interface{})

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

func (*ResourceAllOf) SetUpdateStrategy

func (o *ResourceAllOf) SetUpdateStrategy(v map[string]interface{})

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

func (*ResourceAllOf) SetUpdatedAt

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

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

func (*ResourceAllOf) SetVersion

func (o *ResourceAllOf) SetVersion(v int32)

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

func (ResourceAllOf) ToMap

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

type ResourceBundle

type ResourceBundle struct {
	Id              *string                  `json:"id,omitempty"`
	Kind            *string                  `json:"kind,omitempty"`
	Href            *string                  `json:"href,omitempty"`
	Name            *string                  `json:"name,omitempty"`
	ConsumerName    *string                  `json:"consumer_name,omitempty"`
	Version         *int32                   `json:"version,omitempty"`
	CreatedAt       *time.Time               `json:"created_at,omitempty"`
	UpdatedAt       *time.Time               `json:"updated_at,omitempty"`
	DeletedAt       *time.Time               `json:"deleted_at,omitempty"`
	Metadata        map[string]interface{}   `json:"metadata,omitempty"`
	Manifests       []map[string]interface{} `json:"manifests,omitempty"`
	DeleteOption    map[string]interface{}   `json:"delete_option,omitempty"`
	ManifestConfigs []map[string]interface{} `json:"manifest_configs,omitempty"`
	Status          map[string]interface{}   `json:"status,omitempty"`
}

ResourceBundle struct for ResourceBundle

func NewResourceBundle

func NewResourceBundle() *ResourceBundle

NewResourceBundle instantiates a new ResourceBundle 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 NewResourceBundleWithDefaults

func NewResourceBundleWithDefaults() *ResourceBundle

NewResourceBundleWithDefaults instantiates a new ResourceBundle 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 (*ResourceBundle) GetConsumerName

func (o *ResourceBundle) GetConsumerName() string

GetConsumerName returns the ConsumerName field value if set, zero value otherwise.

func (*ResourceBundle) GetConsumerNameOk

func (o *ResourceBundle) GetConsumerNameOk() (*string, bool)

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

func (*ResourceBundle) GetCreatedAt

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

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

func (*ResourceBundle) GetCreatedAtOk

func (o *ResourceBundle) 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 (*ResourceBundle) GetDeleteOption

func (o *ResourceBundle) GetDeleteOption() map[string]interface{}

GetDeleteOption returns the DeleteOption field value if set, zero value otherwise.

func (*ResourceBundle) GetDeleteOptionOk

func (o *ResourceBundle) GetDeleteOptionOk() (map[string]interface{}, bool)

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

func (*ResourceBundle) GetDeletedAt

func (o *ResourceBundle) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ResourceBundle) GetDeletedAtOk

func (o *ResourceBundle) GetDeletedAtOk() (*time.Time, bool)

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

func (*ResourceBundle) GetHref

func (o *ResourceBundle) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*ResourceBundle) GetHrefOk

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

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

func (*ResourceBundle) GetId

func (o *ResourceBundle) GetId() string

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

func (*ResourceBundle) GetIdOk

func (o *ResourceBundle) 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 (*ResourceBundle) GetKind

func (o *ResourceBundle) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ResourceBundle) GetKindOk

func (o *ResourceBundle) GetKindOk() (*string, bool)

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

func (*ResourceBundle) GetManifestConfigs

func (o *ResourceBundle) GetManifestConfigs() []map[string]interface{}

GetManifestConfigs returns the ManifestConfigs field value if set, zero value otherwise.

func (*ResourceBundle) GetManifestConfigsOk

func (o *ResourceBundle) GetManifestConfigsOk() ([]map[string]interface{}, bool)

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

func (*ResourceBundle) GetManifests

func (o *ResourceBundle) GetManifests() []map[string]interface{}

GetManifests returns the Manifests field value if set, zero value otherwise.

func (*ResourceBundle) GetManifestsOk

func (o *ResourceBundle) GetManifestsOk() ([]map[string]interface{}, bool)

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

func (*ResourceBundle) GetMetadata

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

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

func (*ResourceBundle) GetMetadataOk

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

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

func (*ResourceBundle) GetName

func (o *ResourceBundle) GetName() string

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

func (*ResourceBundle) GetNameOk

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

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

func (*ResourceBundle) GetStatus

func (o *ResourceBundle) GetStatus() map[string]interface{}

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

func (*ResourceBundle) GetStatusOk

func (o *ResourceBundle) GetStatusOk() (map[string]interface{}, bool)

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

func (*ResourceBundle) GetUpdatedAt

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

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

func (*ResourceBundle) GetUpdatedAtOk

func (o *ResourceBundle) 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 (*ResourceBundle) GetVersion

func (o *ResourceBundle) GetVersion() int32

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

func (*ResourceBundle) GetVersionOk

func (o *ResourceBundle) GetVersionOk() (*int32, 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 (*ResourceBundle) HasConsumerName

func (o *ResourceBundle) HasConsumerName() bool

HasConsumerName returns a boolean if a field has been set.

func (*ResourceBundle) HasCreatedAt

func (o *ResourceBundle) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ResourceBundle) HasDeleteOption

func (o *ResourceBundle) HasDeleteOption() bool

HasDeleteOption returns a boolean if a field has been set.

func (*ResourceBundle) HasDeletedAt

func (o *ResourceBundle) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ResourceBundle) HasHref

func (o *ResourceBundle) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ResourceBundle) HasId

func (o *ResourceBundle) HasId() bool

HasId returns a boolean if a field has been set.

func (*ResourceBundle) HasKind

func (o *ResourceBundle) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ResourceBundle) HasManifestConfigs

func (o *ResourceBundle) HasManifestConfigs() bool

HasManifestConfigs returns a boolean if a field has been set.

func (*ResourceBundle) HasManifests

func (o *ResourceBundle) HasManifests() bool

HasManifests returns a boolean if a field has been set.

func (*ResourceBundle) HasMetadata

func (o *ResourceBundle) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ResourceBundle) HasName

func (o *ResourceBundle) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceBundle) HasStatus

func (o *ResourceBundle) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResourceBundle) HasUpdatedAt

func (o *ResourceBundle) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ResourceBundle) HasVersion

func (o *ResourceBundle) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ResourceBundle) MarshalJSON

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

func (*ResourceBundle) SetConsumerName

func (o *ResourceBundle) SetConsumerName(v string)

SetConsumerName gets a reference to the given string and assigns it to the ConsumerName field.

func (*ResourceBundle) SetCreatedAt

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

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

func (*ResourceBundle) SetDeleteOption

func (o *ResourceBundle) SetDeleteOption(v map[string]interface{})

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

func (*ResourceBundle) SetDeletedAt

func (o *ResourceBundle) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ResourceBundle) SetHref

func (o *ResourceBundle) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ResourceBundle) SetId

func (o *ResourceBundle) SetId(v string)

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

func (*ResourceBundle) SetKind

func (o *ResourceBundle) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ResourceBundle) SetManifestConfigs

func (o *ResourceBundle) SetManifestConfigs(v []map[string]interface{})

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

func (*ResourceBundle) SetManifests

func (o *ResourceBundle) SetManifests(v []map[string]interface{})

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

func (*ResourceBundle) SetMetadata

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

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

func (*ResourceBundle) SetName

func (o *ResourceBundle) SetName(v string)

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

func (*ResourceBundle) SetStatus

func (o *ResourceBundle) SetStatus(v map[string]interface{})

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

func (*ResourceBundle) SetUpdatedAt

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

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

func (*ResourceBundle) SetVersion

func (o *ResourceBundle) SetVersion(v int32)

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

func (ResourceBundle) ToMap

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

type ResourceBundleAllOf

type ResourceBundleAllOf struct {
	Name            *string                  `json:"name,omitempty"`
	ConsumerName    *string                  `json:"consumer_name,omitempty"`
	Version         *int32                   `json:"version,omitempty"`
	CreatedAt       *time.Time               `json:"created_at,omitempty"`
	UpdatedAt       *time.Time               `json:"updated_at,omitempty"`
	DeletedAt       *time.Time               `json:"deleted_at,omitempty"`
	Metadata        map[string]interface{}   `json:"metadata,omitempty"`
	Manifests       []map[string]interface{} `json:"manifests,omitempty"`
	DeleteOption    map[string]interface{}   `json:"delete_option,omitempty"`
	ManifestConfigs []map[string]interface{} `json:"manifest_configs,omitempty"`
	Status          map[string]interface{}   `json:"status,omitempty"`
}

ResourceBundleAllOf struct for ResourceBundleAllOf

func NewResourceBundleAllOf

func NewResourceBundleAllOf() *ResourceBundleAllOf

NewResourceBundleAllOf instantiates a new ResourceBundleAllOf 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 NewResourceBundleAllOfWithDefaults

func NewResourceBundleAllOfWithDefaults() *ResourceBundleAllOf

NewResourceBundleAllOfWithDefaults instantiates a new ResourceBundleAllOf 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 (*ResourceBundleAllOf) GetConsumerName

func (o *ResourceBundleAllOf) GetConsumerName() string

GetConsumerName returns the ConsumerName field value if set, zero value otherwise.

func (*ResourceBundleAllOf) GetConsumerNameOk

func (o *ResourceBundleAllOf) GetConsumerNameOk() (*string, bool)

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

func (*ResourceBundleAllOf) GetCreatedAt

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

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

func (*ResourceBundleAllOf) GetCreatedAtOk

func (o *ResourceBundleAllOf) 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 (*ResourceBundleAllOf) GetDeleteOption

func (o *ResourceBundleAllOf) GetDeleteOption() map[string]interface{}

GetDeleteOption returns the DeleteOption field value if set, zero value otherwise.

func (*ResourceBundleAllOf) GetDeleteOptionOk

func (o *ResourceBundleAllOf) GetDeleteOptionOk() (map[string]interface{}, bool)

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

func (*ResourceBundleAllOf) GetDeletedAt

func (o *ResourceBundleAllOf) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ResourceBundleAllOf) GetDeletedAtOk

func (o *ResourceBundleAllOf) GetDeletedAtOk() (*time.Time, bool)

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

func (*ResourceBundleAllOf) GetManifestConfigs

func (o *ResourceBundleAllOf) GetManifestConfigs() []map[string]interface{}

GetManifestConfigs returns the ManifestConfigs field value if set, zero value otherwise.

func (*ResourceBundleAllOf) GetManifestConfigsOk

func (o *ResourceBundleAllOf) GetManifestConfigsOk() ([]map[string]interface{}, bool)

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

func (*ResourceBundleAllOf) GetManifests

func (o *ResourceBundleAllOf) GetManifests() []map[string]interface{}

GetManifests returns the Manifests field value if set, zero value otherwise.

func (*ResourceBundleAllOf) GetManifestsOk

func (o *ResourceBundleAllOf) GetManifestsOk() ([]map[string]interface{}, bool)

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

func (*ResourceBundleAllOf) GetMetadata

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

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

func (*ResourceBundleAllOf) GetMetadataOk

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

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

func (*ResourceBundleAllOf) GetName

func (o *ResourceBundleAllOf) GetName() string

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

func (*ResourceBundleAllOf) GetNameOk

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

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

func (*ResourceBundleAllOf) GetStatus

func (o *ResourceBundleAllOf) GetStatus() map[string]interface{}

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

func (*ResourceBundleAllOf) GetStatusOk

func (o *ResourceBundleAllOf) GetStatusOk() (map[string]interface{}, bool)

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

func (*ResourceBundleAllOf) GetUpdatedAt

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

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

func (*ResourceBundleAllOf) GetUpdatedAtOk

func (o *ResourceBundleAllOf) 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 (*ResourceBundleAllOf) GetVersion

func (o *ResourceBundleAllOf) GetVersion() int32

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

func (*ResourceBundleAllOf) GetVersionOk

func (o *ResourceBundleAllOf) GetVersionOk() (*int32, 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 (*ResourceBundleAllOf) HasConsumerName

func (o *ResourceBundleAllOf) HasConsumerName() bool

HasConsumerName returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasCreatedAt

func (o *ResourceBundleAllOf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasDeleteOption

func (o *ResourceBundleAllOf) HasDeleteOption() bool

HasDeleteOption returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasDeletedAt

func (o *ResourceBundleAllOf) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasManifestConfigs

func (o *ResourceBundleAllOf) HasManifestConfigs() bool

HasManifestConfigs returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasManifests

func (o *ResourceBundleAllOf) HasManifests() bool

HasManifests returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasMetadata

func (o *ResourceBundleAllOf) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasName

func (o *ResourceBundleAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasStatus

func (o *ResourceBundleAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasUpdatedAt

func (o *ResourceBundleAllOf) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ResourceBundleAllOf) HasVersion

func (o *ResourceBundleAllOf) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ResourceBundleAllOf) MarshalJSON

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

func (*ResourceBundleAllOf) SetConsumerName

func (o *ResourceBundleAllOf) SetConsumerName(v string)

SetConsumerName gets a reference to the given string and assigns it to the ConsumerName field.

func (*ResourceBundleAllOf) SetCreatedAt

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

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

func (*ResourceBundleAllOf) SetDeleteOption

func (o *ResourceBundleAllOf) SetDeleteOption(v map[string]interface{})

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

func (*ResourceBundleAllOf) SetDeletedAt

func (o *ResourceBundleAllOf) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ResourceBundleAllOf) SetManifestConfigs

func (o *ResourceBundleAllOf) SetManifestConfigs(v []map[string]interface{})

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

func (*ResourceBundleAllOf) SetManifests

func (o *ResourceBundleAllOf) SetManifests(v []map[string]interface{})

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

func (*ResourceBundleAllOf) SetMetadata

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

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

func (*ResourceBundleAllOf) SetName

func (o *ResourceBundleAllOf) SetName(v string)

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

func (*ResourceBundleAllOf) SetStatus

func (o *ResourceBundleAllOf) SetStatus(v map[string]interface{})

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

func (*ResourceBundleAllOf) SetUpdatedAt

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

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

func (*ResourceBundleAllOf) SetVersion

func (o *ResourceBundleAllOf) SetVersion(v int32)

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

func (ResourceBundleAllOf) ToMap

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

type ResourceBundleList

type ResourceBundleList struct {
	Kind  string           `json:"kind"`
	Page  int32            `json:"page"`
	Size  int32            `json:"size"`
	Total int32            `json:"total"`
	Items []ResourceBundle `json:"items"`
}

ResourceBundleList struct for ResourceBundleList

func NewResourceBundleList

func NewResourceBundleList(kind string, page int32, size int32, total int32, items []ResourceBundle) *ResourceBundleList

NewResourceBundleList instantiates a new ResourceBundleList 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 NewResourceBundleListWithDefaults

func NewResourceBundleListWithDefaults() *ResourceBundleList

NewResourceBundleListWithDefaults instantiates a new ResourceBundleList 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 (*ResourceBundleList) GetItems

func (o *ResourceBundleList) GetItems() []ResourceBundle

GetItems returns the Items field value

func (*ResourceBundleList) GetItemsOk

func (o *ResourceBundleList) GetItemsOk() ([]ResourceBundle, bool)

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

func (*ResourceBundleList) GetKind

func (o *ResourceBundleList) GetKind() string

GetKind returns the Kind field value

func (*ResourceBundleList) GetKindOk

func (o *ResourceBundleList) GetKindOk() (*string, bool)

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

func (*ResourceBundleList) GetPage

func (o *ResourceBundleList) GetPage() int32

GetPage returns the Page field value

func (*ResourceBundleList) GetPageOk

func (o *ResourceBundleList) GetPageOk() (*int32, bool)

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

func (*ResourceBundleList) GetSize

func (o *ResourceBundleList) GetSize() int32

GetSize returns the Size field value

func (*ResourceBundleList) GetSizeOk

func (o *ResourceBundleList) GetSizeOk() (*int32, bool)

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

func (*ResourceBundleList) GetTotal

func (o *ResourceBundleList) GetTotal() int32

GetTotal returns the Total field value

func (*ResourceBundleList) GetTotalOk

func (o *ResourceBundleList) GetTotalOk() (*int32, bool)

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

func (ResourceBundleList) MarshalJSON

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

func (*ResourceBundleList) SetItems

func (o *ResourceBundleList) SetItems(v []ResourceBundle)

SetItems sets field value

func (*ResourceBundleList) SetKind

func (o *ResourceBundleList) SetKind(v string)

SetKind sets field value

func (*ResourceBundleList) SetPage

func (o *ResourceBundleList) SetPage(v int32)

SetPage sets field value

func (*ResourceBundleList) SetSize

func (o *ResourceBundleList) SetSize(v int32)

SetSize sets field value

func (*ResourceBundleList) SetTotal

func (o *ResourceBundleList) SetTotal(v int32)

SetTotal sets field value

func (ResourceBundleList) ToMap

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

type ResourceBundleListAllOf

type ResourceBundleListAllOf struct {
	Items []ResourceBundle `json:"items,omitempty"`
}

ResourceBundleListAllOf struct for ResourceBundleListAllOf

func NewResourceBundleListAllOf

func NewResourceBundleListAllOf() *ResourceBundleListAllOf

NewResourceBundleListAllOf instantiates a new ResourceBundleListAllOf 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 NewResourceBundleListAllOfWithDefaults

func NewResourceBundleListAllOfWithDefaults() *ResourceBundleListAllOf

NewResourceBundleListAllOfWithDefaults instantiates a new ResourceBundleListAllOf 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 (*ResourceBundleListAllOf) GetItems

func (o *ResourceBundleListAllOf) GetItems() []ResourceBundle

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

func (*ResourceBundleListAllOf) GetItemsOk

func (o *ResourceBundleListAllOf) GetItemsOk() ([]ResourceBundle, 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 (*ResourceBundleListAllOf) HasItems

func (o *ResourceBundleListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ResourceBundleListAllOf) MarshalJSON

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

func (*ResourceBundleListAllOf) SetItems

func (o *ResourceBundleListAllOf) SetItems(v []ResourceBundle)

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

func (ResourceBundleListAllOf) ToMap

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

type ResourceList

type ResourceList struct {
	Kind  string     `json:"kind"`
	Page  int32      `json:"page"`
	Size  int32      `json:"size"`
	Total int32      `json:"total"`
	Items []Resource `json:"items"`
}

ResourceList struct for ResourceList

func NewResourceList

func NewResourceList(kind string, page int32, size int32, total int32, items []Resource) *ResourceList

NewResourceList instantiates a new ResourceList 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 NewResourceListWithDefaults

func NewResourceListWithDefaults() *ResourceList

NewResourceListWithDefaults instantiates a new ResourceList 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 (*ResourceList) GetItems

func (o *ResourceList) GetItems() []Resource

GetItems returns the Items field value

func (*ResourceList) GetItemsOk

func (o *ResourceList) GetItemsOk() ([]Resource, bool)

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

func (*ResourceList) GetKind

func (o *ResourceList) GetKind() string

GetKind returns the Kind field value

func (*ResourceList) GetKindOk

func (o *ResourceList) GetKindOk() (*string, bool)

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

func (*ResourceList) GetPage

func (o *ResourceList) GetPage() int32

GetPage returns the Page field value

func (*ResourceList) GetPageOk

func (o *ResourceList) GetPageOk() (*int32, bool)

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

func (*ResourceList) GetSize

func (o *ResourceList) GetSize() int32

GetSize returns the Size field value

func (*ResourceList) GetSizeOk

func (o *ResourceList) GetSizeOk() (*int32, bool)

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

func (*ResourceList) GetTotal

func (o *ResourceList) GetTotal() int32

GetTotal returns the Total field value

func (*ResourceList) GetTotalOk

func (o *ResourceList) GetTotalOk() (*int32, bool)

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

func (ResourceList) MarshalJSON

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

func (*ResourceList) SetItems

func (o *ResourceList) SetItems(v []Resource)

SetItems sets field value

func (*ResourceList) SetKind

func (o *ResourceList) SetKind(v string)

SetKind sets field value

func (*ResourceList) SetPage

func (o *ResourceList) SetPage(v int32)

SetPage sets field value

func (*ResourceList) SetSize

func (o *ResourceList) SetSize(v int32)

SetSize sets field value

func (*ResourceList) SetTotal

func (o *ResourceList) SetTotal(v int32)

SetTotal sets field value

func (ResourceList) ToMap

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

type ResourceListAllOf

type ResourceListAllOf struct {
	Items []Resource `json:"items,omitempty"`
}

ResourceListAllOf struct for ResourceListAllOf

func NewResourceListAllOf

func NewResourceListAllOf() *ResourceListAllOf

NewResourceListAllOf instantiates a new ResourceListAllOf 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 NewResourceListAllOfWithDefaults

func NewResourceListAllOfWithDefaults() *ResourceListAllOf

NewResourceListAllOfWithDefaults instantiates a new ResourceListAllOf 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 (*ResourceListAllOf) GetItems

func (o *ResourceListAllOf) GetItems() []Resource

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

func (*ResourceListAllOf) GetItemsOk

func (o *ResourceListAllOf) GetItemsOk() ([]Resource, 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 (*ResourceListAllOf) HasItems

func (o *ResourceListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ResourceListAllOf) MarshalJSON

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

func (*ResourceListAllOf) SetItems

func (o *ResourceListAllOf) SetItems(v []Resource)

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

func (ResourceListAllOf) ToMap

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

type ResourcePatchRequest

type ResourcePatchRequest struct {
	Version        *int32                 `json:"version,omitempty"`
	Manifest       map[string]interface{} `json:"manifest,omitempty"`
	DeleteOption   map[string]interface{} `json:"delete_option,omitempty"`
	UpdateStrategy map[string]interface{} `json:"update_strategy,omitempty"`
}

ResourcePatchRequest struct for ResourcePatchRequest

func NewResourcePatchRequest

func NewResourcePatchRequest() *ResourcePatchRequest

NewResourcePatchRequest instantiates a new ResourcePatchRequest 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 NewResourcePatchRequestWithDefaults

func NewResourcePatchRequestWithDefaults() *ResourcePatchRequest

NewResourcePatchRequestWithDefaults instantiates a new ResourcePatchRequest 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 (*ResourcePatchRequest) GetDeleteOption

func (o *ResourcePatchRequest) GetDeleteOption() map[string]interface{}

GetDeleteOption returns the DeleteOption field value if set, zero value otherwise.

func (*ResourcePatchRequest) GetDeleteOptionOk

func (o *ResourcePatchRequest) GetDeleteOptionOk() (map[string]interface{}, bool)

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

func (*ResourcePatchRequest) GetManifest

func (o *ResourcePatchRequest) GetManifest() map[string]interface{}

GetManifest returns the Manifest field value if set, zero value otherwise.

func (*ResourcePatchRequest) GetManifestOk

func (o *ResourcePatchRequest) GetManifestOk() (map[string]interface{}, bool)

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

func (*ResourcePatchRequest) GetUpdateStrategy

func (o *ResourcePatchRequest) GetUpdateStrategy() map[string]interface{}

GetUpdateStrategy returns the UpdateStrategy field value if set, zero value otherwise.

func (*ResourcePatchRequest) GetUpdateStrategyOk

func (o *ResourcePatchRequest) GetUpdateStrategyOk() (map[string]interface{}, bool)

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

func (*ResourcePatchRequest) GetVersion

func (o *ResourcePatchRequest) GetVersion() int32

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

func (*ResourcePatchRequest) GetVersionOk

func (o *ResourcePatchRequest) GetVersionOk() (*int32, 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 (*ResourcePatchRequest) HasDeleteOption

func (o *ResourcePatchRequest) HasDeleteOption() bool

HasDeleteOption returns a boolean if a field has been set.

func (*ResourcePatchRequest) HasManifest

func (o *ResourcePatchRequest) HasManifest() bool

HasManifest returns a boolean if a field has been set.

func (*ResourcePatchRequest) HasUpdateStrategy

func (o *ResourcePatchRequest) HasUpdateStrategy() bool

HasUpdateStrategy returns a boolean if a field has been set.

func (*ResourcePatchRequest) HasVersion

func (o *ResourcePatchRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ResourcePatchRequest) MarshalJSON

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

func (*ResourcePatchRequest) SetDeleteOption

func (o *ResourcePatchRequest) SetDeleteOption(v map[string]interface{})

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

func (*ResourcePatchRequest) SetManifest

func (o *ResourcePatchRequest) SetManifest(v map[string]interface{})

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

func (*ResourcePatchRequest) SetUpdateStrategy

func (o *ResourcePatchRequest) SetUpdateStrategy(v map[string]interface{})

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

func (*ResourcePatchRequest) SetVersion

func (o *ResourcePatchRequest) SetVersion(v int32)

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

func (ResourcePatchRequest) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

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