contacts

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 23 Imported by: 0

README

Go API client for contacts

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

Overview

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

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

Installation

Install the following dependencies:

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

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

import contacts "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.hubapi.com

Class Method HTTP request Description
AssociationsApi AssociationsGetAll Get /crm/v4/objects/contacts/{contactId}/associations/{toObjectType} List
AssociationsApi DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchive Delete /crm/v4/objects/contacts/{contactId}/associations/{toObjectType}/{toObjectId} Delete
AssociationsApi PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreate Put /crm/v4/objects/contacts/{contactId}/associations/{toObjectType}/{toObjectId} Create
BasicApi Archive Delete /crm/v3/objects/contacts/{contactId} Archive
BasicApi Create Post /crm/v3/objects/contacts Create
BasicApi GetByID Get /crm/v3/objects/contacts/{contactId} Read
BasicApi GetPage Get /crm/v3/objects/contacts List
BasicApi Update Patch /crm/v3/objects/contacts/{contactId} Update
BatchApi BatchArchive Post /crm/v3/objects/contacts/batch/archive Archive a batch of contacts by ID
BatchApi BatchCreate Post /crm/v3/objects/contacts/batch/create Create a batch of contacts
BatchApi BatchRead Post /crm/v3/objects/contacts/batch/read Read a batch of contacts by internal ID, or unique property values
BatchApi BatchUpdate Post /crm/v3/objects/contacts/batch/update Update a batch of contacts
GDPRApi Delete Post /crm/v3/objects/contacts/gdpr-delete GDPR DELETE
PublicObjectApi Merge Post /crm/v3/objects/contacts/merge Merge two contacts with same type
SearchApi Search Post /crm/v3/objects/contacts/search

Documentation For Models

Documentation For Authorization

hapikey
  • Type: API key
  • API key parameter name: hapikey
  • Location: URL query string

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

oauth2

Example

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

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
private_apps
  • Type: API key
  • API key parameter name: private-app
  • Location: HTTP header

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

private_apps_legacy
  • Type: API key
  • API key parameter name: private-app-legacy
  • Location: HTTP header

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// 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")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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 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 {
	AssociationsApi *AssociationsApiService

	BasicApi *BasicApiService

	BatchApi *BatchApiService

	GDPRApi *GDPRApiService

	PublicObjectApi *PublicObjectApiService

	SearchApi *SearchApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Contacts API vv3 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 ApiArchiveRequest

type ApiArchiveRequest struct {
	ApiService *BasicApiService
	// contains filtered or unexported fields
}

func (ApiArchiveRequest) Execute

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

type ApiAssociationsGetAllRequest

type ApiAssociationsGetAllRequest struct {
	ApiService *AssociationsApiService
	// contains filtered or unexported fields
}

func (ApiAssociationsGetAllRequest) After

The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

func (ApiAssociationsGetAllRequest) Limit

The maximum number of results to display per page.

type ApiBatchArchiveRequest

type ApiBatchArchiveRequest struct {
	ApiService *BatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchArchiveRequest) BatchInputSimplePublicObjectId

func (r ApiBatchArchiveRequest) BatchInputSimplePublicObjectId(batchInputSimplePublicObjectId BatchInputSimplePublicObjectId) ApiBatchArchiveRequest

func (ApiBatchArchiveRequest) Execute

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

type ApiBatchCreateRequest

type ApiBatchCreateRequest struct {
	ApiService *BatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchCreateRequest) BatchInputSimplePublicObjectInput

func (r ApiBatchCreateRequest) BatchInputSimplePublicObjectInput(batchInputSimplePublicObjectInput BatchInputSimplePublicObjectInput) ApiBatchCreateRequest

func (ApiBatchCreateRequest) Execute

type ApiBatchReadRequest

type ApiBatchReadRequest struct {
	ApiService *BatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchReadRequest) Archived

func (r ApiBatchReadRequest) Archived(archived bool) ApiBatchReadRequest

Whether to return only results that have been archived.

func (ApiBatchReadRequest) BatchReadInputSimplePublicObjectId

func (r ApiBatchReadRequest) BatchReadInputSimplePublicObjectId(batchReadInputSimplePublicObjectId BatchReadInputSimplePublicObjectId) ApiBatchReadRequest

func (ApiBatchReadRequest) Execute

type ApiBatchUpdateRequest

type ApiBatchUpdateRequest struct {
	ApiService *BatchApiService
	// contains filtered or unexported fields
}

func (ApiBatchUpdateRequest) BatchInputSimplePublicObjectBatchInput

func (r ApiBatchUpdateRequest) BatchInputSimplePublicObjectBatchInput(batchInputSimplePublicObjectBatchInput BatchInputSimplePublicObjectBatchInput) ApiBatchUpdateRequest

func (ApiBatchUpdateRequest) Execute

type ApiCreateRequest

type ApiCreateRequest struct {
	ApiService *BasicApiService
	// contains filtered or unexported fields
}

func (ApiCreateRequest) Execute

func (ApiCreateRequest) SimplePublicObjectInput

func (r ApiCreateRequest) SimplePublicObjectInput(simplePublicObjectInput SimplePublicObjectInput) ApiCreateRequest

type ApiDeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveRequest

type ApiDeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveRequest struct {
	ApiService *AssociationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveRequest) Execute

type ApiDeleteRequest

type ApiDeleteRequest struct {
	ApiService *GDPRApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRequest) Execute

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

func (ApiDeleteRequest) PublicGdprDeleteInput

func (r ApiDeleteRequest) PublicGdprDeleteInput(publicGdprDeleteInput PublicGdprDeleteInput) ApiDeleteRequest

type ApiGetByIDRequest

type ApiGetByIDRequest struct {
	ApiService *BasicApiService
	// contains filtered or unexported fields
}

func (ApiGetByIDRequest) Archived

func (r ApiGetByIDRequest) Archived(archived bool) ApiGetByIDRequest

Whether to return only results that have been archived.

func (ApiGetByIDRequest) Associations

func (r ApiGetByIDRequest) Associations(associations []string) ApiGetByIDRequest

A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

func (ApiGetByIDRequest) Execute

func (ApiGetByIDRequest) IdProperty added in v0.1.1

func (r ApiGetByIDRequest) IdProperty(idProperty string) ApiGetByIDRequest

The property to use as the identifier for the object. If not specified, the default is `id`.

func (ApiGetByIDRequest) Properties

func (r ApiGetByIDRequest) Properties(properties []string) ApiGetByIDRequest

A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

func (ApiGetByIDRequest) PropertiesWithHistory

func (r ApiGetByIDRequest) PropertiesWithHistory(propertiesWithHistory []string) ApiGetByIDRequest

A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.

type ApiGetPageRequest

type ApiGetPageRequest struct {
	ApiService *BasicApiService
	// contains filtered or unexported fields
}

func (ApiGetPageRequest) After

The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetPageRequest) Archived

func (r ApiGetPageRequest) Archived(archived bool) ApiGetPageRequest

Whether to return only results that have been archived.

func (ApiGetPageRequest) Associations

func (r ApiGetPageRequest) Associations(associations []string) ApiGetPageRequest

A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

func (ApiGetPageRequest) Limit

func (r ApiGetPageRequest) Limit(limit int32) ApiGetPageRequest

The maximum number of results to display per page.

func (ApiGetPageRequest) Properties

func (r ApiGetPageRequest) Properties(properties []string) ApiGetPageRequest

A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

func (ApiGetPageRequest) PropertiesWithHistory

func (r ApiGetPageRequest) PropertiesWithHistory(propertiesWithHistory []string) ApiGetPageRequest

A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.

type ApiMergeRequest

type ApiMergeRequest struct {
	ApiService *PublicObjectApiService
	// contains filtered or unexported fields
}

func (ApiMergeRequest) Execute

func (ApiMergeRequest) PublicMergeInput

func (r ApiMergeRequest) PublicMergeInput(publicMergeInput PublicMergeInput) ApiMergeRequest

type ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest

type ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest struct {
	ApiService *AssociationsApiService
	// contains filtered or unexported fields
}

func (ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest) AssociationSpec

func (ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest) Execute

type ApiSearchRequest

type ApiSearchRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (ApiSearchRequest) PublicObjectSearchRequest

func (r ApiSearchRequest) PublicObjectSearchRequest(publicObjectSearchRequest PublicObjectSearchRequest) ApiSearchRequest

type ApiUpdateRequest

type ApiUpdateRequest struct {
	ApiService *BasicApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRequest) Execute

func (ApiUpdateRequest) SimplePublicObjectInput

func (r ApiUpdateRequest) SimplePublicObjectInput(simplePublicObjectInput SimplePublicObjectInput) ApiUpdateRequest

type AssociatedId

type AssociatedId struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

AssociatedId struct for AssociatedId

func NewAssociatedId

func NewAssociatedId(id string, type_ string) *AssociatedId

NewAssociatedId instantiates a new AssociatedId 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 NewAssociatedIdWithDefaults

func NewAssociatedIdWithDefaults() *AssociatedId

NewAssociatedIdWithDefaults instantiates a new AssociatedId 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 (*AssociatedId) GetId

func (o *AssociatedId) GetId() string

GetId returns the Id field value

func (*AssociatedId) GetIdOk

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

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

func (*AssociatedId) GetType

func (o *AssociatedId) GetType() string

GetType returns the Type field value

func (*AssociatedId) GetTypeOk

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

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

func (AssociatedId) MarshalJSON

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

func (*AssociatedId) SetId

func (o *AssociatedId) SetId(v string)

SetId sets field value

func (*AssociatedId) SetType

func (o *AssociatedId) SetType(v string)

SetType sets field value

type AssociationSpec

type AssociationSpec struct {
	AssociationCategory string `json:"associationCategory"`
	AssociationTypeId   int32  `json:"associationTypeId"`
}

AssociationSpec struct for AssociationSpec

func NewAssociationSpec

func NewAssociationSpec(associationCategory string, associationTypeId int32) *AssociationSpec

NewAssociationSpec instantiates a new AssociationSpec 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 NewAssociationSpecWithDefaults

func NewAssociationSpecWithDefaults() *AssociationSpec

NewAssociationSpecWithDefaults instantiates a new AssociationSpec 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 (*AssociationSpec) GetAssociationCategory

func (o *AssociationSpec) GetAssociationCategory() string

GetAssociationCategory returns the AssociationCategory field value

func (*AssociationSpec) GetAssociationCategoryOk

func (o *AssociationSpec) GetAssociationCategoryOk() (*string, bool)

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

func (*AssociationSpec) GetAssociationTypeId

func (o *AssociationSpec) GetAssociationTypeId() int32

GetAssociationTypeId returns the AssociationTypeId field value

func (*AssociationSpec) GetAssociationTypeIdOk

func (o *AssociationSpec) GetAssociationTypeIdOk() (*int32, bool)

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

func (AssociationSpec) MarshalJSON

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

func (*AssociationSpec) SetAssociationCategory

func (o *AssociationSpec) SetAssociationCategory(v string)

SetAssociationCategory sets field value

func (*AssociationSpec) SetAssociationTypeId

func (o *AssociationSpec) SetAssociationTypeId(v int32)

SetAssociationTypeId sets field value

type AssociationSpecWithLabel

type AssociationSpecWithLabel struct {
	Category string  `json:"category"`
	TypeId   int32   `json:"typeId"`
	Label    *string `json:"label,omitempty"`
}

AssociationSpecWithLabel struct for AssociationSpecWithLabel

func NewAssociationSpecWithLabel

func NewAssociationSpecWithLabel(category string, typeId int32) *AssociationSpecWithLabel

NewAssociationSpecWithLabel instantiates a new AssociationSpecWithLabel 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 NewAssociationSpecWithLabelWithDefaults

func NewAssociationSpecWithLabelWithDefaults() *AssociationSpecWithLabel

NewAssociationSpecWithLabelWithDefaults instantiates a new AssociationSpecWithLabel 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 (*AssociationSpecWithLabel) GetCategory

func (o *AssociationSpecWithLabel) GetCategory() string

GetCategory returns the Category field value

func (*AssociationSpecWithLabel) GetCategoryOk

func (o *AssociationSpecWithLabel) GetCategoryOk() (*string, bool)

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

func (*AssociationSpecWithLabel) GetLabel

func (o *AssociationSpecWithLabel) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*AssociationSpecWithLabel) GetLabelOk

func (o *AssociationSpecWithLabel) GetLabelOk() (*string, bool)

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

func (*AssociationSpecWithLabel) GetTypeId

func (o *AssociationSpecWithLabel) GetTypeId() int32

GetTypeId returns the TypeId field value

func (*AssociationSpecWithLabel) GetTypeIdOk

func (o *AssociationSpecWithLabel) GetTypeIdOk() (*int32, bool)

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

func (*AssociationSpecWithLabel) HasLabel

func (o *AssociationSpecWithLabel) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (AssociationSpecWithLabel) MarshalJSON

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

func (*AssociationSpecWithLabel) SetCategory

func (o *AssociationSpecWithLabel) SetCategory(v string)

SetCategory sets field value

func (*AssociationSpecWithLabel) SetLabel

func (o *AssociationSpecWithLabel) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*AssociationSpecWithLabel) SetTypeId

func (o *AssociationSpecWithLabel) SetTypeId(v int32)

SetTypeId sets field value

type AssociationsApiService

type AssociationsApiService service

AssociationsApiService AssociationsApi service

func (*AssociationsApiService) AssociationsGetAll

func (a *AssociationsApiService) AssociationsGetAll(ctx context.Context, contactId int64, toObjectType string) ApiAssociationsGetAllRequest

AssociationsGetAll List

List all associations of a contact by object type. Limit 1000 per call.

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

func (*AssociationsApiService) AssociationsGetAllExecute

Execute executes the request

@return CollectionResponseMultiAssociatedObjectWithLabelForwardPaging

func (*AssociationsApiService) DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchive

func (a *AssociationsApiService) DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchive(ctx context.Context, contactId int64, toObjectType string, toObjectId int64) ApiDeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveRequest

DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchive Delete

deletes all associations between two records.

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

func (*AssociationsApiService) DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveExecute

func (a *AssociationsApiService) DeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveExecute(r ApiDeleteCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdArchiveRequest) (*http.Response, error)

Execute executes the request

func (*AssociationsApiService) PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreate

func (a *AssociationsApiService) PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreate(ctx context.Context, contactId int64, toObjectType string, toObjectId int64) ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest

PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreate Create

Set association labels between two records.

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

func (*AssociationsApiService) PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateExecute

func (a *AssociationsApiService) PutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateExecute(r ApiPutCrmV4ObjectsContactsContactIdAssociationsToObjectTypeToObjectIdCreateRequest) (*LabelsBetweenObjectPair, *http.Response, error)

Execute executes the request

@return LabelsBetweenObjectPair

type BasicApiService

type BasicApiService service

BasicApiService BasicApi service

func (*BasicApiService) Archive

func (a *BasicApiService) Archive(ctx context.Context, contactId string) ApiArchiveRequest

Archive Archive

Move an Object identified by `{contactId}` to the recycling bin.

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

func (*BasicApiService) ArchiveExecute

func (a *BasicApiService) ArchiveExecute(r ApiArchiveRequest) (*http.Response, error)

Execute executes the request

func (*BasicApiService) Create

Create Create

Create a contact with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard contacts is provided.

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

func (*BasicApiService) CreateExecute

Execute executes the request

@return SimplePublicObject

func (*BasicApiService) GetByID

func (a *BasicApiService) GetByID(ctx context.Context, contactId string) ApiGetByIDRequest

GetByID Read

Read an Object identified by `{contactId}`. `{contactId}` refers to the internal object ID. Control what is returned via the `properties` query param.

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

func (*BasicApiService) GetByIDExecute

Execute executes the request

@return SimplePublicObjectWithAssociations

func (*BasicApiService) GetPage

GetPage List

Read a page of contacts. Control what is returned via the `properties` query param.

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

func (*BasicApiService) GetPageExecute

Execute executes the request

@return CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

func (*BasicApiService) Update

func (a *BasicApiService) Update(ctx context.Context, contactId string) ApiUpdateRequest

Update Update

Perform a partial update of an Object identified by `{contactId}`. `{contactId}` refers to the internal object ID. Provided property values will be overwritten. Read-only and non-existent properties will be ignored. Properties values can be cleared by passing an empty string.

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

func (*BasicApiService) UpdateExecute

Execute executes the request

@return SimplePublicObject

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 BatchApiService

type BatchApiService service

BatchApiService BatchApi service

func (*BatchApiService) BatchArchive

BatchArchive Archive a batch of contacts by ID

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

func (*BatchApiService) BatchArchiveExecute

func (a *BatchApiService) BatchArchiveExecute(r ApiBatchArchiveRequest) (*http.Response, error)

Execute executes the request

func (*BatchApiService) BatchCreate

BatchCreate Create a batch of contacts

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

func (*BatchApiService) BatchCreateExecute

Execute executes the request

@return BatchResponseSimplePublicObject

func (*BatchApiService) BatchRead

BatchRead Read a batch of contacts by internal ID, or unique property values

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

func (*BatchApiService) BatchReadExecute

Execute executes the request

@return BatchResponseSimplePublicObject

func (*BatchApiService) BatchUpdate

BatchUpdate Update a batch of contacts

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

func (*BatchApiService) BatchUpdateExecute

Execute executes the request

@return BatchResponseSimplePublicObject

type BatchInputSimplePublicObjectBatchInput

type BatchInputSimplePublicObjectBatchInput struct {
	Inputs []SimplePublicObjectBatchInput `json:"inputs"`
}

BatchInputSimplePublicObjectBatchInput struct for BatchInputSimplePublicObjectBatchInput

func NewBatchInputSimplePublicObjectBatchInput

func NewBatchInputSimplePublicObjectBatchInput(inputs []SimplePublicObjectBatchInput) *BatchInputSimplePublicObjectBatchInput

NewBatchInputSimplePublicObjectBatchInput instantiates a new BatchInputSimplePublicObjectBatchInput 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 NewBatchInputSimplePublicObjectBatchInputWithDefaults

func NewBatchInputSimplePublicObjectBatchInputWithDefaults() *BatchInputSimplePublicObjectBatchInput

NewBatchInputSimplePublicObjectBatchInputWithDefaults instantiates a new BatchInputSimplePublicObjectBatchInput 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 (*BatchInputSimplePublicObjectBatchInput) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputSimplePublicObjectBatchInput) GetInputsOk

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

func (BatchInputSimplePublicObjectBatchInput) MarshalJSON

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

func (*BatchInputSimplePublicObjectBatchInput) SetInputs

SetInputs sets field value

type BatchInputSimplePublicObjectId

type BatchInputSimplePublicObjectId struct {
	Inputs []SimplePublicObjectId `json:"inputs"`
}

BatchInputSimplePublicObjectId struct for BatchInputSimplePublicObjectId

func NewBatchInputSimplePublicObjectId

func NewBatchInputSimplePublicObjectId(inputs []SimplePublicObjectId) *BatchInputSimplePublicObjectId

NewBatchInputSimplePublicObjectId instantiates a new BatchInputSimplePublicObjectId 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 NewBatchInputSimplePublicObjectIdWithDefaults

func NewBatchInputSimplePublicObjectIdWithDefaults() *BatchInputSimplePublicObjectId

NewBatchInputSimplePublicObjectIdWithDefaults instantiates a new BatchInputSimplePublicObjectId 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 (*BatchInputSimplePublicObjectId) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputSimplePublicObjectId) GetInputsOk

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

func (BatchInputSimplePublicObjectId) MarshalJSON

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

func (*BatchInputSimplePublicObjectId) SetInputs

SetInputs sets field value

type BatchInputSimplePublicObjectInput

type BatchInputSimplePublicObjectInput struct {
	Inputs []SimplePublicObjectInput `json:"inputs"`
}

BatchInputSimplePublicObjectInput struct for BatchInputSimplePublicObjectInput

func NewBatchInputSimplePublicObjectInput

func NewBatchInputSimplePublicObjectInput(inputs []SimplePublicObjectInput) *BatchInputSimplePublicObjectInput

NewBatchInputSimplePublicObjectInput instantiates a new BatchInputSimplePublicObjectInput 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 NewBatchInputSimplePublicObjectInputWithDefaults

func NewBatchInputSimplePublicObjectInputWithDefaults() *BatchInputSimplePublicObjectInput

NewBatchInputSimplePublicObjectInputWithDefaults instantiates a new BatchInputSimplePublicObjectInput 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 (*BatchInputSimplePublicObjectInput) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputSimplePublicObjectInput) GetInputsOk

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

func (BatchInputSimplePublicObjectInput) MarshalJSON

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

func (*BatchInputSimplePublicObjectInput) SetInputs

SetInputs sets field value

type BatchReadInputSimplePublicObjectId

type BatchReadInputSimplePublicObjectId struct {
	Properties            []string               `json:"properties"`
	PropertiesWithHistory []string               `json:"propertiesWithHistory"`
	IdProperty            *string                `json:"idProperty,omitempty"`
	Inputs                []SimplePublicObjectId `json:"inputs"`
}

BatchReadInputSimplePublicObjectId struct for BatchReadInputSimplePublicObjectId

func NewBatchReadInputSimplePublicObjectId

func NewBatchReadInputSimplePublicObjectId(properties []string, propertiesWithHistory []string, inputs []SimplePublicObjectId) *BatchReadInputSimplePublicObjectId

NewBatchReadInputSimplePublicObjectId instantiates a new BatchReadInputSimplePublicObjectId 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 NewBatchReadInputSimplePublicObjectIdWithDefaults

func NewBatchReadInputSimplePublicObjectIdWithDefaults() *BatchReadInputSimplePublicObjectId

NewBatchReadInputSimplePublicObjectIdWithDefaults instantiates a new BatchReadInputSimplePublicObjectId 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 (*BatchReadInputSimplePublicObjectId) GetIdProperty

func (o *BatchReadInputSimplePublicObjectId) GetIdProperty() string

GetIdProperty returns the IdProperty field value if set, zero value otherwise.

func (*BatchReadInputSimplePublicObjectId) GetIdPropertyOk

func (o *BatchReadInputSimplePublicObjectId) GetIdPropertyOk() (*string, bool)

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

func (*BatchReadInputSimplePublicObjectId) GetInputs

GetInputs returns the Inputs field value

func (*BatchReadInputSimplePublicObjectId) GetInputsOk

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

func (*BatchReadInputSimplePublicObjectId) GetProperties

func (o *BatchReadInputSimplePublicObjectId) GetProperties() []string

GetProperties returns the Properties field value

func (*BatchReadInputSimplePublicObjectId) GetPropertiesOk

func (o *BatchReadInputSimplePublicObjectId) GetPropertiesOk() ([]string, bool)

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

func (*BatchReadInputSimplePublicObjectId) GetPropertiesWithHistory

func (o *BatchReadInputSimplePublicObjectId) GetPropertiesWithHistory() []string

GetPropertiesWithHistory returns the PropertiesWithHistory field value

func (*BatchReadInputSimplePublicObjectId) GetPropertiesWithHistoryOk

func (o *BatchReadInputSimplePublicObjectId) GetPropertiesWithHistoryOk() ([]string, bool)

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

func (*BatchReadInputSimplePublicObjectId) HasIdProperty

func (o *BatchReadInputSimplePublicObjectId) HasIdProperty() bool

HasIdProperty returns a boolean if a field has been set.

func (BatchReadInputSimplePublicObjectId) MarshalJSON

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

func (*BatchReadInputSimplePublicObjectId) SetIdProperty

func (o *BatchReadInputSimplePublicObjectId) SetIdProperty(v string)

SetIdProperty gets a reference to the given string and assigns it to the IdProperty field.

func (*BatchReadInputSimplePublicObjectId) SetInputs

SetInputs sets field value

func (*BatchReadInputSimplePublicObjectId) SetProperties

func (o *BatchReadInputSimplePublicObjectId) SetProperties(v []string)

SetProperties sets field value

func (*BatchReadInputSimplePublicObjectId) SetPropertiesWithHistory

func (o *BatchReadInputSimplePublicObjectId) SetPropertiesWithHistory(v []string)

SetPropertiesWithHistory sets field value

type BatchResponseSimplePublicObject

type BatchResponseSimplePublicObject struct {
	Status      string               `json:"status"`
	Results     []SimplePublicObject `json:"results"`
	RequestedAt *time.Time           `json:"requestedAt,omitempty"`
	StartedAt   time.Time            `json:"startedAt"`
	CompletedAt time.Time            `json:"completedAt"`
	Links       *map[string]string   `json:"links,omitempty"`
}

BatchResponseSimplePublicObject struct for BatchResponseSimplePublicObject

func NewBatchResponseSimplePublicObject

func NewBatchResponseSimplePublicObject(status string, results []SimplePublicObject, startedAt time.Time, completedAt time.Time) *BatchResponseSimplePublicObject

NewBatchResponseSimplePublicObject instantiates a new BatchResponseSimplePublicObject 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 NewBatchResponseSimplePublicObjectWithDefaults

func NewBatchResponseSimplePublicObjectWithDefaults() *BatchResponseSimplePublicObject

NewBatchResponseSimplePublicObjectWithDefaults instantiates a new BatchResponseSimplePublicObject 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 (*BatchResponseSimplePublicObject) GetCompletedAt

func (o *BatchResponseSimplePublicObject) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseSimplePublicObject) GetCompletedAtOk

func (o *BatchResponseSimplePublicObject) GetCompletedAtOk() (*time.Time, bool)

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

func (o *BatchResponseSimplePublicObject) GetLinks() map[string]string

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

func (*BatchResponseSimplePublicObject) GetLinksOk

func (o *BatchResponseSimplePublicObject) GetLinksOk() (*map[string]string, bool)

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

func (*BatchResponseSimplePublicObject) GetRequestedAt

func (o *BatchResponseSimplePublicObject) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*BatchResponseSimplePublicObject) GetRequestedAtOk

func (o *BatchResponseSimplePublicObject) GetRequestedAtOk() (*time.Time, bool)

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

func (*BatchResponseSimplePublicObject) GetResults

GetResults returns the Results field value

func (*BatchResponseSimplePublicObject) GetResultsOk

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

func (*BatchResponseSimplePublicObject) GetStartedAt

func (o *BatchResponseSimplePublicObject) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*BatchResponseSimplePublicObject) GetStartedAtOk

func (o *BatchResponseSimplePublicObject) GetStartedAtOk() (*time.Time, bool)

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

func (*BatchResponseSimplePublicObject) GetStatus

func (o *BatchResponseSimplePublicObject) GetStatus() string

GetStatus returns the Status field value

func (*BatchResponseSimplePublicObject) GetStatusOk

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

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

func (o *BatchResponseSimplePublicObject) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BatchResponseSimplePublicObject) HasRequestedAt

func (o *BatchResponseSimplePublicObject) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseSimplePublicObject) MarshalJSON

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

func (*BatchResponseSimplePublicObject) SetCompletedAt

func (o *BatchResponseSimplePublicObject) SetCompletedAt(v time.Time)

SetCompletedAt sets field value

func (o *BatchResponseSimplePublicObject) SetLinks(v map[string]string)

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*BatchResponseSimplePublicObject) SetRequestedAt

func (o *BatchResponseSimplePublicObject) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*BatchResponseSimplePublicObject) SetResults

SetResults sets field value

func (*BatchResponseSimplePublicObject) SetStartedAt

func (o *BatchResponseSimplePublicObject) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*BatchResponseSimplePublicObject) SetStatus

func (o *BatchResponseSimplePublicObject) SetStatus(v string)

SetStatus sets field value

type BatchResponseSimplePublicObjectWithErrors

type BatchResponseSimplePublicObjectWithErrors struct {
	Status      string               `json:"status"`
	Results     []SimplePublicObject `json:"results"`
	NumErrors   *int32               `json:"numErrors,omitempty"`
	Errors      []StandardError      `json:"errors,omitempty"`
	RequestedAt *time.Time           `json:"requestedAt,omitempty"`
	StartedAt   time.Time            `json:"startedAt"`
	CompletedAt time.Time            `json:"completedAt"`
	Links       *map[string]string   `json:"links,omitempty"`
}

BatchResponseSimplePublicObjectWithErrors struct for BatchResponseSimplePublicObjectWithErrors

func NewBatchResponseSimplePublicObjectWithErrors

func NewBatchResponseSimplePublicObjectWithErrors(status string, results []SimplePublicObject, startedAt time.Time, completedAt time.Time) *BatchResponseSimplePublicObjectWithErrors

NewBatchResponseSimplePublicObjectWithErrors instantiates a new BatchResponseSimplePublicObjectWithErrors 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 NewBatchResponseSimplePublicObjectWithErrorsWithDefaults

func NewBatchResponseSimplePublicObjectWithErrorsWithDefaults() *BatchResponseSimplePublicObjectWithErrors

NewBatchResponseSimplePublicObjectWithErrorsWithDefaults instantiates a new BatchResponseSimplePublicObjectWithErrors 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 (*BatchResponseSimplePublicObjectWithErrors) GetCompletedAt

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseSimplePublicObjectWithErrors) GetCompletedAtOk

func (o *BatchResponseSimplePublicObjectWithErrors) GetCompletedAtOk() (*time.Time, bool)

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

func (*BatchResponseSimplePublicObjectWithErrors) GetErrors

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

func (*BatchResponseSimplePublicObjectWithErrors) GetErrorsOk

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

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

func (*BatchResponseSimplePublicObjectWithErrors) GetLinksOk

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

func (*BatchResponseSimplePublicObjectWithErrors) GetNumErrors

GetNumErrors returns the NumErrors field value if set, zero value otherwise.

func (*BatchResponseSimplePublicObjectWithErrors) GetNumErrorsOk

func (o *BatchResponseSimplePublicObjectWithErrors) GetNumErrorsOk() (*int32, bool)

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

func (*BatchResponseSimplePublicObjectWithErrors) GetRequestedAt

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*BatchResponseSimplePublicObjectWithErrors) GetRequestedAtOk

func (o *BatchResponseSimplePublicObjectWithErrors) GetRequestedAtOk() (*time.Time, bool)

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

func (*BatchResponseSimplePublicObjectWithErrors) GetResults

GetResults returns the Results field value

func (*BatchResponseSimplePublicObjectWithErrors) GetResultsOk

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

func (*BatchResponseSimplePublicObjectWithErrors) GetStartedAt

GetStartedAt returns the StartedAt field value

func (*BatchResponseSimplePublicObjectWithErrors) GetStartedAtOk

func (o *BatchResponseSimplePublicObjectWithErrors) GetStartedAtOk() (*time.Time, bool)

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

func (*BatchResponseSimplePublicObjectWithErrors) GetStatus

GetStatus returns the Status field value

func (*BatchResponseSimplePublicObjectWithErrors) GetStatusOk

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

func (*BatchResponseSimplePublicObjectWithErrors) HasErrors

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseSimplePublicObjectWithErrors) HasNumErrors

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseSimplePublicObjectWithErrors) HasRequestedAt

func (o *BatchResponseSimplePublicObjectWithErrors) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseSimplePublicObjectWithErrors) MarshalJSON

func (*BatchResponseSimplePublicObjectWithErrors) SetCompletedAt

SetCompletedAt sets field value

func (*BatchResponseSimplePublicObjectWithErrors) SetErrors

SetErrors gets a reference to the given []StandardError and assigns it to the Errors field.

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*BatchResponseSimplePublicObjectWithErrors) SetNumErrors

SetNumErrors gets a reference to the given int32 and assigns it to the NumErrors field.

func (*BatchResponseSimplePublicObjectWithErrors) SetRequestedAt

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*BatchResponseSimplePublicObjectWithErrors) SetResults

SetResults sets field value

func (*BatchResponseSimplePublicObjectWithErrors) SetStartedAt

SetStartedAt sets field value

func (*BatchResponseSimplePublicObjectWithErrors) SetStatus

SetStatus sets field value

type CollectionResponseAssociatedId

type CollectionResponseAssociatedId struct {
	Results []AssociatedId `json:"results"`
	Paging  *Paging        `json:"paging,omitempty"`
}

CollectionResponseAssociatedId struct for CollectionResponseAssociatedId

func NewCollectionResponseAssociatedId

func NewCollectionResponseAssociatedId(results []AssociatedId) *CollectionResponseAssociatedId

NewCollectionResponseAssociatedId instantiates a new CollectionResponseAssociatedId 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 NewCollectionResponseAssociatedIdWithDefaults

func NewCollectionResponseAssociatedIdWithDefaults() *CollectionResponseAssociatedId

NewCollectionResponseAssociatedIdWithDefaults instantiates a new CollectionResponseAssociatedId 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 (*CollectionResponseAssociatedId) GetPaging

func (o *CollectionResponseAssociatedId) GetPaging() Paging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseAssociatedId) GetPagingOk

func (o *CollectionResponseAssociatedId) GetPagingOk() (*Paging, bool)

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

func (*CollectionResponseAssociatedId) GetResults

func (o *CollectionResponseAssociatedId) GetResults() []AssociatedId

GetResults returns the Results field value

func (*CollectionResponseAssociatedId) GetResultsOk

func (o *CollectionResponseAssociatedId) GetResultsOk() ([]AssociatedId, bool)

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

func (*CollectionResponseAssociatedId) HasPaging

func (o *CollectionResponseAssociatedId) HasPaging() bool

HasPaging returns a boolean if a field has been set.

func (CollectionResponseAssociatedId) MarshalJSON

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

func (*CollectionResponseAssociatedId) SetPaging

func (o *CollectionResponseAssociatedId) SetPaging(v Paging)

SetPaging gets a reference to the given Paging and assigns it to the Paging field.

func (*CollectionResponseAssociatedId) SetResults

func (o *CollectionResponseAssociatedId) SetResults(v []AssociatedId)

SetResults sets field value

type CollectionResponseAssociatedIdForwardPaging

type CollectionResponseAssociatedIdForwardPaging struct {
	Results []AssociatedId `json:"results"`
	Paging  *ForwardPaging `json:"paging,omitempty"`
}

CollectionResponseAssociatedIdForwardPaging struct for CollectionResponseAssociatedIdForwardPaging

func NewCollectionResponseAssociatedIdForwardPaging

func NewCollectionResponseAssociatedIdForwardPaging(results []AssociatedId) *CollectionResponseAssociatedIdForwardPaging

NewCollectionResponseAssociatedIdForwardPaging instantiates a new CollectionResponseAssociatedIdForwardPaging 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 NewCollectionResponseAssociatedIdForwardPagingWithDefaults

func NewCollectionResponseAssociatedIdForwardPagingWithDefaults() *CollectionResponseAssociatedIdForwardPaging

NewCollectionResponseAssociatedIdForwardPagingWithDefaults instantiates a new CollectionResponseAssociatedIdForwardPaging 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 (*CollectionResponseAssociatedIdForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseAssociatedIdForwardPaging) GetPagingOk

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

func (*CollectionResponseAssociatedIdForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseAssociatedIdForwardPaging) GetResultsOk

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

func (*CollectionResponseAssociatedIdForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseAssociatedIdForwardPaging) MarshalJSON

func (*CollectionResponseAssociatedIdForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseAssociatedIdForwardPaging) SetResults

SetResults sets field value

type CollectionResponseMultiAssociatedObjectWithLabelForwardPaging

type CollectionResponseMultiAssociatedObjectWithLabelForwardPaging struct {
	Results []MultiAssociatedObjectWithLabel `json:"results"`
	Paging  *ForwardPaging                   `json:"paging,omitempty"`
}

CollectionResponseMultiAssociatedObjectWithLabelForwardPaging struct for CollectionResponseMultiAssociatedObjectWithLabelForwardPaging

func NewCollectionResponseMultiAssociatedObjectWithLabelForwardPaging

func NewCollectionResponseMultiAssociatedObjectWithLabelForwardPaging(results []MultiAssociatedObjectWithLabel) *CollectionResponseMultiAssociatedObjectWithLabelForwardPaging

NewCollectionResponseMultiAssociatedObjectWithLabelForwardPaging instantiates a new CollectionResponseMultiAssociatedObjectWithLabelForwardPaging 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 NewCollectionResponseMultiAssociatedObjectWithLabelForwardPagingWithDefaults

func NewCollectionResponseMultiAssociatedObjectWithLabelForwardPagingWithDefaults() *CollectionResponseMultiAssociatedObjectWithLabelForwardPaging

NewCollectionResponseMultiAssociatedObjectWithLabelForwardPagingWithDefaults instantiates a new CollectionResponseMultiAssociatedObjectWithLabelForwardPaging 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 (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) GetPagingOk

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

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) GetResultsOk

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

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) MarshalJSON

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseMultiAssociatedObjectWithLabelForwardPaging) SetResults

SetResults sets field value

type CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

type CollectionResponseSimplePublicObjectWithAssociationsForwardPaging struct {
	Results []SimplePublicObjectWithAssociations `json:"results"`
	Paging  *ForwardPaging                       `json:"paging,omitempty"`
}

CollectionResponseSimplePublicObjectWithAssociationsForwardPaging struct for CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

func NewCollectionResponseSimplePublicObjectWithAssociationsForwardPaging

func NewCollectionResponseSimplePublicObjectWithAssociationsForwardPaging(results []SimplePublicObjectWithAssociations) *CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

NewCollectionResponseSimplePublicObjectWithAssociationsForwardPaging instantiates a new CollectionResponseSimplePublicObjectWithAssociationsForwardPaging 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 NewCollectionResponseSimplePublicObjectWithAssociationsForwardPagingWithDefaults

func NewCollectionResponseSimplePublicObjectWithAssociationsForwardPagingWithDefaults() *CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

NewCollectionResponseSimplePublicObjectWithAssociationsForwardPagingWithDefaults instantiates a new CollectionResponseSimplePublicObjectWithAssociationsForwardPaging 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 (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) GetPagingOk

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

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) GetResultsOk

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

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) MarshalJSON

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseSimplePublicObjectWithAssociationsForwardPaging) SetResults

SetResults sets field value

type CollectionResponseWithTotalSimplePublicObjectForwardPaging

type CollectionResponseWithTotalSimplePublicObjectForwardPaging struct {
	Total   int32                `json:"total"`
	Results []SimplePublicObject `json:"results"`
	Paging  *ForwardPaging       `json:"paging,omitempty"`
}

CollectionResponseWithTotalSimplePublicObjectForwardPaging struct for CollectionResponseWithTotalSimplePublicObjectForwardPaging

func NewCollectionResponseWithTotalSimplePublicObjectForwardPaging

func NewCollectionResponseWithTotalSimplePublicObjectForwardPaging(total int32, results []SimplePublicObject) *CollectionResponseWithTotalSimplePublicObjectForwardPaging

NewCollectionResponseWithTotalSimplePublicObjectForwardPaging instantiates a new CollectionResponseWithTotalSimplePublicObjectForwardPaging 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 NewCollectionResponseWithTotalSimplePublicObjectForwardPagingWithDefaults

func NewCollectionResponseWithTotalSimplePublicObjectForwardPagingWithDefaults() *CollectionResponseWithTotalSimplePublicObjectForwardPaging

NewCollectionResponseWithTotalSimplePublicObjectForwardPagingWithDefaults instantiates a new CollectionResponseWithTotalSimplePublicObjectForwardPaging 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 (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetPagingOk

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

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetResultsOk

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

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) GetTotalOk

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

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalSimplePublicObjectForwardPaging) MarshalJSON

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalSimplePublicObjectForwardPaging) SetTotal

SetTotal sets field value

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 Error

type Error struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// A unique identifier for the request. Include this value with any error reports or support tickets
	CorrelationId string `json:"correlationId"`
	// The error category
	Category string `json:"category"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// further information about the error
	Errors []ErrorDetail `json:"errors,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
	// A map of link names to associated URIs containing documentation about the error or recommended remediation steps
	Links *map[string]string `json:"links,omitempty"`
}

Error struct for Error

func NewError

func NewError(message string, correlationId string, category string) *Error

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

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

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

func (*Error) GetCategory

func (o *Error) GetCategory() string

GetCategory returns the Category field value

func (*Error) GetCategoryOk

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

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

func (*Error) GetContext

func (o *Error) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*Error) GetContextOk

func (o *Error) GetContextOk() (*map[string][]string, bool)

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

func (*Error) GetCorrelationId

func (o *Error) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value

func (*Error) GetCorrelationIdOk

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

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

func (*Error) GetErrors

func (o *Error) GetErrors() []ErrorDetail

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

func (*Error) GetErrorsOk

func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)

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

func (o *Error) GetLinks() map[string]string

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

func (*Error) GetLinksOk

func (o *Error) GetLinksOk() (*map[string]string, bool)

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

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

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

func (*Error) GetSubCategory

func (o *Error) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*Error) GetSubCategoryOk

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

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

func (*Error) HasContext

func (o *Error) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*Error) HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (o *Error) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Error) HasSubCategory

func (o *Error) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCategory

func (o *Error) SetCategory(v string)

SetCategory sets field value

func (*Error) SetContext

func (o *Error) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*Error) SetCorrelationId

func (o *Error) SetCorrelationId(v string)

SetCorrelationId sets field value

func (*Error) SetErrors

func (o *Error) SetErrors(v []ErrorDetail)

SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.

func (o *Error) SetLinks(v map[string]string)

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetSubCategory

func (o *Error) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type ErrorCategory

type ErrorCategory struct {
	Name       string `json:"name"`
	HttpStatus string `json:"httpStatus"`
}

ErrorCategory struct for ErrorCategory

func NewErrorCategory

func NewErrorCategory(name string, httpStatus string) *ErrorCategory

NewErrorCategory instantiates a new ErrorCategory 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 NewErrorCategoryWithDefaults

func NewErrorCategoryWithDefaults() *ErrorCategory

NewErrorCategoryWithDefaults instantiates a new ErrorCategory 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 (*ErrorCategory) GetHttpStatus

func (o *ErrorCategory) GetHttpStatus() string

GetHttpStatus returns the HttpStatus field value

func (*ErrorCategory) GetHttpStatusOk

func (o *ErrorCategory) GetHttpStatusOk() (*string, bool)

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

func (*ErrorCategory) GetName

func (o *ErrorCategory) GetName() string

GetName returns the Name field value

func (*ErrorCategory) GetNameOk

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

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

func (ErrorCategory) MarshalJSON

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

func (*ErrorCategory) SetHttpStatus

func (o *ErrorCategory) SetHttpStatus(v string)

SetHttpStatus sets field value

func (*ErrorCategory) SetName

func (o *ErrorCategory) SetName(v string)

SetName sets field value

type ErrorDetail

type ErrorDetail struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// The name of the field or parameter in which the error was found.
	In *string `json:"in,omitempty"`
	// The status code associated with the error detail
	Code *string `json:"code,omitempty"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
}

ErrorDetail struct for ErrorDetail

func NewErrorDetail

func NewErrorDetail(message string) *ErrorDetail

NewErrorDetail instantiates a new ErrorDetail 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 NewErrorDetailWithDefaults

func NewErrorDetailWithDefaults() *ErrorDetail

NewErrorDetailWithDefaults instantiates a new ErrorDetail 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 (*ErrorDetail) GetCode

func (o *ErrorDetail) GetCode() string

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

func (*ErrorDetail) GetCodeOk

func (o *ErrorDetail) 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 (*ErrorDetail) GetContext

func (o *ErrorDetail) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*ErrorDetail) GetContextOk

func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)

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

func (*ErrorDetail) GetIn

func (o *ErrorDetail) GetIn() string

GetIn returns the In field value if set, zero value otherwise.

func (*ErrorDetail) GetInOk

func (o *ErrorDetail) GetInOk() (*string, bool)

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

func (*ErrorDetail) GetMessage

func (o *ErrorDetail) GetMessage() string

GetMessage returns the Message field value

func (*ErrorDetail) GetMessageOk

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

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

func (*ErrorDetail) GetSubCategory

func (o *ErrorDetail) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*ErrorDetail) GetSubCategoryOk

func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)

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

func (*ErrorDetail) HasCode

func (o *ErrorDetail) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorDetail) HasContext

func (o *ErrorDetail) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ErrorDetail) HasIn

func (o *ErrorDetail) HasIn() bool

HasIn returns a boolean if a field has been set.

func (*ErrorDetail) HasSubCategory

func (o *ErrorDetail) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (ErrorDetail) MarshalJSON

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

func (*ErrorDetail) SetCode

func (o *ErrorDetail) SetCode(v string)

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

func (*ErrorDetail) SetContext

func (o *ErrorDetail) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*ErrorDetail) SetIn

func (o *ErrorDetail) SetIn(v string)

SetIn gets a reference to the given string and assigns it to the In field.

func (*ErrorDetail) SetMessage

func (o *ErrorDetail) SetMessage(v string)

SetMessage sets field value

func (*ErrorDetail) SetSubCategory

func (o *ErrorDetail) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type Filter

type Filter struct {
	Value        *string  `json:"value,omitempty"`
	Values       []string `json:"values,omitempty"`
	PropertyName string   `json:"propertyName"`
	// null
	Operator string `json:"operator"`
}

Filter struct for Filter

func NewFilter

func NewFilter(propertyName string, operator string) *Filter

NewFilter instantiates a new Filter 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 NewFilterWithDefaults

func NewFilterWithDefaults() *Filter

NewFilterWithDefaults instantiates a new Filter 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 (*Filter) GetOperator

func (o *Filter) GetOperator() string

GetOperator returns the Operator field value

func (*Filter) GetOperatorOk

func (o *Filter) GetOperatorOk() (*string, bool)

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

func (*Filter) GetPropertyName

func (o *Filter) GetPropertyName() string

GetPropertyName returns the PropertyName field value

func (*Filter) GetPropertyNameOk

func (o *Filter) GetPropertyNameOk() (*string, bool)

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

func (*Filter) GetValue

func (o *Filter) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Filter) GetValueOk

func (o *Filter) GetValueOk() (*string, bool)

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

func (*Filter) GetValues

func (o *Filter) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*Filter) GetValuesOk

func (o *Filter) GetValuesOk() ([]string, bool)

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

func (*Filter) HasValue

func (o *Filter) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Filter) HasValues

func (o *Filter) HasValues() bool

HasValues returns a boolean if a field has been set.

func (Filter) MarshalJSON

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

func (*Filter) SetOperator

func (o *Filter) SetOperator(v string)

SetOperator sets field value

func (*Filter) SetPropertyName

func (o *Filter) SetPropertyName(v string)

SetPropertyName sets field value

func (*Filter) SetValue

func (o *Filter) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*Filter) SetValues

func (o *Filter) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

type FilterGroup

type FilterGroup struct {
	Filters []Filter `json:"filters"`
}

FilterGroup struct for FilterGroup

func NewFilterGroup

func NewFilterGroup(filters []Filter) *FilterGroup

NewFilterGroup instantiates a new FilterGroup 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 NewFilterGroupWithDefaults

func NewFilterGroupWithDefaults() *FilterGroup

NewFilterGroupWithDefaults instantiates a new FilterGroup 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 (*FilterGroup) GetFilters

func (o *FilterGroup) GetFilters() []Filter

GetFilters returns the Filters field value

func (*FilterGroup) GetFiltersOk

func (o *FilterGroup) GetFiltersOk() ([]Filter, bool)

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

func (FilterGroup) MarshalJSON

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

func (*FilterGroup) SetFilters

func (o *FilterGroup) SetFilters(v []Filter)

SetFilters sets field value

type ForwardPaging

type ForwardPaging struct {
	Next *NextPage `json:"next,omitempty"`
}

ForwardPaging struct for ForwardPaging

func NewForwardPaging

func NewForwardPaging() *ForwardPaging

NewForwardPaging instantiates a new ForwardPaging 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 NewForwardPagingWithDefaults

func NewForwardPagingWithDefaults() *ForwardPaging

NewForwardPagingWithDefaults instantiates a new ForwardPaging 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 (*ForwardPaging) GetNext

func (o *ForwardPaging) GetNext() NextPage

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

func (*ForwardPaging) GetNextOk

func (o *ForwardPaging) GetNextOk() (*NextPage, bool)

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

func (*ForwardPaging) HasNext

func (o *ForwardPaging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (ForwardPaging) MarshalJSON

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

func (*ForwardPaging) SetNext

func (o *ForwardPaging) SetNext(v NextPage)

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

type GDPRApiService

type GDPRApiService service

GDPRApiService GDPRApi service

func (*GDPRApiService) Delete

Delete GDPR DELETE

Permanently delete a contact and all associated content to follow GDPR. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.

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

func (*GDPRApiService) DeleteExecute

func (a *GDPRApiService) DeleteExecute(r ApiDeleteRequest) (*http.Response, error)

Execute executes the request

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type LabelsBetweenObjectPair

type LabelsBetweenObjectPair struct {
	FromObjectTypeId string   `json:"fromObjectTypeId"`
	FromObjectId     int32    `json:"fromObjectId"`
	ToObjectTypeId   string   `json:"toObjectTypeId"`
	ToObjectId       int32    `json:"toObjectId"`
	Labels           []string `json:"labels"`
}

LabelsBetweenObjectPair struct for LabelsBetweenObjectPair

func NewLabelsBetweenObjectPair

func NewLabelsBetweenObjectPair(fromObjectTypeId string, fromObjectId int32, toObjectTypeId string, toObjectId int32, labels []string) *LabelsBetweenObjectPair

NewLabelsBetweenObjectPair instantiates a new LabelsBetweenObjectPair 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 NewLabelsBetweenObjectPairWithDefaults

func NewLabelsBetweenObjectPairWithDefaults() *LabelsBetweenObjectPair

NewLabelsBetweenObjectPairWithDefaults instantiates a new LabelsBetweenObjectPair 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 (*LabelsBetweenObjectPair) GetFromObjectId

func (o *LabelsBetweenObjectPair) GetFromObjectId() int32

GetFromObjectId returns the FromObjectId field value

func (*LabelsBetweenObjectPair) GetFromObjectIdOk

func (o *LabelsBetweenObjectPair) GetFromObjectIdOk() (*int32, bool)

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

func (*LabelsBetweenObjectPair) GetFromObjectTypeId

func (o *LabelsBetweenObjectPair) GetFromObjectTypeId() string

GetFromObjectTypeId returns the FromObjectTypeId field value

func (*LabelsBetweenObjectPair) GetFromObjectTypeIdOk

func (o *LabelsBetweenObjectPair) GetFromObjectTypeIdOk() (*string, bool)

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

func (*LabelsBetweenObjectPair) GetLabels

func (o *LabelsBetweenObjectPair) GetLabels() []string

GetLabels returns the Labels field value

func (*LabelsBetweenObjectPair) GetLabelsOk

func (o *LabelsBetweenObjectPair) GetLabelsOk() ([]string, bool)

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

func (*LabelsBetweenObjectPair) GetToObjectId

func (o *LabelsBetweenObjectPair) GetToObjectId() int32

GetToObjectId returns the ToObjectId field value

func (*LabelsBetweenObjectPair) GetToObjectIdOk

func (o *LabelsBetweenObjectPair) GetToObjectIdOk() (*int32, bool)

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

func (*LabelsBetweenObjectPair) GetToObjectTypeId

func (o *LabelsBetweenObjectPair) GetToObjectTypeId() string

GetToObjectTypeId returns the ToObjectTypeId field value

func (*LabelsBetweenObjectPair) GetToObjectTypeIdOk

func (o *LabelsBetweenObjectPair) GetToObjectTypeIdOk() (*string, bool)

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

func (LabelsBetweenObjectPair) MarshalJSON

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

func (*LabelsBetweenObjectPair) SetFromObjectId

func (o *LabelsBetweenObjectPair) SetFromObjectId(v int32)

SetFromObjectId sets field value

func (*LabelsBetweenObjectPair) SetFromObjectTypeId

func (o *LabelsBetweenObjectPair) SetFromObjectTypeId(v string)

SetFromObjectTypeId sets field value

func (*LabelsBetweenObjectPair) SetLabels

func (o *LabelsBetweenObjectPair) SetLabels(v []string)

SetLabels sets field value

func (*LabelsBetweenObjectPair) SetToObjectId

func (o *LabelsBetweenObjectPair) SetToObjectId(v int32)

SetToObjectId sets field value

func (*LabelsBetweenObjectPair) SetToObjectTypeId

func (o *LabelsBetweenObjectPair) SetToObjectTypeId(v string)

SetToObjectTypeId sets field value

type MultiAssociatedObjectWithLabel

type MultiAssociatedObjectWithLabel struct {
	ToObjectId       int32                      `json:"toObjectId"`
	AssociationTypes []AssociationSpecWithLabel `json:"associationTypes"`
}

MultiAssociatedObjectWithLabel struct for MultiAssociatedObjectWithLabel

func NewMultiAssociatedObjectWithLabel

func NewMultiAssociatedObjectWithLabel(toObjectId int32, associationTypes []AssociationSpecWithLabel) *MultiAssociatedObjectWithLabel

NewMultiAssociatedObjectWithLabel instantiates a new MultiAssociatedObjectWithLabel 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 NewMultiAssociatedObjectWithLabelWithDefaults

func NewMultiAssociatedObjectWithLabelWithDefaults() *MultiAssociatedObjectWithLabel

NewMultiAssociatedObjectWithLabelWithDefaults instantiates a new MultiAssociatedObjectWithLabel 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 (*MultiAssociatedObjectWithLabel) GetAssociationTypes

func (o *MultiAssociatedObjectWithLabel) GetAssociationTypes() []AssociationSpecWithLabel

GetAssociationTypes returns the AssociationTypes field value

func (*MultiAssociatedObjectWithLabel) GetAssociationTypesOk

func (o *MultiAssociatedObjectWithLabel) GetAssociationTypesOk() ([]AssociationSpecWithLabel, bool)

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

func (*MultiAssociatedObjectWithLabel) GetToObjectId

func (o *MultiAssociatedObjectWithLabel) GetToObjectId() int32

GetToObjectId returns the ToObjectId field value

func (*MultiAssociatedObjectWithLabel) GetToObjectIdOk

func (o *MultiAssociatedObjectWithLabel) GetToObjectIdOk() (*int32, bool)

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

func (MultiAssociatedObjectWithLabel) MarshalJSON

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

func (*MultiAssociatedObjectWithLabel) SetAssociationTypes

func (o *MultiAssociatedObjectWithLabel) SetAssociationTypes(v []AssociationSpecWithLabel)

SetAssociationTypes sets field value

func (*MultiAssociatedObjectWithLabel) SetToObjectId

func (o *MultiAssociatedObjectWithLabel) SetToObjectId(v int32)

SetToObjectId sets field value

type NextPage

type NextPage struct {
	After string  `json:"after"`
	Link  *string `json:"link,omitempty"`
}

NextPage struct for NextPage

func NewNextPage

func NewNextPage(after string) *NextPage

NewNextPage instantiates a new NextPage 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 NewNextPageWithDefaults

func NewNextPageWithDefaults() *NextPage

NewNextPageWithDefaults instantiates a new NextPage 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 (*NextPage) GetAfter

func (o *NextPage) GetAfter() string

GetAfter returns the After field value

func (*NextPage) GetAfterOk

func (o *NextPage) GetAfterOk() (*string, bool)

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

func (o *NextPage) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*NextPage) GetLinkOk

func (o *NextPage) GetLinkOk() (*string, bool)

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

func (o *NextPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (NextPage) MarshalJSON

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

func (*NextPage) SetAfter

func (o *NextPage) SetAfter(v string)

SetAfter sets field value

func (o *NextPage) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

type NullableAssociatedId

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

func NewNullableAssociatedId

func NewNullableAssociatedId(val *AssociatedId) *NullableAssociatedId

func (NullableAssociatedId) Get

func (NullableAssociatedId) IsSet

func (v NullableAssociatedId) IsSet() bool

func (NullableAssociatedId) MarshalJSON

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

func (*NullableAssociatedId) Set

func (v *NullableAssociatedId) Set(val *AssociatedId)

func (*NullableAssociatedId) UnmarshalJSON

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

func (*NullableAssociatedId) Unset

func (v *NullableAssociatedId) Unset()

type NullableAssociationSpec

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

func NewNullableAssociationSpec

func NewNullableAssociationSpec(val *AssociationSpec) *NullableAssociationSpec

func (NullableAssociationSpec) Get

func (NullableAssociationSpec) IsSet

func (v NullableAssociationSpec) IsSet() bool

func (NullableAssociationSpec) MarshalJSON

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

func (*NullableAssociationSpec) Set

func (*NullableAssociationSpec) UnmarshalJSON

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

func (*NullableAssociationSpec) Unset

func (v *NullableAssociationSpec) Unset()

type NullableAssociationSpecWithLabel

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

func (NullableAssociationSpecWithLabel) Get

func (NullableAssociationSpecWithLabel) IsSet

func (NullableAssociationSpecWithLabel) MarshalJSON

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

func (*NullableAssociationSpecWithLabel) Set

func (*NullableAssociationSpecWithLabel) UnmarshalJSON

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

func (*NullableAssociationSpecWithLabel) Unset

type NullableBatchInputSimplePublicObjectBatchInput

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

func (NullableBatchInputSimplePublicObjectBatchInput) Get

func (NullableBatchInputSimplePublicObjectBatchInput) IsSet

func (NullableBatchInputSimplePublicObjectBatchInput) MarshalJSON

func (*NullableBatchInputSimplePublicObjectBatchInput) Set

func (*NullableBatchInputSimplePublicObjectBatchInput) UnmarshalJSON

func (*NullableBatchInputSimplePublicObjectBatchInput) Unset

type NullableBatchInputSimplePublicObjectId

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

func (NullableBatchInputSimplePublicObjectId) Get

func (NullableBatchInputSimplePublicObjectId) IsSet

func (NullableBatchInputSimplePublicObjectId) MarshalJSON

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

func (*NullableBatchInputSimplePublicObjectId) Set

func (*NullableBatchInputSimplePublicObjectId) UnmarshalJSON

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

func (*NullableBatchInputSimplePublicObjectId) Unset

type NullableBatchInputSimplePublicObjectInput

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

func (NullableBatchInputSimplePublicObjectInput) Get

func (NullableBatchInputSimplePublicObjectInput) IsSet

func (NullableBatchInputSimplePublicObjectInput) MarshalJSON

func (*NullableBatchInputSimplePublicObjectInput) Set

func (*NullableBatchInputSimplePublicObjectInput) UnmarshalJSON

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

func (*NullableBatchInputSimplePublicObjectInput) Unset

type NullableBatchReadInputSimplePublicObjectId

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

func (NullableBatchReadInputSimplePublicObjectId) Get

func (NullableBatchReadInputSimplePublicObjectId) IsSet

func (NullableBatchReadInputSimplePublicObjectId) MarshalJSON

func (*NullableBatchReadInputSimplePublicObjectId) Set

func (*NullableBatchReadInputSimplePublicObjectId) UnmarshalJSON

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

func (*NullableBatchReadInputSimplePublicObjectId) Unset

type NullableBatchResponseSimplePublicObject

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

func (NullableBatchResponseSimplePublicObject) Get

func (NullableBatchResponseSimplePublicObject) IsSet

func (NullableBatchResponseSimplePublicObject) MarshalJSON

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

func (*NullableBatchResponseSimplePublicObject) Set

func (*NullableBatchResponseSimplePublicObject) UnmarshalJSON

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

func (*NullableBatchResponseSimplePublicObject) Unset

type NullableBatchResponseSimplePublicObjectWithErrors

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

func (NullableBatchResponseSimplePublicObjectWithErrors) Get

func (NullableBatchResponseSimplePublicObjectWithErrors) IsSet

func (NullableBatchResponseSimplePublicObjectWithErrors) MarshalJSON

func (*NullableBatchResponseSimplePublicObjectWithErrors) Set

func (*NullableBatchResponseSimplePublicObjectWithErrors) UnmarshalJSON

func (*NullableBatchResponseSimplePublicObjectWithErrors) 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 NullableCollectionResponseAssociatedId

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

func (NullableCollectionResponseAssociatedId) Get

func (NullableCollectionResponseAssociatedId) IsSet

func (NullableCollectionResponseAssociatedId) MarshalJSON

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

func (*NullableCollectionResponseAssociatedId) Set

func (*NullableCollectionResponseAssociatedId) UnmarshalJSON

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

func (*NullableCollectionResponseAssociatedId) Unset

type NullableCollectionResponseAssociatedIdForwardPaging

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

func (NullableCollectionResponseAssociatedIdForwardPaging) Get

func (NullableCollectionResponseAssociatedIdForwardPaging) IsSet

func (NullableCollectionResponseAssociatedIdForwardPaging) MarshalJSON

func (*NullableCollectionResponseAssociatedIdForwardPaging) Set

func (*NullableCollectionResponseAssociatedIdForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseAssociatedIdForwardPaging) Unset

type NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging

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

func (NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) Get

func (NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) IsSet

func (NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) MarshalJSON

func (*NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) Set

func (*NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseMultiAssociatedObjectWithLabelForwardPaging) Unset

type NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging

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

func (NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) Get

func (NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) IsSet

func (NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) MarshalJSON

func (*NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) Set

func (*NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseSimplePublicObjectWithAssociationsForwardPaging) Unset

type NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging

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

func (NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) Get

func (NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) IsSet

func (NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) MarshalJSON

func (*NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) Set

func (*NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseWithTotalSimplePublicObjectForwardPaging) Unset

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

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

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorCategory

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

func NewNullableErrorCategory

func NewNullableErrorCategory(val *ErrorCategory) *NullableErrorCategory

func (NullableErrorCategory) Get

func (NullableErrorCategory) IsSet

func (v NullableErrorCategory) IsSet() bool

func (NullableErrorCategory) MarshalJSON

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

func (*NullableErrorCategory) Set

func (v *NullableErrorCategory) Set(val *ErrorCategory)

func (*NullableErrorCategory) UnmarshalJSON

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

func (*NullableErrorCategory) Unset

func (v *NullableErrorCategory) Unset()

type NullableErrorDetail

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

func NewNullableErrorDetail

func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail

func (NullableErrorDetail) Get

func (NullableErrorDetail) IsSet

func (v NullableErrorDetail) IsSet() bool

func (NullableErrorDetail) MarshalJSON

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

func (*NullableErrorDetail) Set

func (v *NullableErrorDetail) Set(val *ErrorDetail)

func (*NullableErrorDetail) UnmarshalJSON

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

func (*NullableErrorDetail) Unset

func (v *NullableErrorDetail) Unset()

type NullableFilter

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

func NewNullableFilter

func NewNullableFilter(val *Filter) *NullableFilter

func (NullableFilter) Get

func (v NullableFilter) Get() *Filter

func (NullableFilter) IsSet

func (v NullableFilter) IsSet() bool

func (NullableFilter) MarshalJSON

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

func (*NullableFilter) Set

func (v *NullableFilter) Set(val *Filter)

func (*NullableFilter) UnmarshalJSON

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

func (*NullableFilter) Unset

func (v *NullableFilter) Unset()

type NullableFilterGroup

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

func NewNullableFilterGroup

func NewNullableFilterGroup(val *FilterGroup) *NullableFilterGroup

func (NullableFilterGroup) Get

func (NullableFilterGroup) IsSet

func (v NullableFilterGroup) IsSet() bool

func (NullableFilterGroup) MarshalJSON

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

func (*NullableFilterGroup) Set

func (v *NullableFilterGroup) Set(val *FilterGroup)

func (*NullableFilterGroup) UnmarshalJSON

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

func (*NullableFilterGroup) Unset

func (v *NullableFilterGroup) 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 NullableForwardPaging

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

func NewNullableForwardPaging

func NewNullableForwardPaging(val *ForwardPaging) *NullableForwardPaging

func (NullableForwardPaging) Get

func (NullableForwardPaging) IsSet

func (v NullableForwardPaging) IsSet() bool

func (NullableForwardPaging) MarshalJSON

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

func (*NullableForwardPaging) Set

func (v *NullableForwardPaging) Set(val *ForwardPaging)

func (*NullableForwardPaging) UnmarshalJSON

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

func (*NullableForwardPaging) Unset

func (v *NullableForwardPaging) 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 NullableLabelsBetweenObjectPair

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

func (NullableLabelsBetweenObjectPair) Get

func (NullableLabelsBetweenObjectPair) IsSet

func (NullableLabelsBetweenObjectPair) MarshalJSON

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

func (*NullableLabelsBetweenObjectPair) Set

func (*NullableLabelsBetweenObjectPair) UnmarshalJSON

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

func (*NullableLabelsBetweenObjectPair) Unset

type NullableMultiAssociatedObjectWithLabel

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

func (NullableMultiAssociatedObjectWithLabel) Get

func (NullableMultiAssociatedObjectWithLabel) IsSet

func (NullableMultiAssociatedObjectWithLabel) MarshalJSON

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

func (*NullableMultiAssociatedObjectWithLabel) Set

func (*NullableMultiAssociatedObjectWithLabel) UnmarshalJSON

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

func (*NullableMultiAssociatedObjectWithLabel) Unset

type NullableNextPage

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

func NewNullableNextPage

func NewNullableNextPage(val *NextPage) *NullableNextPage

func (NullableNextPage) Get

func (v NullableNextPage) Get() *NextPage

func (NullableNextPage) IsSet

func (v NullableNextPage) IsSet() bool

func (NullableNextPage) MarshalJSON

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

func (*NullableNextPage) Set

func (v *NullableNextPage) Set(val *NextPage)

func (*NullableNextPage) UnmarshalJSON

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

func (*NullableNextPage) Unset

func (v *NullableNextPage) Unset()

type NullablePaging

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

func NewNullablePaging

func NewNullablePaging(val *Paging) *NullablePaging

func (NullablePaging) Get

func (v NullablePaging) Get() *Paging

func (NullablePaging) IsSet

func (v NullablePaging) IsSet() bool

func (NullablePaging) MarshalJSON

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

func (*NullablePaging) Set

func (v *NullablePaging) Set(val *Paging)

func (*NullablePaging) UnmarshalJSON

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

func (*NullablePaging) Unset

func (v *NullablePaging) Unset()

type NullablePreviousPage

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

func NewNullablePreviousPage

func NewNullablePreviousPage(val *PreviousPage) *NullablePreviousPage

func (NullablePreviousPage) Get

func (NullablePreviousPage) IsSet

func (v NullablePreviousPage) IsSet() bool

func (NullablePreviousPage) MarshalJSON

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

func (*NullablePreviousPage) Set

func (v *NullablePreviousPage) Set(val *PreviousPage)

func (*NullablePreviousPage) UnmarshalJSON

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

func (*NullablePreviousPage) Unset

func (v *NullablePreviousPage) Unset()

type NullablePublicGdprDeleteInput

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

func (NullablePublicGdprDeleteInput) Get

func (NullablePublicGdprDeleteInput) IsSet

func (NullablePublicGdprDeleteInput) MarshalJSON

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

func (*NullablePublicGdprDeleteInput) Set

func (*NullablePublicGdprDeleteInput) UnmarshalJSON

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

func (*NullablePublicGdprDeleteInput) Unset

func (v *NullablePublicGdprDeleteInput) Unset()

type NullablePublicMergeInput

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

func NewNullablePublicMergeInput

func NewNullablePublicMergeInput(val *PublicMergeInput) *NullablePublicMergeInput

func (NullablePublicMergeInput) Get

func (NullablePublicMergeInput) IsSet

func (v NullablePublicMergeInput) IsSet() bool

func (NullablePublicMergeInput) MarshalJSON

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

func (*NullablePublicMergeInput) Set

func (*NullablePublicMergeInput) UnmarshalJSON

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

func (*NullablePublicMergeInput) Unset

func (v *NullablePublicMergeInput) Unset()

type NullablePublicObjectSearchRequest

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

func (NullablePublicObjectSearchRequest) Get

func (NullablePublicObjectSearchRequest) IsSet

func (NullablePublicObjectSearchRequest) MarshalJSON

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

func (*NullablePublicObjectSearchRequest) Set

func (*NullablePublicObjectSearchRequest) UnmarshalJSON

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

func (*NullablePublicObjectSearchRequest) Unset

type NullableSimplePublicObject

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

func NewNullableSimplePublicObject

func NewNullableSimplePublicObject(val *SimplePublicObject) *NullableSimplePublicObject

func (NullableSimplePublicObject) Get

func (NullableSimplePublicObject) IsSet

func (v NullableSimplePublicObject) IsSet() bool

func (NullableSimplePublicObject) MarshalJSON

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

func (*NullableSimplePublicObject) Set

func (*NullableSimplePublicObject) UnmarshalJSON

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

func (*NullableSimplePublicObject) Unset

func (v *NullableSimplePublicObject) Unset()

type NullableSimplePublicObjectBatchInput

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

func (NullableSimplePublicObjectBatchInput) Get

func (NullableSimplePublicObjectBatchInput) IsSet

func (NullableSimplePublicObjectBatchInput) MarshalJSON

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

func (*NullableSimplePublicObjectBatchInput) Set

func (*NullableSimplePublicObjectBatchInput) UnmarshalJSON

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

func (*NullableSimplePublicObjectBatchInput) Unset

type NullableSimplePublicObjectId

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

func NewNullableSimplePublicObjectId

func NewNullableSimplePublicObjectId(val *SimplePublicObjectId) *NullableSimplePublicObjectId

func (NullableSimplePublicObjectId) Get

func (NullableSimplePublicObjectId) IsSet

func (NullableSimplePublicObjectId) MarshalJSON

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

func (*NullableSimplePublicObjectId) Set

func (*NullableSimplePublicObjectId) UnmarshalJSON

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

func (*NullableSimplePublicObjectId) Unset

func (v *NullableSimplePublicObjectId) Unset()

type NullableSimplePublicObjectInput

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

func (NullableSimplePublicObjectInput) Get

func (NullableSimplePublicObjectInput) IsSet

func (NullableSimplePublicObjectInput) MarshalJSON

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

func (*NullableSimplePublicObjectInput) Set

func (*NullableSimplePublicObjectInput) UnmarshalJSON

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

func (*NullableSimplePublicObjectInput) Unset

type NullableSimplePublicObjectWithAssociations

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

func (NullableSimplePublicObjectWithAssociations) Get

func (NullableSimplePublicObjectWithAssociations) IsSet

func (NullableSimplePublicObjectWithAssociations) MarshalJSON

func (*NullableSimplePublicObjectWithAssociations) Set

func (*NullableSimplePublicObjectWithAssociations) UnmarshalJSON

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

func (*NullableSimplePublicObjectWithAssociations) Unset

type NullableStandardError

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

func NewNullableStandardError

func NewNullableStandardError(val *StandardError) *NullableStandardError

func (NullableStandardError) Get

func (NullableStandardError) IsSet

func (v NullableStandardError) IsSet() bool

func (NullableStandardError) MarshalJSON

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

func (*NullableStandardError) Set

func (v *NullableStandardError) Set(val *StandardError)

func (*NullableStandardError) UnmarshalJSON

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

func (*NullableStandardError) Unset

func (v *NullableStandardError) 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 NullableValueWithTimestamp

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

func NewNullableValueWithTimestamp

func NewNullableValueWithTimestamp(val *ValueWithTimestamp) *NullableValueWithTimestamp

func (NullableValueWithTimestamp) Get

func (NullableValueWithTimestamp) IsSet

func (v NullableValueWithTimestamp) IsSet() bool

func (NullableValueWithTimestamp) MarshalJSON

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

func (*NullableValueWithTimestamp) Set

func (*NullableValueWithTimestamp) UnmarshalJSON

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

func (*NullableValueWithTimestamp) Unset

func (v *NullableValueWithTimestamp) Unset()

type Paging

type Paging struct {
	Next *NextPage     `json:"next,omitempty"`
	Prev *PreviousPage `json:"prev,omitempty"`
}

Paging struct for Paging

func NewPaging

func NewPaging() *Paging

NewPaging instantiates a new Paging 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 NewPagingWithDefaults

func NewPagingWithDefaults() *Paging

NewPagingWithDefaults instantiates a new Paging 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 (*Paging) GetNext

func (o *Paging) GetNext() NextPage

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

func (*Paging) GetNextOk

func (o *Paging) GetNextOk() (*NextPage, bool)

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

func (*Paging) GetPrev

func (o *Paging) GetPrev() PreviousPage

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

func (*Paging) GetPrevOk

func (o *Paging) GetPrevOk() (*PreviousPage, bool)

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

func (*Paging) HasNext

func (o *Paging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Paging) HasPrev

func (o *Paging) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (Paging) MarshalJSON

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

func (*Paging) SetNext

func (o *Paging) SetNext(v NextPage)

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

func (*Paging) SetPrev

func (o *Paging) SetPrev(v PreviousPage)

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

type PreviousPage

type PreviousPage struct {
	Before string  `json:"before"`
	Link   *string `json:"link,omitempty"`
}

PreviousPage struct for PreviousPage

func NewPreviousPage

func NewPreviousPage(before string) *PreviousPage

NewPreviousPage instantiates a new PreviousPage 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 NewPreviousPageWithDefaults

func NewPreviousPageWithDefaults() *PreviousPage

NewPreviousPageWithDefaults instantiates a new PreviousPage 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 (*PreviousPage) GetBefore

func (o *PreviousPage) GetBefore() string

GetBefore returns the Before field value

func (*PreviousPage) GetBeforeOk

func (o *PreviousPage) GetBeforeOk() (*string, bool)

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

func (o *PreviousPage) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*PreviousPage) GetLinkOk

func (o *PreviousPage) GetLinkOk() (*string, bool)

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

func (o *PreviousPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (PreviousPage) MarshalJSON

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

func (*PreviousPage) SetBefore

func (o *PreviousPage) SetBefore(v string)

SetBefore sets field value

func (o *PreviousPage) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

type PublicGdprDeleteInput

type PublicGdprDeleteInput struct {
	ObjectId   string  `json:"objectId"`
	IdProperty *string `json:"idProperty,omitempty"`
}

PublicGdprDeleteInput struct for PublicGdprDeleteInput

func NewPublicGdprDeleteInput

func NewPublicGdprDeleteInput(objectId string) *PublicGdprDeleteInput

NewPublicGdprDeleteInput instantiates a new PublicGdprDeleteInput 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 NewPublicGdprDeleteInputWithDefaults

func NewPublicGdprDeleteInputWithDefaults() *PublicGdprDeleteInput

NewPublicGdprDeleteInputWithDefaults instantiates a new PublicGdprDeleteInput 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 (*PublicGdprDeleteInput) GetIdProperty

func (o *PublicGdprDeleteInput) GetIdProperty() string

GetIdProperty returns the IdProperty field value if set, zero value otherwise.

func (*PublicGdprDeleteInput) GetIdPropertyOk

func (o *PublicGdprDeleteInput) GetIdPropertyOk() (*string, bool)

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

func (*PublicGdprDeleteInput) GetObjectId

func (o *PublicGdprDeleteInput) GetObjectId() string

GetObjectId returns the ObjectId field value

func (*PublicGdprDeleteInput) GetObjectIdOk

func (o *PublicGdprDeleteInput) GetObjectIdOk() (*string, bool)

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

func (*PublicGdprDeleteInput) HasIdProperty

func (o *PublicGdprDeleteInput) HasIdProperty() bool

HasIdProperty returns a boolean if a field has been set.

func (PublicGdprDeleteInput) MarshalJSON

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

func (*PublicGdprDeleteInput) SetIdProperty

func (o *PublicGdprDeleteInput) SetIdProperty(v string)

SetIdProperty gets a reference to the given string and assigns it to the IdProperty field.

func (*PublicGdprDeleteInput) SetObjectId

func (o *PublicGdprDeleteInput) SetObjectId(v string)

SetObjectId sets field value

type PublicMergeInput

type PublicMergeInput struct {
	PrimaryObjectId string `json:"primaryObjectId"`
	ObjectIdToMerge string `json:"objectIdToMerge"`
}

PublicMergeInput struct for PublicMergeInput

func NewPublicMergeInput

func NewPublicMergeInput(primaryObjectId string, objectIdToMerge string) *PublicMergeInput

NewPublicMergeInput instantiates a new PublicMergeInput 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 NewPublicMergeInputWithDefaults

func NewPublicMergeInputWithDefaults() *PublicMergeInput

NewPublicMergeInputWithDefaults instantiates a new PublicMergeInput 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 (*PublicMergeInput) GetObjectIdToMerge

func (o *PublicMergeInput) GetObjectIdToMerge() string

GetObjectIdToMerge returns the ObjectIdToMerge field value

func (*PublicMergeInput) GetObjectIdToMergeOk

func (o *PublicMergeInput) GetObjectIdToMergeOk() (*string, bool)

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

func (*PublicMergeInput) GetPrimaryObjectId

func (o *PublicMergeInput) GetPrimaryObjectId() string

GetPrimaryObjectId returns the PrimaryObjectId field value

func (*PublicMergeInput) GetPrimaryObjectIdOk

func (o *PublicMergeInput) GetPrimaryObjectIdOk() (*string, bool)

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

func (PublicMergeInput) MarshalJSON

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

func (*PublicMergeInput) SetObjectIdToMerge

func (o *PublicMergeInput) SetObjectIdToMerge(v string)

SetObjectIdToMerge sets field value

func (*PublicMergeInput) SetPrimaryObjectId

func (o *PublicMergeInput) SetPrimaryObjectId(v string)

SetPrimaryObjectId sets field value

type PublicObjectApiService

type PublicObjectApiService service

PublicObjectApiService PublicObjectApi service

func (*PublicObjectApiService) Merge

Merge Merge two contacts with same type

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

func (*PublicObjectApiService) MergeExecute

Execute executes the request

@return SimplePublicObject

type PublicObjectSearchRequest

type PublicObjectSearchRequest struct {
	FilterGroups []FilterGroup `json:"filterGroups"`
	Sorts        []string      `json:"sorts"`
	Query        *string       `json:"query,omitempty"`
	Properties   []string      `json:"properties"`
	Limit        int32         `json:"limit"`
	After        int32         `json:"after"`
}

PublicObjectSearchRequest struct for PublicObjectSearchRequest

func NewPublicObjectSearchRequest

func NewPublicObjectSearchRequest(filterGroups []FilterGroup, sorts []string, properties []string, limit int32, after int32) *PublicObjectSearchRequest

NewPublicObjectSearchRequest instantiates a new PublicObjectSearchRequest 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 NewPublicObjectSearchRequestWithDefaults

func NewPublicObjectSearchRequestWithDefaults() *PublicObjectSearchRequest

NewPublicObjectSearchRequestWithDefaults instantiates a new PublicObjectSearchRequest 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 (*PublicObjectSearchRequest) GetAfter

func (o *PublicObjectSearchRequest) GetAfter() int32

GetAfter returns the After field value

func (*PublicObjectSearchRequest) GetAfterOk

func (o *PublicObjectSearchRequest) GetAfterOk() (*int32, bool)

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

func (*PublicObjectSearchRequest) GetFilterGroups

func (o *PublicObjectSearchRequest) GetFilterGroups() []FilterGroup

GetFilterGroups returns the FilterGroups field value

func (*PublicObjectSearchRequest) GetFilterGroupsOk

func (o *PublicObjectSearchRequest) GetFilterGroupsOk() ([]FilterGroup, bool)

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

func (*PublicObjectSearchRequest) GetLimit

func (o *PublicObjectSearchRequest) GetLimit() int32

GetLimit returns the Limit field value

func (*PublicObjectSearchRequest) GetLimitOk

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

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

func (*PublicObjectSearchRequest) GetProperties

func (o *PublicObjectSearchRequest) GetProperties() []string

GetProperties returns the Properties field value

func (*PublicObjectSearchRequest) GetPropertiesOk

func (o *PublicObjectSearchRequest) GetPropertiesOk() ([]string, bool)

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

func (*PublicObjectSearchRequest) GetQuery

func (o *PublicObjectSearchRequest) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*PublicObjectSearchRequest) GetQueryOk

func (o *PublicObjectSearchRequest) GetQueryOk() (*string, bool)

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

func (*PublicObjectSearchRequest) GetSorts

func (o *PublicObjectSearchRequest) GetSorts() []string

GetSorts returns the Sorts field value

func (*PublicObjectSearchRequest) GetSortsOk

func (o *PublicObjectSearchRequest) GetSortsOk() ([]string, bool)

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

func (*PublicObjectSearchRequest) HasQuery

func (o *PublicObjectSearchRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (PublicObjectSearchRequest) MarshalJSON

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

func (*PublicObjectSearchRequest) SetAfter

func (o *PublicObjectSearchRequest) SetAfter(v int32)

SetAfter sets field value

func (*PublicObjectSearchRequest) SetFilterGroups

func (o *PublicObjectSearchRequest) SetFilterGroups(v []FilterGroup)

SetFilterGroups sets field value

func (*PublicObjectSearchRequest) SetLimit

func (o *PublicObjectSearchRequest) SetLimit(v int32)

SetLimit sets field value

func (*PublicObjectSearchRequest) SetProperties

func (o *PublicObjectSearchRequest) SetProperties(v []string)

SetProperties sets field value

func (*PublicObjectSearchRequest) SetQuery

func (o *PublicObjectSearchRequest) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*PublicObjectSearchRequest) SetSorts

func (o *PublicObjectSearchRequest) SetSorts(v []string)

SetSorts sets field value

type SearchApiService

type SearchApiService service

SearchApiService SearchApi service

func (*SearchApiService) Search

Search Method for Search

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

func (*SearchApiService) SearchExecute

Execute executes the request

@return CollectionResponseWithTotalSimplePublicObjectForwardPaging

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 SimplePublicObject

type SimplePublicObject struct {
	Id                    string                           `json:"id"`
	Properties            map[string]string                `json:"properties"`
	PropertiesWithHistory *map[string][]ValueWithTimestamp `json:"propertiesWithHistory,omitempty"`
	CreatedAt             time.Time                        `json:"createdAt"`
	UpdatedAt             time.Time                        `json:"updatedAt"`
	Archived              *bool                            `json:"archived,omitempty"`
	ArchivedAt            *time.Time                       `json:"archivedAt,omitempty"`
}

SimplePublicObject struct for SimplePublicObject

func NewSimplePublicObject

func NewSimplePublicObject(id string, properties map[string]string, createdAt time.Time, updatedAt time.Time) *SimplePublicObject

NewSimplePublicObject instantiates a new SimplePublicObject 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 NewSimplePublicObjectWithDefaults

func NewSimplePublicObjectWithDefaults() *SimplePublicObject

NewSimplePublicObjectWithDefaults instantiates a new SimplePublicObject 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 (*SimplePublicObject) GetArchived

func (o *SimplePublicObject) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*SimplePublicObject) GetArchivedAt

func (o *SimplePublicObject) GetArchivedAt() time.Time

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*SimplePublicObject) GetArchivedAtOk

func (o *SimplePublicObject) GetArchivedAtOk() (*time.Time, bool)

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

func (*SimplePublicObject) GetArchivedOk

func (o *SimplePublicObject) GetArchivedOk() (*bool, bool)

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

func (*SimplePublicObject) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*SimplePublicObject) GetCreatedAtOk

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

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

func (*SimplePublicObject) GetId

func (o *SimplePublicObject) GetId() string

GetId returns the Id field value

func (*SimplePublicObject) GetIdOk

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

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

func (*SimplePublicObject) GetProperties

func (o *SimplePublicObject) GetProperties() map[string]string

GetProperties returns the Properties field value

func (*SimplePublicObject) GetPropertiesOk

func (o *SimplePublicObject) GetPropertiesOk() (*map[string]string, bool)

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

func (*SimplePublicObject) GetPropertiesWithHistory

func (o *SimplePublicObject) GetPropertiesWithHistory() map[string][]ValueWithTimestamp

GetPropertiesWithHistory returns the PropertiesWithHistory field value if set, zero value otherwise.

func (*SimplePublicObject) GetPropertiesWithHistoryOk

func (o *SimplePublicObject) GetPropertiesWithHistoryOk() (*map[string][]ValueWithTimestamp, bool)

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

func (*SimplePublicObject) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*SimplePublicObject) GetUpdatedAtOk

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

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

func (*SimplePublicObject) HasArchived

func (o *SimplePublicObject) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*SimplePublicObject) HasArchivedAt

func (o *SimplePublicObject) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*SimplePublicObject) HasPropertiesWithHistory

func (o *SimplePublicObject) HasPropertiesWithHistory() bool

HasPropertiesWithHistory returns a boolean if a field has been set.

func (SimplePublicObject) MarshalJSON

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

func (*SimplePublicObject) SetArchived

func (o *SimplePublicObject) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*SimplePublicObject) SetArchivedAt

func (o *SimplePublicObject) SetArchivedAt(v time.Time)

SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.

func (*SimplePublicObject) SetCreatedAt

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

SetCreatedAt sets field value

func (*SimplePublicObject) SetId

func (o *SimplePublicObject) SetId(v string)

SetId sets field value

func (*SimplePublicObject) SetProperties

func (o *SimplePublicObject) SetProperties(v map[string]string)

SetProperties sets field value

func (*SimplePublicObject) SetPropertiesWithHistory

func (o *SimplePublicObject) SetPropertiesWithHistory(v map[string][]ValueWithTimestamp)

SetPropertiesWithHistory gets a reference to the given map[string][]ValueWithTimestamp and assigns it to the PropertiesWithHistory field.

func (*SimplePublicObject) SetUpdatedAt

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

SetUpdatedAt sets field value

type SimplePublicObjectBatchInput

type SimplePublicObjectBatchInput struct {
	Properties map[string]string `json:"properties"`
	Id         string            `json:"id"`
}

SimplePublicObjectBatchInput struct for SimplePublicObjectBatchInput

func NewSimplePublicObjectBatchInput

func NewSimplePublicObjectBatchInput(properties map[string]string, id string) *SimplePublicObjectBatchInput

NewSimplePublicObjectBatchInput instantiates a new SimplePublicObjectBatchInput 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 NewSimplePublicObjectBatchInputWithDefaults

func NewSimplePublicObjectBatchInputWithDefaults() *SimplePublicObjectBatchInput

NewSimplePublicObjectBatchInputWithDefaults instantiates a new SimplePublicObjectBatchInput 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 (*SimplePublicObjectBatchInput) GetId

GetId returns the Id field value

func (*SimplePublicObjectBatchInput) GetIdOk

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

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

func (*SimplePublicObjectBatchInput) GetProperties

func (o *SimplePublicObjectBatchInput) GetProperties() map[string]string

GetProperties returns the Properties field value

func (*SimplePublicObjectBatchInput) GetPropertiesOk

func (o *SimplePublicObjectBatchInput) GetPropertiesOk() (*map[string]string, bool)

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

func (SimplePublicObjectBatchInput) MarshalJSON

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

func (*SimplePublicObjectBatchInput) SetId

SetId sets field value

func (*SimplePublicObjectBatchInput) SetProperties

func (o *SimplePublicObjectBatchInput) SetProperties(v map[string]string)

SetProperties sets field value

type SimplePublicObjectId

type SimplePublicObjectId struct {
	Id string `json:"id"`
}

SimplePublicObjectId struct for SimplePublicObjectId

func NewSimplePublicObjectId

func NewSimplePublicObjectId(id string) *SimplePublicObjectId

NewSimplePublicObjectId instantiates a new SimplePublicObjectId 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 NewSimplePublicObjectIdWithDefaults

func NewSimplePublicObjectIdWithDefaults() *SimplePublicObjectId

NewSimplePublicObjectIdWithDefaults instantiates a new SimplePublicObjectId 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 (*SimplePublicObjectId) GetId

func (o *SimplePublicObjectId) GetId() string

GetId returns the Id field value

func (*SimplePublicObjectId) GetIdOk

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

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

func (SimplePublicObjectId) MarshalJSON

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

func (*SimplePublicObjectId) SetId

func (o *SimplePublicObjectId) SetId(v string)

SetId sets field value

type SimplePublicObjectInput

type SimplePublicObjectInput struct {
	Properties map[string]string `json:"properties"`
}

SimplePublicObjectInput struct for SimplePublicObjectInput

func NewSimplePublicObjectInput

func NewSimplePublicObjectInput(properties map[string]string) *SimplePublicObjectInput

NewSimplePublicObjectInput instantiates a new SimplePublicObjectInput 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 NewSimplePublicObjectInputWithDefaults

func NewSimplePublicObjectInputWithDefaults() *SimplePublicObjectInput

NewSimplePublicObjectInputWithDefaults instantiates a new SimplePublicObjectInput 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 (*SimplePublicObjectInput) GetProperties

func (o *SimplePublicObjectInput) GetProperties() map[string]string

GetProperties returns the Properties field value

func (*SimplePublicObjectInput) GetPropertiesOk

func (o *SimplePublicObjectInput) GetPropertiesOk() (*map[string]string, bool)

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

func (SimplePublicObjectInput) MarshalJSON

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

func (*SimplePublicObjectInput) SetProperties

func (o *SimplePublicObjectInput) SetProperties(v map[string]string)

SetProperties sets field value

type SimplePublicObjectWithAssociations

type SimplePublicObjectWithAssociations struct {
	Id                    string                                     `json:"id"`
	Properties            map[string]string                          `json:"properties"`
	PropertiesWithHistory *map[string][]ValueWithTimestamp           `json:"propertiesWithHistory,omitempty"`
	CreatedAt             time.Time                                  `json:"createdAt"`
	UpdatedAt             time.Time                                  `json:"updatedAt"`
	Archived              *bool                                      `json:"archived,omitempty"`
	ArchivedAt            *time.Time                                 `json:"archivedAt,omitempty"`
	Associations          *map[string]CollectionResponseAssociatedId `json:"associations,omitempty"`
}

SimplePublicObjectWithAssociations struct for SimplePublicObjectWithAssociations

func NewSimplePublicObjectWithAssociations

func NewSimplePublicObjectWithAssociations(id string, properties map[string]string, createdAt time.Time, updatedAt time.Time) *SimplePublicObjectWithAssociations

NewSimplePublicObjectWithAssociations instantiates a new SimplePublicObjectWithAssociations 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 NewSimplePublicObjectWithAssociationsWithDefaults

func NewSimplePublicObjectWithAssociationsWithDefaults() *SimplePublicObjectWithAssociations

NewSimplePublicObjectWithAssociationsWithDefaults instantiates a new SimplePublicObjectWithAssociations 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 (*SimplePublicObjectWithAssociations) GetArchived

func (o *SimplePublicObjectWithAssociations) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*SimplePublicObjectWithAssociations) GetArchivedAt

func (o *SimplePublicObjectWithAssociations) GetArchivedAt() time.Time

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*SimplePublicObjectWithAssociations) GetArchivedAtOk

func (o *SimplePublicObjectWithAssociations) GetArchivedAtOk() (*time.Time, bool)

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

func (*SimplePublicObjectWithAssociations) GetArchivedOk

func (o *SimplePublicObjectWithAssociations) GetArchivedOk() (*bool, bool)

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

func (*SimplePublicObjectWithAssociations) GetAssociations

GetAssociations returns the Associations field value if set, zero value otherwise.

func (*SimplePublicObjectWithAssociations) GetAssociationsOk

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

func (*SimplePublicObjectWithAssociations) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*SimplePublicObjectWithAssociations) GetCreatedAtOk

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

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

func (*SimplePublicObjectWithAssociations) GetId

GetId returns the Id field value

func (*SimplePublicObjectWithAssociations) GetIdOk

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

func (*SimplePublicObjectWithAssociations) GetProperties

func (o *SimplePublicObjectWithAssociations) GetProperties() map[string]string

GetProperties returns the Properties field value

func (*SimplePublicObjectWithAssociations) GetPropertiesOk

func (o *SimplePublicObjectWithAssociations) GetPropertiesOk() (*map[string]string, bool)

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

func (*SimplePublicObjectWithAssociations) GetPropertiesWithHistory

func (o *SimplePublicObjectWithAssociations) GetPropertiesWithHistory() map[string][]ValueWithTimestamp

GetPropertiesWithHistory returns the PropertiesWithHistory field value if set, zero value otherwise.

func (*SimplePublicObjectWithAssociations) GetPropertiesWithHistoryOk

func (o *SimplePublicObjectWithAssociations) GetPropertiesWithHistoryOk() (*map[string][]ValueWithTimestamp, bool)

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

func (*SimplePublicObjectWithAssociations) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*SimplePublicObjectWithAssociations) GetUpdatedAtOk

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

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

func (*SimplePublicObjectWithAssociations) HasArchived

func (o *SimplePublicObjectWithAssociations) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*SimplePublicObjectWithAssociations) HasArchivedAt

func (o *SimplePublicObjectWithAssociations) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*SimplePublicObjectWithAssociations) HasAssociations

func (o *SimplePublicObjectWithAssociations) HasAssociations() bool

HasAssociations returns a boolean if a field has been set.

func (*SimplePublicObjectWithAssociations) HasPropertiesWithHistory

func (o *SimplePublicObjectWithAssociations) HasPropertiesWithHistory() bool

HasPropertiesWithHistory returns a boolean if a field has been set.

func (SimplePublicObjectWithAssociations) MarshalJSON

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

func (*SimplePublicObjectWithAssociations) SetArchived

func (o *SimplePublicObjectWithAssociations) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*SimplePublicObjectWithAssociations) SetArchivedAt

func (o *SimplePublicObjectWithAssociations) SetArchivedAt(v time.Time)

SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.

func (*SimplePublicObjectWithAssociations) SetAssociations

SetAssociations gets a reference to the given map[string]CollectionResponseAssociatedId and assigns it to the Associations field.

func (*SimplePublicObjectWithAssociations) SetCreatedAt

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

SetCreatedAt sets field value

func (*SimplePublicObjectWithAssociations) SetId

SetId sets field value

func (*SimplePublicObjectWithAssociations) SetProperties

func (o *SimplePublicObjectWithAssociations) SetProperties(v map[string]string)

SetProperties sets field value

func (*SimplePublicObjectWithAssociations) SetPropertiesWithHistory

func (o *SimplePublicObjectWithAssociations) SetPropertiesWithHistory(v map[string][]ValueWithTimestamp)

SetPropertiesWithHistory gets a reference to the given map[string][]ValueWithTimestamp and assigns it to the PropertiesWithHistory field.

func (*SimplePublicObjectWithAssociations) SetUpdatedAt

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

SetUpdatedAt sets field value

type StandardError

type StandardError struct {
	Status      string                 `json:"status"`
	Id          *string                `json:"id,omitempty"`
	Category    ErrorCategory          `json:"category"`
	SubCategory map[string]interface{} `json:"subCategory,omitempty"`
	Message     string                 `json:"message"`
	Errors      []ErrorDetail          `json:"errors"`
	Context     map[string][]string    `json:"context"`
	Links       map[string]string      `json:"links"`
}

StandardError struct for StandardError

func NewStandardError

func NewStandardError(status string, category ErrorCategory, message string, errors []ErrorDetail, context map[string][]string, links map[string]string) *StandardError

NewStandardError instantiates a new StandardError 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 NewStandardErrorWithDefaults

func NewStandardErrorWithDefaults() *StandardError

NewStandardErrorWithDefaults instantiates a new StandardError 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 (*StandardError) GetCategory

func (o *StandardError) GetCategory() ErrorCategory

GetCategory returns the Category field value

func (*StandardError) GetCategoryOk

func (o *StandardError) GetCategoryOk() (*ErrorCategory, bool)

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

func (*StandardError) GetContext

func (o *StandardError) GetContext() map[string][]string

GetContext returns the Context field value

func (*StandardError) GetContextOk

func (o *StandardError) GetContextOk() (*map[string][]string, bool)

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

func (*StandardError) GetErrors

func (o *StandardError) GetErrors() []ErrorDetail

GetErrors returns the Errors field value

func (*StandardError) GetErrorsOk

func (o *StandardError) GetErrorsOk() ([]ErrorDetail, bool)

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

func (*StandardError) GetId

func (o *StandardError) GetId() string

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

func (*StandardError) GetIdOk

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

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

func (o *StandardError) GetLinks() map[string]string

GetLinks returns the Links field value

func (*StandardError) GetLinksOk

func (o *StandardError) GetLinksOk() (*map[string]string, bool)

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

func (*StandardError) GetMessage

func (o *StandardError) GetMessage() string

GetMessage returns the Message field value

func (*StandardError) GetMessageOk

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

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

func (*StandardError) GetStatus

func (o *StandardError) GetStatus() string

GetStatus returns the Status field value

func (*StandardError) GetStatusOk

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

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

func (*StandardError) GetSubCategory

func (o *StandardError) GetSubCategory() map[string]interface{}

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*StandardError) GetSubCategoryOk

func (o *StandardError) GetSubCategoryOk() (map[string]interface{}, bool)

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

func (*StandardError) HasId

func (o *StandardError) HasId() bool

HasId returns a boolean if a field has been set.

func (*StandardError) HasSubCategory

func (o *StandardError) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (StandardError) MarshalJSON

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

func (*StandardError) SetCategory

func (o *StandardError) SetCategory(v ErrorCategory)

SetCategory sets field value

func (*StandardError) SetContext

func (o *StandardError) SetContext(v map[string][]string)

SetContext sets field value

func (*StandardError) SetErrors

func (o *StandardError) SetErrors(v []ErrorDetail)

SetErrors sets field value

func (*StandardError) SetId

func (o *StandardError) SetId(v string)

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

func (o *StandardError) SetLinks(v map[string]string)

SetLinks sets field value

func (*StandardError) SetMessage

func (o *StandardError) SetMessage(v string)

SetMessage sets field value

func (*StandardError) SetStatus

func (o *StandardError) SetStatus(v string)

SetStatus sets field value

func (*StandardError) SetSubCategory

func (o *StandardError) SetSubCategory(v map[string]interface{})

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

type ValueWithTimestamp

type ValueWithTimestamp struct {
	Value           string    `json:"value"`
	Timestamp       time.Time `json:"timestamp"`
	SourceType      string    `json:"sourceType"`
	SourceId        *string   `json:"sourceId,omitempty"`
	SourceLabel     *string   `json:"sourceLabel,omitempty"`
	UpdatedByUserId *int32    `json:"updatedByUserId,omitempty"`
}

ValueWithTimestamp struct for ValueWithTimestamp

func NewValueWithTimestamp

func NewValueWithTimestamp(value string, timestamp time.Time, sourceType string) *ValueWithTimestamp

NewValueWithTimestamp instantiates a new ValueWithTimestamp 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 NewValueWithTimestampWithDefaults

func NewValueWithTimestampWithDefaults() *ValueWithTimestamp

NewValueWithTimestampWithDefaults instantiates a new ValueWithTimestamp 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 (*ValueWithTimestamp) GetSourceId

func (o *ValueWithTimestamp) GetSourceId() string

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*ValueWithTimestamp) GetSourceIdOk

func (o *ValueWithTimestamp) GetSourceIdOk() (*string, bool)

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

func (*ValueWithTimestamp) GetSourceLabel

func (o *ValueWithTimestamp) GetSourceLabel() string

GetSourceLabel returns the SourceLabel field value if set, zero value otherwise.

func (*ValueWithTimestamp) GetSourceLabelOk

func (o *ValueWithTimestamp) GetSourceLabelOk() (*string, bool)

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

func (*ValueWithTimestamp) GetSourceType

func (o *ValueWithTimestamp) GetSourceType() string

GetSourceType returns the SourceType field value

func (*ValueWithTimestamp) GetSourceTypeOk

func (o *ValueWithTimestamp) GetSourceTypeOk() (*string, bool)

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

func (*ValueWithTimestamp) GetTimestamp

func (o *ValueWithTimestamp) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*ValueWithTimestamp) GetTimestampOk

func (o *ValueWithTimestamp) GetTimestampOk() (*time.Time, bool)

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

func (*ValueWithTimestamp) GetUpdatedByUserId

func (o *ValueWithTimestamp) GetUpdatedByUserId() int32

GetUpdatedByUserId returns the UpdatedByUserId field value if set, zero value otherwise.

func (*ValueWithTimestamp) GetUpdatedByUserIdOk

func (o *ValueWithTimestamp) GetUpdatedByUserIdOk() (*int32, bool)

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

func (*ValueWithTimestamp) GetValue

func (o *ValueWithTimestamp) GetValue() string

GetValue returns the Value field value

func (*ValueWithTimestamp) GetValueOk

func (o *ValueWithTimestamp) GetValueOk() (*string, bool)

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

func (*ValueWithTimestamp) HasSourceId

func (o *ValueWithTimestamp) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

func (*ValueWithTimestamp) HasSourceLabel

func (o *ValueWithTimestamp) HasSourceLabel() bool

HasSourceLabel returns a boolean if a field has been set.

func (*ValueWithTimestamp) HasUpdatedByUserId

func (o *ValueWithTimestamp) HasUpdatedByUserId() bool

HasUpdatedByUserId returns a boolean if a field has been set.

func (ValueWithTimestamp) MarshalJSON

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

func (*ValueWithTimestamp) SetSourceId

func (o *ValueWithTimestamp) SetSourceId(v string)

SetSourceId gets a reference to the given string and assigns it to the SourceId field.

func (*ValueWithTimestamp) SetSourceLabel

func (o *ValueWithTimestamp) SetSourceLabel(v string)

SetSourceLabel gets a reference to the given string and assigns it to the SourceLabel field.

func (*ValueWithTimestamp) SetSourceType

func (o *ValueWithTimestamp) SetSourceType(v string)

SetSourceType sets field value

func (*ValueWithTimestamp) SetTimestamp

func (o *ValueWithTimestamp) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*ValueWithTimestamp) SetUpdatedByUserId

func (o *ValueWithTimestamp) SetUpdatedByUserId(v int32)

SetUpdatedByUserId gets a reference to the given int32 and assigns it to the UpdatedByUserId field.

func (*ValueWithTimestamp) SetValue

func (o *ValueWithTimestamp) SetValue(v string)

SetValue sets field value

Source Files

Jump to

Keyboard shortcuts

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