marketing_events_beta

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 23 Imported by: 0

README

Go API client for marketing_events_beta

These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to:

  • Create, Read or update Marketing Event information in HubSpot
  • Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event.
  • Specify a URL that can be called to get the details of a Marketing Event.

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 marketing_events_beta "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(), marketing_events_beta.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(), marketing_events_beta.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(), marketing_events_beta.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), marketing_events_beta.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
AttendanceSubscriberStateChangesApi AttendanceCreateCreate Post /marketing/v3/marketing-events/attendance/{externalEventId}/{subscriberState}/create Record
AttendanceSubscriberStateChangesApi AttendanceEmailCreateCreateByEmail Post /marketing/v3/marketing-events/attendance/{externalEventId}/{subscriberState}/email-create Record
MarketingEventsExternalApi ArchiveBatch Post /marketing/v3/marketing-events/events/delete
MarketingEventsExternalApi Create Post /marketing/v3/marketing-events/events
MarketingEventsExternalApi ExternalArchive Delete /marketing/v3/marketing-events/events/{externalEventId}
MarketingEventsExternalApi ExternalCancel Post /marketing/v3/marketing-events/events/{externalEventId}/cancel
MarketingEventsExternalApi ExternalCompleteComplete Post /marketing/v3/marketing-events/events/{externalEventId}/complete
MarketingEventsExternalApi ExternalEmailUpsertByID Post /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert
MarketingEventsExternalApi ExternalGetByID Get /marketing/v3/marketing-events/events/{externalEventId}
MarketingEventsExternalApi ExternalReplace Put /marketing/v3/marketing-events/events/{externalEventId}
MarketingEventsExternalApi ExternalUpdate Patch /marketing/v3/marketing-events/events/{externalEventId}
MarketingEventsExternalApi ExternalUpsertByID Post /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert
MarketingEventsExternalApi Search Get /marketing/v3/marketing-events/events/search
MarketingEventsExternalApi Upsert Post /marketing/v3/marketing-events/events/upsert
SettingsExternalApi SettingsCreate Post /marketing/v3/marketing-events/{appId}/settings
SettingsExternalApi SettingsGetAll Get /marketing/v3/marketing-events/{appId}/settings

Documentation For Models

Documentation For Authorization

developer_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.

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_legacy
  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://app.hubspot.com/oauth/authorize
  • Scopes:
  • crm.objects.marketing_events.write: Write marketing events
  • crm.objects.marketing_events.read: Read marketing events

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_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 {
	AttendanceSubscriberStateChangesApi *AttendanceSubscriberStateChangesApiService

	MarketingEventsExternalApi *MarketingEventsExternalApiService

	SettingsExternalApi *SettingsExternalApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Marketing Events Extension 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 ApiArchiveBatchRequest

type ApiArchiveBatchRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiArchiveBatchRequest) BatchInputMarketingEventExternalUniqueIdentifier

func (r ApiArchiveBatchRequest) BatchInputMarketingEventExternalUniqueIdentifier(batchInputMarketingEventExternalUniqueIdentifier BatchInputMarketingEventExternalUniqueIdentifier) ApiArchiveBatchRequest

func (ApiArchiveBatchRequest) Execute

func (r ApiArchiveBatchRequest) Execute() (*Error, *http.Response, error)

type ApiAttendanceCreateCreateRequest

type ApiAttendanceCreateCreateRequest struct {
	ApiService *AttendanceSubscriberStateChangesApiService
	// contains filtered or unexported fields
}

func (ApiAttendanceCreateCreateRequest) BatchInputMarketingEventSubscriber

func (r ApiAttendanceCreateCreateRequest) BatchInputMarketingEventSubscriber(batchInputMarketingEventSubscriber BatchInputMarketingEventSubscriber) ApiAttendanceCreateCreateRequest

The details of the contacts to subscribe to the event. Parameters of join and left time if state is Attended.

func (ApiAttendanceCreateCreateRequest) Execute

func (ApiAttendanceCreateCreateRequest) ExternalAccountId

func (r ApiAttendanceCreateCreateRequest) ExternalAccountId(externalAccountId string) ApiAttendanceCreateCreateRequest

The account id associated with the marketing event

type ApiAttendanceEmailCreateCreateByEmailRequest

type ApiAttendanceEmailCreateCreateByEmailRequest struct {
	ApiService *AttendanceSubscriberStateChangesApiService
	// contains filtered or unexported fields
}

func (ApiAttendanceEmailCreateCreateByEmailRequest) BatchInputMarketingEventEmailSubscriber

func (r ApiAttendanceEmailCreateCreateByEmailRequest) BatchInputMarketingEventEmailSubscriber(batchInputMarketingEventEmailSubscriber BatchInputMarketingEventEmailSubscriber) ApiAttendanceEmailCreateCreateByEmailRequest

The details of the contacts to subscribe to the event. Parameters of join and left time if state is Attended.

func (ApiAttendanceEmailCreateCreateByEmailRequest) Execute

func (ApiAttendanceEmailCreateCreateByEmailRequest) ExternalAccountId

The account id associated with the marketing event

type ApiCreateRequest

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

func (ApiCreateRequest) Execute

func (ApiCreateRequest) MarketingEventCreateRequestParams

func (r ApiCreateRequest) MarketingEventCreateRequestParams(marketingEventCreateRequestParams MarketingEventCreateRequestParams) ApiCreateRequest

type ApiExternalArchiveRequest

type ApiExternalArchiveRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalArchiveRequest) Execute

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

func (ApiExternalArchiveRequest) ExternalAccountId

func (r ApiExternalArchiveRequest) ExternalAccountId(externalAccountId string) ApiExternalArchiveRequest

type ApiExternalCancelRequest

type ApiExternalCancelRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalCancelRequest) Execute

func (ApiExternalCancelRequest) ExternalAccountId

func (r ApiExternalCancelRequest) ExternalAccountId(externalAccountId string) ApiExternalCancelRequest

type ApiExternalCompleteCompleteRequest

type ApiExternalCompleteCompleteRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalCompleteCompleteRequest) Execute

func (ApiExternalCompleteCompleteRequest) ExternalAccountId

func (r ApiExternalCompleteCompleteRequest) ExternalAccountId(externalAccountId string) ApiExternalCompleteCompleteRequest

func (ApiExternalCompleteCompleteRequest) MarketingEventCompleteRequestParams

func (r ApiExternalCompleteCompleteRequest) MarketingEventCompleteRequestParams(marketingEventCompleteRequestParams MarketingEventCompleteRequestParams) ApiExternalCompleteCompleteRequest

type ApiExternalEmailUpsertByIDRequest

type ApiExternalEmailUpsertByIDRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalEmailUpsertByIDRequest) BatchInputMarketingEventEmailSubscriber

func (r ApiExternalEmailUpsertByIDRequest) BatchInputMarketingEventEmailSubscriber(batchInputMarketingEventEmailSubscriber BatchInputMarketingEventEmailSubscriber) ApiExternalEmailUpsertByIDRequest

func (ApiExternalEmailUpsertByIDRequest) Execute

func (ApiExternalEmailUpsertByIDRequest) ExternalAccountId

func (r ApiExternalEmailUpsertByIDRequest) ExternalAccountId(externalAccountId string) ApiExternalEmailUpsertByIDRequest

type ApiExternalGetByIDRequest

type ApiExternalGetByIDRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalGetByIDRequest) Execute

func (ApiExternalGetByIDRequest) ExternalAccountId

func (r ApiExternalGetByIDRequest) ExternalAccountId(externalAccountId string) ApiExternalGetByIDRequest

type ApiExternalReplaceRequest

type ApiExternalReplaceRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalReplaceRequest) Execute

func (ApiExternalReplaceRequest) MarketingEventCreateRequestParams

func (r ApiExternalReplaceRequest) MarketingEventCreateRequestParams(marketingEventCreateRequestParams MarketingEventCreateRequestParams) ApiExternalReplaceRequest

type ApiExternalUpdateRequest

type ApiExternalUpdateRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalUpdateRequest) Execute

func (ApiExternalUpdateRequest) ExternalAccountId

func (r ApiExternalUpdateRequest) ExternalAccountId(externalAccountId string) ApiExternalUpdateRequest

func (ApiExternalUpdateRequest) MarketingEventUpdateRequestParams

func (r ApiExternalUpdateRequest) MarketingEventUpdateRequestParams(marketingEventUpdateRequestParams MarketingEventUpdateRequestParams) ApiExternalUpdateRequest

type ApiExternalUpsertByIDRequest

type ApiExternalUpsertByIDRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiExternalUpsertByIDRequest) BatchInputMarketingEventSubscriber

func (r ApiExternalUpsertByIDRequest) BatchInputMarketingEventSubscriber(batchInputMarketingEventSubscriber BatchInputMarketingEventSubscriber) ApiExternalUpsertByIDRequest

func (ApiExternalUpsertByIDRequest) Execute

func (ApiExternalUpsertByIDRequest) ExternalAccountId

func (r ApiExternalUpsertByIDRequest) ExternalAccountId(externalAccountId string) ApiExternalUpsertByIDRequest

type ApiSearchRequest

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

func (ApiSearchRequest) Q

type ApiSettingsCreateRequest

type ApiSettingsCreateRequest struct {
	ApiService *SettingsExternalApiService
	// contains filtered or unexported fields
}

func (ApiSettingsCreateRequest) EventDetailSettingsUrl

func (r ApiSettingsCreateRequest) EventDetailSettingsUrl(eventDetailSettingsUrl EventDetailSettingsUrl) ApiSettingsCreateRequest

func (ApiSettingsCreateRequest) Execute

type ApiSettingsGetAllRequest

type ApiSettingsGetAllRequest struct {
	ApiService *SettingsExternalApiService
	// contains filtered or unexported fields
}

func (ApiSettingsGetAllRequest) Execute

type ApiUpsertRequest

type ApiUpsertRequest struct {
	ApiService *MarketingEventsExternalApiService
	// contains filtered or unexported fields
}

func (ApiUpsertRequest) BatchInputMarketingEventCreateRequestParams

func (r ApiUpsertRequest) BatchInputMarketingEventCreateRequestParams(batchInputMarketingEventCreateRequestParams BatchInputMarketingEventCreateRequestParams) ApiUpsertRequest

type AttendanceSubscriberStateChangesApiService

type AttendanceSubscriberStateChangesApiService service

AttendanceSubscriberStateChangesApiService AttendanceSubscriberStateChangesApi service

func (*AttendanceSubscriberStateChangesApiService) AttendanceCreateCreate

func (a *AttendanceSubscriberStateChangesApiService) AttendanceCreateCreate(ctx context.Context, externalEventId string, subscriberState string) ApiAttendanceCreateCreateRequest

AttendanceCreateCreate Record

Record a subscription state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param externalEventId The id of the marketing event
@param subscriberState The new subscriber state for the HubSpot contacts and the specified marketing event. For example: 'register', 'attend' or 'cancel'.
@return ApiAttendanceCreateCreateRequest

func (*AttendanceSubscriberStateChangesApiService) AttendanceCreateCreateExecute

Execute executes the request

@return BatchResponseSubscriberVidResponse

func (*AttendanceSubscriberStateChangesApiService) AttendanceEmailCreateCreateByEmail

func (a *AttendanceSubscriberStateChangesApiService) AttendanceEmailCreateCreateByEmail(ctx context.Context, externalEventId string, subscriberState string) ApiAttendanceEmailCreateCreateByEmailRequest

AttendanceEmailCreateCreateByEmail Record

Record a subscription state between multiple HubSpot contacts and a marketing event, using contact email addresses. If contact is not present it will be automatically created. If you set params

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param externalEventId The id of the marketing event
@param subscriberState The new subscriber state for the HubSpot contacts and the specified marketing event. For example: 'register', 'attend' or 'cancel'.
@return ApiAttendanceEmailCreateCreateByEmailRequest

func (*AttendanceSubscriberStateChangesApiService) AttendanceEmailCreateCreateByEmailExecute

Execute executes the request

@return BatchResponseSubscriberEmailResponse

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 BatchInputMarketingEventCreateRequestParams

type BatchInputMarketingEventCreateRequestParams struct {
	Inputs []MarketingEventCreateRequestParams `json:"inputs"`
}

BatchInputMarketingEventCreateRequestParams struct for BatchInputMarketingEventCreateRequestParams

func NewBatchInputMarketingEventCreateRequestParams

func NewBatchInputMarketingEventCreateRequestParams(inputs []MarketingEventCreateRequestParams) *BatchInputMarketingEventCreateRequestParams

NewBatchInputMarketingEventCreateRequestParams instantiates a new BatchInputMarketingEventCreateRequestParams 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 NewBatchInputMarketingEventCreateRequestParamsWithDefaults

func NewBatchInputMarketingEventCreateRequestParamsWithDefaults() *BatchInputMarketingEventCreateRequestParams

NewBatchInputMarketingEventCreateRequestParamsWithDefaults instantiates a new BatchInputMarketingEventCreateRequestParams 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 (*BatchInputMarketingEventCreateRequestParams) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputMarketingEventCreateRequestParams) GetInputsOk

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

func (BatchInputMarketingEventCreateRequestParams) MarshalJSON

func (*BatchInputMarketingEventCreateRequestParams) SetInputs

SetInputs sets field value

type BatchInputMarketingEventEmailSubscriber

type BatchInputMarketingEventEmailSubscriber struct {
	// List of marketing event details to create or update
	Inputs []MarketingEventEmailSubscriber `json:"inputs"`
}

BatchInputMarketingEventEmailSubscriber List of marketing event details to create or update

func NewBatchInputMarketingEventEmailSubscriber

func NewBatchInputMarketingEventEmailSubscriber(inputs []MarketingEventEmailSubscriber) *BatchInputMarketingEventEmailSubscriber

NewBatchInputMarketingEventEmailSubscriber instantiates a new BatchInputMarketingEventEmailSubscriber 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 NewBatchInputMarketingEventEmailSubscriberWithDefaults

func NewBatchInputMarketingEventEmailSubscriberWithDefaults() *BatchInputMarketingEventEmailSubscriber

NewBatchInputMarketingEventEmailSubscriberWithDefaults instantiates a new BatchInputMarketingEventEmailSubscriber 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 (*BatchInputMarketingEventEmailSubscriber) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputMarketingEventEmailSubscriber) GetInputsOk

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

func (BatchInputMarketingEventEmailSubscriber) MarshalJSON

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

func (*BatchInputMarketingEventEmailSubscriber) SetInputs

SetInputs sets field value

type BatchInputMarketingEventExternalUniqueIdentifier

type BatchInputMarketingEventExternalUniqueIdentifier struct {
	Inputs []MarketingEventExternalUniqueIdentifier `json:"inputs"`
}

BatchInputMarketingEventExternalUniqueIdentifier struct for BatchInputMarketingEventExternalUniqueIdentifier

func NewBatchInputMarketingEventExternalUniqueIdentifier

func NewBatchInputMarketingEventExternalUniqueIdentifier(inputs []MarketingEventExternalUniqueIdentifier) *BatchInputMarketingEventExternalUniqueIdentifier

NewBatchInputMarketingEventExternalUniqueIdentifier instantiates a new BatchInputMarketingEventExternalUniqueIdentifier 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 NewBatchInputMarketingEventExternalUniqueIdentifierWithDefaults

func NewBatchInputMarketingEventExternalUniqueIdentifierWithDefaults() *BatchInputMarketingEventExternalUniqueIdentifier

NewBatchInputMarketingEventExternalUniqueIdentifierWithDefaults instantiates a new BatchInputMarketingEventExternalUniqueIdentifier 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 (*BatchInputMarketingEventExternalUniqueIdentifier) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputMarketingEventExternalUniqueIdentifier) GetInputsOk

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

func (BatchInputMarketingEventExternalUniqueIdentifier) MarshalJSON

func (*BatchInputMarketingEventExternalUniqueIdentifier) SetInputs

SetInputs sets field value

type BatchInputMarketingEventSubscriber

type BatchInputMarketingEventSubscriber struct {
	// List of HubSpot contacts to subscribe to the marketing event
	Inputs []MarketingEventSubscriber `json:"inputs"`
}

BatchInputMarketingEventSubscriber List of HubSpot contacts to subscribe to the marketing event

func NewBatchInputMarketingEventSubscriber

func NewBatchInputMarketingEventSubscriber(inputs []MarketingEventSubscriber) *BatchInputMarketingEventSubscriber

NewBatchInputMarketingEventSubscriber instantiates a new BatchInputMarketingEventSubscriber 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 NewBatchInputMarketingEventSubscriberWithDefaults

func NewBatchInputMarketingEventSubscriberWithDefaults() *BatchInputMarketingEventSubscriber

NewBatchInputMarketingEventSubscriberWithDefaults instantiates a new BatchInputMarketingEventSubscriber 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 (*BatchInputMarketingEventSubscriber) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputMarketingEventSubscriber) GetInputsOk

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

func (BatchInputMarketingEventSubscriber) MarshalJSON

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

func (*BatchInputMarketingEventSubscriber) SetInputs

SetInputs sets field value

type BatchResponseMarketingEventPublicDefaultResponse

type BatchResponseMarketingEventPublicDefaultResponse struct {
	Status      string                                `json:"status"`
	Results     []MarketingEventPublicDefaultResponse `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"`
}

BatchResponseMarketingEventPublicDefaultResponse struct for BatchResponseMarketingEventPublicDefaultResponse

func NewBatchResponseMarketingEventPublicDefaultResponse

func NewBatchResponseMarketingEventPublicDefaultResponse(status string, results []MarketingEventPublicDefaultResponse, startedAt time.Time, completedAt time.Time) *BatchResponseMarketingEventPublicDefaultResponse

NewBatchResponseMarketingEventPublicDefaultResponse instantiates a new BatchResponseMarketingEventPublicDefaultResponse 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 NewBatchResponseMarketingEventPublicDefaultResponseWithDefaults

func NewBatchResponseMarketingEventPublicDefaultResponseWithDefaults() *BatchResponseMarketingEventPublicDefaultResponse

NewBatchResponseMarketingEventPublicDefaultResponseWithDefaults instantiates a new BatchResponseMarketingEventPublicDefaultResponse 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 (*BatchResponseMarketingEventPublicDefaultResponse) GetCompletedAt

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseMarketingEventPublicDefaultResponse) GetCompletedAtOk

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

func (*BatchResponseMarketingEventPublicDefaultResponse) GetErrors

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

func (*BatchResponseMarketingEventPublicDefaultResponse) 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 (*BatchResponseMarketingEventPublicDefaultResponse) 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 (*BatchResponseMarketingEventPublicDefaultResponse) GetNumErrors

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

func (*BatchResponseMarketingEventPublicDefaultResponse) GetNumErrorsOk

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 (*BatchResponseMarketingEventPublicDefaultResponse) GetRequestedAt

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

func (*BatchResponseMarketingEventPublicDefaultResponse) GetRequestedAtOk

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 (*BatchResponseMarketingEventPublicDefaultResponse) GetResults

GetResults returns the Results field value

func (*BatchResponseMarketingEventPublicDefaultResponse) GetResultsOk

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

func (*BatchResponseMarketingEventPublicDefaultResponse) GetStartedAt

GetStartedAt returns the StartedAt field value

func (*BatchResponseMarketingEventPublicDefaultResponse) GetStartedAtOk

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

func (*BatchResponseMarketingEventPublicDefaultResponse) GetStatus

GetStatus returns the Status field value

func (*BatchResponseMarketingEventPublicDefaultResponse) GetStatusOk

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

func (*BatchResponseMarketingEventPublicDefaultResponse) HasErrors

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseMarketingEventPublicDefaultResponse) HasNumErrors

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseMarketingEventPublicDefaultResponse) HasRequestedAt

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseMarketingEventPublicDefaultResponse) MarshalJSON

func (*BatchResponseMarketingEventPublicDefaultResponse) SetCompletedAt

SetCompletedAt sets field value

func (*BatchResponseMarketingEventPublicDefaultResponse) 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 (*BatchResponseMarketingEventPublicDefaultResponse) SetNumErrors

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

func (*BatchResponseMarketingEventPublicDefaultResponse) SetRequestedAt

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

func (*BatchResponseMarketingEventPublicDefaultResponse) SetResults

SetResults sets field value

func (*BatchResponseMarketingEventPublicDefaultResponse) SetStartedAt

SetStartedAt sets field value

func (*BatchResponseMarketingEventPublicDefaultResponse) SetStatus

SetStatus sets field value

type BatchResponseSubscriberEmailResponse

type BatchResponseSubscriberEmailResponse struct {
	Status      string                    `json:"status"`
	Results     []SubscriberEmailResponse `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"`
}

BatchResponseSubscriberEmailResponse struct for BatchResponseSubscriberEmailResponse

func NewBatchResponseSubscriberEmailResponse

func NewBatchResponseSubscriberEmailResponse(status string, results []SubscriberEmailResponse, startedAt time.Time, completedAt time.Time) *BatchResponseSubscriberEmailResponse

NewBatchResponseSubscriberEmailResponse instantiates a new BatchResponseSubscriberEmailResponse 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 NewBatchResponseSubscriberEmailResponseWithDefaults

func NewBatchResponseSubscriberEmailResponseWithDefaults() *BatchResponseSubscriberEmailResponse

NewBatchResponseSubscriberEmailResponseWithDefaults instantiates a new BatchResponseSubscriberEmailResponse 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 (*BatchResponseSubscriberEmailResponse) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseSubscriberEmailResponse) GetCompletedAtOk

func (o *BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetErrors

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

func (*BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetLinksOk

func (o *BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetNumErrors

func (o *BatchResponseSubscriberEmailResponse) GetNumErrors() int32

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

func (*BatchResponseSubscriberEmailResponse) GetNumErrorsOk

func (o *BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetRequestedAt

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

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

func (*BatchResponseSubscriberEmailResponse) GetRequestedAtOk

func (o *BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetResults

GetResults returns the Results field value

func (*BatchResponseSubscriberEmailResponse) GetResultsOk

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

func (*BatchResponseSubscriberEmailResponse) GetStartedAt

GetStartedAt returns the StartedAt field value

func (*BatchResponseSubscriberEmailResponse) GetStartedAtOk

func (o *BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) GetStatus

GetStatus returns the Status field value

func (*BatchResponseSubscriberEmailResponse) GetStatusOk

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

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

func (*BatchResponseSubscriberEmailResponse) HasErrors

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseSubscriberEmailResponse) HasNumErrors

func (o *BatchResponseSubscriberEmailResponse) HasNumErrors() bool

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseSubscriberEmailResponse) HasRequestedAt

func (o *BatchResponseSubscriberEmailResponse) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseSubscriberEmailResponse) MarshalJSON

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

func (*BatchResponseSubscriberEmailResponse) SetCompletedAt

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

SetCompletedAt sets field value

func (*BatchResponseSubscriberEmailResponse) 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 (*BatchResponseSubscriberEmailResponse) SetNumErrors

func (o *BatchResponseSubscriberEmailResponse) SetNumErrors(v int32)

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

func (*BatchResponseSubscriberEmailResponse) SetRequestedAt

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

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

func (*BatchResponseSubscriberEmailResponse) SetResults

SetResults sets field value

func (*BatchResponseSubscriberEmailResponse) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseSubscriberEmailResponse) SetStatus

SetStatus sets field value

type BatchResponseSubscriberVidResponse

type BatchResponseSubscriberVidResponse struct {
	Status      string                  `json:"status"`
	Results     []SubscriberVidResponse `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"`
}

BatchResponseSubscriberVidResponse struct for BatchResponseSubscriberVidResponse

func NewBatchResponseSubscriberVidResponse

func NewBatchResponseSubscriberVidResponse(status string, results []SubscriberVidResponse, startedAt time.Time, completedAt time.Time) *BatchResponseSubscriberVidResponse

NewBatchResponseSubscriberVidResponse instantiates a new BatchResponseSubscriberVidResponse 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 NewBatchResponseSubscriberVidResponseWithDefaults

func NewBatchResponseSubscriberVidResponseWithDefaults() *BatchResponseSubscriberVidResponse

NewBatchResponseSubscriberVidResponseWithDefaults instantiates a new BatchResponseSubscriberVidResponse 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 (*BatchResponseSubscriberVidResponse) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseSubscriberVidResponse) GetCompletedAtOk

func (o *BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetErrors

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

func (*BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetLinksOk

func (o *BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetNumErrors

func (o *BatchResponseSubscriberVidResponse) GetNumErrors() int32

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

func (*BatchResponseSubscriberVidResponse) GetNumErrorsOk

func (o *BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetRequestedAt

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

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

func (*BatchResponseSubscriberVidResponse) GetRequestedAtOk

func (o *BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetResults

GetResults returns the Results field value

func (*BatchResponseSubscriberVidResponse) GetResultsOk

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

func (*BatchResponseSubscriberVidResponse) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*BatchResponseSubscriberVidResponse) GetStartedAtOk

func (o *BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) GetStatus

GetStatus returns the Status field value

func (*BatchResponseSubscriberVidResponse) GetStatusOk

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

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

func (*BatchResponseSubscriberVidResponse) HasErrors

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseSubscriberVidResponse) HasNumErrors

func (o *BatchResponseSubscriberVidResponse) HasNumErrors() bool

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseSubscriberVidResponse) HasRequestedAt

func (o *BatchResponseSubscriberVidResponse) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseSubscriberVidResponse) MarshalJSON

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

func (*BatchResponseSubscriberVidResponse) SetCompletedAt

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

SetCompletedAt sets field value

func (*BatchResponseSubscriberVidResponse) 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 (*BatchResponseSubscriberVidResponse) SetNumErrors

func (o *BatchResponseSubscriberVidResponse) SetNumErrors(v int32)

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

func (*BatchResponseSubscriberVidResponse) SetRequestedAt

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

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

func (*BatchResponseSubscriberVidResponse) SetResults

SetResults sets field value

func (*BatchResponseSubscriberVidResponse) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseSubscriberVidResponse) SetStatus

SetStatus sets field value

type CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

type CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging struct {
	Results []MarketingEventExternalUniqueIdentifier `json:"results"`
}

CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging struct for CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

func NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

func NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging(results []MarketingEventExternalUniqueIdentifier) *CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging instantiates a new CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging 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 NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPagingWithDefaults

func NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPagingWithDefaults() *CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

NewCollectionResponseMarketingEventExternalUniqueIdentifierNoPagingWithDefaults instantiates a new CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging 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 (*CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) GetResultsOk

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

func (CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) MarshalJSON

func (*CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) SetResults

SetResults 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 EventDetailSettings

type EventDetailSettings struct {
	// The id of the application the settings are for
	AppId int32 `json:"appId"`
	// The url that will be used to fetch marketing event details by id
	EventDetailsUrl string `json:"eventDetailsUrl"`
}

EventDetailSettings struct for EventDetailSettings

func NewEventDetailSettings

func NewEventDetailSettings(appId int32, eventDetailsUrl string) *EventDetailSettings

NewEventDetailSettings instantiates a new EventDetailSettings 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 NewEventDetailSettingsWithDefaults

func NewEventDetailSettingsWithDefaults() *EventDetailSettings

NewEventDetailSettingsWithDefaults instantiates a new EventDetailSettings 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 (*EventDetailSettings) GetAppId

func (o *EventDetailSettings) GetAppId() int32

GetAppId returns the AppId field value

func (*EventDetailSettings) GetAppIdOk

func (o *EventDetailSettings) GetAppIdOk() (*int32, bool)

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

func (*EventDetailSettings) GetEventDetailsUrl

func (o *EventDetailSettings) GetEventDetailsUrl() string

GetEventDetailsUrl returns the EventDetailsUrl field value

func (*EventDetailSettings) GetEventDetailsUrlOk

func (o *EventDetailSettings) GetEventDetailsUrlOk() (*string, bool)

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

func (EventDetailSettings) MarshalJSON

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

func (*EventDetailSettings) SetAppId

func (o *EventDetailSettings) SetAppId(v int32)

SetAppId sets field value

func (*EventDetailSettings) SetEventDetailsUrl

func (o *EventDetailSettings) SetEventDetailsUrl(v string)

SetEventDetailsUrl sets field value

type EventDetailSettingsUrl

type EventDetailSettingsUrl struct {
	// The url that will be used to fetch marketing event details by id. Must contain a `%s` character sequence that will be substituted with the event id. For example: `https://my.event.app/events/%s`
	EventDetailsUrl string `json:"eventDetailsUrl"`
}

EventDetailSettingsUrl struct for EventDetailSettingsUrl

func NewEventDetailSettingsUrl

func NewEventDetailSettingsUrl(eventDetailsUrl string) *EventDetailSettingsUrl

NewEventDetailSettingsUrl instantiates a new EventDetailSettingsUrl 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 NewEventDetailSettingsUrlWithDefaults

func NewEventDetailSettingsUrlWithDefaults() *EventDetailSettingsUrl

NewEventDetailSettingsUrlWithDefaults instantiates a new EventDetailSettingsUrl 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 (*EventDetailSettingsUrl) GetEventDetailsUrl

func (o *EventDetailSettingsUrl) GetEventDetailsUrl() string

GetEventDetailsUrl returns the EventDetailsUrl field value

func (*EventDetailSettingsUrl) GetEventDetailsUrlOk

func (o *EventDetailSettingsUrl) GetEventDetailsUrlOk() (*string, bool)

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

func (EventDetailSettingsUrl) MarshalJSON

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

func (*EventDetailSettingsUrl) SetEventDetailsUrl

func (o *EventDetailSettingsUrl) SetEventDetailsUrl(v string)

SetEventDetailsUrl sets field value

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 MarketingEventCompleteRequestParams

type MarketingEventCompleteRequestParams struct {
	StartDateTime time.Time `json:"startDateTime"`
	EndDateTime   time.Time `json:"endDateTime"`
}

MarketingEventCompleteRequestParams struct for MarketingEventCompleteRequestParams

func NewMarketingEventCompleteRequestParams

func NewMarketingEventCompleteRequestParams(startDateTime time.Time, endDateTime time.Time) *MarketingEventCompleteRequestParams

NewMarketingEventCompleteRequestParams instantiates a new MarketingEventCompleteRequestParams 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 NewMarketingEventCompleteRequestParamsWithDefaults

func NewMarketingEventCompleteRequestParamsWithDefaults() *MarketingEventCompleteRequestParams

NewMarketingEventCompleteRequestParamsWithDefaults instantiates a new MarketingEventCompleteRequestParams 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 (*MarketingEventCompleteRequestParams) GetEndDateTime

func (o *MarketingEventCompleteRequestParams) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value

func (*MarketingEventCompleteRequestParams) GetEndDateTimeOk

func (o *MarketingEventCompleteRequestParams) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventCompleteRequestParams) GetStartDateTime

func (o *MarketingEventCompleteRequestParams) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value

func (*MarketingEventCompleteRequestParams) GetStartDateTimeOk

func (o *MarketingEventCompleteRequestParams) GetStartDateTimeOk() (*time.Time, bool)

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

func (MarketingEventCompleteRequestParams) MarshalJSON

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

func (*MarketingEventCompleteRequestParams) SetEndDateTime

func (o *MarketingEventCompleteRequestParams) SetEndDateTime(v time.Time)

SetEndDateTime sets field value

func (*MarketingEventCompleteRequestParams) SetStartDateTime

func (o *MarketingEventCompleteRequestParams) SetStartDateTime(v time.Time)

SetStartDateTime sets field value

type MarketingEventCreateRequestParams

type MarketingEventCreateRequestParams struct {
	// The name of the marketing event.
	EventName string `json:"eventName"`
	// Describes what type of event this is.  For example: `WEBINAR`, `CONFERENCE`, `WORKSHOP`
	EventType *string `json:"eventType,omitempty"`
	// The start date and time of the marketing event.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// The end date and time of the marketing event.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// The name of the organizer of the marketing event.
	EventOrganizer string `json:"eventOrganizer"`
	// The description of the marketing event.
	EventDescription *string `json:"eventDescription,omitempty"`
	// A URL in the external event application where the marketing event can be managed.
	EventUrl *string `json:"eventUrl,omitempty"`
	// Indicates if the marketing event has been cancelled.  Defaults to `false`
	EventCancelled *bool `json:"eventCancelled,omitempty"`
	// A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set. In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
	CustomProperties []PropertyValue `json:"customProperties,omitempty"`
	// The accountId that is associated with this marketing event in the external event application.
	ExternalAccountId string `json:"externalAccountId"`
	// The id of the marketing event in the external event application.
	ExternalEventId string `json:"externalEventId"`
}

MarketingEventCreateRequestParams struct for MarketingEventCreateRequestParams

func NewMarketingEventCreateRequestParams

func NewMarketingEventCreateRequestParams(eventName string, eventOrganizer string, externalAccountId string, externalEventId string) *MarketingEventCreateRequestParams

NewMarketingEventCreateRequestParams instantiates a new MarketingEventCreateRequestParams 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 NewMarketingEventCreateRequestParamsWithDefaults

func NewMarketingEventCreateRequestParamsWithDefaults() *MarketingEventCreateRequestParams

NewMarketingEventCreateRequestParamsWithDefaults instantiates a new MarketingEventCreateRequestParams 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 (*MarketingEventCreateRequestParams) GetCustomProperties

func (o *MarketingEventCreateRequestParams) GetCustomProperties() []PropertyValue

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetCustomPropertiesOk

func (o *MarketingEventCreateRequestParams) GetCustomPropertiesOk() ([]PropertyValue, bool)

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

func (*MarketingEventCreateRequestParams) GetEndDateTime

func (o *MarketingEventCreateRequestParams) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetEndDateTimeOk

func (o *MarketingEventCreateRequestParams) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventCreateRequestParams) GetEventCancelled

func (o *MarketingEventCreateRequestParams) GetEventCancelled() bool

GetEventCancelled returns the EventCancelled field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetEventCancelledOk

func (o *MarketingEventCreateRequestParams) GetEventCancelledOk() (*bool, bool)

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

func (*MarketingEventCreateRequestParams) GetEventDescription

func (o *MarketingEventCreateRequestParams) GetEventDescription() string

GetEventDescription returns the EventDescription field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetEventDescriptionOk

func (o *MarketingEventCreateRequestParams) GetEventDescriptionOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetEventName

func (o *MarketingEventCreateRequestParams) GetEventName() string

GetEventName returns the EventName field value

func (*MarketingEventCreateRequestParams) GetEventNameOk

func (o *MarketingEventCreateRequestParams) GetEventNameOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetEventOrganizer

func (o *MarketingEventCreateRequestParams) GetEventOrganizer() string

GetEventOrganizer returns the EventOrganizer field value

func (*MarketingEventCreateRequestParams) GetEventOrganizerOk

func (o *MarketingEventCreateRequestParams) GetEventOrganizerOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetEventType

func (o *MarketingEventCreateRequestParams) GetEventType() string

GetEventType returns the EventType field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetEventTypeOk

func (o *MarketingEventCreateRequestParams) GetEventTypeOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetEventUrl

func (o *MarketingEventCreateRequestParams) GetEventUrl() string

GetEventUrl returns the EventUrl field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetEventUrlOk

func (o *MarketingEventCreateRequestParams) GetEventUrlOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetExternalAccountId

func (o *MarketingEventCreateRequestParams) GetExternalAccountId() string

GetExternalAccountId returns the ExternalAccountId field value

func (*MarketingEventCreateRequestParams) GetExternalAccountIdOk

func (o *MarketingEventCreateRequestParams) GetExternalAccountIdOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetExternalEventId

func (o *MarketingEventCreateRequestParams) GetExternalEventId() string

GetExternalEventId returns the ExternalEventId field value

func (*MarketingEventCreateRequestParams) GetExternalEventIdOk

func (o *MarketingEventCreateRequestParams) GetExternalEventIdOk() (*string, bool)

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

func (*MarketingEventCreateRequestParams) GetStartDateTime

func (o *MarketingEventCreateRequestParams) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value if set, zero value otherwise.

func (*MarketingEventCreateRequestParams) GetStartDateTimeOk

func (o *MarketingEventCreateRequestParams) GetStartDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventCreateRequestParams) HasCustomProperties

func (o *MarketingEventCreateRequestParams) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasEndDateTime

func (o *MarketingEventCreateRequestParams) HasEndDateTime() bool

HasEndDateTime returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasEventCancelled

func (o *MarketingEventCreateRequestParams) HasEventCancelled() bool

HasEventCancelled returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasEventDescription

func (o *MarketingEventCreateRequestParams) HasEventDescription() bool

HasEventDescription returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasEventType

func (o *MarketingEventCreateRequestParams) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasEventUrl

func (o *MarketingEventCreateRequestParams) HasEventUrl() bool

HasEventUrl returns a boolean if a field has been set.

func (*MarketingEventCreateRequestParams) HasStartDateTime

func (o *MarketingEventCreateRequestParams) HasStartDateTime() bool

HasStartDateTime returns a boolean if a field has been set.

func (MarketingEventCreateRequestParams) MarshalJSON

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

func (*MarketingEventCreateRequestParams) SetCustomProperties

func (o *MarketingEventCreateRequestParams) SetCustomProperties(v []PropertyValue)

SetCustomProperties gets a reference to the given []PropertyValue and assigns it to the CustomProperties field.

func (*MarketingEventCreateRequestParams) SetEndDateTime

func (o *MarketingEventCreateRequestParams) SetEndDateTime(v time.Time)

SetEndDateTime gets a reference to the given time.Time and assigns it to the EndDateTime field.

func (*MarketingEventCreateRequestParams) SetEventCancelled

func (o *MarketingEventCreateRequestParams) SetEventCancelled(v bool)

SetEventCancelled gets a reference to the given bool and assigns it to the EventCancelled field.

func (*MarketingEventCreateRequestParams) SetEventDescription

func (o *MarketingEventCreateRequestParams) SetEventDescription(v string)

SetEventDescription gets a reference to the given string and assigns it to the EventDescription field.

func (*MarketingEventCreateRequestParams) SetEventName

func (o *MarketingEventCreateRequestParams) SetEventName(v string)

SetEventName sets field value

func (*MarketingEventCreateRequestParams) SetEventOrganizer

func (o *MarketingEventCreateRequestParams) SetEventOrganizer(v string)

SetEventOrganizer sets field value

func (*MarketingEventCreateRequestParams) SetEventType

func (o *MarketingEventCreateRequestParams) SetEventType(v string)

SetEventType gets a reference to the given string and assigns it to the EventType field.

func (*MarketingEventCreateRequestParams) SetEventUrl

func (o *MarketingEventCreateRequestParams) SetEventUrl(v string)

SetEventUrl gets a reference to the given string and assigns it to the EventUrl field.

func (*MarketingEventCreateRequestParams) SetExternalAccountId

func (o *MarketingEventCreateRequestParams) SetExternalAccountId(v string)

SetExternalAccountId sets field value

func (*MarketingEventCreateRequestParams) SetExternalEventId

func (o *MarketingEventCreateRequestParams) SetExternalEventId(v string)

SetExternalEventId sets field value

func (*MarketingEventCreateRequestParams) SetStartDateTime

func (o *MarketingEventCreateRequestParams) SetStartDateTime(v time.Time)

SetStartDateTime gets a reference to the given time.Time and assigns it to the StartDateTime field.

type MarketingEventDefaultResponse

type MarketingEventDefaultResponse struct {
	// The name of the marketing event.
	EventName string `json:"eventName"`
	// The type of the marketing event.
	EventType *string `json:"eventType,omitempty"`
	// The start date and time of the marketing event.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// The end date and time of the marketing event.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// The name of the organizer of the marketing event.
	EventOrganizer string `json:"eventOrganizer"`
	// The description of the marketing event.
	EventDescription *string `json:"eventDescription,omitempty"`
	// The URL in the external event application where the marketing event can be managed.
	EventUrl *string `json:"eventUrl,omitempty"`
	// Indicates if the marketing event has been cancelled.
	EventCancelled *bool `json:"eventCancelled,omitempty"`
	// A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set. In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
	CustomProperties []PropertyValue `json:"customProperties,omitempty"`
}

MarketingEventDefaultResponse struct for MarketingEventDefaultResponse

func NewMarketingEventDefaultResponse

func NewMarketingEventDefaultResponse(eventName string, eventOrganizer string) *MarketingEventDefaultResponse

NewMarketingEventDefaultResponse instantiates a new MarketingEventDefaultResponse 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 NewMarketingEventDefaultResponseWithDefaults

func NewMarketingEventDefaultResponseWithDefaults() *MarketingEventDefaultResponse

NewMarketingEventDefaultResponseWithDefaults instantiates a new MarketingEventDefaultResponse 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 (*MarketingEventDefaultResponse) GetCustomProperties

func (o *MarketingEventDefaultResponse) GetCustomProperties() []PropertyValue

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetCustomPropertiesOk

func (o *MarketingEventDefaultResponse) GetCustomPropertiesOk() ([]PropertyValue, bool)

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

func (*MarketingEventDefaultResponse) GetEndDateTime

func (o *MarketingEventDefaultResponse) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetEndDateTimeOk

func (o *MarketingEventDefaultResponse) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventDefaultResponse) GetEventCancelled

func (o *MarketingEventDefaultResponse) GetEventCancelled() bool

GetEventCancelled returns the EventCancelled field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetEventCancelledOk

func (o *MarketingEventDefaultResponse) GetEventCancelledOk() (*bool, bool)

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

func (*MarketingEventDefaultResponse) GetEventDescription

func (o *MarketingEventDefaultResponse) GetEventDescription() string

GetEventDescription returns the EventDescription field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetEventDescriptionOk

func (o *MarketingEventDefaultResponse) GetEventDescriptionOk() (*string, bool)

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

func (*MarketingEventDefaultResponse) GetEventName

func (o *MarketingEventDefaultResponse) GetEventName() string

GetEventName returns the EventName field value

func (*MarketingEventDefaultResponse) GetEventNameOk

func (o *MarketingEventDefaultResponse) GetEventNameOk() (*string, bool)

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

func (*MarketingEventDefaultResponse) GetEventOrganizer

func (o *MarketingEventDefaultResponse) GetEventOrganizer() string

GetEventOrganizer returns the EventOrganizer field value

func (*MarketingEventDefaultResponse) GetEventOrganizerOk

func (o *MarketingEventDefaultResponse) GetEventOrganizerOk() (*string, bool)

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

func (*MarketingEventDefaultResponse) GetEventType

func (o *MarketingEventDefaultResponse) GetEventType() string

GetEventType returns the EventType field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetEventTypeOk

func (o *MarketingEventDefaultResponse) GetEventTypeOk() (*string, bool)

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

func (*MarketingEventDefaultResponse) GetEventUrl

func (o *MarketingEventDefaultResponse) GetEventUrl() string

GetEventUrl returns the EventUrl field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetEventUrlOk

func (o *MarketingEventDefaultResponse) GetEventUrlOk() (*string, bool)

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

func (*MarketingEventDefaultResponse) GetStartDateTime

func (o *MarketingEventDefaultResponse) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value if set, zero value otherwise.

func (*MarketingEventDefaultResponse) GetStartDateTimeOk

func (o *MarketingEventDefaultResponse) GetStartDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventDefaultResponse) HasCustomProperties

func (o *MarketingEventDefaultResponse) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasEndDateTime

func (o *MarketingEventDefaultResponse) HasEndDateTime() bool

HasEndDateTime returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasEventCancelled

func (o *MarketingEventDefaultResponse) HasEventCancelled() bool

HasEventCancelled returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasEventDescription

func (o *MarketingEventDefaultResponse) HasEventDescription() bool

HasEventDescription returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasEventType

func (o *MarketingEventDefaultResponse) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasEventUrl

func (o *MarketingEventDefaultResponse) HasEventUrl() bool

HasEventUrl returns a boolean if a field has been set.

func (*MarketingEventDefaultResponse) HasStartDateTime

func (o *MarketingEventDefaultResponse) HasStartDateTime() bool

HasStartDateTime returns a boolean if a field has been set.

func (MarketingEventDefaultResponse) MarshalJSON

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

func (*MarketingEventDefaultResponse) SetCustomProperties

func (o *MarketingEventDefaultResponse) SetCustomProperties(v []PropertyValue)

SetCustomProperties gets a reference to the given []PropertyValue and assigns it to the CustomProperties field.

func (*MarketingEventDefaultResponse) SetEndDateTime

func (o *MarketingEventDefaultResponse) SetEndDateTime(v time.Time)

SetEndDateTime gets a reference to the given time.Time and assigns it to the EndDateTime field.

func (*MarketingEventDefaultResponse) SetEventCancelled

func (o *MarketingEventDefaultResponse) SetEventCancelled(v bool)

SetEventCancelled gets a reference to the given bool and assigns it to the EventCancelled field.

func (*MarketingEventDefaultResponse) SetEventDescription

func (o *MarketingEventDefaultResponse) SetEventDescription(v string)

SetEventDescription gets a reference to the given string and assigns it to the EventDescription field.

func (*MarketingEventDefaultResponse) SetEventName

func (o *MarketingEventDefaultResponse) SetEventName(v string)

SetEventName sets field value

func (*MarketingEventDefaultResponse) SetEventOrganizer

func (o *MarketingEventDefaultResponse) SetEventOrganizer(v string)

SetEventOrganizer sets field value

func (*MarketingEventDefaultResponse) SetEventType

func (o *MarketingEventDefaultResponse) SetEventType(v string)

SetEventType gets a reference to the given string and assigns it to the EventType field.

func (*MarketingEventDefaultResponse) SetEventUrl

func (o *MarketingEventDefaultResponse) SetEventUrl(v string)

SetEventUrl gets a reference to the given string and assigns it to the EventUrl field.

func (*MarketingEventDefaultResponse) SetStartDateTime

func (o *MarketingEventDefaultResponse) SetStartDateTime(v time.Time)

SetStartDateTime gets a reference to the given time.Time and assigns it to the StartDateTime field.

type MarketingEventEmailSubscriber

type MarketingEventEmailSubscriber struct {
	// The date and time at which the contact subscribed to the event.
	InteractionDateTime int64              `json:"interactionDateTime"`
	Properties          *map[string]string `json:"properties,omitempty"`
	// The email address of the contact in HubSpot to associate with the event. Note that the contact must already exist in HubSpot; a contact will not be created.
	Email             string             `json:"email"`
	ContactProperties *map[string]string `json:"contactProperties,omitempty"`
}

MarketingEventEmailSubscriber struct for MarketingEventEmailSubscriber

func NewMarketingEventEmailSubscriber

func NewMarketingEventEmailSubscriber(interactionDateTime int64, email string) *MarketingEventEmailSubscriber

NewMarketingEventEmailSubscriber instantiates a new MarketingEventEmailSubscriber 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 NewMarketingEventEmailSubscriberWithDefaults

func NewMarketingEventEmailSubscriberWithDefaults() *MarketingEventEmailSubscriber

NewMarketingEventEmailSubscriberWithDefaults instantiates a new MarketingEventEmailSubscriber 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 (*MarketingEventEmailSubscriber) GetContactProperties

func (o *MarketingEventEmailSubscriber) GetContactProperties() map[string]string

GetContactProperties returns the ContactProperties field value if set, zero value otherwise.

func (*MarketingEventEmailSubscriber) GetContactPropertiesOk

func (o *MarketingEventEmailSubscriber) GetContactPropertiesOk() (*map[string]string, bool)

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

func (*MarketingEventEmailSubscriber) GetEmail

func (o *MarketingEventEmailSubscriber) GetEmail() string

GetEmail returns the Email field value

func (*MarketingEventEmailSubscriber) GetEmailOk

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

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

func (*MarketingEventEmailSubscriber) GetInteractionDateTime

func (o *MarketingEventEmailSubscriber) GetInteractionDateTime() int64

GetInteractionDateTime returns the InteractionDateTime field value

func (*MarketingEventEmailSubscriber) GetInteractionDateTimeOk

func (o *MarketingEventEmailSubscriber) GetInteractionDateTimeOk() (*int64, bool)

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

func (*MarketingEventEmailSubscriber) GetProperties

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

GetProperties returns the Properties field value if set, zero value otherwise.

func (*MarketingEventEmailSubscriber) GetPropertiesOk

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

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

func (*MarketingEventEmailSubscriber) HasContactProperties

func (o *MarketingEventEmailSubscriber) HasContactProperties() bool

HasContactProperties returns a boolean if a field has been set.

func (*MarketingEventEmailSubscriber) HasProperties

func (o *MarketingEventEmailSubscriber) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (MarketingEventEmailSubscriber) MarshalJSON

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

func (*MarketingEventEmailSubscriber) SetContactProperties

func (o *MarketingEventEmailSubscriber) SetContactProperties(v map[string]string)

SetContactProperties gets a reference to the given map[string]string and assigns it to the ContactProperties field.

func (*MarketingEventEmailSubscriber) SetEmail

func (o *MarketingEventEmailSubscriber) SetEmail(v string)

SetEmail sets field value

func (*MarketingEventEmailSubscriber) SetInteractionDateTime

func (o *MarketingEventEmailSubscriber) SetInteractionDateTime(v int64)

SetInteractionDateTime sets field value

func (*MarketingEventEmailSubscriber) SetProperties

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

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

type MarketingEventExternalUniqueIdentifier

type MarketingEventExternalUniqueIdentifier struct {
	// The id of the application that created the marketing event in HubSpot.
	AppId int32 `json:"appId"`
	// The accountId that is associated with this marketing event in the external event application.
	ExternalAccountId string `json:"externalAccountId"`
	// The id of the marketing event in the external event application.
	ExternalEventId string `json:"externalEventId"`
}

MarketingEventExternalUniqueIdentifier struct for MarketingEventExternalUniqueIdentifier

func NewMarketingEventExternalUniqueIdentifier

func NewMarketingEventExternalUniqueIdentifier(appId int32, externalAccountId string, externalEventId string) *MarketingEventExternalUniqueIdentifier

NewMarketingEventExternalUniqueIdentifier instantiates a new MarketingEventExternalUniqueIdentifier 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 NewMarketingEventExternalUniqueIdentifierWithDefaults

func NewMarketingEventExternalUniqueIdentifierWithDefaults() *MarketingEventExternalUniqueIdentifier

NewMarketingEventExternalUniqueIdentifierWithDefaults instantiates a new MarketingEventExternalUniqueIdentifier 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 (*MarketingEventExternalUniqueIdentifier) GetAppId

GetAppId returns the AppId field value

func (*MarketingEventExternalUniqueIdentifier) GetAppIdOk

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

func (*MarketingEventExternalUniqueIdentifier) GetExternalAccountId

func (o *MarketingEventExternalUniqueIdentifier) GetExternalAccountId() string

GetExternalAccountId returns the ExternalAccountId field value

func (*MarketingEventExternalUniqueIdentifier) GetExternalAccountIdOk

func (o *MarketingEventExternalUniqueIdentifier) GetExternalAccountIdOk() (*string, bool)

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

func (*MarketingEventExternalUniqueIdentifier) GetExternalEventId

func (o *MarketingEventExternalUniqueIdentifier) GetExternalEventId() string

GetExternalEventId returns the ExternalEventId field value

func (*MarketingEventExternalUniqueIdentifier) GetExternalEventIdOk

func (o *MarketingEventExternalUniqueIdentifier) GetExternalEventIdOk() (*string, bool)

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

func (MarketingEventExternalUniqueIdentifier) MarshalJSON

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

func (*MarketingEventExternalUniqueIdentifier) SetAppId

SetAppId sets field value

func (*MarketingEventExternalUniqueIdentifier) SetExternalAccountId

func (o *MarketingEventExternalUniqueIdentifier) SetExternalAccountId(v string)

SetExternalAccountId sets field value

func (*MarketingEventExternalUniqueIdentifier) SetExternalEventId

func (o *MarketingEventExternalUniqueIdentifier) SetExternalEventId(v string)

SetExternalEventId sets field value

type MarketingEventPublicDefaultResponse

type MarketingEventPublicDefaultResponse struct {
	// The name of the marketing event.
	EventName string `json:"eventName"`
	// The type of the marketing event.
	EventType *string `json:"eventType,omitempty"`
	// The start date and time of the marketing event.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// The end date and time of the marketing event.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// The name of the organizer of the marketing event.
	EventOrganizer string `json:"eventOrganizer"`
	// The description of the marketing event.
	EventDescription *string `json:"eventDescription,omitempty"`
	// A URL in the external event application where the marketing event can be managed.
	EventUrl *string `json:"eventUrl,omitempty"`
	// Indicates if the marketing event has been cancelled.
	EventCancelled *bool `json:"eventCancelled,omitempty"`
	// A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set. In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
	CustomProperties []PropertyValue `json:"customProperties,omitempty"`
	Id               string          `json:"id"`
	CreatedAt        time.Time       `json:"createdAt"`
	UpdatedAt        time.Time       `json:"updatedAt"`
}

MarketingEventPublicDefaultResponse struct for MarketingEventPublicDefaultResponse

func NewMarketingEventPublicDefaultResponse

func NewMarketingEventPublicDefaultResponse(eventName string, eventOrganizer string, id string, createdAt time.Time, updatedAt time.Time) *MarketingEventPublicDefaultResponse

NewMarketingEventPublicDefaultResponse instantiates a new MarketingEventPublicDefaultResponse 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 NewMarketingEventPublicDefaultResponseWithDefaults

func NewMarketingEventPublicDefaultResponseWithDefaults() *MarketingEventPublicDefaultResponse

NewMarketingEventPublicDefaultResponseWithDefaults instantiates a new MarketingEventPublicDefaultResponse 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 (*MarketingEventPublicDefaultResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*MarketingEventPublicDefaultResponse) GetCreatedAtOk

func (o *MarketingEventPublicDefaultResponse) 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 (*MarketingEventPublicDefaultResponse) GetCustomProperties

func (o *MarketingEventPublicDefaultResponse) GetCustomProperties() []PropertyValue

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetCustomPropertiesOk

func (o *MarketingEventPublicDefaultResponse) GetCustomPropertiesOk() ([]PropertyValue, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEndDateTime

func (o *MarketingEventPublicDefaultResponse) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetEndDateTimeOk

func (o *MarketingEventPublicDefaultResponse) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventCancelled

func (o *MarketingEventPublicDefaultResponse) GetEventCancelled() bool

GetEventCancelled returns the EventCancelled field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetEventCancelledOk

func (o *MarketingEventPublicDefaultResponse) GetEventCancelledOk() (*bool, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventDescription

func (o *MarketingEventPublicDefaultResponse) GetEventDescription() string

GetEventDescription returns the EventDescription field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetEventDescriptionOk

func (o *MarketingEventPublicDefaultResponse) GetEventDescriptionOk() (*string, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventName

func (o *MarketingEventPublicDefaultResponse) GetEventName() string

GetEventName returns the EventName field value

func (*MarketingEventPublicDefaultResponse) GetEventNameOk

func (o *MarketingEventPublicDefaultResponse) GetEventNameOk() (*string, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventOrganizer

func (o *MarketingEventPublicDefaultResponse) GetEventOrganizer() string

GetEventOrganizer returns the EventOrganizer field value

func (*MarketingEventPublicDefaultResponse) GetEventOrganizerOk

func (o *MarketingEventPublicDefaultResponse) GetEventOrganizerOk() (*string, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventType

func (o *MarketingEventPublicDefaultResponse) GetEventType() string

GetEventType returns the EventType field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetEventTypeOk

func (o *MarketingEventPublicDefaultResponse) GetEventTypeOk() (*string, bool)

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

func (*MarketingEventPublicDefaultResponse) GetEventUrl

GetEventUrl returns the EventUrl field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetEventUrlOk

func (o *MarketingEventPublicDefaultResponse) GetEventUrlOk() (*string, bool)

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

func (*MarketingEventPublicDefaultResponse) GetId

GetId returns the Id field value

func (*MarketingEventPublicDefaultResponse) GetIdOk

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

func (*MarketingEventPublicDefaultResponse) GetStartDateTime

func (o *MarketingEventPublicDefaultResponse) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value if set, zero value otherwise.

func (*MarketingEventPublicDefaultResponse) GetStartDateTimeOk

func (o *MarketingEventPublicDefaultResponse) GetStartDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventPublicDefaultResponse) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*MarketingEventPublicDefaultResponse) GetUpdatedAtOk

func (o *MarketingEventPublicDefaultResponse) 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 (*MarketingEventPublicDefaultResponse) HasCustomProperties

func (o *MarketingEventPublicDefaultResponse) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasEndDateTime

func (o *MarketingEventPublicDefaultResponse) HasEndDateTime() bool

HasEndDateTime returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasEventCancelled

func (o *MarketingEventPublicDefaultResponse) HasEventCancelled() bool

HasEventCancelled returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasEventDescription

func (o *MarketingEventPublicDefaultResponse) HasEventDescription() bool

HasEventDescription returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasEventType

func (o *MarketingEventPublicDefaultResponse) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasEventUrl

func (o *MarketingEventPublicDefaultResponse) HasEventUrl() bool

HasEventUrl returns a boolean if a field has been set.

func (*MarketingEventPublicDefaultResponse) HasStartDateTime

func (o *MarketingEventPublicDefaultResponse) HasStartDateTime() bool

HasStartDateTime returns a boolean if a field has been set.

func (MarketingEventPublicDefaultResponse) MarshalJSON

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

func (*MarketingEventPublicDefaultResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*MarketingEventPublicDefaultResponse) SetCustomProperties

func (o *MarketingEventPublicDefaultResponse) SetCustomProperties(v []PropertyValue)

SetCustomProperties gets a reference to the given []PropertyValue and assigns it to the CustomProperties field.

func (*MarketingEventPublicDefaultResponse) SetEndDateTime

func (o *MarketingEventPublicDefaultResponse) SetEndDateTime(v time.Time)

SetEndDateTime gets a reference to the given time.Time and assigns it to the EndDateTime field.

func (*MarketingEventPublicDefaultResponse) SetEventCancelled

func (o *MarketingEventPublicDefaultResponse) SetEventCancelled(v bool)

SetEventCancelled gets a reference to the given bool and assigns it to the EventCancelled field.

func (*MarketingEventPublicDefaultResponse) SetEventDescription

func (o *MarketingEventPublicDefaultResponse) SetEventDescription(v string)

SetEventDescription gets a reference to the given string and assigns it to the EventDescription field.

func (*MarketingEventPublicDefaultResponse) SetEventName

func (o *MarketingEventPublicDefaultResponse) SetEventName(v string)

SetEventName sets field value

func (*MarketingEventPublicDefaultResponse) SetEventOrganizer

func (o *MarketingEventPublicDefaultResponse) SetEventOrganizer(v string)

SetEventOrganizer sets field value

func (*MarketingEventPublicDefaultResponse) SetEventType

func (o *MarketingEventPublicDefaultResponse) SetEventType(v string)

SetEventType gets a reference to the given string and assigns it to the EventType field.

func (*MarketingEventPublicDefaultResponse) SetEventUrl

func (o *MarketingEventPublicDefaultResponse) SetEventUrl(v string)

SetEventUrl gets a reference to the given string and assigns it to the EventUrl field.

func (*MarketingEventPublicDefaultResponse) SetId

SetId sets field value

func (*MarketingEventPublicDefaultResponse) SetStartDateTime

func (o *MarketingEventPublicDefaultResponse) SetStartDateTime(v time.Time)

SetStartDateTime gets a reference to the given time.Time and assigns it to the StartDateTime field.

func (*MarketingEventPublicDefaultResponse) SetUpdatedAt

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

SetUpdatedAt sets field value

type MarketingEventPublicReadResponse

type MarketingEventPublicReadResponse struct {
	// The name of the marketing event.
	EventName string `json:"eventName"`
	// The type of the marketing event.
	EventType *string `json:"eventType,omitempty"`
	// The start date and time of the marketing event.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// The end date and time of the marketing event.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// The name of the organizer of the marketing event.
	EventOrganizer string `json:"eventOrganizer"`
	// The description of the marketing event.
	EventDescription *string `json:"eventDescription,omitempty"`
	// A URL in the external event application where the marketing event can be managed.
	EventUrl *string `json:"eventUrl,omitempty"`
	// Indicates if the marketing event has been cancelled.
	EventCancelled *bool `json:"eventCancelled,omitempty"`
	// A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set. In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
	CustomProperties []PropertyValue `json:"customProperties,omitempty"`
	// The id of the marketing event in the external event application.
	ExternalEventId string `json:"externalEventId"`
	// The number of HubSpot contacts that registered for this marketing event.
	Registrants int32 `json:"registrants"`
	// The number of HubSpot contacts that attended this marketing event.
	Attendees int32 `json:"attendees"`
	// The number of HubSpot contacts that registered for this marketing event, but later cancelled their registration.
	Cancellations int32 `json:"cancellations"`
	// The number of HubSpot contacts that registered for this marketing event, but did not attend. This field only had a value when the event is over.
	NoShows   int32     `json:"noShows"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
	Id        string    `json:"id"`
}

MarketingEventPublicReadResponse struct for MarketingEventPublicReadResponse

func NewMarketingEventPublicReadResponse

func NewMarketingEventPublicReadResponse(eventName string, eventOrganizer string, externalEventId string, registrants int32, attendees int32, cancellations int32, noShows int32, createdAt time.Time, updatedAt time.Time, id string) *MarketingEventPublicReadResponse

NewMarketingEventPublicReadResponse instantiates a new MarketingEventPublicReadResponse 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 NewMarketingEventPublicReadResponseWithDefaults

func NewMarketingEventPublicReadResponseWithDefaults() *MarketingEventPublicReadResponse

NewMarketingEventPublicReadResponseWithDefaults instantiates a new MarketingEventPublicReadResponse 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 (*MarketingEventPublicReadResponse) GetAttendees

func (o *MarketingEventPublicReadResponse) GetAttendees() int32

GetAttendees returns the Attendees field value

func (*MarketingEventPublicReadResponse) GetAttendeesOk

func (o *MarketingEventPublicReadResponse) GetAttendeesOk() (*int32, bool)

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

func (*MarketingEventPublicReadResponse) GetCancellations

func (o *MarketingEventPublicReadResponse) GetCancellations() int32

GetCancellations returns the Cancellations field value

func (*MarketingEventPublicReadResponse) GetCancellationsOk

func (o *MarketingEventPublicReadResponse) GetCancellationsOk() (*int32, bool)

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

func (*MarketingEventPublicReadResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*MarketingEventPublicReadResponse) GetCreatedAtOk

func (o *MarketingEventPublicReadResponse) 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 (*MarketingEventPublicReadResponse) GetCustomProperties

func (o *MarketingEventPublicReadResponse) GetCustomProperties() []PropertyValue

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetCustomPropertiesOk

func (o *MarketingEventPublicReadResponse) GetCustomPropertiesOk() ([]PropertyValue, bool)

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

func (*MarketingEventPublicReadResponse) GetEndDateTime

func (o *MarketingEventPublicReadResponse) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetEndDateTimeOk

func (o *MarketingEventPublicReadResponse) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventPublicReadResponse) GetEventCancelled

func (o *MarketingEventPublicReadResponse) GetEventCancelled() bool

GetEventCancelled returns the EventCancelled field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetEventCancelledOk

func (o *MarketingEventPublicReadResponse) GetEventCancelledOk() (*bool, bool)

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

func (*MarketingEventPublicReadResponse) GetEventDescription

func (o *MarketingEventPublicReadResponse) GetEventDescription() string

GetEventDescription returns the EventDescription field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetEventDescriptionOk

func (o *MarketingEventPublicReadResponse) GetEventDescriptionOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetEventName

func (o *MarketingEventPublicReadResponse) GetEventName() string

GetEventName returns the EventName field value

func (*MarketingEventPublicReadResponse) GetEventNameOk

func (o *MarketingEventPublicReadResponse) GetEventNameOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetEventOrganizer

func (o *MarketingEventPublicReadResponse) GetEventOrganizer() string

GetEventOrganizer returns the EventOrganizer field value

func (*MarketingEventPublicReadResponse) GetEventOrganizerOk

func (o *MarketingEventPublicReadResponse) GetEventOrganizerOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetEventType

func (o *MarketingEventPublicReadResponse) GetEventType() string

GetEventType returns the EventType field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetEventTypeOk

func (o *MarketingEventPublicReadResponse) GetEventTypeOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetEventUrl

func (o *MarketingEventPublicReadResponse) GetEventUrl() string

GetEventUrl returns the EventUrl field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetEventUrlOk

func (o *MarketingEventPublicReadResponse) GetEventUrlOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetExternalEventId

func (o *MarketingEventPublicReadResponse) GetExternalEventId() string

GetExternalEventId returns the ExternalEventId field value

func (*MarketingEventPublicReadResponse) GetExternalEventIdOk

func (o *MarketingEventPublicReadResponse) GetExternalEventIdOk() (*string, bool)

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

func (*MarketingEventPublicReadResponse) GetId

GetId returns the Id field value

func (*MarketingEventPublicReadResponse) GetIdOk

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

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

func (*MarketingEventPublicReadResponse) GetNoShows

func (o *MarketingEventPublicReadResponse) GetNoShows() int32

GetNoShows returns the NoShows field value

func (*MarketingEventPublicReadResponse) GetNoShowsOk

func (o *MarketingEventPublicReadResponse) GetNoShowsOk() (*int32, bool)

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

func (*MarketingEventPublicReadResponse) GetRegistrants

func (o *MarketingEventPublicReadResponse) GetRegistrants() int32

GetRegistrants returns the Registrants field value

func (*MarketingEventPublicReadResponse) GetRegistrantsOk

func (o *MarketingEventPublicReadResponse) GetRegistrantsOk() (*int32, bool)

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

func (*MarketingEventPublicReadResponse) GetStartDateTime

func (o *MarketingEventPublicReadResponse) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value if set, zero value otherwise.

func (*MarketingEventPublicReadResponse) GetStartDateTimeOk

func (o *MarketingEventPublicReadResponse) GetStartDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventPublicReadResponse) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*MarketingEventPublicReadResponse) GetUpdatedAtOk

func (o *MarketingEventPublicReadResponse) 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 (*MarketingEventPublicReadResponse) HasCustomProperties

func (o *MarketingEventPublicReadResponse) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasEndDateTime

func (o *MarketingEventPublicReadResponse) HasEndDateTime() bool

HasEndDateTime returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasEventCancelled

func (o *MarketingEventPublicReadResponse) HasEventCancelled() bool

HasEventCancelled returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasEventDescription

func (o *MarketingEventPublicReadResponse) HasEventDescription() bool

HasEventDescription returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasEventType

func (o *MarketingEventPublicReadResponse) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasEventUrl

func (o *MarketingEventPublicReadResponse) HasEventUrl() bool

HasEventUrl returns a boolean if a field has been set.

func (*MarketingEventPublicReadResponse) HasStartDateTime

func (o *MarketingEventPublicReadResponse) HasStartDateTime() bool

HasStartDateTime returns a boolean if a field has been set.

func (MarketingEventPublicReadResponse) MarshalJSON

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

func (*MarketingEventPublicReadResponse) SetAttendees

func (o *MarketingEventPublicReadResponse) SetAttendees(v int32)

SetAttendees sets field value

func (*MarketingEventPublicReadResponse) SetCancellations

func (o *MarketingEventPublicReadResponse) SetCancellations(v int32)

SetCancellations sets field value

func (*MarketingEventPublicReadResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*MarketingEventPublicReadResponse) SetCustomProperties

func (o *MarketingEventPublicReadResponse) SetCustomProperties(v []PropertyValue)

SetCustomProperties gets a reference to the given []PropertyValue and assigns it to the CustomProperties field.

func (*MarketingEventPublicReadResponse) SetEndDateTime

func (o *MarketingEventPublicReadResponse) SetEndDateTime(v time.Time)

SetEndDateTime gets a reference to the given time.Time and assigns it to the EndDateTime field.

func (*MarketingEventPublicReadResponse) SetEventCancelled

func (o *MarketingEventPublicReadResponse) SetEventCancelled(v bool)

SetEventCancelled gets a reference to the given bool and assigns it to the EventCancelled field.

func (*MarketingEventPublicReadResponse) SetEventDescription

func (o *MarketingEventPublicReadResponse) SetEventDescription(v string)

SetEventDescription gets a reference to the given string and assigns it to the EventDescription field.

func (*MarketingEventPublicReadResponse) SetEventName

func (o *MarketingEventPublicReadResponse) SetEventName(v string)

SetEventName sets field value

func (*MarketingEventPublicReadResponse) SetEventOrganizer

func (o *MarketingEventPublicReadResponse) SetEventOrganizer(v string)

SetEventOrganizer sets field value

func (*MarketingEventPublicReadResponse) SetEventType

func (o *MarketingEventPublicReadResponse) SetEventType(v string)

SetEventType gets a reference to the given string and assigns it to the EventType field.

func (*MarketingEventPublicReadResponse) SetEventUrl

func (o *MarketingEventPublicReadResponse) SetEventUrl(v string)

SetEventUrl gets a reference to the given string and assigns it to the EventUrl field.

func (*MarketingEventPublicReadResponse) SetExternalEventId

func (o *MarketingEventPublicReadResponse) SetExternalEventId(v string)

SetExternalEventId sets field value

func (*MarketingEventPublicReadResponse) SetId

SetId sets field value

func (*MarketingEventPublicReadResponse) SetNoShows

func (o *MarketingEventPublicReadResponse) SetNoShows(v int32)

SetNoShows sets field value

func (*MarketingEventPublicReadResponse) SetRegistrants

func (o *MarketingEventPublicReadResponse) SetRegistrants(v int32)

SetRegistrants sets field value

func (*MarketingEventPublicReadResponse) SetStartDateTime

func (o *MarketingEventPublicReadResponse) SetStartDateTime(v time.Time)

SetStartDateTime gets a reference to the given time.Time and assigns it to the StartDateTime field.

func (*MarketingEventPublicReadResponse) SetUpdatedAt

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

SetUpdatedAt sets field value

type MarketingEventSubscriber

type MarketingEventSubscriber struct {
	// The date and time at which the contact subscribed to the event.
	InteractionDateTime int64              `json:"interactionDateTime"`
	Properties          *map[string]string `json:"properties,omitempty"`
	Vid                 *int32             `json:"vid,omitempty"`
}

MarketingEventSubscriber struct for MarketingEventSubscriber

func NewMarketingEventSubscriber

func NewMarketingEventSubscriber(interactionDateTime int64) *MarketingEventSubscriber

NewMarketingEventSubscriber instantiates a new MarketingEventSubscriber 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 NewMarketingEventSubscriberWithDefaults

func NewMarketingEventSubscriberWithDefaults() *MarketingEventSubscriber

NewMarketingEventSubscriberWithDefaults instantiates a new MarketingEventSubscriber 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 (*MarketingEventSubscriber) GetInteractionDateTime

func (o *MarketingEventSubscriber) GetInteractionDateTime() int64

GetInteractionDateTime returns the InteractionDateTime field value

func (*MarketingEventSubscriber) GetInteractionDateTimeOk

func (o *MarketingEventSubscriber) GetInteractionDateTimeOk() (*int64, bool)

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

func (*MarketingEventSubscriber) GetProperties

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

GetProperties returns the Properties field value if set, zero value otherwise.

func (*MarketingEventSubscriber) GetPropertiesOk

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

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

func (*MarketingEventSubscriber) GetVid

func (o *MarketingEventSubscriber) GetVid() int32

GetVid returns the Vid field value if set, zero value otherwise.

func (*MarketingEventSubscriber) GetVidOk

func (o *MarketingEventSubscriber) GetVidOk() (*int32, bool)

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

func (*MarketingEventSubscriber) HasProperties

func (o *MarketingEventSubscriber) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*MarketingEventSubscriber) HasVid

func (o *MarketingEventSubscriber) HasVid() bool

HasVid returns a boolean if a field has been set.

func (MarketingEventSubscriber) MarshalJSON

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

func (*MarketingEventSubscriber) SetInteractionDateTime

func (o *MarketingEventSubscriber) SetInteractionDateTime(v int64)

SetInteractionDateTime sets field value

func (*MarketingEventSubscriber) SetProperties

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

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

func (*MarketingEventSubscriber) SetVid

func (o *MarketingEventSubscriber) SetVid(v int32)

SetVid gets a reference to the given int32 and assigns it to the Vid field.

type MarketingEventUpdateRequestParams

type MarketingEventUpdateRequestParams struct {
	// The name of the marketing event.
	EventName *string `json:"eventName,omitempty"`
	// Describes what type of event this is.  For example: `WEBINAR`, `CONFERENCE`, `WORKSHOP`
	EventType *string `json:"eventType,omitempty"`
	// The start date and time of the marketing event.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// The end date and time of the marketing event.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// The name of the organizer of the marketing event.
	EventOrganizer *string `json:"eventOrganizer,omitempty"`
	// The description of the marketing event.
	EventDescription *string `json:"eventDescription,omitempty"`
	// A URL in the external event application where the marketing event can be managed.
	EventUrl *string `json:"eventUrl,omitempty"`
	// Indicates if the marketing event has been cancelled. Defaults to `false`
	EventCancelled *bool `json:"eventCancelled,omitempty"`
	// A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set. In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
	CustomProperties []PropertyValue `json:"customProperties,omitempty"`
}

MarketingEventUpdateRequestParams struct for MarketingEventUpdateRequestParams

func NewMarketingEventUpdateRequestParams

func NewMarketingEventUpdateRequestParams() *MarketingEventUpdateRequestParams

NewMarketingEventUpdateRequestParams instantiates a new MarketingEventUpdateRequestParams 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 NewMarketingEventUpdateRequestParamsWithDefaults

func NewMarketingEventUpdateRequestParamsWithDefaults() *MarketingEventUpdateRequestParams

NewMarketingEventUpdateRequestParamsWithDefaults instantiates a new MarketingEventUpdateRequestParams 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 (*MarketingEventUpdateRequestParams) GetCustomProperties

func (o *MarketingEventUpdateRequestParams) GetCustomProperties() []PropertyValue

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetCustomPropertiesOk

func (o *MarketingEventUpdateRequestParams) GetCustomPropertiesOk() ([]PropertyValue, bool)

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

func (*MarketingEventUpdateRequestParams) GetEndDateTime

func (o *MarketingEventUpdateRequestParams) GetEndDateTime() time.Time

GetEndDateTime returns the EndDateTime field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEndDateTimeOk

func (o *MarketingEventUpdateRequestParams) GetEndDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventCancelled

func (o *MarketingEventUpdateRequestParams) GetEventCancelled() bool

GetEventCancelled returns the EventCancelled field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventCancelledOk

func (o *MarketingEventUpdateRequestParams) GetEventCancelledOk() (*bool, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventDescription

func (o *MarketingEventUpdateRequestParams) GetEventDescription() string

GetEventDescription returns the EventDescription field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventDescriptionOk

func (o *MarketingEventUpdateRequestParams) GetEventDescriptionOk() (*string, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventName

func (o *MarketingEventUpdateRequestParams) GetEventName() string

GetEventName returns the EventName field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventNameOk

func (o *MarketingEventUpdateRequestParams) GetEventNameOk() (*string, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventOrganizer

func (o *MarketingEventUpdateRequestParams) GetEventOrganizer() string

GetEventOrganizer returns the EventOrganizer field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventOrganizerOk

func (o *MarketingEventUpdateRequestParams) GetEventOrganizerOk() (*string, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventType

func (o *MarketingEventUpdateRequestParams) GetEventType() string

GetEventType returns the EventType field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventTypeOk

func (o *MarketingEventUpdateRequestParams) GetEventTypeOk() (*string, bool)

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

func (*MarketingEventUpdateRequestParams) GetEventUrl

func (o *MarketingEventUpdateRequestParams) GetEventUrl() string

GetEventUrl returns the EventUrl field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetEventUrlOk

func (o *MarketingEventUpdateRequestParams) GetEventUrlOk() (*string, bool)

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

func (*MarketingEventUpdateRequestParams) GetStartDateTime

func (o *MarketingEventUpdateRequestParams) GetStartDateTime() time.Time

GetStartDateTime returns the StartDateTime field value if set, zero value otherwise.

func (*MarketingEventUpdateRequestParams) GetStartDateTimeOk

func (o *MarketingEventUpdateRequestParams) GetStartDateTimeOk() (*time.Time, bool)

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

func (*MarketingEventUpdateRequestParams) HasCustomProperties

func (o *MarketingEventUpdateRequestParams) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEndDateTime

func (o *MarketingEventUpdateRequestParams) HasEndDateTime() bool

HasEndDateTime returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventCancelled

func (o *MarketingEventUpdateRequestParams) HasEventCancelled() bool

HasEventCancelled returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventDescription

func (o *MarketingEventUpdateRequestParams) HasEventDescription() bool

HasEventDescription returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventName

func (o *MarketingEventUpdateRequestParams) HasEventName() bool

HasEventName returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventOrganizer

func (o *MarketingEventUpdateRequestParams) HasEventOrganizer() bool

HasEventOrganizer returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventType

func (o *MarketingEventUpdateRequestParams) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasEventUrl

func (o *MarketingEventUpdateRequestParams) HasEventUrl() bool

HasEventUrl returns a boolean if a field has been set.

func (*MarketingEventUpdateRequestParams) HasStartDateTime

func (o *MarketingEventUpdateRequestParams) HasStartDateTime() bool

HasStartDateTime returns a boolean if a field has been set.

func (MarketingEventUpdateRequestParams) MarshalJSON

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

func (*MarketingEventUpdateRequestParams) SetCustomProperties

func (o *MarketingEventUpdateRequestParams) SetCustomProperties(v []PropertyValue)

SetCustomProperties gets a reference to the given []PropertyValue and assigns it to the CustomProperties field.

func (*MarketingEventUpdateRequestParams) SetEndDateTime

func (o *MarketingEventUpdateRequestParams) SetEndDateTime(v time.Time)

SetEndDateTime gets a reference to the given time.Time and assigns it to the EndDateTime field.

func (*MarketingEventUpdateRequestParams) SetEventCancelled

func (o *MarketingEventUpdateRequestParams) SetEventCancelled(v bool)

SetEventCancelled gets a reference to the given bool and assigns it to the EventCancelled field.

func (*MarketingEventUpdateRequestParams) SetEventDescription

func (o *MarketingEventUpdateRequestParams) SetEventDescription(v string)

SetEventDescription gets a reference to the given string and assigns it to the EventDescription field.

func (*MarketingEventUpdateRequestParams) SetEventName

func (o *MarketingEventUpdateRequestParams) SetEventName(v string)

SetEventName gets a reference to the given string and assigns it to the EventName field.

func (*MarketingEventUpdateRequestParams) SetEventOrganizer

func (o *MarketingEventUpdateRequestParams) SetEventOrganizer(v string)

SetEventOrganizer gets a reference to the given string and assigns it to the EventOrganizer field.

func (*MarketingEventUpdateRequestParams) SetEventType

func (o *MarketingEventUpdateRequestParams) SetEventType(v string)

SetEventType gets a reference to the given string and assigns it to the EventType field.

func (*MarketingEventUpdateRequestParams) SetEventUrl

func (o *MarketingEventUpdateRequestParams) SetEventUrl(v string)

SetEventUrl gets a reference to the given string and assigns it to the EventUrl field.

func (*MarketingEventUpdateRequestParams) SetStartDateTime

func (o *MarketingEventUpdateRequestParams) SetStartDateTime(v time.Time)

SetStartDateTime gets a reference to the given time.Time and assigns it to the StartDateTime field.

type MarketingEventsExternalApiService

type MarketingEventsExternalApiService service

MarketingEventsExternalApiService MarketingEventsExternalApi service

func (*MarketingEventsExternalApiService) ArchiveBatch

ArchiveBatch Method for ArchiveBatch

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

func (*MarketingEventsExternalApiService) ArchiveBatchExecute

Execute executes the request

@return Error

func (*MarketingEventsExternalApiService) Create

Create Method for Create

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

func (*MarketingEventsExternalApiService) CreateExecute

Execute executes the request

@return MarketingEventDefaultResponse

func (*MarketingEventsExternalApiService) ExternalArchive

func (a *MarketingEventsExternalApiService) ExternalArchive(ctx context.Context, externalEventId string) ApiExternalArchiveRequest

ExternalArchive Method for ExternalArchive

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

func (*MarketingEventsExternalApiService) ExternalArchiveExecute

Execute executes the request

func (*MarketingEventsExternalApiService) ExternalCancel

func (a *MarketingEventsExternalApiService) ExternalCancel(ctx context.Context, externalEventId string) ApiExternalCancelRequest

ExternalCancel Method for ExternalCancel

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

func (*MarketingEventsExternalApiService) ExternalCancelExecute

Execute executes the request

@return MarketingEventDefaultResponse

func (*MarketingEventsExternalApiService) ExternalCompleteComplete

func (a *MarketingEventsExternalApiService) ExternalCompleteComplete(ctx context.Context, externalEventId string) ApiExternalCompleteCompleteRequest

ExternalCompleteComplete Method for ExternalCompleteComplete

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

func (*MarketingEventsExternalApiService) ExternalCompleteCompleteExecute

Execute executes the request

@return MarketingEventDefaultResponse

func (*MarketingEventsExternalApiService) ExternalEmailUpsertByID

func (a *MarketingEventsExternalApiService) ExternalEmailUpsertByID(ctx context.Context, externalEventId string, subscriberState string) ApiExternalEmailUpsertByIDRequest

ExternalEmailUpsertByID Method for ExternalEmailUpsertByID

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

func (*MarketingEventsExternalApiService) ExternalEmailUpsertByIDExecute

Execute executes the request

@return Error

func (*MarketingEventsExternalApiService) ExternalGetByID

func (a *MarketingEventsExternalApiService) ExternalGetByID(ctx context.Context, externalEventId string) ApiExternalGetByIDRequest

ExternalGetByID Method for ExternalGetByID

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

func (*MarketingEventsExternalApiService) ExternalGetByIDExecute

Execute executes the request

@return MarketingEventPublicReadResponse

func (*MarketingEventsExternalApiService) ExternalReplace

func (a *MarketingEventsExternalApiService) ExternalReplace(ctx context.Context, externalEventId string) ApiExternalReplaceRequest

ExternalReplace Method for ExternalReplace

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

func (*MarketingEventsExternalApiService) ExternalReplaceExecute

Execute executes the request

@return MarketingEventPublicDefaultResponse

func (*MarketingEventsExternalApiService) ExternalUpdate

func (a *MarketingEventsExternalApiService) ExternalUpdate(ctx context.Context, externalEventId string) ApiExternalUpdateRequest

ExternalUpdate Method for ExternalUpdate

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

func (*MarketingEventsExternalApiService) ExternalUpdateExecute

Execute executes the request

@return MarketingEventPublicDefaultResponse

func (*MarketingEventsExternalApiService) ExternalUpsertByID

func (a *MarketingEventsExternalApiService) ExternalUpsertByID(ctx context.Context, externalEventId string, subscriberState string) ApiExternalUpsertByIDRequest

ExternalUpsertByID Method for ExternalUpsertByID

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

func (*MarketingEventsExternalApiService) ExternalUpsertByIDExecute

Execute executes the request

@return Error

func (*MarketingEventsExternalApiService) 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 (*MarketingEventsExternalApiService) SearchExecute

Execute executes the request

@return CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

func (*MarketingEventsExternalApiService) Upsert

Upsert Method for Upsert

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

func (*MarketingEventsExternalApiService) UpsertExecute

Execute executes the request

@return BatchResponseMarketingEventPublicDefaultResponse

type NullableBatchInputMarketingEventCreateRequestParams

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

func (NullableBatchInputMarketingEventCreateRequestParams) Get

func (NullableBatchInputMarketingEventCreateRequestParams) IsSet

func (NullableBatchInputMarketingEventCreateRequestParams) MarshalJSON

func (*NullableBatchInputMarketingEventCreateRequestParams) Set

func (*NullableBatchInputMarketingEventCreateRequestParams) UnmarshalJSON

func (*NullableBatchInputMarketingEventCreateRequestParams) Unset

type NullableBatchInputMarketingEventEmailSubscriber

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

func (NullableBatchInputMarketingEventEmailSubscriber) Get

func (NullableBatchInputMarketingEventEmailSubscriber) IsSet

func (NullableBatchInputMarketingEventEmailSubscriber) MarshalJSON

func (*NullableBatchInputMarketingEventEmailSubscriber) Set

func (*NullableBatchInputMarketingEventEmailSubscriber) UnmarshalJSON

func (*NullableBatchInputMarketingEventEmailSubscriber) Unset

type NullableBatchInputMarketingEventExternalUniqueIdentifier

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

func (NullableBatchInputMarketingEventExternalUniqueIdentifier) Get

func (NullableBatchInputMarketingEventExternalUniqueIdentifier) IsSet

func (NullableBatchInputMarketingEventExternalUniqueIdentifier) MarshalJSON

func (*NullableBatchInputMarketingEventExternalUniqueIdentifier) Set

func (*NullableBatchInputMarketingEventExternalUniqueIdentifier) UnmarshalJSON

func (*NullableBatchInputMarketingEventExternalUniqueIdentifier) Unset

type NullableBatchInputMarketingEventSubscriber

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

func (NullableBatchInputMarketingEventSubscriber) Get

func (NullableBatchInputMarketingEventSubscriber) IsSet

func (NullableBatchInputMarketingEventSubscriber) MarshalJSON

func (*NullableBatchInputMarketingEventSubscriber) Set

func (*NullableBatchInputMarketingEventSubscriber) UnmarshalJSON

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

func (*NullableBatchInputMarketingEventSubscriber) Unset

type NullableBatchResponseMarketingEventPublicDefaultResponse

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

func (NullableBatchResponseMarketingEventPublicDefaultResponse) Get

func (NullableBatchResponseMarketingEventPublicDefaultResponse) IsSet

func (NullableBatchResponseMarketingEventPublicDefaultResponse) MarshalJSON

func (*NullableBatchResponseMarketingEventPublicDefaultResponse) Set

func (*NullableBatchResponseMarketingEventPublicDefaultResponse) UnmarshalJSON

func (*NullableBatchResponseMarketingEventPublicDefaultResponse) Unset

type NullableBatchResponseSubscriberEmailResponse

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

func (NullableBatchResponseSubscriberEmailResponse) Get

func (NullableBatchResponseSubscriberEmailResponse) IsSet

func (NullableBatchResponseSubscriberEmailResponse) MarshalJSON

func (*NullableBatchResponseSubscriberEmailResponse) Set

func (*NullableBatchResponseSubscriberEmailResponse) UnmarshalJSON

func (*NullableBatchResponseSubscriberEmailResponse) Unset

type NullableBatchResponseSubscriberVidResponse

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

func (NullableBatchResponseSubscriberVidResponse) Get

func (NullableBatchResponseSubscriberVidResponse) IsSet

func (NullableBatchResponseSubscriberVidResponse) MarshalJSON

func (*NullableBatchResponseSubscriberVidResponse) Set

func (*NullableBatchResponseSubscriberVidResponse) UnmarshalJSON

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

func (*NullableBatchResponseSubscriberVidResponse) 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 NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging

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

func (NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) Get

func (NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) IsSet

func (NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) MarshalJSON

func (*NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) Set

func (*NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) UnmarshalJSON

func (*NullableCollectionResponseMarketingEventExternalUniqueIdentifierNoPaging) 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 NullableEventDetailSettings

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

func NewNullableEventDetailSettings

func NewNullableEventDetailSettings(val *EventDetailSettings) *NullableEventDetailSettings

func (NullableEventDetailSettings) Get

func (NullableEventDetailSettings) IsSet

func (NullableEventDetailSettings) MarshalJSON

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

func (*NullableEventDetailSettings) Set

func (*NullableEventDetailSettings) UnmarshalJSON

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

func (*NullableEventDetailSettings) Unset

func (v *NullableEventDetailSettings) Unset()

type NullableEventDetailSettingsUrl

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

func (NullableEventDetailSettingsUrl) Get

func (NullableEventDetailSettingsUrl) IsSet

func (NullableEventDetailSettingsUrl) MarshalJSON

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

func (*NullableEventDetailSettingsUrl) Set

func (*NullableEventDetailSettingsUrl) UnmarshalJSON

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

func (*NullableEventDetailSettingsUrl) Unset

func (v *NullableEventDetailSettingsUrl) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableMarketingEventCompleteRequestParams

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

func (NullableMarketingEventCompleteRequestParams) Get

func (NullableMarketingEventCompleteRequestParams) IsSet

func (NullableMarketingEventCompleteRequestParams) MarshalJSON

func (*NullableMarketingEventCompleteRequestParams) Set

func (*NullableMarketingEventCompleteRequestParams) UnmarshalJSON

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

func (*NullableMarketingEventCompleteRequestParams) Unset

type NullableMarketingEventCreateRequestParams

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

func (NullableMarketingEventCreateRequestParams) Get

func (NullableMarketingEventCreateRequestParams) IsSet

func (NullableMarketingEventCreateRequestParams) MarshalJSON

func (*NullableMarketingEventCreateRequestParams) Set

func (*NullableMarketingEventCreateRequestParams) UnmarshalJSON

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

func (*NullableMarketingEventCreateRequestParams) Unset

type NullableMarketingEventDefaultResponse

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

func (NullableMarketingEventDefaultResponse) Get

func (NullableMarketingEventDefaultResponse) IsSet

func (NullableMarketingEventDefaultResponse) MarshalJSON

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

func (*NullableMarketingEventDefaultResponse) Set

func (*NullableMarketingEventDefaultResponse) UnmarshalJSON

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

func (*NullableMarketingEventDefaultResponse) Unset

type NullableMarketingEventEmailSubscriber

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

func (NullableMarketingEventEmailSubscriber) Get

func (NullableMarketingEventEmailSubscriber) IsSet

func (NullableMarketingEventEmailSubscriber) MarshalJSON

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

func (*NullableMarketingEventEmailSubscriber) Set

func (*NullableMarketingEventEmailSubscriber) UnmarshalJSON

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

func (*NullableMarketingEventEmailSubscriber) Unset

type NullableMarketingEventExternalUniqueIdentifier

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

func (NullableMarketingEventExternalUniqueIdentifier) Get

func (NullableMarketingEventExternalUniqueIdentifier) IsSet

func (NullableMarketingEventExternalUniqueIdentifier) MarshalJSON

func (*NullableMarketingEventExternalUniqueIdentifier) Set

func (*NullableMarketingEventExternalUniqueIdentifier) UnmarshalJSON

func (*NullableMarketingEventExternalUniqueIdentifier) Unset

type NullableMarketingEventPublicDefaultResponse

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

func (NullableMarketingEventPublicDefaultResponse) Get

func (NullableMarketingEventPublicDefaultResponse) IsSet

func (NullableMarketingEventPublicDefaultResponse) MarshalJSON

func (*NullableMarketingEventPublicDefaultResponse) Set

func (*NullableMarketingEventPublicDefaultResponse) UnmarshalJSON

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

func (*NullableMarketingEventPublicDefaultResponse) Unset

type NullableMarketingEventPublicReadResponse

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

func (NullableMarketingEventPublicReadResponse) Get

func (NullableMarketingEventPublicReadResponse) IsSet

func (NullableMarketingEventPublicReadResponse) MarshalJSON

func (*NullableMarketingEventPublicReadResponse) Set

func (*NullableMarketingEventPublicReadResponse) UnmarshalJSON

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

func (*NullableMarketingEventPublicReadResponse) Unset

type NullableMarketingEventSubscriber

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

func (NullableMarketingEventSubscriber) Get

func (NullableMarketingEventSubscriber) IsSet

func (NullableMarketingEventSubscriber) MarshalJSON

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

func (*NullableMarketingEventSubscriber) Set

func (*NullableMarketingEventSubscriber) UnmarshalJSON

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

func (*NullableMarketingEventSubscriber) Unset

type NullableMarketingEventUpdateRequestParams

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

func (NullableMarketingEventUpdateRequestParams) Get

func (NullableMarketingEventUpdateRequestParams) IsSet

func (NullableMarketingEventUpdateRequestParams) MarshalJSON

func (*NullableMarketingEventUpdateRequestParams) Set

func (*NullableMarketingEventUpdateRequestParams) UnmarshalJSON

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

func (*NullableMarketingEventUpdateRequestParams) Unset

type NullablePropertyValue

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

func NewNullablePropertyValue

func NewNullablePropertyValue(val *PropertyValue) *NullablePropertyValue

func (NullablePropertyValue) Get

func (NullablePropertyValue) IsSet

func (v NullablePropertyValue) IsSet() bool

func (NullablePropertyValue) MarshalJSON

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

func (*NullablePropertyValue) Set

func (v *NullablePropertyValue) Set(val *PropertyValue)

func (*NullablePropertyValue) UnmarshalJSON

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

func (*NullablePropertyValue) Unset

func (v *NullablePropertyValue) 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 NullableSubscriberEmailResponse

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

func (NullableSubscriberEmailResponse) Get

func (NullableSubscriberEmailResponse) IsSet

func (NullableSubscriberEmailResponse) MarshalJSON

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

func (*NullableSubscriberEmailResponse) Set

func (*NullableSubscriberEmailResponse) UnmarshalJSON

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

func (*NullableSubscriberEmailResponse) Unset

type NullableSubscriberVidResponse

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

func (NullableSubscriberVidResponse) Get

func (NullableSubscriberVidResponse) IsSet

func (NullableSubscriberVidResponse) MarshalJSON

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

func (*NullableSubscriberVidResponse) Set

func (*NullableSubscriberVidResponse) UnmarshalJSON

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

func (*NullableSubscriberVidResponse) Unset

func (v *NullableSubscriberVidResponse) 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 PropertyValue

type PropertyValue struct {
	Name                    string  `json:"name"`
	Value                   string  `json:"value"`
	Timestamp               int64   `json:"timestamp"`
	SourceId                string  `json:"sourceId"`
	SourceLabel             string  `json:"sourceLabel"`
	Source                  string  `json:"source"`
	SelectedByUser          bool    `json:"selectedByUser"`
	SelectedByUserTimestamp int64   `json:"selectedByUserTimestamp"`
	SourceVid               []int64 `json:"sourceVid"`
	// Source metadata encoded as a base64 string. For example: `ZXhhbXBsZSBzdHJpbmc=`
	SourceMetadata  string `json:"sourceMetadata"`
	RequestId       string `json:"requestId"`
	UpdatedByUserId *int32 `json:"updatedByUserId,omitempty"`
}

PropertyValue struct for PropertyValue

func NewPropertyValue

func NewPropertyValue(name string, value string, timestamp int64, sourceId string, sourceLabel string, source string, selectedByUser bool, selectedByUserTimestamp int64, sourceVid []int64, sourceMetadata string, requestId string) *PropertyValue

NewPropertyValue instantiates a new PropertyValue 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 NewPropertyValueWithDefaults

func NewPropertyValueWithDefaults() *PropertyValue

NewPropertyValueWithDefaults instantiates a new PropertyValue 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 (*PropertyValue) GetName

func (o *PropertyValue) GetName() string

GetName returns the Name field value

func (*PropertyValue) GetNameOk

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

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

func (*PropertyValue) GetRequestId

func (o *PropertyValue) GetRequestId() string

GetRequestId returns the RequestId field value

func (*PropertyValue) GetRequestIdOk

func (o *PropertyValue) GetRequestIdOk() (*string, bool)

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

func (*PropertyValue) GetSelectedByUser

func (o *PropertyValue) GetSelectedByUser() bool

GetSelectedByUser returns the SelectedByUser field value

func (*PropertyValue) GetSelectedByUserOk

func (o *PropertyValue) GetSelectedByUserOk() (*bool, bool)

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

func (*PropertyValue) GetSelectedByUserTimestamp

func (o *PropertyValue) GetSelectedByUserTimestamp() int64

GetSelectedByUserTimestamp returns the SelectedByUserTimestamp field value

func (*PropertyValue) GetSelectedByUserTimestampOk

func (o *PropertyValue) GetSelectedByUserTimestampOk() (*int64, bool)

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

func (*PropertyValue) GetSource

func (o *PropertyValue) GetSource() string

GetSource returns the Source field value

func (*PropertyValue) GetSourceId

func (o *PropertyValue) GetSourceId() string

GetSourceId returns the SourceId field value

func (*PropertyValue) GetSourceIdOk

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

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

func (*PropertyValue) GetSourceLabel

func (o *PropertyValue) GetSourceLabel() string

GetSourceLabel returns the SourceLabel field value

func (*PropertyValue) GetSourceLabelOk

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

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

func (*PropertyValue) GetSourceMetadata

func (o *PropertyValue) GetSourceMetadata() string

GetSourceMetadata returns the SourceMetadata field value

func (*PropertyValue) GetSourceMetadataOk

func (o *PropertyValue) GetSourceMetadataOk() (*string, bool)

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

func (*PropertyValue) GetSourceOk

func (o *PropertyValue) GetSourceOk() (*string, bool)

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

func (*PropertyValue) GetSourceVid

func (o *PropertyValue) GetSourceVid() []int64

GetSourceVid returns the SourceVid field value

func (*PropertyValue) GetSourceVidOk

func (o *PropertyValue) GetSourceVidOk() ([]int64, bool)

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

func (*PropertyValue) GetTimestamp

func (o *PropertyValue) GetTimestamp() int64

GetTimestamp returns the Timestamp field value

func (*PropertyValue) GetTimestampOk

func (o *PropertyValue) GetTimestampOk() (*int64, bool)

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

func (*PropertyValue) GetUpdatedByUserId

func (o *PropertyValue) GetUpdatedByUserId() int32

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

func (*PropertyValue) GetUpdatedByUserIdOk

func (o *PropertyValue) 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 (*PropertyValue) GetValue

func (o *PropertyValue) GetValue() string

GetValue returns the Value field value

func (*PropertyValue) GetValueOk

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

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

func (*PropertyValue) HasUpdatedByUserId

func (o *PropertyValue) HasUpdatedByUserId() bool

HasUpdatedByUserId returns a boolean if a field has been set.

func (PropertyValue) MarshalJSON

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

func (*PropertyValue) SetName

func (o *PropertyValue) SetName(v string)

SetName sets field value

func (*PropertyValue) SetRequestId

func (o *PropertyValue) SetRequestId(v string)

SetRequestId sets field value

func (*PropertyValue) SetSelectedByUser

func (o *PropertyValue) SetSelectedByUser(v bool)

SetSelectedByUser sets field value

func (*PropertyValue) SetSelectedByUserTimestamp

func (o *PropertyValue) SetSelectedByUserTimestamp(v int64)

SetSelectedByUserTimestamp sets field value

func (*PropertyValue) SetSource

func (o *PropertyValue) SetSource(v string)

SetSource sets field value

func (*PropertyValue) SetSourceId

func (o *PropertyValue) SetSourceId(v string)

SetSourceId sets field value

func (*PropertyValue) SetSourceLabel

func (o *PropertyValue) SetSourceLabel(v string)

SetSourceLabel sets field value

func (*PropertyValue) SetSourceMetadata

func (o *PropertyValue) SetSourceMetadata(v string)

SetSourceMetadata sets field value

func (*PropertyValue) SetSourceVid

func (o *PropertyValue) SetSourceVid(v []int64)

SetSourceVid sets field value

func (*PropertyValue) SetTimestamp

func (o *PropertyValue) SetTimestamp(v int64)

SetTimestamp sets field value

func (*PropertyValue) SetUpdatedByUserId

func (o *PropertyValue) SetUpdatedByUserId(v int32)

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

func (*PropertyValue) SetValue

func (o *PropertyValue) SetValue(v string)

SetValue sets field value

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 SettingsExternalApiService

type SettingsExternalApiService service

SettingsExternalApiService SettingsExternalApi service

func (*SettingsExternalApiService) SettingsCreate

SettingsCreate Method for SettingsCreate

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

func (*SettingsExternalApiService) SettingsCreateExecute

Execute executes the request

@return EventDetailSettings

func (*SettingsExternalApiService) SettingsGetAll

SettingsGetAll Method for SettingsGetAll

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

func (*SettingsExternalApiService) SettingsGetAllExecute

Execute executes the request

@return EventDetailSettings

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 SubscriberEmailResponse

type SubscriberEmailResponse struct {
	Vid   int32  `json:"vid"`
	Email string `json:"email"`
}

SubscriberEmailResponse struct for SubscriberEmailResponse

func NewSubscriberEmailResponse

func NewSubscriberEmailResponse(vid int32, email string) *SubscriberEmailResponse

NewSubscriberEmailResponse instantiates a new SubscriberEmailResponse 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 NewSubscriberEmailResponseWithDefaults

func NewSubscriberEmailResponseWithDefaults() *SubscriberEmailResponse

NewSubscriberEmailResponseWithDefaults instantiates a new SubscriberEmailResponse 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 (*SubscriberEmailResponse) GetEmail

func (o *SubscriberEmailResponse) GetEmail() string

GetEmail returns the Email field value

func (*SubscriberEmailResponse) GetEmailOk

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

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

func (*SubscriberEmailResponse) GetVid

func (o *SubscriberEmailResponse) GetVid() int32

GetVid returns the Vid field value

func (*SubscriberEmailResponse) GetVidOk

func (o *SubscriberEmailResponse) GetVidOk() (*int32, bool)

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

func (SubscriberEmailResponse) MarshalJSON

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

func (*SubscriberEmailResponse) SetEmail

func (o *SubscriberEmailResponse) SetEmail(v string)

SetEmail sets field value

func (*SubscriberEmailResponse) SetVid

func (o *SubscriberEmailResponse) SetVid(v int32)

SetVid sets field value

type SubscriberVidResponse

type SubscriberVidResponse struct {
	Vid int32 `json:"vid"`
}

SubscriberVidResponse struct for SubscriberVidResponse

func NewSubscriberVidResponse

func NewSubscriberVidResponse(vid int32) *SubscriberVidResponse

NewSubscriberVidResponse instantiates a new SubscriberVidResponse 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 NewSubscriberVidResponseWithDefaults

func NewSubscriberVidResponseWithDefaults() *SubscriberVidResponse

NewSubscriberVidResponseWithDefaults instantiates a new SubscriberVidResponse 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 (*SubscriberVidResponse) GetVid

func (o *SubscriberVidResponse) GetVid() int32

GetVid returns the Vid field value

func (*SubscriberVidResponse) GetVidOk

func (o *SubscriberVidResponse) GetVidOk() (*int32, bool)

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

func (SubscriberVidResponse) MarshalJSON

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

func (*SubscriberVidResponse) SetVid

func (o *SubscriberVidResponse) SetVid(v int32)

SetVid sets field value

Jump to

Keyboard shortcuts

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