accountsapi

package
v0.273.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go API client for accountsapi

REST API OpenAPI documentation for the Accounts 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: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.27.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Import the package in a go file in your project and run go mod tidy:

import accountsapi "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 accountsapi.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), accountsapi.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 accountsapi.ContextOperationServerIndices and accountsapi.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AccountsDescendantsAPI CreateDescendantAccount Post /account/accounts Create a new account
AccountsDescendantsAPI ListDescendantsAccounts Get /account/accounts List accounts
AccountsDescendantsAPI PartialUpdateDescendantAccount Patch /account/accounts/{account_id} Partially update account details
AccountsDescendantsAPI RetrieveDescendantAccount Get /account/accounts/{account_id} Retrieve account details
AccountsDescendantsAPI UpdateDescendantAccount Put /account/accounts/{account_id} Update account details
AccountsInfoAPI RetrieveAccountInfoDetails Get /account/accounts/{account_id}/info Retrieve account information details
AccountsInfoAPI UpdateAccountInfoDetails Put /account/accounts/{account_id}/info Update account information details
AccountsLoggedInAPI PartialUpdateLoggedAccount Patch /account/account Partially update logged account details
AccountsLoggedInAPI RetrieveLoggedAccountDetails Get /account/account Retrieve logged account details
AccountsLoggedInAPI UpdateLoggedAccount Put /account/account Update logged account details

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), accountsapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
TokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

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

Example

auth := context.WithValue(
		context.Background(),
		accountsapi.ContextAPIKeys,
		map[string]accountsapi.APIKey{
			"TokenAuth": {Key: "API_KEY_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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	AccountsDescendantsAPI *AccountsDescendantsAPIService

	AccountsInfoAPI *AccountsInfoAPIService

	AccountsLoggedInAPI *AccountsLoggedInAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the accounts-api API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type Account

type Account struct {
	Brand        *Brand
	Organization *Organization
	Reseller     *Reseller
	Workspace    *Workspace
}

Account - struct for Account

func BrandAsAccount

func BrandAsAccount(v *Brand) Account

BrandAsAccount is a convenience function that returns Brand wrapped in Account

func OrganizationAsAccount

func OrganizationAsAccount(v *Organization) Account

OrganizationAsAccount is a convenience function that returns Organization wrapped in Account

func ResellerAsAccount

func ResellerAsAccount(v *Reseller) Account

ResellerAsAccount is a convenience function that returns Reseller wrapped in Account

func WorkspaceAsAccount

func WorkspaceAsAccount(v *Workspace) Account

WorkspaceAsAccount is a convenience function that returns Workspace wrapped in Account

func (*Account) GetActualInstance

func (obj *Account) GetActualInstance() interface{}

Get the actual instance

func (Account) GetActualInstanceValue

func (obj Account) GetActualInstanceValue() interface{}

Get the actual instance value

func (Account) MarshalJSON

func (src Account) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Account) UnmarshalJSON

func (dst *Account) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type AccountInfo

type AccountInfo struct {
	Info map[string]interface{} `json:"info"`
}

AccountInfo struct for AccountInfo

func NewAccountInfo

func NewAccountInfo(info map[string]interface{}) *AccountInfo

NewAccountInfo instantiates a new AccountInfo 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 NewAccountInfoWithDefaults

func NewAccountInfoWithDefaults() *AccountInfo

NewAccountInfoWithDefaults instantiates a new AccountInfo 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 (*AccountInfo) GetInfo

func (o *AccountInfo) GetInfo() map[string]interface{}

GetInfo returns the Info field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*AccountInfo) GetInfoOk

func (o *AccountInfo) GetInfoOk() (map[string]interface{}, bool)

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

func (AccountInfo) MarshalJSON

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

func (*AccountInfo) SetInfo

func (o *AccountInfo) SetInfo(v map[string]interface{})

SetInfo sets field value

func (AccountInfo) ToMap

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

func (*AccountInfo) UnmarshalJSON

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

type AccountInfoRequest

type AccountInfoRequest struct {
	// The industry type. Common values: Education, Energy, Finance, Games, Health, Media, Public Sector, Retail, Services, Technology, Telecom, Transportation, Other.
	Industry *string `json:"industry,omitempty"`
	// The size of the company. Must be an integer greater than or equal to 1.
	CompanySize *int64 `json:"company_size,omitempty"`
}

AccountInfoRequest struct for AccountInfoRequest

func NewAccountInfoRequest

func NewAccountInfoRequest() *AccountInfoRequest

NewAccountInfoRequest instantiates a new AccountInfoRequest 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 NewAccountInfoRequestWithDefaults

func NewAccountInfoRequestWithDefaults() *AccountInfoRequest

NewAccountInfoRequestWithDefaults instantiates a new AccountInfoRequest 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 (*AccountInfoRequest) GetCompanySize

func (o *AccountInfoRequest) GetCompanySize() int64

GetCompanySize returns the CompanySize field value if set, zero value otherwise.

func (*AccountInfoRequest) GetCompanySizeOk

func (o *AccountInfoRequest) GetCompanySizeOk() (*int64, bool)

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

func (*AccountInfoRequest) GetIndustry

func (o *AccountInfoRequest) GetIndustry() string

GetIndustry returns the Industry field value if set, zero value otherwise.

func (*AccountInfoRequest) GetIndustryOk

func (o *AccountInfoRequest) GetIndustryOk() (*string, bool)

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

func (*AccountInfoRequest) HasCompanySize

func (o *AccountInfoRequest) HasCompanySize() bool

HasCompanySize returns a boolean if a field has been set.

func (*AccountInfoRequest) HasIndustry

func (o *AccountInfoRequest) HasIndustry() bool

HasIndustry returns a boolean if a field has been set.

func (AccountInfoRequest) MarshalJSON

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

func (*AccountInfoRequest) SetCompanySize

func (o *AccountInfoRequest) SetCompanySize(v int64)

SetCompanySize gets a reference to the given int64 and assigns it to the CompanySize field.

func (*AccountInfoRequest) SetIndustry

func (o *AccountInfoRequest) SetIndustry(v string)

SetIndustry gets a reference to the given string and assigns it to the Industry field.

func (AccountInfoRequest) ToMap

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

type AccountRequest

type AccountRequest struct {
	BrandRequest        *BrandRequest
	OrganizationRequest *OrganizationRequest
	ResellerRequest     *ResellerRequest
	WorkspaceRequest    *WorkspaceRequest
}

AccountRequest - struct for AccountRequest

func BrandRequestAsAccountRequest

func BrandRequestAsAccountRequest(v *BrandRequest) AccountRequest

BrandRequestAsAccountRequest is a convenience function that returns BrandRequest wrapped in AccountRequest

func OrganizationRequestAsAccountRequest

func OrganizationRequestAsAccountRequest(v *OrganizationRequest) AccountRequest

OrganizationRequestAsAccountRequest is a convenience function that returns OrganizationRequest wrapped in AccountRequest

func ResellerRequestAsAccountRequest

func ResellerRequestAsAccountRequest(v *ResellerRequest) AccountRequest

ResellerRequestAsAccountRequest is a convenience function that returns ResellerRequest wrapped in AccountRequest

func WorkspaceRequestAsAccountRequest

func WorkspaceRequestAsAccountRequest(v *WorkspaceRequest) AccountRequest

WorkspaceRequestAsAccountRequest is a convenience function that returns WorkspaceRequest wrapped in AccountRequest

func (*AccountRequest) GetActualInstance

func (obj *AccountRequest) GetActualInstance() interface{}

Get the actual instance

func (AccountRequest) GetActualInstanceValue

func (obj AccountRequest) GetActualInstanceValue() interface{}

Get the actual instance value

func (AccountRequest) MarshalJSON

func (src AccountRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AccountRequest) UnmarshalJSON

func (dst *AccountRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type AccountsDescendantsAPIService

type AccountsDescendantsAPIService service

AccountsDescendantsAPIService AccountsDescendantsAPI service

func (*AccountsDescendantsAPIService) CreateDescendantAccount

CreateDescendantAccount Create a new account

Create a new sub-account under the logged-in user's account.

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

func (*AccountsDescendantsAPIService) CreateDescendantAccountExecute

Execute executes the request

@return ResponseAccount

func (*AccountsDescendantsAPIService) ListDescendantsAccounts

ListDescendantsAccounts List accounts

List all accounts that are descendants of the logged-in user's account.

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

func (*AccountsDescendantsAPIService) ListDescendantsAccountsExecute

Execute executes the request

@return PaginatedResponseListAccountList

func (*AccountsDescendantsAPIService) PartialUpdateDescendantAccount

func (a *AccountsDescendantsAPIService) PartialUpdateDescendantAccount(ctx context.Context, accountId int64) ApiPartialUpdateDescendantAccountRequest

PartialUpdateDescendantAccount Partially update account details

Update specific fields of an account under the logged-in user's account. Only editable fields, such as `name`, can be updated with this operation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId A unique integer value identifying the account.
@return ApiPartialUpdateDescendantAccountRequest

func (*AccountsDescendantsAPIService) PartialUpdateDescendantAccountExecute

Execute executes the request

@return ResponseAccount

func (*AccountsDescendantsAPIService) RetrieveDescendantAccount

func (a *AccountsDescendantsAPIService) RetrieveDescendantAccount(ctx context.Context, accountId int64) ApiRetrieveDescendantAccountRequest

RetrieveDescendantAccount Retrieve account details

Retrieve detailed information of a specific account under the logged-in user's account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId A unique integer value identifying the account.
@return ApiRetrieveDescendantAccountRequest

func (*AccountsDescendantsAPIService) RetrieveDescendantAccountExecute

Execute executes the request

@return ResponseRetrieveAccount

func (*AccountsDescendantsAPIService) UpdateDescendantAccount

func (a *AccountsDescendantsAPIService) UpdateDescendantAccount(ctx context.Context, accountId int64) ApiUpdateDescendantAccountRequest

UpdateDescendantAccount Update account details

Update the information of a specific account under the logged-in user's account. This operation allows replacing the entire account data with new values.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId A unique integer value identifying the account.
@return ApiUpdateDescendantAccountRequest

func (*AccountsDescendantsAPIService) UpdateDescendantAccountExecute

Execute executes the request

@return ResponseAccount

type AccountsInfoAPIService

type AccountsInfoAPIService service

AccountsInfoAPIService AccountsInfoAPI service

func (*AccountsInfoAPIService) RetrieveAccountInfoDetails

func (a *AccountsInfoAPIService) RetrieveAccountInfoDetails(ctx context.Context, accountId int64) ApiRetrieveAccountInfoDetailsRequest

RetrieveAccountInfoDetails Retrieve account information details

Retrieve detailed information about your account or a specific child account under your logged-in account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId A unique integer value identifying the account.
@return ApiRetrieveAccountInfoDetailsRequest

func (*AccountsInfoAPIService) RetrieveAccountInfoDetailsExecute

Execute executes the request

@return ResponseRetrieveAccountInfo

func (*AccountsInfoAPIService) UpdateAccountInfoDetails

func (a *AccountsInfoAPIService) UpdateAccountInfoDetails(ctx context.Context, accountId int64) ApiUpdateAccountInfoDetailsRequest

UpdateAccountInfoDetails Update account information details

Update the information details about your account or a specific child account under your logged-in account. This operation allows replacing the entire account info data with new values. In this operation, you can also clear all detailed information of an account by providing an empty dictionary in the `info` field.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accountId A unique integer value identifying the account.
@return ApiUpdateAccountInfoDetailsRequest

func (*AccountsInfoAPIService) UpdateAccountInfoDetailsExecute

Execute executes the request

@return ResponseAccountInfo

type AccountsLoggedInAPIService

type AccountsLoggedInAPIService service

AccountsLoggedInAPIService AccountsLoggedInAPI service

func (*AccountsLoggedInAPIService) PartialUpdateLoggedAccount

PartialUpdateLoggedAccount Partially update logged account details

Partially update specific fields of the currently logged-in user's account. Only editable fields, such as `name`, can be updated with this operation.

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

func (*AccountsLoggedInAPIService) PartialUpdateLoggedAccountExecute

Execute executes the request

@return ResponseAccount

func (*AccountsLoggedInAPIService) RetrieveLoggedAccountDetails

RetrieveLoggedAccountDetails Retrieve logged account details

Retrieve detailed information about the currently logged-in user's account.

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

func (*AccountsLoggedInAPIService) RetrieveLoggedAccountDetailsExecute

Execute executes the request

@return ResponseRetrieveAccount

func (*AccountsLoggedInAPIService) UpdateLoggedAccount

UpdateLoggedAccount Update logged account details

Update the details of the currently logged-in user's account. This operation allows replacing the entire account data with new values.

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

func (*AccountsLoggedInAPIService) UpdateLoggedAccountExecute

Execute executes the request

@return ResponseAccount

type ApiCreateDescendantAccountRequest

type ApiCreateDescendantAccountRequest struct {
	ApiService *AccountsDescendantsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDescendantAccountRequest) CreateAccountRequest

func (ApiCreateDescendantAccountRequest) Execute

type ApiListDescendantsAccountsRequest

type ApiListDescendantsAccountsRequest struct {
	ApiService *AccountsDescendantsAPIService
	// contains filtered or unexported fields
}

func (ApiListDescendantsAccountsRequest) Active

Filter by active status.

func (ApiListDescendantsAccountsRequest) Created

Filter by created date (exact match).

func (ApiListDescendantsAccountsRequest) CreatedGte

Filter by created date (greater than or equal).

func (ApiListDescendantsAccountsRequest) CreatedLte

Filter by created date (less than or equal).

func (ApiListDescendantsAccountsRequest) Execute

func (ApiListDescendantsAccountsRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListDescendantsAccountsRequest) Id

Filter by account ID (accepts comma-separated values).

func (ApiListDescendantsAccountsRequest) LastEditor

Filter by last editor (case-insensitive, partial match).

func (ApiListDescendantsAccountsRequest) LastModified

Filter by last modified date (exact match).

func (ApiListDescendantsAccountsRequest) LastModifiedGte

Filter by last modified date (greater than or equal).

func (ApiListDescendantsAccountsRequest) LastModifiedLte

Filter by last modified date (less than or equal).

func (ApiListDescendantsAccountsRequest) Name

Filter by name (case-insensitive, partial match).

func (ApiListDescendantsAccountsRequest) Ordering

Which field to use when ordering the results. (Valid fields: id, name, active, last_editor, last_modified, parent_id, created)

func (ApiListDescendantsAccountsRequest) Page

A page number within the paginated result set.

func (ApiListDescendantsAccountsRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListDescendantsAccountsRequest) ParentId

Filter by parent account ID (accepts comma-separated values).

func (ApiListDescendantsAccountsRequest) Search

A search term.

type ApiPartialUpdateDescendantAccountRequest

type ApiPartialUpdateDescendantAccountRequest struct {
	ApiService *AccountsDescendantsAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateDescendantAccountRequest) Execute

func (ApiPartialUpdateDescendantAccountRequest) PatchedAccountRequest

type ApiPartialUpdateLoggedAccountRequest

type ApiPartialUpdateLoggedAccountRequest struct {
	ApiService *AccountsLoggedInAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateLoggedAccountRequest) Execute

func (ApiPartialUpdateLoggedAccountRequest) PatchedAccountRequest

type ApiRetrieveAccountInfoDetailsRequest

type ApiRetrieveAccountInfoDetailsRequest struct {
	ApiService *AccountsInfoAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveAccountInfoDetailsRequest) Execute

func (ApiRetrieveAccountInfoDetailsRequest) Fields

Comma-separated list of field names to include in the response.

type ApiRetrieveDescendantAccountRequest

type ApiRetrieveDescendantAccountRequest struct {
	ApiService *AccountsDescendantsAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveDescendantAccountRequest) Execute

func (ApiRetrieveDescendantAccountRequest) Fields

Comma-separated list of field names to include in the response.

type ApiRetrieveLoggedAccountDetailsRequest

type ApiRetrieveLoggedAccountDetailsRequest struct {
	ApiService *AccountsLoggedInAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveLoggedAccountDetailsRequest) Execute

func (ApiRetrieveLoggedAccountDetailsRequest) Fields

Comma-separated list of field names to include in the response.

type ApiUpdateAccountInfoDetailsRequest

type ApiUpdateAccountInfoDetailsRequest struct {
	ApiService *AccountsInfoAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateAccountInfoDetailsRequest) Execute

func (ApiUpdateAccountInfoDetailsRequest) UpdateAccountInfoDetailsRequest

func (r ApiUpdateAccountInfoDetailsRequest) UpdateAccountInfoDetailsRequest(updateAccountInfoDetailsRequest UpdateAccountInfoDetailsRequest) ApiUpdateAccountInfoDetailsRequest

type ApiUpdateDescendantAccountRequest

type ApiUpdateDescendantAccountRequest struct {
	ApiService *AccountsDescendantsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateDescendantAccountRequest) AccountRequest

func (ApiUpdateDescendantAccountRequest) Execute

type ApiUpdateLoggedAccountRequest

type ApiUpdateLoggedAccountRequest struct {
	ApiService *AccountsLoggedInAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateLoggedAccountRequest) AccountRequest

func (ApiUpdateLoggedAccountRequest) Execute

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 Brand

type Brand struct {
	Id           int64                  `json:"id"`
	Name         string                 `json:"name"`
	Active       bool                   `json:"active"`
	LastEditor   string                 `json:"last_editor"`
	LastModified time.Time              `json:"last_modified"`
	ParentId     int64                  `json:"parent_id"`
	Created      time.Time              `json:"created"`
	Info         map[string]interface{} `json:"info"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

Brand struct for Brand

func NewBrand

func NewBrand(id int64, name string, active bool, lastEditor string, lastModified time.Time, parentId int64, created time.Time, info map[string]interface{}, type_ string) *Brand

NewBrand instantiates a new Brand 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 NewBrandWithDefaults

func NewBrandWithDefaults() *Brand

NewBrandWithDefaults instantiates a new Brand 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 (*Brand) GetActive

func (o *Brand) GetActive() bool

GetActive returns the Active field value

func (*Brand) GetActiveOk

func (o *Brand) GetActiveOk() (*bool, bool)

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

func (*Brand) GetCreated

func (o *Brand) GetCreated() time.Time

GetCreated returns the Created field value

func (*Brand) GetCreatedOk

func (o *Brand) GetCreatedOk() (*time.Time, bool)

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

func (*Brand) GetId

func (o *Brand) GetId() int64

GetId returns the Id field value

func (*Brand) GetIdOk

func (o *Brand) GetIdOk() (*int64, bool)

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

func (*Brand) GetInfo

func (o *Brand) GetInfo() map[string]interface{}

GetInfo returns the Info field value

func (*Brand) GetInfoOk

func (o *Brand) GetInfoOk() (map[string]interface{}, bool)

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

func (*Brand) GetLastEditor

func (o *Brand) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Brand) GetLastEditorOk

func (o *Brand) GetLastEditorOk() (*string, bool)

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

func (*Brand) GetLastModified

func (o *Brand) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Brand) GetLastModifiedOk

func (o *Brand) GetLastModifiedOk() (*time.Time, bool)

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

func (*Brand) GetName

func (o *Brand) GetName() string

GetName returns the Name field value

func (*Brand) GetNameOk

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

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

func (*Brand) GetParentId

func (o *Brand) GetParentId() int64

GetParentId returns the ParentId field value

func (*Brand) GetParentIdOk

func (o *Brand) GetParentIdOk() (*int64, bool)

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

func (*Brand) GetType

func (o *Brand) GetType() string

GetType returns the Type field value

func (*Brand) GetTypeOk

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

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

func (Brand) MarshalJSON

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

func (*Brand) SetActive

func (o *Brand) SetActive(v bool)

SetActive sets field value

func (*Brand) SetCreated

func (o *Brand) SetCreated(v time.Time)

SetCreated sets field value

func (*Brand) SetId

func (o *Brand) SetId(v int64)

SetId sets field value

func (*Brand) SetInfo

func (o *Brand) SetInfo(v map[string]interface{})

SetInfo sets field value

func (*Brand) SetLastEditor

func (o *Brand) SetLastEditor(v string)

SetLastEditor sets field value

func (*Brand) SetLastModified

func (o *Brand) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Brand) SetName

func (o *Brand) SetName(v string)

SetName sets field value

func (*Brand) SetParentId

func (o *Brand) SetParentId(v int64)

SetParentId sets field value

func (*Brand) SetType

func (o *Brand) SetType(v string)

SetType sets field value

func (Brand) ToMap

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

func (*Brand) UnmarshalJSON

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

type BrandRequest

type BrandRequest struct {
	Name string `json:"name"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

BrandRequest struct for BrandRequest

func NewBrandRequest

func NewBrandRequest(name string, type_ string) *BrandRequest

NewBrandRequest instantiates a new BrandRequest 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 NewBrandRequestWithDefaults

func NewBrandRequestWithDefaults() *BrandRequest

NewBrandRequestWithDefaults instantiates a new BrandRequest 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 (*BrandRequest) GetName

func (o *BrandRequest) GetName() string

GetName returns the Name field value

func (*BrandRequest) GetNameOk

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

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

func (*BrandRequest) GetType

func (o *BrandRequest) GetType() string

GetType returns the Type field value

func (*BrandRequest) GetTypeOk

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

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

func (BrandRequest) MarshalJSON

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

func (*BrandRequest) SetName

func (o *BrandRequest) SetName(v string)

SetName sets field value

func (*BrandRequest) SetType

func (o *BrandRequest) SetType(v string)

SetType sets field value

func (BrandRequest) ToMap

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

func (*BrandRequest) UnmarshalJSON

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

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 CreateAccountRequest

type CreateAccountRequest struct {
	CreateBrandRequest        *CreateBrandRequest
	CreateOrganizationRequest *CreateOrganizationRequest
	CreateResellerRequest     *CreateResellerRequest
	CreateWorkspaceRequest    *CreateWorkspaceRequest
}

CreateAccountRequest - struct for CreateAccountRequest

func CreateBrandRequestAsCreateAccountRequest

func CreateBrandRequestAsCreateAccountRequest(v *CreateBrandRequest) CreateAccountRequest

CreateBrandRequestAsCreateAccountRequest is a convenience function that returns CreateBrandRequest wrapped in CreateAccountRequest

func CreateOrganizationRequestAsCreateAccountRequest

func CreateOrganizationRequestAsCreateAccountRequest(v *CreateOrganizationRequest) CreateAccountRequest

CreateOrganizationRequestAsCreateAccountRequest is a convenience function that returns CreateOrganizationRequest wrapped in CreateAccountRequest

func CreateResellerRequestAsCreateAccountRequest

func CreateResellerRequestAsCreateAccountRequest(v *CreateResellerRequest) CreateAccountRequest

CreateResellerRequestAsCreateAccountRequest is a convenience function that returns CreateResellerRequest wrapped in CreateAccountRequest

func CreateWorkspaceRequestAsCreateAccountRequest

func CreateWorkspaceRequestAsCreateAccountRequest(v *CreateWorkspaceRequest) CreateAccountRequest

CreateWorkspaceRequestAsCreateAccountRequest is a convenience function that returns CreateWorkspaceRequest wrapped in CreateAccountRequest

func (*CreateAccountRequest) GetActualInstance

func (obj *CreateAccountRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateAccountRequest) GetActualInstanceValue

func (obj CreateAccountRequest) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateAccountRequest) MarshalJSON

func (src CreateAccountRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateAccountRequest) UnmarshalJSON

func (dst *CreateAccountRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateBrandRequest

type CreateBrandRequest struct {
	Name     string `json:"name"`
	ParentId int64  `json:"parent_id"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

CreateBrandRequest Mixin to validate parent-child relationships between different account types. Rules: - Brand: Can only have Reseller children and no parent - Reseller: Can only have Organization children and Brand parent - Organization: Can only have Workspace children and Reseller parent - Workspace: Cannot have children, parent must be an Organization

func NewCreateBrandRequest

func NewCreateBrandRequest(name string, parentId int64, type_ string) *CreateBrandRequest

NewCreateBrandRequest instantiates a new CreateBrandRequest 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 NewCreateBrandRequestWithDefaults

func NewCreateBrandRequestWithDefaults() *CreateBrandRequest

NewCreateBrandRequestWithDefaults instantiates a new CreateBrandRequest 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 (*CreateBrandRequest) GetName

func (o *CreateBrandRequest) GetName() string

GetName returns the Name field value

func (*CreateBrandRequest) GetNameOk

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

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

func (*CreateBrandRequest) GetParentId

func (o *CreateBrandRequest) GetParentId() int64

GetParentId returns the ParentId field value

func (*CreateBrandRequest) GetParentIdOk

func (o *CreateBrandRequest) GetParentIdOk() (*int64, bool)

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

func (*CreateBrandRequest) GetType

func (o *CreateBrandRequest) GetType() string

GetType returns the Type field value

func (*CreateBrandRequest) GetTypeOk

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

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

func (CreateBrandRequest) MarshalJSON

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

func (*CreateBrandRequest) SetName

func (o *CreateBrandRequest) SetName(v string)

SetName sets field value

func (*CreateBrandRequest) SetParentId

func (o *CreateBrandRequest) SetParentId(v int64)

SetParentId sets field value

func (*CreateBrandRequest) SetType

func (o *CreateBrandRequest) SetType(v string)

SetType sets field value

func (CreateBrandRequest) ToMap

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

func (*CreateBrandRequest) UnmarshalJSON

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

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	Name     string `json:"name"`
	ParentId int64  `json:"parent_id"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

CreateOrganizationRequest Mixin to validate parent-child relationships between different account types. Rules: - Brand: Can only have Reseller children and no parent - Reseller: Can only have Organization children and Brand parent - Organization: Can only have Workspace children and Reseller parent - Workspace: Cannot have children, parent must be an Organization

func NewCreateOrganizationRequest

func NewCreateOrganizationRequest(name string, parentId int64, type_ string) *CreateOrganizationRequest

NewCreateOrganizationRequest instantiates a new CreateOrganizationRequest 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 NewCreateOrganizationRequestWithDefaults

func NewCreateOrganizationRequestWithDefaults() *CreateOrganizationRequest

NewCreateOrganizationRequestWithDefaults instantiates a new CreateOrganizationRequest 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 (*CreateOrganizationRequest) GetName

func (o *CreateOrganizationRequest) GetName() string

GetName returns the Name field value

func (*CreateOrganizationRequest) GetNameOk

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

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

func (*CreateOrganizationRequest) GetParentId

func (o *CreateOrganizationRequest) GetParentId() int64

GetParentId returns the ParentId field value

func (*CreateOrganizationRequest) GetParentIdOk

func (o *CreateOrganizationRequest) GetParentIdOk() (*int64, bool)

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

func (*CreateOrganizationRequest) GetType

func (o *CreateOrganizationRequest) GetType() string

GetType returns the Type field value

func (*CreateOrganizationRequest) GetTypeOk

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

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

func (CreateOrganizationRequest) MarshalJSON

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

func (*CreateOrganizationRequest) SetName

func (o *CreateOrganizationRequest) SetName(v string)

SetName sets field value

func (*CreateOrganizationRequest) SetParentId

func (o *CreateOrganizationRequest) SetParentId(v int64)

SetParentId sets field value

func (*CreateOrganizationRequest) SetType

func (o *CreateOrganizationRequest) SetType(v string)

SetType sets field value

func (CreateOrganizationRequest) ToMap

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

func (*CreateOrganizationRequest) UnmarshalJSON

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

type CreateResellerRequest

type CreateResellerRequest struct {
	Name     string `json:"name"`
	ParentId int64  `json:"parent_id"`
	// * `USD` - USD * `BRL` - BRL
	CurrencyIsoCode   string  `json:"currency_iso_code"`
	TermsOfServiceUrl *string `json:"terms_of_service_url,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

CreateResellerRequest Mixin to validate parent-child relationships between different account types. Rules: - Brand: Can only have Reseller children and no parent - Reseller: Can only have Organization children and Brand parent - Organization: Can only have Workspace children and Reseller parent - Workspace: Cannot have children, parent must be an Organization

func NewCreateResellerRequest

func NewCreateResellerRequest(name string, parentId int64, currencyIsoCode string, type_ string) *CreateResellerRequest

NewCreateResellerRequest instantiates a new CreateResellerRequest 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 NewCreateResellerRequestWithDefaults

func NewCreateResellerRequestWithDefaults() *CreateResellerRequest

NewCreateResellerRequestWithDefaults instantiates a new CreateResellerRequest 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 (*CreateResellerRequest) GetCurrencyIsoCode

func (o *CreateResellerRequest) GetCurrencyIsoCode() string

GetCurrencyIsoCode returns the CurrencyIsoCode field value

func (*CreateResellerRequest) GetCurrencyIsoCodeOk

func (o *CreateResellerRequest) GetCurrencyIsoCodeOk() (*string, bool)

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

func (*CreateResellerRequest) GetName

func (o *CreateResellerRequest) GetName() string

GetName returns the Name field value

func (*CreateResellerRequest) GetNameOk

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

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

func (*CreateResellerRequest) GetParentId

func (o *CreateResellerRequest) GetParentId() int64

GetParentId returns the ParentId field value

func (*CreateResellerRequest) GetParentIdOk

func (o *CreateResellerRequest) GetParentIdOk() (*int64, bool)

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

func (*CreateResellerRequest) GetTermsOfServiceUrl

func (o *CreateResellerRequest) GetTermsOfServiceUrl() string

GetTermsOfServiceUrl returns the TermsOfServiceUrl field value if set, zero value otherwise.

func (*CreateResellerRequest) GetTermsOfServiceUrlOk

func (o *CreateResellerRequest) GetTermsOfServiceUrlOk() (*string, bool)

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

func (*CreateResellerRequest) GetType

func (o *CreateResellerRequest) GetType() string

GetType returns the Type field value

func (*CreateResellerRequest) GetTypeOk

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

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

func (*CreateResellerRequest) HasTermsOfServiceUrl

func (o *CreateResellerRequest) HasTermsOfServiceUrl() bool

HasTermsOfServiceUrl returns a boolean if a field has been set.

func (CreateResellerRequest) MarshalJSON

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

func (*CreateResellerRequest) SetCurrencyIsoCode

func (o *CreateResellerRequest) SetCurrencyIsoCode(v string)

SetCurrencyIsoCode sets field value

func (*CreateResellerRequest) SetName

func (o *CreateResellerRequest) SetName(v string)

SetName sets field value

func (*CreateResellerRequest) SetParentId

func (o *CreateResellerRequest) SetParentId(v int64)

SetParentId sets field value

func (*CreateResellerRequest) SetTermsOfServiceUrl

func (o *CreateResellerRequest) SetTermsOfServiceUrl(v string)

SetTermsOfServiceUrl gets a reference to the given string and assigns it to the TermsOfServiceUrl field.

func (*CreateResellerRequest) SetType

func (o *CreateResellerRequest) SetType(v string)

SetType sets field value

func (CreateResellerRequest) ToMap

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

func (*CreateResellerRequest) UnmarshalJSON

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

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	Name     string `json:"name"`
	ParentId int64  `json:"parent_id"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

CreateWorkspaceRequest Mixin to validate parent-child relationships between different account types. Rules: - Brand: Can only have Reseller children and no parent - Reseller: Can only have Organization children and Brand parent - Organization: Can only have Workspace children and Reseller parent - Workspace: Cannot have children, parent must be an Organization

func NewCreateWorkspaceRequest

func NewCreateWorkspaceRequest(name string, parentId int64, type_ string) *CreateWorkspaceRequest

NewCreateWorkspaceRequest instantiates a new CreateWorkspaceRequest 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 NewCreateWorkspaceRequestWithDefaults

func NewCreateWorkspaceRequestWithDefaults() *CreateWorkspaceRequest

NewCreateWorkspaceRequestWithDefaults instantiates a new CreateWorkspaceRequest 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 (*CreateWorkspaceRequest) GetName

func (o *CreateWorkspaceRequest) GetName() string

GetName returns the Name field value

func (*CreateWorkspaceRequest) GetNameOk

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

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

func (*CreateWorkspaceRequest) GetParentId

func (o *CreateWorkspaceRequest) GetParentId() int64

GetParentId returns the ParentId field value

func (*CreateWorkspaceRequest) GetParentIdOk

func (o *CreateWorkspaceRequest) GetParentIdOk() (*int64, bool)

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

func (*CreateWorkspaceRequest) GetType

func (o *CreateWorkspaceRequest) GetType() string

GetType returns the Type field value

func (*CreateWorkspaceRequest) GetTypeOk

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

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

func (CreateWorkspaceRequest) MarshalJSON

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

func (*CreateWorkspaceRequest) SetName

func (o *CreateWorkspaceRequest) SetName(v string)

SetName sets field value

func (*CreateWorkspaceRequest) SetParentId

func (o *CreateWorkspaceRequest) SetParentId(v int64)

SetParentId sets field value

func (*CreateWorkspaceRequest) SetType

func (o *CreateWorkspaceRequest) SetType(v string)

SetType sets field value

func (CreateWorkspaceRequest) ToMap

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

func (*CreateWorkspaceRequest) UnmarshalJSON

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

type JSONAPIErrorObject struct {
	// The HTTP status code applicable to this problem
	Status *string `json:"status,omitempty"`
	// An application-specific error code
	Code *string `json:"code,omitempty"`
	// A short, human-readable summary of the problem
	Title *string `json:"title,omitempty"`
	// A human-readable explanation specific to this occurrence of the problem
	Detail *string `json:"detail,omitempty"`
	// References to the primary source of the error
	Source *JSONAPIErrorSource `json:"source,omitempty"`
	// Non-standard meta-information about the error
	Meta map[string]interface{} `json:"meta,omitempty"`
}

JSONAPIErrorObject Serializer for a single JSON:API error object.

func NewJSONAPIErrorObject

func NewJSONAPIErrorObject() *JSONAPIErrorObject

NewJSONAPIErrorObject instantiates a new JSONAPIErrorObject 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 NewJSONAPIErrorObjectWithDefaults

func NewJSONAPIErrorObjectWithDefaults() *JSONAPIErrorObject

NewJSONAPIErrorObjectWithDefaults instantiates a new JSONAPIErrorObject 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 (*JSONAPIErrorObject) GetCode

func (o *JSONAPIErrorObject) GetCode() string

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

func (*JSONAPIErrorObject) GetCodeOk

func (o *JSONAPIErrorObject) 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 (*JSONAPIErrorObject) GetDetail

func (o *JSONAPIErrorObject) GetDetail() string

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

func (*JSONAPIErrorObject) GetDetailOk

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

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

func (*JSONAPIErrorObject) GetMeta

func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}

GetMeta returns the Meta field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetMetaOk

func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)

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

func (*JSONAPIErrorObject) GetSource

func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource

GetSource returns the Source field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetSourceOk

func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)

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

func (*JSONAPIErrorObject) GetStatus

func (o *JSONAPIErrorObject) GetStatus() string

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

func (*JSONAPIErrorObject) GetStatusOk

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

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

func (*JSONAPIErrorObject) GetTitle

func (o *JSONAPIErrorObject) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetTitleOk

func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)

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

func (*JSONAPIErrorObject) HasCode

func (o *JSONAPIErrorObject) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasDetail

func (o *JSONAPIErrorObject) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasMeta

func (o *JSONAPIErrorObject) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasSource

func (o *JSONAPIErrorObject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasStatus

func (o *JSONAPIErrorObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasTitle

func (o *JSONAPIErrorObject) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (JSONAPIErrorObject) MarshalJSON

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

func (*JSONAPIErrorObject) SetCode

func (o *JSONAPIErrorObject) SetCode(v string)

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

func (*JSONAPIErrorObject) SetDetail

func (o *JSONAPIErrorObject) SetDetail(v string)

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

func (*JSONAPIErrorObject) SetMeta

func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})

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

func (*JSONAPIErrorObject) SetSource

func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)

SetSource gets a reference to the given JSONAPIErrorSource and assigns it to the Source field.

func (*JSONAPIErrorObject) SetStatus

func (o *JSONAPIErrorObject) SetStatus(v string)

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

func (*JSONAPIErrorObject) SetTitle

func (o *JSONAPIErrorObject) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (JSONAPIErrorObject) ToMap

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

type JSONAPIErrorResponse

type JSONAPIErrorResponse struct {
	// Array of error objects
	Errors []JSONAPIErrorObject `json:"errors"`
}

JSONAPIErrorResponse Serializer for a JSON:API error response.

func NewJSONAPIErrorResponse

func NewJSONAPIErrorResponse(errors []JSONAPIErrorObject) *JSONAPIErrorResponse

NewJSONAPIErrorResponse instantiates a new JSONAPIErrorResponse 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 NewJSONAPIErrorResponseWithDefaults

func NewJSONAPIErrorResponseWithDefaults() *JSONAPIErrorResponse

NewJSONAPIErrorResponseWithDefaults instantiates a new JSONAPIErrorResponse 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 (*JSONAPIErrorResponse) GetErrors

func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject

GetErrors returns the Errors field value

func (*JSONAPIErrorResponse) GetErrorsOk

func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)

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

func (JSONAPIErrorResponse) MarshalJSON

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

func (*JSONAPIErrorResponse) SetErrors

func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)

SetErrors sets field value

func (JSONAPIErrorResponse) ToMap

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

func (*JSONAPIErrorResponse) UnmarshalJSON

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

type JSONAPIErrorSource

type JSONAPIErrorSource struct {
	// JSON Pointer to the value in the request document that caused the error
	Pointer *string `json:"pointer,omitempty"`
	// URI query parameter that caused the error
	Parameter *string `json:"parameter,omitempty"`
	// Request header name that caused the error
	Header *string `json:"header,omitempty"`
}

JSONAPIErrorSource Serializer for the 'source' object in a JSON:API error.

func NewJSONAPIErrorSource

func NewJSONAPIErrorSource() *JSONAPIErrorSource

NewJSONAPIErrorSource instantiates a new JSONAPIErrorSource 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 NewJSONAPIErrorSourceWithDefaults

func NewJSONAPIErrorSourceWithDefaults() *JSONAPIErrorSource

NewJSONAPIErrorSourceWithDefaults instantiates a new JSONAPIErrorSource 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 (*JSONAPIErrorSource) GetHeader

func (o *JSONAPIErrorSource) GetHeader() string

GetHeader returns the Header field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetHeaderOk

func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)

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

func (*JSONAPIErrorSource) GetParameter

func (o *JSONAPIErrorSource) GetParameter() string

GetParameter returns the Parameter field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetParameterOk

func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)

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

func (*JSONAPIErrorSource) GetPointer

func (o *JSONAPIErrorSource) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetPointerOk

func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)

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

func (*JSONAPIErrorSource) HasHeader

func (o *JSONAPIErrorSource) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasParameter

func (o *JSONAPIErrorSource) HasParameter() bool

HasParameter returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasPointer

func (o *JSONAPIErrorSource) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (JSONAPIErrorSource) MarshalJSON

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

func (*JSONAPIErrorSource) SetHeader

func (o *JSONAPIErrorSource) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*JSONAPIErrorSource) SetParameter

func (o *JSONAPIErrorSource) SetParameter(v string)

SetParameter gets a reference to the given string and assigns it to the Parameter field.

func (*JSONAPIErrorSource) SetPointer

func (o *JSONAPIErrorSource) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (JSONAPIErrorSource) ToMap

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

type MappedNullable

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

type NullableAccount

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

func NewNullableAccount

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON

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

func (*NullableAccount) Set

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON

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

func (*NullableAccount) Unset

func (v *NullableAccount) Unset()

type NullableAccountInfo

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

func NewNullableAccountInfo

func NewNullableAccountInfo(val *AccountInfo) *NullableAccountInfo

func (NullableAccountInfo) Get

func (NullableAccountInfo) IsSet

func (v NullableAccountInfo) IsSet() bool

func (NullableAccountInfo) MarshalJSON

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

func (*NullableAccountInfo) Set

func (v *NullableAccountInfo) Set(val *AccountInfo)

func (*NullableAccountInfo) UnmarshalJSON

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

func (*NullableAccountInfo) Unset

func (v *NullableAccountInfo) Unset()

type NullableAccountInfoRequest

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

func NewNullableAccountInfoRequest

func NewNullableAccountInfoRequest(val *AccountInfoRequest) *NullableAccountInfoRequest

func (NullableAccountInfoRequest) Get

func (NullableAccountInfoRequest) IsSet

func (v NullableAccountInfoRequest) IsSet() bool

func (NullableAccountInfoRequest) MarshalJSON

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

func (*NullableAccountInfoRequest) Set

func (*NullableAccountInfoRequest) UnmarshalJSON

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

func (*NullableAccountInfoRequest) Unset

func (v *NullableAccountInfoRequest) Unset()

type NullableAccountRequest

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

func NewNullableAccountRequest

func NewNullableAccountRequest(val *AccountRequest) *NullableAccountRequest

func (NullableAccountRequest) Get

func (NullableAccountRequest) IsSet

func (v NullableAccountRequest) IsSet() bool

func (NullableAccountRequest) MarshalJSON

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

func (*NullableAccountRequest) Set

func (*NullableAccountRequest) UnmarshalJSON

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

func (*NullableAccountRequest) Unset

func (v *NullableAccountRequest) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBrand

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

func NewNullableBrand

func NewNullableBrand(val *Brand) *NullableBrand

func (NullableBrand) Get

func (v NullableBrand) Get() *Brand

func (NullableBrand) IsSet

func (v NullableBrand) IsSet() bool

func (NullableBrand) MarshalJSON

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

func (*NullableBrand) Set

func (v *NullableBrand) Set(val *Brand)

func (*NullableBrand) UnmarshalJSON

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

func (*NullableBrand) Unset

func (v *NullableBrand) Unset()

type NullableBrandRequest

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

func NewNullableBrandRequest

func NewNullableBrandRequest(val *BrandRequest) *NullableBrandRequest

func (NullableBrandRequest) Get

func (NullableBrandRequest) IsSet

func (v NullableBrandRequest) IsSet() bool

func (NullableBrandRequest) MarshalJSON

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

func (*NullableBrandRequest) Set

func (v *NullableBrandRequest) Set(val *BrandRequest)

func (*NullableBrandRequest) UnmarshalJSON

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

func (*NullableBrandRequest) Unset

func (v *NullableBrandRequest) Unset()

type NullableCreateAccountRequest

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

func NewNullableCreateAccountRequest

func NewNullableCreateAccountRequest(val *CreateAccountRequest) *NullableCreateAccountRequest

func (NullableCreateAccountRequest) Get

func (NullableCreateAccountRequest) IsSet

func (NullableCreateAccountRequest) MarshalJSON

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

func (*NullableCreateAccountRequest) Set

func (*NullableCreateAccountRequest) UnmarshalJSON

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

func (*NullableCreateAccountRequest) Unset

func (v *NullableCreateAccountRequest) Unset()

type NullableCreateBrandRequest

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

func NewNullableCreateBrandRequest

func NewNullableCreateBrandRequest(val *CreateBrandRequest) *NullableCreateBrandRequest

func (NullableCreateBrandRequest) Get

func (NullableCreateBrandRequest) IsSet

func (v NullableCreateBrandRequest) IsSet() bool

func (NullableCreateBrandRequest) MarshalJSON

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

func (*NullableCreateBrandRequest) Set

func (*NullableCreateBrandRequest) UnmarshalJSON

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

func (*NullableCreateBrandRequest) Unset

func (v *NullableCreateBrandRequest) Unset()

type NullableCreateOrganizationRequest

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

func (NullableCreateOrganizationRequest) Get

func (NullableCreateOrganizationRequest) IsSet

func (NullableCreateOrganizationRequest) MarshalJSON

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

func (*NullableCreateOrganizationRequest) Set

func (*NullableCreateOrganizationRequest) UnmarshalJSON

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

func (*NullableCreateOrganizationRequest) Unset

type NullableCreateResellerRequest

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

func (NullableCreateResellerRequest) Get

func (NullableCreateResellerRequest) IsSet

func (NullableCreateResellerRequest) MarshalJSON

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

func (*NullableCreateResellerRequest) Set

func (*NullableCreateResellerRequest) UnmarshalJSON

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

func (*NullableCreateResellerRequest) Unset

func (v *NullableCreateResellerRequest) Unset()

type NullableCreateWorkspaceRequest

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

func (NullableCreateWorkspaceRequest) Get

func (NullableCreateWorkspaceRequest) IsSet

func (NullableCreateWorkspaceRequest) MarshalJSON

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

func (*NullableCreateWorkspaceRequest) Set

func (*NullableCreateWorkspaceRequest) UnmarshalJSON

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

func (*NullableCreateWorkspaceRequest) Unset

func (v *NullableCreateWorkspaceRequest) 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 NullableJSONAPIErrorObject

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

func NewNullableJSONAPIErrorObject

func NewNullableJSONAPIErrorObject(val *JSONAPIErrorObject) *NullableJSONAPIErrorObject

func (NullableJSONAPIErrorObject) Get

func (NullableJSONAPIErrorObject) IsSet

func (v NullableJSONAPIErrorObject) IsSet() bool

func (NullableJSONAPIErrorObject) MarshalJSON

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

func (*NullableJSONAPIErrorObject) Set

func (*NullableJSONAPIErrorObject) UnmarshalJSON

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

func (*NullableJSONAPIErrorObject) Unset

func (v *NullableJSONAPIErrorObject) Unset()

type NullableJSONAPIErrorResponse

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

func NewNullableJSONAPIErrorResponse

func NewNullableJSONAPIErrorResponse(val *JSONAPIErrorResponse) *NullableJSONAPIErrorResponse

func (NullableJSONAPIErrorResponse) Get

func (NullableJSONAPIErrorResponse) IsSet

func (NullableJSONAPIErrorResponse) MarshalJSON

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

func (*NullableJSONAPIErrorResponse) Set

func (*NullableJSONAPIErrorResponse) UnmarshalJSON

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

func (*NullableJSONAPIErrorResponse) Unset

func (v *NullableJSONAPIErrorResponse) Unset()

type NullableJSONAPIErrorSource

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

func NewNullableJSONAPIErrorSource

func NewNullableJSONAPIErrorSource(val *JSONAPIErrorSource) *NullableJSONAPIErrorSource

func (NullableJSONAPIErrorSource) Get

func (NullableJSONAPIErrorSource) IsSet

func (v NullableJSONAPIErrorSource) IsSet() bool

func (NullableJSONAPIErrorSource) MarshalJSON

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

func (*NullableJSONAPIErrorSource) Set

func (*NullableJSONAPIErrorSource) UnmarshalJSON

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

func (*NullableJSONAPIErrorSource) Unset

func (v *NullableJSONAPIErrorSource) Unset()

type NullableOrganization

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

func NewNullableOrganization

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get

func (NullableOrganization) IsSet

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON

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

func (*NullableOrganization) Set

func (v *NullableOrganization) Set(val *Organization)

func (*NullableOrganization) UnmarshalJSON

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

func (*NullableOrganization) Unset

func (v *NullableOrganization) Unset()

type NullableOrganizationRequest

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

func NewNullableOrganizationRequest

func NewNullableOrganizationRequest(val *OrganizationRequest) *NullableOrganizationRequest

func (NullableOrganizationRequest) Get

func (NullableOrganizationRequest) IsSet

func (NullableOrganizationRequest) MarshalJSON

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

func (*NullableOrganizationRequest) Set

func (*NullableOrganizationRequest) UnmarshalJSON

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

func (*NullableOrganizationRequest) Unset

func (v *NullableOrganizationRequest) Unset()

type NullablePaginatedResponseListAccountList

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

func (NullablePaginatedResponseListAccountList) Get

func (NullablePaginatedResponseListAccountList) IsSet

func (NullablePaginatedResponseListAccountList) MarshalJSON

func (*NullablePaginatedResponseListAccountList) Set

func (*NullablePaginatedResponseListAccountList) UnmarshalJSON

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

func (*NullablePaginatedResponseListAccountList) Unset

type NullablePatchedAccountRequest

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

func (NullablePatchedAccountRequest) Get

func (NullablePatchedAccountRequest) IsSet

func (NullablePatchedAccountRequest) MarshalJSON

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

func (*NullablePatchedAccountRequest) Set

func (*NullablePatchedAccountRequest) UnmarshalJSON

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

func (*NullablePatchedAccountRequest) Unset

func (v *NullablePatchedAccountRequest) Unset()

type NullablePatchedBrandRequest

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

func NewNullablePatchedBrandRequest

func NewNullablePatchedBrandRequest(val *PatchedBrandRequest) *NullablePatchedBrandRequest

func (NullablePatchedBrandRequest) Get

func (NullablePatchedBrandRequest) IsSet

func (NullablePatchedBrandRequest) MarshalJSON

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

func (*NullablePatchedBrandRequest) Set

func (*NullablePatchedBrandRequest) UnmarshalJSON

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

func (*NullablePatchedBrandRequest) Unset

func (v *NullablePatchedBrandRequest) Unset()

type NullablePatchedOrganizationRequest

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

func (NullablePatchedOrganizationRequest) Get

func (NullablePatchedOrganizationRequest) IsSet

func (NullablePatchedOrganizationRequest) MarshalJSON

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

func (*NullablePatchedOrganizationRequest) Set

func (*NullablePatchedOrganizationRequest) UnmarshalJSON

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

func (*NullablePatchedOrganizationRequest) Unset

type NullablePatchedResellerRequest

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

func (NullablePatchedResellerRequest) Get

func (NullablePatchedResellerRequest) IsSet

func (NullablePatchedResellerRequest) MarshalJSON

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

func (*NullablePatchedResellerRequest) Set

func (*NullablePatchedResellerRequest) UnmarshalJSON

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

func (*NullablePatchedResellerRequest) Unset

func (v *NullablePatchedResellerRequest) Unset()

type NullablePatchedWorkspaceRequest

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

func (NullablePatchedWorkspaceRequest) Get

func (NullablePatchedWorkspaceRequest) IsSet

func (NullablePatchedWorkspaceRequest) MarshalJSON

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

func (*NullablePatchedWorkspaceRequest) Set

func (*NullablePatchedWorkspaceRequest) UnmarshalJSON

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

func (*NullablePatchedWorkspaceRequest) Unset

type NullableReseller

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

func NewNullableReseller

func NewNullableReseller(val *Reseller) *NullableReseller

func (NullableReseller) Get

func (v NullableReseller) Get() *Reseller

func (NullableReseller) IsSet

func (v NullableReseller) IsSet() bool

func (NullableReseller) MarshalJSON

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

func (*NullableReseller) Set

func (v *NullableReseller) Set(val *Reseller)

func (*NullableReseller) UnmarshalJSON

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

func (*NullableReseller) Unset

func (v *NullableReseller) Unset()

type NullableResellerRequest

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

func NewNullableResellerRequest

func NewNullableResellerRequest(val *ResellerRequest) *NullableResellerRequest

func (NullableResellerRequest) Get

func (NullableResellerRequest) IsSet

func (v NullableResellerRequest) IsSet() bool

func (NullableResellerRequest) MarshalJSON

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

func (*NullableResellerRequest) Set

func (*NullableResellerRequest) UnmarshalJSON

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

func (*NullableResellerRequest) Unset

func (v *NullableResellerRequest) Unset()

type NullableResponseAccount

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

func NewNullableResponseAccount

func NewNullableResponseAccount(val *ResponseAccount) *NullableResponseAccount

func (NullableResponseAccount) Get

func (NullableResponseAccount) IsSet

func (v NullableResponseAccount) IsSet() bool

func (NullableResponseAccount) MarshalJSON

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

func (*NullableResponseAccount) Set

func (*NullableResponseAccount) UnmarshalJSON

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

func (*NullableResponseAccount) Unset

func (v *NullableResponseAccount) Unset()

type NullableResponseAccountInfo

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

func NewNullableResponseAccountInfo

func NewNullableResponseAccountInfo(val *ResponseAccountInfo) *NullableResponseAccountInfo

func (NullableResponseAccountInfo) Get

func (NullableResponseAccountInfo) IsSet

func (NullableResponseAccountInfo) MarshalJSON

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

func (*NullableResponseAccountInfo) Set

func (*NullableResponseAccountInfo) UnmarshalJSON

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

func (*NullableResponseAccountInfo) Unset

func (v *NullableResponseAccountInfo) Unset()

type NullableResponseAsyncAccount

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

func NewNullableResponseAsyncAccount

func NewNullableResponseAsyncAccount(val *ResponseAsyncAccount) *NullableResponseAsyncAccount

func (NullableResponseAsyncAccount) Get

func (NullableResponseAsyncAccount) IsSet

func (NullableResponseAsyncAccount) MarshalJSON

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

func (*NullableResponseAsyncAccount) Set

func (*NullableResponseAsyncAccount) UnmarshalJSON

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

func (*NullableResponseAsyncAccount) Unset

func (v *NullableResponseAsyncAccount) Unset()

type NullableResponseAsyncAccountInfo

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

func (NullableResponseAsyncAccountInfo) Get

func (NullableResponseAsyncAccountInfo) IsSet

func (NullableResponseAsyncAccountInfo) MarshalJSON

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

func (*NullableResponseAsyncAccountInfo) Set

func (*NullableResponseAsyncAccountInfo) UnmarshalJSON

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

func (*NullableResponseAsyncAccountInfo) Unset

type NullableResponseListAccount

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

func NewNullableResponseListAccount

func NewNullableResponseListAccount(val *ResponseListAccount) *NullableResponseListAccount

func (NullableResponseListAccount) Get

func (NullableResponseListAccount) IsSet

func (NullableResponseListAccount) MarshalJSON

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

func (*NullableResponseListAccount) Set

func (*NullableResponseListAccount) UnmarshalJSON

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

func (*NullableResponseListAccount) Unset

func (v *NullableResponseListAccount) Unset()

type NullableResponseRetrieveAccount

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

func (NullableResponseRetrieveAccount) Get

func (NullableResponseRetrieveAccount) IsSet

func (NullableResponseRetrieveAccount) MarshalJSON

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

func (*NullableResponseRetrieveAccount) Set

func (*NullableResponseRetrieveAccount) UnmarshalJSON

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

func (*NullableResponseRetrieveAccount) Unset

type NullableResponseRetrieveAccountInfo

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

func (NullableResponseRetrieveAccountInfo) Get

func (NullableResponseRetrieveAccountInfo) IsSet

func (NullableResponseRetrieveAccountInfo) MarshalJSON

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

func (*NullableResponseRetrieveAccountInfo) Set

func (*NullableResponseRetrieveAccountInfo) UnmarshalJSON

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

func (*NullableResponseRetrieveAccountInfo) 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 NullableUpdateAccountInfoDetailsRequest

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

func (NullableUpdateAccountInfoDetailsRequest) Get

func (NullableUpdateAccountInfoDetailsRequest) IsSet

func (NullableUpdateAccountInfoDetailsRequest) MarshalJSON

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

func (*NullableUpdateAccountInfoDetailsRequest) Set

func (*NullableUpdateAccountInfoDetailsRequest) UnmarshalJSON

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

func (*NullableUpdateAccountInfoDetailsRequest) Unset

type NullableWorkspace

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

func NewNullableWorkspace

func NewNullableWorkspace(val *Workspace) *NullableWorkspace

func (NullableWorkspace) Get

func (v NullableWorkspace) Get() *Workspace

func (NullableWorkspace) IsSet

func (v NullableWorkspace) IsSet() bool

func (NullableWorkspace) MarshalJSON

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

func (*NullableWorkspace) Set

func (v *NullableWorkspace) Set(val *Workspace)

func (*NullableWorkspace) UnmarshalJSON

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

func (*NullableWorkspace) Unset

func (v *NullableWorkspace) Unset()

type NullableWorkspaceRequest

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

func NewNullableWorkspaceRequest

func NewNullableWorkspaceRequest(val *WorkspaceRequest) *NullableWorkspaceRequest

func (NullableWorkspaceRequest) Get

func (NullableWorkspaceRequest) IsSet

func (v NullableWorkspaceRequest) IsSet() bool

func (NullableWorkspaceRequest) MarshalJSON

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

func (*NullableWorkspaceRequest) Set

func (*NullableWorkspaceRequest) UnmarshalJSON

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

func (*NullableWorkspaceRequest) Unset

func (v *NullableWorkspaceRequest) Unset()

type Organization

type Organization struct {
	Id           int64                  `json:"id"`
	Name         string                 `json:"name"`
	Active       bool                   `json:"active"`
	LastEditor   string                 `json:"last_editor"`
	LastModified time.Time              `json:"last_modified"`
	ParentId     int64                  `json:"parent_id"`
	Created      time.Time              `json:"created"`
	Info         map[string]interface{} `json:"info"`
	// * `active` - Active account status, can be used for regular operations. * `suspended` - Suspended account status, for accounts with limited access to support and payments only. * `disabled` - Disabled account status, services are offline, user can only access support. * `closed` - Closed account status, services are offline but can be reactivated.
	Status string `json:"status"`
	// * `trial` - Trial account status, currently on a trial period. * `online` - Online account status, used for online sales operations. * `regular` - Regular account status, indicates the customer has an active contract. * `overdue` - Overdue status, the account failed necessary payments after retries. * `quarantine` - Quarantine status, the account is suspended due to suspected misuse or security breach. * `violation` - Violation status, temporarily suspended due to administrative, technical, security, or policy violations. * `idle` - Idle status, the account was removed due to inactivity. * `terminated` - Terminated status, the account was shut down by the service provider. * `voluntary` - Voluntary status, the account was canceled by its owner.
	Reason string `json:"reason"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

Organization struct for Organization

func NewOrganization

func NewOrganization(id int64, name string, active bool, lastEditor string, lastModified time.Time, parentId int64, created time.Time, info map[string]interface{}, status string, reason string, type_ string) *Organization

NewOrganization instantiates a new Organization 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 NewOrganizationWithDefaults

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization 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 (*Organization) GetActive

func (o *Organization) GetActive() bool

GetActive returns the Active field value

func (*Organization) GetActiveOk

func (o *Organization) GetActiveOk() (*bool, bool)

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

func (*Organization) GetCreated

func (o *Organization) GetCreated() time.Time

GetCreated returns the Created field value

func (*Organization) GetCreatedOk

func (o *Organization) GetCreatedOk() (*time.Time, bool)

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

func (*Organization) GetId

func (o *Organization) GetId() int64

GetId returns the Id field value

func (*Organization) GetIdOk

func (o *Organization) GetIdOk() (*int64, bool)

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

func (*Organization) GetInfo

func (o *Organization) GetInfo() map[string]interface{}

GetInfo returns the Info field value

func (*Organization) GetInfoOk

func (o *Organization) GetInfoOk() (map[string]interface{}, bool)

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

func (*Organization) GetLastEditor

func (o *Organization) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Organization) GetLastEditorOk

func (o *Organization) GetLastEditorOk() (*string, bool)

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

func (*Organization) GetLastModified

func (o *Organization) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Organization) GetLastModifiedOk

func (o *Organization) GetLastModifiedOk() (*time.Time, bool)

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

func (*Organization) GetName

func (o *Organization) GetName() string

GetName returns the Name field value

func (*Organization) GetNameOk

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

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

func (*Organization) GetParentId

func (o *Organization) GetParentId() int64

GetParentId returns the ParentId field value

func (*Organization) GetParentIdOk

func (o *Organization) GetParentIdOk() (*int64, bool)

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

func (*Organization) GetReason

func (o *Organization) GetReason() string

GetReason returns the Reason field value

func (*Organization) GetReasonOk

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

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

func (*Organization) GetStatus

func (o *Organization) GetStatus() string

GetStatus returns the Status field value

func (*Organization) GetStatusOk

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

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

func (*Organization) GetType

func (o *Organization) GetType() string

GetType returns the Type field value

func (*Organization) GetTypeOk

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

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

func (Organization) MarshalJSON

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

func (*Organization) SetActive

func (o *Organization) SetActive(v bool)

SetActive sets field value

func (*Organization) SetCreated

func (o *Organization) SetCreated(v time.Time)

SetCreated sets field value

func (*Organization) SetId

func (o *Organization) SetId(v int64)

SetId sets field value

func (*Organization) SetInfo

func (o *Organization) SetInfo(v map[string]interface{})

SetInfo sets field value

func (*Organization) SetLastEditor

func (o *Organization) SetLastEditor(v string)

SetLastEditor sets field value

func (*Organization) SetLastModified

func (o *Organization) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Organization) SetName

func (o *Organization) SetName(v string)

SetName sets field value

func (*Organization) SetParentId

func (o *Organization) SetParentId(v int64)

SetParentId sets field value

func (*Organization) SetReason

func (o *Organization) SetReason(v string)

SetReason sets field value

func (*Organization) SetStatus

func (o *Organization) SetStatus(v string)

SetStatus sets field value

func (*Organization) SetType

func (o *Organization) SetType(v string)

SetType sets field value

func (Organization) ToMap

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

func (*Organization) UnmarshalJSON

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

type OrganizationRequest

type OrganizationRequest struct {
	Name string `json:"name"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

OrganizationRequest struct for OrganizationRequest

func NewOrganizationRequest

func NewOrganizationRequest(name string, type_ string) *OrganizationRequest

NewOrganizationRequest instantiates a new OrganizationRequest 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 NewOrganizationRequestWithDefaults

func NewOrganizationRequestWithDefaults() *OrganizationRequest

NewOrganizationRequestWithDefaults instantiates a new OrganizationRequest 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 (*OrganizationRequest) GetName

func (o *OrganizationRequest) GetName() string

GetName returns the Name field value

func (*OrganizationRequest) GetNameOk

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

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

func (*OrganizationRequest) GetType

func (o *OrganizationRequest) GetType() string

GetType returns the Type field value

func (*OrganizationRequest) GetTypeOk

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

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

func (OrganizationRequest) MarshalJSON

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

func (*OrganizationRequest) SetName

func (o *OrganizationRequest) SetName(v string)

SetName sets field value

func (*OrganizationRequest) SetType

func (o *OrganizationRequest) SetType(v string)

SetType sets field value

func (OrganizationRequest) ToMap

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

func (*OrganizationRequest) UnmarshalJSON

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

type PaginatedResponseListAccountList

type PaginatedResponseListAccountList struct {
	// Total number of items
	Count *int64 `json:"count,omitempty"`
	// Total number of pages
	TotalPages *int64 `json:"total_pages,omitempty"`
	// Current page number
	Page *int64 `json:"page,omitempty"`
	// Number of items per page
	PageSize *int64                `json:"page_size,omitempty"`
	Results  []ResponseListAccount `json:"results,omitempty"`
}

PaginatedResponseListAccountList struct for PaginatedResponseListAccountList

func NewPaginatedResponseListAccountList

func NewPaginatedResponseListAccountList() *PaginatedResponseListAccountList

NewPaginatedResponseListAccountList instantiates a new PaginatedResponseListAccountList 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 NewPaginatedResponseListAccountListWithDefaults

func NewPaginatedResponseListAccountListWithDefaults() *PaginatedResponseListAccountList

NewPaginatedResponseListAccountListWithDefaults instantiates a new PaginatedResponseListAccountList 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 (*PaginatedResponseListAccountList) GetCount

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

func (*PaginatedResponseListAccountList) GetCountOk

func (o *PaginatedResponseListAccountList) GetCountOk() (*int64, bool)

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

func (*PaginatedResponseListAccountList) GetPage

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedResponseListAccountList) GetPageOk

func (o *PaginatedResponseListAccountList) GetPageOk() (*int64, bool)

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

func (*PaginatedResponseListAccountList) GetPageSize

func (o *PaginatedResponseListAccountList) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*PaginatedResponseListAccountList) GetPageSizeOk

func (o *PaginatedResponseListAccountList) GetPageSizeOk() (*int64, bool)

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

func (*PaginatedResponseListAccountList) GetResults

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

func (*PaginatedResponseListAccountList) GetResultsOk

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

func (*PaginatedResponseListAccountList) GetTotalPages

func (o *PaginatedResponseListAccountList) GetTotalPages() int64

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

func (*PaginatedResponseListAccountList) GetTotalPagesOk

func (o *PaginatedResponseListAccountList) GetTotalPagesOk() (*int64, bool)

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

func (*PaginatedResponseListAccountList) HasCount

func (o *PaginatedResponseListAccountList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedResponseListAccountList) HasPage

HasPage returns a boolean if a field has been set.

func (*PaginatedResponseListAccountList) HasPageSize

func (o *PaginatedResponseListAccountList) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*PaginatedResponseListAccountList) HasResults

func (o *PaginatedResponseListAccountList) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PaginatedResponseListAccountList) HasTotalPages

func (o *PaginatedResponseListAccountList) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (PaginatedResponseListAccountList) MarshalJSON

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

func (*PaginatedResponseListAccountList) SetCount

func (o *PaginatedResponseListAccountList) SetCount(v int64)

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

func (*PaginatedResponseListAccountList) SetPage

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*PaginatedResponseListAccountList) SetPageSize

func (o *PaginatedResponseListAccountList) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*PaginatedResponseListAccountList) SetResults

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

func (*PaginatedResponseListAccountList) SetTotalPages

func (o *PaginatedResponseListAccountList) SetTotalPages(v int64)

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

func (PaginatedResponseListAccountList) ToMap

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

type PatchedAccountRequest

type PatchedAccountRequest struct {
	PatchedBrandRequest        *PatchedBrandRequest
	PatchedOrganizationRequest *PatchedOrganizationRequest
	PatchedResellerRequest     *PatchedResellerRequest
	PatchedWorkspaceRequest    *PatchedWorkspaceRequest
}

PatchedAccountRequest - struct for PatchedAccountRequest

func PatchedBrandRequestAsPatchedAccountRequest

func PatchedBrandRequestAsPatchedAccountRequest(v *PatchedBrandRequest) PatchedAccountRequest

PatchedBrandRequestAsPatchedAccountRequest is a convenience function that returns PatchedBrandRequest wrapped in PatchedAccountRequest

func PatchedOrganizationRequestAsPatchedAccountRequest

func PatchedOrganizationRequestAsPatchedAccountRequest(v *PatchedOrganizationRequest) PatchedAccountRequest

PatchedOrganizationRequestAsPatchedAccountRequest is a convenience function that returns PatchedOrganizationRequest wrapped in PatchedAccountRequest

func PatchedResellerRequestAsPatchedAccountRequest

func PatchedResellerRequestAsPatchedAccountRequest(v *PatchedResellerRequest) PatchedAccountRequest

PatchedResellerRequestAsPatchedAccountRequest is a convenience function that returns PatchedResellerRequest wrapped in PatchedAccountRequest

func PatchedWorkspaceRequestAsPatchedAccountRequest

func PatchedWorkspaceRequestAsPatchedAccountRequest(v *PatchedWorkspaceRequest) PatchedAccountRequest

PatchedWorkspaceRequestAsPatchedAccountRequest is a convenience function that returns PatchedWorkspaceRequest wrapped in PatchedAccountRequest

func (*PatchedAccountRequest) GetActualInstance

func (obj *PatchedAccountRequest) GetActualInstance() interface{}

Get the actual instance

func (PatchedAccountRequest) GetActualInstanceValue

func (obj PatchedAccountRequest) GetActualInstanceValue() interface{}

Get the actual instance value

func (PatchedAccountRequest) MarshalJSON

func (src PatchedAccountRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PatchedAccountRequest) UnmarshalJSON

func (dst *PatchedAccountRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type PatchedBrandRequest

type PatchedBrandRequest struct {
	Name *string `json:"name,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type *string `json:"type,omitempty"`
}

PatchedBrandRequest struct for PatchedBrandRequest

func NewPatchedBrandRequest

func NewPatchedBrandRequest() *PatchedBrandRequest

NewPatchedBrandRequest instantiates a new PatchedBrandRequest 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 NewPatchedBrandRequestWithDefaults

func NewPatchedBrandRequestWithDefaults() *PatchedBrandRequest

NewPatchedBrandRequestWithDefaults instantiates a new PatchedBrandRequest 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 (*PatchedBrandRequest) GetName

func (o *PatchedBrandRequest) GetName() string

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

func (*PatchedBrandRequest) GetNameOk

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

func (o *PatchedBrandRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PatchedBrandRequest) GetTypeOk

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

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

func (*PatchedBrandRequest) HasName

func (o *PatchedBrandRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedBrandRequest) HasType

func (o *PatchedBrandRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (PatchedBrandRequest) MarshalJSON

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

func (*PatchedBrandRequest) SetName

func (o *PatchedBrandRequest) SetName(v string)

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

func (*PatchedBrandRequest) SetType

func (o *PatchedBrandRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PatchedBrandRequest) ToMap

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

type PatchedOrganizationRequest

type PatchedOrganizationRequest struct {
	Name *string `json:"name,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type *string `json:"type,omitempty"`
}

PatchedOrganizationRequest struct for PatchedOrganizationRequest

func NewPatchedOrganizationRequest

func NewPatchedOrganizationRequest() *PatchedOrganizationRequest

NewPatchedOrganizationRequest instantiates a new PatchedOrganizationRequest 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 NewPatchedOrganizationRequestWithDefaults

func NewPatchedOrganizationRequestWithDefaults() *PatchedOrganizationRequest

NewPatchedOrganizationRequestWithDefaults instantiates a new PatchedOrganizationRequest 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 (*PatchedOrganizationRequest) GetName

func (o *PatchedOrganizationRequest) GetName() string

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

func (*PatchedOrganizationRequest) GetNameOk

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

func (o *PatchedOrganizationRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PatchedOrganizationRequest) GetTypeOk

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

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

func (*PatchedOrganizationRequest) HasName

func (o *PatchedOrganizationRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedOrganizationRequest) HasType

func (o *PatchedOrganizationRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (PatchedOrganizationRequest) MarshalJSON

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

func (*PatchedOrganizationRequest) SetName

func (o *PatchedOrganizationRequest) SetName(v string)

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

func (*PatchedOrganizationRequest) SetType

func (o *PatchedOrganizationRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PatchedOrganizationRequest) ToMap

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

type PatchedResellerRequest

type PatchedResellerRequest struct {
	Name *string `json:"name,omitempty"`
	// * `USD` - USD * `BRL` - BRL
	CurrencyIsoCode   *string `json:"currency_iso_code,omitempty"`
	TermsOfServiceUrl *string `json:"terms_of_service_url,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type *string `json:"type,omitempty"`
}

PatchedResellerRequest struct for PatchedResellerRequest

func NewPatchedResellerRequest

func NewPatchedResellerRequest() *PatchedResellerRequest

NewPatchedResellerRequest instantiates a new PatchedResellerRequest 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 NewPatchedResellerRequestWithDefaults

func NewPatchedResellerRequestWithDefaults() *PatchedResellerRequest

NewPatchedResellerRequestWithDefaults instantiates a new PatchedResellerRequest 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 (*PatchedResellerRequest) GetCurrencyIsoCode

func (o *PatchedResellerRequest) GetCurrencyIsoCode() string

GetCurrencyIsoCode returns the CurrencyIsoCode field value if set, zero value otherwise.

func (*PatchedResellerRequest) GetCurrencyIsoCodeOk

func (o *PatchedResellerRequest) GetCurrencyIsoCodeOk() (*string, bool)

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

func (*PatchedResellerRequest) GetName

func (o *PatchedResellerRequest) GetName() string

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

func (*PatchedResellerRequest) GetNameOk

func (o *PatchedResellerRequest) 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 (*PatchedResellerRequest) GetTermsOfServiceUrl

func (o *PatchedResellerRequest) GetTermsOfServiceUrl() string

GetTermsOfServiceUrl returns the TermsOfServiceUrl field value if set, zero value otherwise.

func (*PatchedResellerRequest) GetTermsOfServiceUrlOk

func (o *PatchedResellerRequest) GetTermsOfServiceUrlOk() (*string, bool)

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

func (*PatchedResellerRequest) GetType

func (o *PatchedResellerRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PatchedResellerRequest) GetTypeOk

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

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

func (*PatchedResellerRequest) HasCurrencyIsoCode

func (o *PatchedResellerRequest) HasCurrencyIsoCode() bool

HasCurrencyIsoCode returns a boolean if a field has been set.

func (*PatchedResellerRequest) HasName

func (o *PatchedResellerRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedResellerRequest) HasTermsOfServiceUrl

func (o *PatchedResellerRequest) HasTermsOfServiceUrl() bool

HasTermsOfServiceUrl returns a boolean if a field has been set.

func (*PatchedResellerRequest) HasType

func (o *PatchedResellerRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (PatchedResellerRequest) MarshalJSON

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

func (*PatchedResellerRequest) SetCurrencyIsoCode

func (o *PatchedResellerRequest) SetCurrencyIsoCode(v string)

SetCurrencyIsoCode gets a reference to the given string and assigns it to the CurrencyIsoCode field.

func (*PatchedResellerRequest) SetName

func (o *PatchedResellerRequest) SetName(v string)

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

func (*PatchedResellerRequest) SetTermsOfServiceUrl

func (o *PatchedResellerRequest) SetTermsOfServiceUrl(v string)

SetTermsOfServiceUrl gets a reference to the given string and assigns it to the TermsOfServiceUrl field.

func (*PatchedResellerRequest) SetType

func (o *PatchedResellerRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PatchedResellerRequest) ToMap

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

type PatchedWorkspaceRequest

type PatchedWorkspaceRequest struct {
	Name *string `json:"name,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type *string `json:"type,omitempty"`
}

PatchedWorkspaceRequest struct for PatchedWorkspaceRequest

func NewPatchedWorkspaceRequest

func NewPatchedWorkspaceRequest() *PatchedWorkspaceRequest

NewPatchedWorkspaceRequest instantiates a new PatchedWorkspaceRequest 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 NewPatchedWorkspaceRequestWithDefaults

func NewPatchedWorkspaceRequestWithDefaults() *PatchedWorkspaceRequest

NewPatchedWorkspaceRequestWithDefaults instantiates a new PatchedWorkspaceRequest 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 (*PatchedWorkspaceRequest) GetName

func (o *PatchedWorkspaceRequest) GetName() string

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

func (*PatchedWorkspaceRequest) GetNameOk

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

func (o *PatchedWorkspaceRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PatchedWorkspaceRequest) GetTypeOk

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

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

func (*PatchedWorkspaceRequest) HasName

func (o *PatchedWorkspaceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedWorkspaceRequest) HasType

func (o *PatchedWorkspaceRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (PatchedWorkspaceRequest) MarshalJSON

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

func (*PatchedWorkspaceRequest) SetName

func (o *PatchedWorkspaceRequest) SetName(v string)

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

func (*PatchedWorkspaceRequest) SetType

func (o *PatchedWorkspaceRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PatchedWorkspaceRequest) ToMap

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

type Reseller

type Reseller struct {
	Id           int64                  `json:"id"`
	Name         string                 `json:"name"`
	Active       bool                   `json:"active"`
	LastEditor   string                 `json:"last_editor"`
	LastModified time.Time              `json:"last_modified"`
	ParentId     int64                  `json:"parent_id"`
	Created      time.Time              `json:"created"`
	Info         map[string]interface{} `json:"info"`
	// * `USD` - USD * `BRL` - BRL
	CurrencyIsoCode   string  `json:"currency_iso_code"`
	TermsOfServiceUrl *string `json:"terms_of_service_url,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

Reseller struct for Reseller

func NewReseller

func NewReseller(id int64, name string, active bool, lastEditor string, lastModified time.Time, parentId int64, created time.Time, info map[string]interface{}, currencyIsoCode string, type_ string) *Reseller

NewReseller instantiates a new Reseller 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 NewResellerWithDefaults

func NewResellerWithDefaults() *Reseller

NewResellerWithDefaults instantiates a new Reseller 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 (*Reseller) GetActive

func (o *Reseller) GetActive() bool

GetActive returns the Active field value

func (*Reseller) GetActiveOk

func (o *Reseller) GetActiveOk() (*bool, bool)

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

func (*Reseller) GetCreated

func (o *Reseller) GetCreated() time.Time

GetCreated returns the Created field value

func (*Reseller) GetCreatedOk

func (o *Reseller) GetCreatedOk() (*time.Time, bool)

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

func (*Reseller) GetCurrencyIsoCode

func (o *Reseller) GetCurrencyIsoCode() string

GetCurrencyIsoCode returns the CurrencyIsoCode field value

func (*Reseller) GetCurrencyIsoCodeOk

func (o *Reseller) GetCurrencyIsoCodeOk() (*string, bool)

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

func (*Reseller) GetId

func (o *Reseller) GetId() int64

GetId returns the Id field value

func (*Reseller) GetIdOk

func (o *Reseller) GetIdOk() (*int64, bool)

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

func (*Reseller) GetInfo

func (o *Reseller) GetInfo() map[string]interface{}

GetInfo returns the Info field value

func (*Reseller) GetInfoOk

func (o *Reseller) GetInfoOk() (map[string]interface{}, bool)

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

func (*Reseller) GetLastEditor

func (o *Reseller) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Reseller) GetLastEditorOk

func (o *Reseller) GetLastEditorOk() (*string, bool)

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

func (*Reseller) GetLastModified

func (o *Reseller) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Reseller) GetLastModifiedOk

func (o *Reseller) GetLastModifiedOk() (*time.Time, bool)

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

func (*Reseller) GetName

func (o *Reseller) GetName() string

GetName returns the Name field value

func (*Reseller) GetNameOk

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

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

func (*Reseller) GetParentId

func (o *Reseller) GetParentId() int64

GetParentId returns the ParentId field value

func (*Reseller) GetParentIdOk

func (o *Reseller) GetParentIdOk() (*int64, bool)

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

func (*Reseller) GetTermsOfServiceUrl

func (o *Reseller) GetTermsOfServiceUrl() string

GetTermsOfServiceUrl returns the TermsOfServiceUrl field value if set, zero value otherwise.

func (*Reseller) GetTermsOfServiceUrlOk

func (o *Reseller) GetTermsOfServiceUrlOk() (*string, bool)

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

func (*Reseller) GetType

func (o *Reseller) GetType() string

GetType returns the Type field value

func (*Reseller) GetTypeOk

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

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

func (*Reseller) HasTermsOfServiceUrl

func (o *Reseller) HasTermsOfServiceUrl() bool

HasTermsOfServiceUrl returns a boolean if a field has been set.

func (Reseller) MarshalJSON

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

func (*Reseller) SetActive

func (o *Reseller) SetActive(v bool)

SetActive sets field value

func (*Reseller) SetCreated

func (o *Reseller) SetCreated(v time.Time)

SetCreated sets field value

func (*Reseller) SetCurrencyIsoCode

func (o *Reseller) SetCurrencyIsoCode(v string)

SetCurrencyIsoCode sets field value

func (*Reseller) SetId

func (o *Reseller) SetId(v int64)

SetId sets field value

func (*Reseller) SetInfo

func (o *Reseller) SetInfo(v map[string]interface{})

SetInfo sets field value

func (*Reseller) SetLastEditor

func (o *Reseller) SetLastEditor(v string)

SetLastEditor sets field value

func (*Reseller) SetLastModified

func (o *Reseller) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Reseller) SetName

func (o *Reseller) SetName(v string)

SetName sets field value

func (*Reseller) SetParentId

func (o *Reseller) SetParentId(v int64)

SetParentId sets field value

func (*Reseller) SetTermsOfServiceUrl

func (o *Reseller) SetTermsOfServiceUrl(v string)

SetTermsOfServiceUrl gets a reference to the given string and assigns it to the TermsOfServiceUrl field.

func (*Reseller) SetType

func (o *Reseller) SetType(v string)

SetType sets field value

func (Reseller) ToMap

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

func (*Reseller) UnmarshalJSON

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

type ResellerRequest

type ResellerRequest struct {
	Name string `json:"name"`
	// * `USD` - USD * `BRL` - BRL
	CurrencyIsoCode   string  `json:"currency_iso_code"`
	TermsOfServiceUrl *string `json:"terms_of_service_url,omitempty"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

ResellerRequest struct for ResellerRequest

func NewResellerRequest

func NewResellerRequest(name string, currencyIsoCode string, type_ string) *ResellerRequest

NewResellerRequest instantiates a new ResellerRequest 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 NewResellerRequestWithDefaults

func NewResellerRequestWithDefaults() *ResellerRequest

NewResellerRequestWithDefaults instantiates a new ResellerRequest 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 (*ResellerRequest) GetCurrencyIsoCode

func (o *ResellerRequest) GetCurrencyIsoCode() string

GetCurrencyIsoCode returns the CurrencyIsoCode field value

func (*ResellerRequest) GetCurrencyIsoCodeOk

func (o *ResellerRequest) GetCurrencyIsoCodeOk() (*string, bool)

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

func (*ResellerRequest) GetName

func (o *ResellerRequest) GetName() string

GetName returns the Name field value

func (*ResellerRequest) GetNameOk

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

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

func (*ResellerRequest) GetTermsOfServiceUrl

func (o *ResellerRequest) GetTermsOfServiceUrl() string

GetTermsOfServiceUrl returns the TermsOfServiceUrl field value if set, zero value otherwise.

func (*ResellerRequest) GetTermsOfServiceUrlOk

func (o *ResellerRequest) GetTermsOfServiceUrlOk() (*string, bool)

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

func (*ResellerRequest) GetType

func (o *ResellerRequest) GetType() string

GetType returns the Type field value

func (*ResellerRequest) GetTypeOk

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

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

func (*ResellerRequest) HasTermsOfServiceUrl

func (o *ResellerRequest) HasTermsOfServiceUrl() bool

HasTermsOfServiceUrl returns a boolean if a field has been set.

func (ResellerRequest) MarshalJSON

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

func (*ResellerRequest) SetCurrencyIsoCode

func (o *ResellerRequest) SetCurrencyIsoCode(v string)

SetCurrencyIsoCode sets field value

func (*ResellerRequest) SetName

func (o *ResellerRequest) SetName(v string)

SetName sets field value

func (*ResellerRequest) SetTermsOfServiceUrl

func (o *ResellerRequest) SetTermsOfServiceUrl(v string)

SetTermsOfServiceUrl gets a reference to the given string and assigns it to the TermsOfServiceUrl field.

func (*ResellerRequest) SetType

func (o *ResellerRequest) SetType(v string)

SetType sets field value

func (ResellerRequest) ToMap

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

func (*ResellerRequest) UnmarshalJSON

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

type ResponseAccount

type ResponseAccount struct {
	State *string `json:"state,omitempty"`
	Data  Account `json:"data"`
}

ResponseAccount struct for ResponseAccount

func NewResponseAccount

func NewResponseAccount(data Account) *ResponseAccount

NewResponseAccount instantiates a new ResponseAccount 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 NewResponseAccountWithDefaults

func NewResponseAccountWithDefaults() *ResponseAccount

NewResponseAccountWithDefaults instantiates a new ResponseAccount 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 (*ResponseAccount) GetData

func (o *ResponseAccount) GetData() Account

GetData returns the Data field value

func (*ResponseAccount) GetDataOk

func (o *ResponseAccount) GetDataOk() (*Account, bool)

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

func (*ResponseAccount) GetState

func (o *ResponseAccount) GetState() string

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

func (*ResponseAccount) GetStateOk

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

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

func (*ResponseAccount) HasState

func (o *ResponseAccount) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAccount) MarshalJSON

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

func (*ResponseAccount) SetData

func (o *ResponseAccount) SetData(v Account)

SetData sets field value

func (*ResponseAccount) SetState

func (o *ResponseAccount) SetState(v string)

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

func (ResponseAccount) ToMap

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

func (*ResponseAccount) UnmarshalJSON

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

type ResponseAccountInfo

type ResponseAccountInfo struct {
	State *string     `json:"state,omitempty"`
	Data  AccountInfo `json:"data"`
}

ResponseAccountInfo struct for ResponseAccountInfo

func NewResponseAccountInfo

func NewResponseAccountInfo(data AccountInfo) *ResponseAccountInfo

NewResponseAccountInfo instantiates a new ResponseAccountInfo 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 NewResponseAccountInfoWithDefaults

func NewResponseAccountInfoWithDefaults() *ResponseAccountInfo

NewResponseAccountInfoWithDefaults instantiates a new ResponseAccountInfo 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 (*ResponseAccountInfo) GetData

func (o *ResponseAccountInfo) GetData() AccountInfo

GetData returns the Data field value

func (*ResponseAccountInfo) GetDataOk

func (o *ResponseAccountInfo) GetDataOk() (*AccountInfo, bool)

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

func (*ResponseAccountInfo) GetState

func (o *ResponseAccountInfo) GetState() string

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

func (*ResponseAccountInfo) GetStateOk

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

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

func (*ResponseAccountInfo) HasState

func (o *ResponseAccountInfo) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAccountInfo) MarshalJSON

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

func (*ResponseAccountInfo) SetData

func (o *ResponseAccountInfo) SetData(v AccountInfo)

SetData sets field value

func (*ResponseAccountInfo) SetState

func (o *ResponseAccountInfo) SetState(v string)

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

func (ResponseAccountInfo) ToMap

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

func (*ResponseAccountInfo) UnmarshalJSON

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

type ResponseAsyncAccount

type ResponseAsyncAccount struct {
	State *string `json:"state,omitempty"`
	Data  Account `json:"data"`
}

ResponseAsyncAccount struct for ResponseAsyncAccount

func NewResponseAsyncAccount

func NewResponseAsyncAccount(data Account) *ResponseAsyncAccount

NewResponseAsyncAccount instantiates a new ResponseAsyncAccount 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 NewResponseAsyncAccountWithDefaults

func NewResponseAsyncAccountWithDefaults() *ResponseAsyncAccount

NewResponseAsyncAccountWithDefaults instantiates a new ResponseAsyncAccount 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 (*ResponseAsyncAccount) GetData

func (o *ResponseAsyncAccount) GetData() Account

GetData returns the Data field value

func (*ResponseAsyncAccount) GetDataOk

func (o *ResponseAsyncAccount) GetDataOk() (*Account, bool)

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

func (*ResponseAsyncAccount) GetState

func (o *ResponseAsyncAccount) GetState() string

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

func (*ResponseAsyncAccount) GetStateOk

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

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

func (*ResponseAsyncAccount) HasState

func (o *ResponseAsyncAccount) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncAccount) MarshalJSON

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

func (*ResponseAsyncAccount) SetData

func (o *ResponseAsyncAccount) SetData(v Account)

SetData sets field value

func (*ResponseAsyncAccount) SetState

func (o *ResponseAsyncAccount) SetState(v string)

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

func (ResponseAsyncAccount) ToMap

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

func (*ResponseAsyncAccount) UnmarshalJSON

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

type ResponseAsyncAccountInfo

type ResponseAsyncAccountInfo struct {
	State *string     `json:"state,omitempty"`
	Data  AccountInfo `json:"data"`
}

ResponseAsyncAccountInfo struct for ResponseAsyncAccountInfo

func NewResponseAsyncAccountInfo

func NewResponseAsyncAccountInfo(data AccountInfo) *ResponseAsyncAccountInfo

NewResponseAsyncAccountInfo instantiates a new ResponseAsyncAccountInfo 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 NewResponseAsyncAccountInfoWithDefaults

func NewResponseAsyncAccountInfoWithDefaults() *ResponseAsyncAccountInfo

NewResponseAsyncAccountInfoWithDefaults instantiates a new ResponseAsyncAccountInfo 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 (*ResponseAsyncAccountInfo) GetData

GetData returns the Data field value

func (*ResponseAsyncAccountInfo) GetDataOk

func (o *ResponseAsyncAccountInfo) GetDataOk() (*AccountInfo, bool)

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

func (*ResponseAsyncAccountInfo) GetState

func (o *ResponseAsyncAccountInfo) GetState() string

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

func (*ResponseAsyncAccountInfo) GetStateOk

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

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

func (*ResponseAsyncAccountInfo) HasState

func (o *ResponseAsyncAccountInfo) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncAccountInfo) MarshalJSON

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

func (*ResponseAsyncAccountInfo) SetData

func (o *ResponseAsyncAccountInfo) SetData(v AccountInfo)

SetData sets field value

func (*ResponseAsyncAccountInfo) SetState

func (o *ResponseAsyncAccountInfo) SetState(v string)

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

func (ResponseAsyncAccountInfo) ToMap

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

func (*ResponseAsyncAccountInfo) UnmarshalJSON

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

type ResponseListAccount

type ResponseListAccount struct {
	Brand        *Brand
	Organization *Organization
	Reseller     *Reseller
	Workspace    *Workspace
}

ResponseListAccount - struct for ResponseListAccount

func BrandAsResponseListAccount

func BrandAsResponseListAccount(v *Brand) ResponseListAccount

BrandAsResponseListAccount is a convenience function that returns Brand wrapped in ResponseListAccount

func OrganizationAsResponseListAccount

func OrganizationAsResponseListAccount(v *Organization) ResponseListAccount

OrganizationAsResponseListAccount is a convenience function that returns Organization wrapped in ResponseListAccount

func ResellerAsResponseListAccount

func ResellerAsResponseListAccount(v *Reseller) ResponseListAccount

ResellerAsResponseListAccount is a convenience function that returns Reseller wrapped in ResponseListAccount

func WorkspaceAsResponseListAccount

func WorkspaceAsResponseListAccount(v *Workspace) ResponseListAccount

WorkspaceAsResponseListAccount is a convenience function that returns Workspace wrapped in ResponseListAccount

func (*ResponseListAccount) GetActualInstance

func (obj *ResponseListAccount) GetActualInstance() interface{}

Get the actual instance

func (ResponseListAccount) GetActualInstanceValue

func (obj ResponseListAccount) GetActualInstanceValue() interface{}

Get the actual instance value

func (ResponseListAccount) MarshalJSON

func (src ResponseListAccount) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ResponseListAccount) UnmarshalJSON

func (dst *ResponseListAccount) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ResponseRetrieveAccount

type ResponseRetrieveAccount struct {
	Data Account `json:"data"`
}

ResponseRetrieveAccount struct for ResponseRetrieveAccount

func NewResponseRetrieveAccount

func NewResponseRetrieveAccount(data Account) *ResponseRetrieveAccount

NewResponseRetrieveAccount instantiates a new ResponseRetrieveAccount 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 NewResponseRetrieveAccountWithDefaults

func NewResponseRetrieveAccountWithDefaults() *ResponseRetrieveAccount

NewResponseRetrieveAccountWithDefaults instantiates a new ResponseRetrieveAccount 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 (*ResponseRetrieveAccount) GetData

func (o *ResponseRetrieveAccount) GetData() Account

GetData returns the Data field value

func (*ResponseRetrieveAccount) GetDataOk

func (o *ResponseRetrieveAccount) GetDataOk() (*Account, bool)

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

func (ResponseRetrieveAccount) MarshalJSON

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

func (*ResponseRetrieveAccount) SetData

func (o *ResponseRetrieveAccount) SetData(v Account)

SetData sets field value

func (ResponseRetrieveAccount) ToMap

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

func (*ResponseRetrieveAccount) UnmarshalJSON

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

type ResponseRetrieveAccountInfo

type ResponseRetrieveAccountInfo struct {
	Data AccountInfo `json:"data"`
}

ResponseRetrieveAccountInfo struct for ResponseRetrieveAccountInfo

func NewResponseRetrieveAccountInfo

func NewResponseRetrieveAccountInfo(data AccountInfo) *ResponseRetrieveAccountInfo

NewResponseRetrieveAccountInfo instantiates a new ResponseRetrieveAccountInfo 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 NewResponseRetrieveAccountInfoWithDefaults

func NewResponseRetrieveAccountInfoWithDefaults() *ResponseRetrieveAccountInfo

NewResponseRetrieveAccountInfoWithDefaults instantiates a new ResponseRetrieveAccountInfo 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 (*ResponseRetrieveAccountInfo) GetData

GetData returns the Data field value

func (*ResponseRetrieveAccountInfo) GetDataOk

func (o *ResponseRetrieveAccountInfo) GetDataOk() (*AccountInfo, bool)

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

func (ResponseRetrieveAccountInfo) MarshalJSON

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

func (*ResponseRetrieveAccountInfo) SetData

SetData sets field value

func (ResponseRetrieveAccountInfo) ToMap

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

func (*ResponseRetrieveAccountInfo) UnmarshalJSON

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

type UpdateAccountInfoDetailsRequest

type UpdateAccountInfoDetailsRequest struct {
	Info *AccountInfoRequest `json:"info,omitempty"`
}

UpdateAccountInfoDetailsRequest struct for UpdateAccountInfoDetailsRequest

func NewUpdateAccountInfoDetailsRequest

func NewUpdateAccountInfoDetailsRequest() *UpdateAccountInfoDetailsRequest

NewUpdateAccountInfoDetailsRequest instantiates a new UpdateAccountInfoDetailsRequest 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 NewUpdateAccountInfoDetailsRequestWithDefaults

func NewUpdateAccountInfoDetailsRequestWithDefaults() *UpdateAccountInfoDetailsRequest

NewUpdateAccountInfoDetailsRequestWithDefaults instantiates a new UpdateAccountInfoDetailsRequest 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 (*UpdateAccountInfoDetailsRequest) GetInfo

GetInfo returns the Info field value if set, zero value otherwise.

func (*UpdateAccountInfoDetailsRequest) GetInfoOk

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

func (*UpdateAccountInfoDetailsRequest) HasInfo

HasInfo returns a boolean if a field has been set.

func (UpdateAccountInfoDetailsRequest) MarshalJSON

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

func (*UpdateAccountInfoDetailsRequest) SetInfo

SetInfo gets a reference to the given AccountInfoRequest and assigns it to the Info field.

func (UpdateAccountInfoDetailsRequest) ToMap

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

type Workspace

type Workspace struct {
	Id           int64                  `json:"id"`
	Name         string                 `json:"name"`
	Active       bool                   `json:"active"`
	LastEditor   string                 `json:"last_editor"`
	LastModified time.Time              `json:"last_modified"`
	ParentId     int64                  `json:"parent_id"`
	Created      time.Time              `json:"created"`
	Info         map[string]interface{} `json:"info"`
	WorkspaceId  string                 `json:"workspace_id"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

Workspace struct for Workspace

func NewWorkspace

func NewWorkspace(id int64, name string, active bool, lastEditor string, lastModified time.Time, parentId int64, created time.Time, info map[string]interface{}, workspaceId string, type_ string) *Workspace

NewWorkspace instantiates a new Workspace 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 NewWorkspaceWithDefaults

func NewWorkspaceWithDefaults() *Workspace

NewWorkspaceWithDefaults instantiates a new Workspace 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 (*Workspace) GetActive

func (o *Workspace) GetActive() bool

GetActive returns the Active field value

func (*Workspace) GetActiveOk

func (o *Workspace) GetActiveOk() (*bool, bool)

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

func (*Workspace) GetCreated

func (o *Workspace) GetCreated() time.Time

GetCreated returns the Created field value

func (*Workspace) GetCreatedOk

func (o *Workspace) GetCreatedOk() (*time.Time, bool)

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

func (*Workspace) GetId

func (o *Workspace) GetId() int64

GetId returns the Id field value

func (*Workspace) GetIdOk

func (o *Workspace) GetIdOk() (*int64, bool)

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

func (*Workspace) GetInfo

func (o *Workspace) GetInfo() map[string]interface{}

GetInfo returns the Info field value

func (*Workspace) GetInfoOk

func (o *Workspace) GetInfoOk() (map[string]interface{}, bool)

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

func (*Workspace) GetLastEditor

func (o *Workspace) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Workspace) GetLastEditorOk

func (o *Workspace) GetLastEditorOk() (*string, bool)

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

func (*Workspace) GetLastModified

func (o *Workspace) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Workspace) GetLastModifiedOk

func (o *Workspace) GetLastModifiedOk() (*time.Time, bool)

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

func (*Workspace) GetName

func (o *Workspace) GetName() string

GetName returns the Name field value

func (*Workspace) GetNameOk

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

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

func (*Workspace) GetParentId

func (o *Workspace) GetParentId() int64

GetParentId returns the ParentId field value

func (*Workspace) GetParentIdOk

func (o *Workspace) GetParentIdOk() (*int64, bool)

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

func (*Workspace) GetType

func (o *Workspace) GetType() string

GetType returns the Type field value

func (*Workspace) GetTypeOk

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

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

func (*Workspace) GetWorkspaceId

func (o *Workspace) GetWorkspaceId() string

GetWorkspaceId returns the WorkspaceId field value

func (*Workspace) GetWorkspaceIdOk

func (o *Workspace) GetWorkspaceIdOk() (*string, bool)

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

func (Workspace) MarshalJSON

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

func (*Workspace) SetActive

func (o *Workspace) SetActive(v bool)

SetActive sets field value

func (*Workspace) SetCreated

func (o *Workspace) SetCreated(v time.Time)

SetCreated sets field value

func (*Workspace) SetId

func (o *Workspace) SetId(v int64)

SetId sets field value

func (*Workspace) SetInfo

func (o *Workspace) SetInfo(v map[string]interface{})

SetInfo sets field value

func (*Workspace) SetLastEditor

func (o *Workspace) SetLastEditor(v string)

SetLastEditor sets field value

func (*Workspace) SetLastModified

func (o *Workspace) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Workspace) SetName

func (o *Workspace) SetName(v string)

SetName sets field value

func (*Workspace) SetParentId

func (o *Workspace) SetParentId(v int64)

SetParentId sets field value

func (*Workspace) SetType

func (o *Workspace) SetType(v string)

SetType sets field value

func (*Workspace) SetWorkspaceId

func (o *Workspace) SetWorkspaceId(v string)

SetWorkspaceId sets field value

func (Workspace) ToMap

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

func (*Workspace) UnmarshalJSON

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

type WorkspaceRequest

type WorkspaceRequest struct {
	Name string `json:"name"`
	// * `Brand` - Brand * `Reseller` - Reseller * `Organization` - Organization * `Workspace` - Workspace
	Type string `json:"type"`
}

WorkspaceRequest struct for WorkspaceRequest

func NewWorkspaceRequest

func NewWorkspaceRequest(name string, type_ string) *WorkspaceRequest

NewWorkspaceRequest instantiates a new WorkspaceRequest 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 NewWorkspaceRequestWithDefaults

func NewWorkspaceRequestWithDefaults() *WorkspaceRequest

NewWorkspaceRequestWithDefaults instantiates a new WorkspaceRequest 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 (*WorkspaceRequest) GetName

func (o *WorkspaceRequest) GetName() string

GetName returns the Name field value

func (*WorkspaceRequest) GetNameOk

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

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

func (*WorkspaceRequest) GetType

func (o *WorkspaceRequest) GetType() string

GetType returns the Type field value

func (*WorkspaceRequest) GetTypeOk

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

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

func (WorkspaceRequest) MarshalJSON

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

func (*WorkspaceRequest) SetName

func (o *WorkspaceRequest) SetName(v string)

SetName sets field value

func (*WorkspaceRequest) SetType

func (o *WorkspaceRequest) SetType(v string)

SetType sets field value

func (WorkspaceRequest) ToMap

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

func (*WorkspaceRequest) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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