blog_posts

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 blog_posts

Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags

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 blog_posts "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(), blog_posts.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(), blog_posts.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(), blog_posts.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), blog_posts.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
BlogPostsApi Archive Delete /cms/v3/blogs/posts/{objectId} Delete a Blog Post
BlogPostsApi AttachToLanguageGroup Post /cms/v3/blogs/posts/multi-language/attach-to-lang-group Attach a Blog Post to a multi-language group
BlogPostsApi BatchArchive Post /cms/v3/blogs/posts/batch/archive Delete a batch of Blog Posts
BlogPostsApi BatchCreate Post /cms/v3/blogs/posts/batch/create Create a batch of Blog Posts
BlogPostsApi BatchRead Post /cms/v3/blogs/posts/batch/read Retrieve a batch of Blog Posts
BlogPostsApi BatchUpdate Post /cms/v3/blogs/posts/batch/update Update a batch of Blog Posts
BlogPostsApi Clone Post /cms/v3/blogs/posts/clone Clone a Blog Post
BlogPostsApi Create Post /cms/v3/blogs/posts Create a new Blog Post
BlogPostsApi CreateLanguageVariation Post /cms/v3/blogs/posts/multi-language/create-language-variation Create a new language variation
BlogPostsApi DetachFromLanguageGroup Post /cms/v3/blogs/posts/multi-language/detach-from-lang-group Detach a Blog Post from a multi-language group
BlogPostsApi GetByID Get /cms/v3/blogs/posts/{objectId} Retrieve a Blog Post
BlogPostsApi GetDraftByID Get /cms/v3/blogs/posts/{objectId}/draft Retrieve the full draft version of the Blog Post
BlogPostsApi GetPage Get /cms/v3/blogs/posts Get all Blog Posts
BlogPostsApi GetPreviousVersion Get /cms/v3/blogs/posts/{objectId}/revisions/{revisionId} Retrieves a previous version of a blog post
BlogPostsApi GetPreviousVersions Get /cms/v3/blogs/posts/{objectId}/revisions Retrieves all the previous versions of a blog post
BlogPostsApi PushLive Post /cms/v3/blogs/posts/{objectId}/draft/push-live Push Blog Post draft edits live
BlogPostsApi ResetDraft Post /cms/v3/blogs/posts/{objectId}/draft/reset Reset the Blog Post draft to the live version
BlogPostsApi RestorePreviousVersion Post /cms/v3/blogs/posts/{objectId}/revisions/{revisionId}/restore Restore a previous version of a blog post
BlogPostsApi RestorePreviousVersionToDraft Post /cms/v3/blogs/posts/{objectId}/revisions/{revisionId}/restore-to-draft Restore a previous version of a blog post, to the draft version of the blog post
BlogPostsApi Schedule Post /cms/v3/blogs/posts/schedule Schedule a Blog Post to be Published
BlogPostsApi SetLanguagePrimary Put /cms/v3/blogs/posts/multi-language/set-new-lang-primary Set a new primary language
BlogPostsApi Update Patch /cms/v3/blogs/posts/{objectId} Update a Blog Post
BlogPostsApi UpdateDraft Patch /cms/v3/blogs/posts/{objectId}/draft Update a Blog Post draft
BlogPostsApi UpdateLanguages Post /cms/v3/blogs/posts/multi-language/update-languages Update languages of multi-language group

Documentation For Models

Documentation For Authorization

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

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

oauth2_legacy

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 {
	BlogPostsApi *BlogPostsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Blog Post endpoints 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 Angle

type Angle struct {
	Value float32 `json:"value"`
	Units string  `json:"units"`
}

Angle struct for Angle

func NewAngle

func NewAngle(value float32, units string) *Angle

NewAngle instantiates a new Angle 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 NewAngleWithDefaults

func NewAngleWithDefaults() *Angle

NewAngleWithDefaults instantiates a new Angle 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 (*Angle) GetUnits

func (o *Angle) GetUnits() string

GetUnits returns the Units field value

func (*Angle) GetUnitsOk

func (o *Angle) GetUnitsOk() (*string, bool)

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

func (*Angle) GetValue

func (o *Angle) GetValue() float32

GetValue returns the Value field value

func (*Angle) GetValueOk

func (o *Angle) GetValueOk() (*float32, bool)

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

func (Angle) MarshalJSON

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

func (*Angle) SetUnits

func (o *Angle) SetUnits(v string)

SetUnits sets field value

func (*Angle) SetValue

func (o *Angle) SetValue(v float32)

SetValue sets field value

type ApiArchiveRequest

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

func (ApiArchiveRequest) Archived

func (r ApiArchiveRequest) Archived(archived bool) ApiArchiveRequest

Whether to return only results that have been archived.

func (ApiArchiveRequest) Execute

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

type ApiAttachToLanguageGroupRequest

type ApiAttachToLanguageGroupRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiAttachToLanguageGroupRequest) AttachToLangPrimaryRequestVNext

func (r ApiAttachToLanguageGroupRequest) AttachToLangPrimaryRequestVNext(attachToLangPrimaryRequestVNext AttachToLangPrimaryRequestVNext) ApiAttachToLanguageGroupRequest

The JSON representation of the AttachToLangPrimaryRequest object.

func (ApiAttachToLanguageGroupRequest) Execute

type ApiBatchArchiveRequest

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

func (ApiBatchArchiveRequest) BatchInputString

func (r ApiBatchArchiveRequest) BatchInputString(batchInputString BatchInputString) ApiBatchArchiveRequest

The JSON array of Blog Post ids.

func (ApiBatchArchiveRequest) Execute

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

type ApiBatchCreateRequest

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

func (ApiBatchCreateRequest) BatchInputBlogPost

func (r ApiBatchCreateRequest) BatchInputBlogPost(batchInputBlogPost BatchInputBlogPost) ApiBatchCreateRequest

The JSON array of new Blog Posts to create.

func (ApiBatchCreateRequest) Execute

type ApiBatchReadRequest

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

func (ApiBatchReadRequest) Archived

func (r ApiBatchReadRequest) Archived(archived bool) ApiBatchReadRequest

Specifies whether to return deleted Blog Posts. Defaults to `false`.

func (ApiBatchReadRequest) BatchInputString

func (r ApiBatchReadRequest) BatchInputString(batchInputString BatchInputString) ApiBatchReadRequest

The JSON array of Blog Post ids.

func (ApiBatchReadRequest) Execute

type ApiBatchUpdateRequest

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

func (ApiBatchUpdateRequest) Archived

func (r ApiBatchUpdateRequest) Archived(archived bool) ApiBatchUpdateRequest

Specifies whether to update deleted Blog Posts. Defaults to `false`.

func (ApiBatchUpdateRequest) BatchInputJsonNode

func (r ApiBatchUpdateRequest) BatchInputJsonNode(batchInputJsonNode BatchInputJsonNode) ApiBatchUpdateRequest

A JSON array of the JSON representations of the updated Blog Posts.

func (ApiBatchUpdateRequest) Execute

type ApiCloneRequest

type ApiCloneRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiCloneRequest) ContentCloneRequestVNext

func (r ApiCloneRequest) ContentCloneRequestVNext(contentCloneRequestVNext ContentCloneRequestVNext) ApiCloneRequest

The JSON representation of the ContentCloneRequest object.

func (ApiCloneRequest) Execute

func (r ApiCloneRequest) Execute() (*BlogPost, *http.Response, error)

type ApiCreateLanguageVariationRequest

type ApiCreateLanguageVariationRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiCreateLanguageVariationRequest) BlogPostLanguageCloneRequestVNext

func (r ApiCreateLanguageVariationRequest) BlogPostLanguageCloneRequestVNext(blogPostLanguageCloneRequestVNext BlogPostLanguageCloneRequestVNext) ApiCreateLanguageVariationRequest

The JSON representation of the BlogPostLanguageCloneRequestVNext object.

func (ApiCreateLanguageVariationRequest) Execute

type ApiCreateRequest

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

func (ApiCreateRequest) BlogPost

func (r ApiCreateRequest) BlogPost(blogPost BlogPost) ApiCreateRequest

The JSON representation of a new Blog Post.

func (ApiCreateRequest) Execute

func (r ApiCreateRequest) Execute() (*BlogPost, *http.Response, error)

type ApiDetachFromLanguageGroupRequest

type ApiDetachFromLanguageGroupRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiDetachFromLanguageGroupRequest) DetachFromLangGroupRequestVNext

func (r ApiDetachFromLanguageGroupRequest) DetachFromLangGroupRequestVNext(detachFromLangGroupRequestVNext DetachFromLangGroupRequestVNext) ApiDetachFromLanguageGroupRequest

The JSON representation of the DetachFromLangGroupRequest object.

func (ApiDetachFromLanguageGroupRequest) Execute

type ApiGetByIDRequest

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

func (ApiGetByIDRequest) Archived

func (r ApiGetByIDRequest) Archived(archived bool) ApiGetByIDRequest

Specifies whether to return deleted Blog Posts. Defaults to `false`.

func (ApiGetByIDRequest) Execute

func (r ApiGetByIDRequest) Execute() (*BlogPost, *http.Response, error)

type ApiGetDraftByIDRequest

type ApiGetDraftByIDRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiGetDraftByIDRequest) Execute

type ApiGetPageRequest

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

func (ApiGetPageRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetPageRequest) Archived

func (r ApiGetPageRequest) Archived(archived bool) ApiGetPageRequest

Specifies whether to return deleted Blog Posts. Defaults to `false`.

func (ApiGetPageRequest) CreatedAfter

func (r ApiGetPageRequest) CreatedAfter(createdAfter time.Time) ApiGetPageRequest

Only return Blog Posts created after the specified time.

func (ApiGetPageRequest) CreatedAt

func (r ApiGetPageRequest) CreatedAt(createdAt time.Time) ApiGetPageRequest

Only return Blog Posts created at exactly the specified time.

func (ApiGetPageRequest) CreatedBefore

func (r ApiGetPageRequest) CreatedBefore(createdBefore time.Time) ApiGetPageRequest

Only return Blog Posts created before the specified time.

func (ApiGetPageRequest) Limit

func (r ApiGetPageRequest) Limit(limit int32) ApiGetPageRequest

The maximum number of results to return. Default is 20.

func (ApiGetPageRequest) Sort

Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.

func (ApiGetPageRequest) UpdatedAfter

func (r ApiGetPageRequest) UpdatedAfter(updatedAfter time.Time) ApiGetPageRequest

Only return Blog Posts last updated after the specified time.

func (ApiGetPageRequest) UpdatedAt

func (r ApiGetPageRequest) UpdatedAt(updatedAt time.Time) ApiGetPageRequest

Only return Blog Posts last updated at exactly the specified time.

func (ApiGetPageRequest) UpdatedBefore

func (r ApiGetPageRequest) UpdatedBefore(updatedBefore time.Time) ApiGetPageRequest

Only return Blog Posts last updated before the specified time.

type ApiGetPreviousVersionRequest

type ApiGetPreviousVersionRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiGetPreviousVersionRequest) Execute

type ApiGetPreviousVersionsRequest

type ApiGetPreviousVersionsRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiGetPreviousVersionsRequest) After

The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetPreviousVersionsRequest) Before

func (ApiGetPreviousVersionsRequest) Execute

func (ApiGetPreviousVersionsRequest) Limit

The maximum number of results to return. Default is 100.

type ApiPushLiveRequest

type ApiPushLiveRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiPushLiveRequest) Execute

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

type ApiResetDraftRequest

type ApiResetDraftRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiResetDraftRequest) Execute

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

type ApiRestorePreviousVersionRequest

type ApiRestorePreviousVersionRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiRestorePreviousVersionRequest) Execute

type ApiRestorePreviousVersionToDraftRequest

type ApiRestorePreviousVersionToDraftRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiRestorePreviousVersionToDraftRequest) Execute

type ApiScheduleRequest

type ApiScheduleRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiScheduleRequest) ContentScheduleRequestVNext

func (r ApiScheduleRequest) ContentScheduleRequestVNext(contentScheduleRequestVNext ContentScheduleRequestVNext) ApiScheduleRequest

The JSON representation of the ContentScheduleRequestVNext object.

func (ApiScheduleRequest) Execute

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

type ApiSetLanguagePrimaryRequest

type ApiSetLanguagePrimaryRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiSetLanguagePrimaryRequest) Execute

func (ApiSetLanguagePrimaryRequest) SetNewLanguagePrimaryRequestVNext

func (r ApiSetLanguagePrimaryRequest) SetNewLanguagePrimaryRequestVNext(setNewLanguagePrimaryRequestVNext SetNewLanguagePrimaryRequestVNext) ApiSetLanguagePrimaryRequest

The JSON representation of the SetNewLanguagePrimaryRequest object.

type ApiUpdateDraftRequest

type ApiUpdateDraftRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDraftRequest) BlogPost

The JSON representation of the updated Blog Post to be applied to the draft.

func (ApiUpdateDraftRequest) Execute

func (r ApiUpdateDraftRequest) Execute() (*BlogPost, *http.Response, error)

type ApiUpdateLanguagesRequest

type ApiUpdateLanguagesRequest struct {
	ApiService *BlogPostsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateLanguagesRequest) Execute

func (ApiUpdateLanguagesRequest) UpdateLanguagesRequestVNext

func (r ApiUpdateLanguagesRequest) UpdateLanguagesRequestVNext(updateLanguagesRequestVNext UpdateLanguagesRequestVNext) ApiUpdateLanguagesRequest

The JSON representation of the SetNewLanguagePrimaryRequest object.

type ApiUpdateRequest

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

func (ApiUpdateRequest) Archived

func (r ApiUpdateRequest) Archived(archived bool) ApiUpdateRequest

Specifies whether to update deleted Blog Posts. Defaults to `false`.

func (ApiUpdateRequest) BlogPost

func (r ApiUpdateRequest) BlogPost(blogPost BlogPost) ApiUpdateRequest

The JSON representation of the updated Blog Post.

func (ApiUpdateRequest) Execute

func (r ApiUpdateRequest) Execute() (*BlogPost, *http.Response, error)

type AttachToLangPrimaryRequestVNext

type AttachToLangPrimaryRequestVNext struct {
	// ID of the object to add to a multi-language group.
	Id string `json:"id"`
	// Designated language of the object to add to a multi-language group.
	Language string `json:"language"`
	// ID of primary language object in multi-language group.
	PrimaryId string `json:"primaryId"`
	// Primary language of the multi-language group.
	PrimaryLanguage *string `json:"primaryLanguage,omitempty"`
}

AttachToLangPrimaryRequestVNext Request body object fro attaching objects to multi-language groups.

func NewAttachToLangPrimaryRequestVNext

func NewAttachToLangPrimaryRequestVNext(id string, language string, primaryId string) *AttachToLangPrimaryRequestVNext

NewAttachToLangPrimaryRequestVNext instantiates a new AttachToLangPrimaryRequestVNext 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 NewAttachToLangPrimaryRequestVNextWithDefaults

func NewAttachToLangPrimaryRequestVNextWithDefaults() *AttachToLangPrimaryRequestVNext

NewAttachToLangPrimaryRequestVNextWithDefaults instantiates a new AttachToLangPrimaryRequestVNext 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 (*AttachToLangPrimaryRequestVNext) GetId

GetId returns the Id field value

func (*AttachToLangPrimaryRequestVNext) GetIdOk

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

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

func (*AttachToLangPrimaryRequestVNext) GetLanguage

func (o *AttachToLangPrimaryRequestVNext) GetLanguage() string

GetLanguage returns the Language field value

func (*AttachToLangPrimaryRequestVNext) GetLanguageOk

func (o *AttachToLangPrimaryRequestVNext) GetLanguageOk() (*string, bool)

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

func (*AttachToLangPrimaryRequestVNext) GetPrimaryId

func (o *AttachToLangPrimaryRequestVNext) GetPrimaryId() string

GetPrimaryId returns the PrimaryId field value

func (*AttachToLangPrimaryRequestVNext) GetPrimaryIdOk

func (o *AttachToLangPrimaryRequestVNext) GetPrimaryIdOk() (*string, bool)

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

func (*AttachToLangPrimaryRequestVNext) GetPrimaryLanguage

func (o *AttachToLangPrimaryRequestVNext) GetPrimaryLanguage() string

GetPrimaryLanguage returns the PrimaryLanguage field value if set, zero value otherwise.

func (*AttachToLangPrimaryRequestVNext) GetPrimaryLanguageOk

func (o *AttachToLangPrimaryRequestVNext) GetPrimaryLanguageOk() (*string, bool)

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

func (*AttachToLangPrimaryRequestVNext) HasPrimaryLanguage

func (o *AttachToLangPrimaryRequestVNext) HasPrimaryLanguage() bool

HasPrimaryLanguage returns a boolean if a field has been set.

func (AttachToLangPrimaryRequestVNext) MarshalJSON

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

func (*AttachToLangPrimaryRequestVNext) SetId

SetId sets field value

func (*AttachToLangPrimaryRequestVNext) SetLanguage

func (o *AttachToLangPrimaryRequestVNext) SetLanguage(v string)

SetLanguage sets field value

func (*AttachToLangPrimaryRequestVNext) SetPrimaryId

func (o *AttachToLangPrimaryRequestVNext) SetPrimaryId(v string)

SetPrimaryId sets field value

func (*AttachToLangPrimaryRequestVNext) SetPrimaryLanguage

func (o *AttachToLangPrimaryRequestVNext) SetPrimaryLanguage(v string)

SetPrimaryLanguage gets a reference to the given string and assigns it to the PrimaryLanguage field.

type BackgroundImage

type BackgroundImage struct {
	ImageUrl           string `json:"imageUrl"`
	BackgroundSize     string `json:"backgroundSize"`
	BackgroundPosition string `json:"backgroundPosition"`
}

BackgroundImage struct for BackgroundImage

func NewBackgroundImage

func NewBackgroundImage(imageUrl string, backgroundSize string, backgroundPosition string) *BackgroundImage

NewBackgroundImage instantiates a new BackgroundImage 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 NewBackgroundImageWithDefaults

func NewBackgroundImageWithDefaults() *BackgroundImage

NewBackgroundImageWithDefaults instantiates a new BackgroundImage 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 (*BackgroundImage) GetBackgroundPosition

func (o *BackgroundImage) GetBackgroundPosition() string

GetBackgroundPosition returns the BackgroundPosition field value

func (*BackgroundImage) GetBackgroundPositionOk

func (o *BackgroundImage) GetBackgroundPositionOk() (*string, bool)

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

func (*BackgroundImage) GetBackgroundSize

func (o *BackgroundImage) GetBackgroundSize() string

GetBackgroundSize returns the BackgroundSize field value

func (*BackgroundImage) GetBackgroundSizeOk

func (o *BackgroundImage) GetBackgroundSizeOk() (*string, bool)

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

func (*BackgroundImage) GetImageUrl

func (o *BackgroundImage) GetImageUrl() string

GetImageUrl returns the ImageUrl field value

func (*BackgroundImage) GetImageUrlOk

func (o *BackgroundImage) GetImageUrlOk() (*string, bool)

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

func (BackgroundImage) MarshalJSON

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

func (*BackgroundImage) SetBackgroundPosition

func (o *BackgroundImage) SetBackgroundPosition(v string)

SetBackgroundPosition sets field value

func (*BackgroundImage) SetBackgroundSize

func (o *BackgroundImage) SetBackgroundSize(v string)

SetBackgroundSize sets field value

func (*BackgroundImage) SetImageUrl

func (o *BackgroundImage) SetImageUrl(v string)

SetImageUrl sets field value

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 BatchInputBlogPost

type BatchInputBlogPost struct {
	// Blog posts to input.
	Inputs []BlogPost `json:"inputs"`
}

BatchInputBlogPost Wrapper for providing an array of blog posts as inputs.

func NewBatchInputBlogPost

func NewBatchInputBlogPost(inputs []BlogPost) *BatchInputBlogPost

NewBatchInputBlogPost instantiates a new BatchInputBlogPost 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 NewBatchInputBlogPostWithDefaults

func NewBatchInputBlogPostWithDefaults() *BatchInputBlogPost

NewBatchInputBlogPostWithDefaults instantiates a new BatchInputBlogPost 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 (*BatchInputBlogPost) GetInputs

func (o *BatchInputBlogPost) GetInputs() []BlogPost

GetInputs returns the Inputs field value

func (*BatchInputBlogPost) GetInputsOk

func (o *BatchInputBlogPost) GetInputsOk() ([]BlogPost, bool)

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

func (BatchInputBlogPost) MarshalJSON

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

func (*BatchInputBlogPost) SetInputs

func (o *BatchInputBlogPost) SetInputs(v []BlogPost)

SetInputs sets field value

type BatchInputJsonNode

type BatchInputJsonNode struct {
	// JSON nodes to input.
	Inputs []map[string]interface{} `json:"inputs"`
}

BatchInputJsonNode Wrapper for providing an array of JSON nodes as inputs.

func NewBatchInputJsonNode

func NewBatchInputJsonNode(inputs []map[string]interface{}) *BatchInputJsonNode

NewBatchInputJsonNode instantiates a new BatchInputJsonNode 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 NewBatchInputJsonNodeWithDefaults

func NewBatchInputJsonNodeWithDefaults() *BatchInputJsonNode

NewBatchInputJsonNodeWithDefaults instantiates a new BatchInputJsonNode 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 (*BatchInputJsonNode) GetInputs

func (o *BatchInputJsonNode) GetInputs() []map[string]interface{}

GetInputs returns the Inputs field value

func (*BatchInputJsonNode) GetInputsOk

func (o *BatchInputJsonNode) GetInputsOk() ([]map[string]interface{}, bool)

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

func (BatchInputJsonNode) MarshalJSON

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

func (*BatchInputJsonNode) SetInputs

func (o *BatchInputJsonNode) SetInputs(v []map[string]interface{})

SetInputs sets field value

type BatchInputString

type BatchInputString struct {
	// Strings to input.
	Inputs []string `json:"inputs"`
}

BatchInputString Wrapper for providing an array of strings as inputs.

func NewBatchInputString

func NewBatchInputString(inputs []string) *BatchInputString

NewBatchInputString instantiates a new BatchInputString 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 NewBatchInputStringWithDefaults

func NewBatchInputStringWithDefaults() *BatchInputString

NewBatchInputStringWithDefaults instantiates a new BatchInputString 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 (*BatchInputString) GetInputs

func (o *BatchInputString) GetInputs() []string

GetInputs returns the Inputs field value

func (*BatchInputString) GetInputsOk

func (o *BatchInputString) GetInputsOk() ([]string, bool)

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

func (BatchInputString) MarshalJSON

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

func (*BatchInputString) SetInputs

func (o *BatchInputString) SetInputs(v []string)

SetInputs sets field value

type BatchResponseBlogPost

type BatchResponseBlogPost struct {
	// Status of batch operation.
	Status string `json:"status"`
	// Results of batch operation.
	Results []BlogPost `json:"results"`
	// Time of batch operation request.
	RequestedAt *time.Time `json:"requestedAt,omitempty"`
	// Time of batch operation start.
	StartedAt time.Time `json:"startedAt"`
	// Time of batch operation completion.
	CompletedAt time.Time `json:"completedAt"`
	// Links associated with batch operation.
	Links *map[string]string `json:"links,omitempty"`
}

BatchResponseBlogPost Response object for batch operations on blog posts.

func NewBatchResponseBlogPost

func NewBatchResponseBlogPost(status string, results []BlogPost, startedAt time.Time, completedAt time.Time) *BatchResponseBlogPost

NewBatchResponseBlogPost instantiates a new BatchResponseBlogPost 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 NewBatchResponseBlogPostWithDefaults

func NewBatchResponseBlogPostWithDefaults() *BatchResponseBlogPost

NewBatchResponseBlogPostWithDefaults instantiates a new BatchResponseBlogPost 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 (*BatchResponseBlogPost) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseBlogPost) GetCompletedAtOk

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

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

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

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

func (*BatchResponseBlogPost) GetLinksOk

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

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

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

func (*BatchResponseBlogPost) GetRequestedAtOk

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

func (o *BatchResponseBlogPost) GetResults() []BlogPost

GetResults returns the Results field value

func (*BatchResponseBlogPost) GetResultsOk

func (o *BatchResponseBlogPost) GetResultsOk() ([]BlogPost, bool)

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

func (*BatchResponseBlogPost) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*BatchResponseBlogPost) GetStartedAtOk

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

func (o *BatchResponseBlogPost) GetStatus() string

GetStatus returns the Status field value

func (*BatchResponseBlogPost) GetStatusOk

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

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

func (o *BatchResponseBlogPost) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BatchResponseBlogPost) HasRequestedAt

func (o *BatchResponseBlogPost) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseBlogPost) MarshalJSON

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

func (*BatchResponseBlogPost) SetCompletedAt

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

SetCompletedAt sets field value

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

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

func (*BatchResponseBlogPost) SetRequestedAt

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

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

func (*BatchResponseBlogPost) SetResults

func (o *BatchResponseBlogPost) SetResults(v []BlogPost)

SetResults sets field value

func (*BatchResponseBlogPost) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseBlogPost) SetStatus

func (o *BatchResponseBlogPost) SetStatus(v string)

SetStatus sets field value

type BatchResponseBlogPostWithErrors

type BatchResponseBlogPostWithErrors struct {
	// Status of batch operation.
	Status string `json:"status"`
	// Results of batch operation.
	Results []BlogPost `json:"results"`
	// Number of errors.
	NumErrors *int32 `json:"numErrors,omitempty"`
	// Errors in batch operation.
	Errors []StandardError `json:"errors,omitempty"`
	// Time of batch operation request.
	RequestedAt *time.Time `json:"requestedAt,omitempty"`
	// Time of batch operation start.
	StartedAt time.Time `json:"startedAt"`
	// Time of batch operation completion.
	CompletedAt time.Time `json:"completedAt"`
	// Links associated with batch operation.
	Links *map[string]string `json:"links,omitempty"`
}

BatchResponseBlogPostWithErrors Response object for batch operations on blog posts with errors.

func NewBatchResponseBlogPostWithErrors

func NewBatchResponseBlogPostWithErrors(status string, results []BlogPost, startedAt time.Time, completedAt time.Time) *BatchResponseBlogPostWithErrors

NewBatchResponseBlogPostWithErrors instantiates a new BatchResponseBlogPostWithErrors 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 NewBatchResponseBlogPostWithErrorsWithDefaults

func NewBatchResponseBlogPostWithErrorsWithDefaults() *BatchResponseBlogPostWithErrors

NewBatchResponseBlogPostWithErrorsWithDefaults instantiates a new BatchResponseBlogPostWithErrors 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 (*BatchResponseBlogPostWithErrors) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseBlogPostWithErrors) GetCompletedAtOk

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

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

func (*BatchResponseBlogPostWithErrors) GetErrorsOk

func (o *BatchResponseBlogPostWithErrors) GetErrorsOk() ([]StandardError, 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 *BatchResponseBlogPostWithErrors) GetLinks() map[string]string

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

func (*BatchResponseBlogPostWithErrors) GetLinksOk

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

func (o *BatchResponseBlogPostWithErrors) GetNumErrors() int32

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

func (*BatchResponseBlogPostWithErrors) GetNumErrorsOk

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

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

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

func (*BatchResponseBlogPostWithErrors) GetRequestedAtOk

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

func (o *BatchResponseBlogPostWithErrors) GetResults() []BlogPost

GetResults returns the Results field value

func (*BatchResponseBlogPostWithErrors) GetResultsOk

func (o *BatchResponseBlogPostWithErrors) GetResultsOk() ([]BlogPost, bool)

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

func (*BatchResponseBlogPostWithErrors) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*BatchResponseBlogPostWithErrors) GetStartedAtOk

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

func (o *BatchResponseBlogPostWithErrors) GetStatus() string

GetStatus returns the Status field value

func (*BatchResponseBlogPostWithErrors) GetStatusOk

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

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

func (*BatchResponseBlogPostWithErrors) HasErrors

func (o *BatchResponseBlogPostWithErrors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (o *BatchResponseBlogPostWithErrors) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BatchResponseBlogPostWithErrors) HasNumErrors

func (o *BatchResponseBlogPostWithErrors) HasNumErrors() bool

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseBlogPostWithErrors) HasRequestedAt

func (o *BatchResponseBlogPostWithErrors) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseBlogPostWithErrors) MarshalJSON

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

func (*BatchResponseBlogPostWithErrors) SetCompletedAt

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

SetCompletedAt sets field value

func (*BatchResponseBlogPostWithErrors) SetErrors

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

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

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

func (*BatchResponseBlogPostWithErrors) SetNumErrors

func (o *BatchResponseBlogPostWithErrors) SetNumErrors(v int32)

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

func (*BatchResponseBlogPostWithErrors) SetRequestedAt

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

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

func (*BatchResponseBlogPostWithErrors) SetResults

func (o *BatchResponseBlogPostWithErrors) SetResults(v []BlogPost)

SetResults sets field value

func (*BatchResponseBlogPostWithErrors) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseBlogPostWithErrors) SetStatus

func (o *BatchResponseBlogPostWithErrors) SetStatus(v string)

SetStatus sets field value

type BlogPost

type BlogPost struct {
	// The unique ID of the Blog Post.
	Id string `json:"id"`
	// The path of the this blog post. This field is appended to the domain to construct the url of this post.
	Slug string `json:"slug"`
	// The ID of the parent Blog this Blog Post is associated with.
	ContentGroupId string `json:"contentGroupId"`
	// The GUID of the marketing campaign this Blog Post is a part of.
	Campaign string `json:"campaign"`
	// ID of the type of object this is. Should always .
	CategoryId int32 `json:"categoryId"`
	// An ENUM descibing the current state of this Blog Post.
	State string `json:"state"`
	// The internal name of the Blog Post.
	Name            string `json:"name"`
	MabExperimentId string `json:"mabExperimentId"`
	Archived        bool   `json:"archived"`
	// The name of the user that updated this Blog Post.
	AuthorName string `json:"authorName"`
	AbTestId   string `json:"abTestId"`
	// The ID of the user that created this Blog Post.
	CreatedById string `json:"createdById"`
	// The ID of the user that updated this Blog Post.
	UpdatedById string `json:"updatedById"`
	// The domain this Blog Post will resolve to. If null, the Blog Post will default to the domain of the ParentBlog.
	Domain   string `json:"domain"`
	AbStatus string `json:"abStatus"`
	FolderId string `json:"folderId"`
	// A data structure containing the data for all the modules inside the containers for this post. This will only be populated if the page has widget containers.
	WidgetContainers map[string]map[string]interface{} `json:"widgetContainers"`
	// A data structure containing the data for all the modules for this page.
	Widgets map[string]map[string]interface{} `json:"widgets"`
	// The explicitly defined ISO 639 language code of the Blog Post. If null, the Blog Post will default to the language of the ParentBlog.
	Language string `json:"language"`
	// ID of the primary blog post this object was translated from.
	TranslatedFromId          string                              `json:"translatedFromId"`
	Translations              map[string]ContentLanguageVariation `json:"translations"`
	DynamicPageDataSourceType int32                               `json:"dynamicPageDataSourceType"`
	DynamicPageDataSourceId   string                              `json:"dynamicPageDataSourceId"`
	// The ID of the Blog Author associated with this Blog Post.
	BlogAuthorId string `json:"blogAuthorId"`
	// List of IDs for the tags associated with this Blog Post.
	TagIds []int64 `json:"tagIds"`
	// The html title of this Blog Post.
	HtmlTitle string `json:"htmlTitle"`
	// Boolean to allow overriding the AMP settings for the blog.
	EnableGoogleAmpOutputOverride bool `json:"enableGoogleAmpOutputOverride"`
	// Boolean to determine if this post should use a featuredImage.
	UseFeaturedImage bool `json:"useFeaturedImage"`
	// The HTML of the main post body.
	PostBody string `json:"postBody"`
	// The summary of the blog post that will appear on the main listing page.
	PostSummary string `json:"postSummary"`
	// The contents of the RSS body for this Blog Post.
	RssBody string `json:"rssBody"`
	// The contents of the RSS summary for this Blog Post.
	RssSummary            string `json:"rssSummary"`
	CurrentlyPublished    bool   `json:"currentlyPublished"`
	PageExpiryEnabled     bool   `json:"pageExpiryEnabled"`
	PageExpiryRedirectId  int64  `json:"pageExpiryRedirectId"`
	PageExpiryRedirectUrl string `json:"pageExpiryRedirectUrl"`
	PageExpiryDate        int64  `json:"pageExpiryDate"`
	// Boolean to determine whether or not the Primary CSS Files should be applied.
	IncludeDefaultCustomCss bool `json:"includeDefaultCustomCss"`
	// Boolean to determine whether or not the styles from the template should be applied.
	EnableLayoutStylesheets bool `json:"enableLayoutStylesheets"`
	// Boolean to determine whether or not the styles from the template should be applied.
	EnableDomainStylesheets bool `json:"enableDomainStylesheets"`
	// Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting.
	PublishImmediately bool `json:"publishImmediately"`
	// The featuredImage of this Blog Post.
	FeaturedImage string `json:"featuredImage"`
	// Alt Text of the featuredImage.
	FeaturedImageAltText string `json:"featuredImageAltText"`
	// Optional override to set the URL to be used in the rel=canonical link tag on the page.
	LinkRelCanonicalUrl string `json:"linkRelCanonicalUrl"`
	// An ENUM descibing the type of this object. Should always be BLOG_POST.
	ContentTypeCategory string `json:"contentTypeCategory"`
	// List of stylesheets to attach to this blog post. These stylesheets are attached to just this page. Order of precedence is bottom to top, just like in the HTML.
	AttachedStylesheets []map[string]map[string]interface{} `json:"attachedStylesheets"`
	// A description that goes in <meta> tag on the page.
	MetaDescription string `json:"metaDescription"`
	// Custom HTML for embed codes, javascript, etc. that goes in the <head> tag of the page.
	HeadHtml string `json:"headHtml"`
	// Custom HTML for embed codes, javascript that should be placed before the </body> tag of the page.
	FooterHtml string `json:"footerHtml"`
	// If True, the post will not show up in your dashboard, although the post could still be live.
	ArchivedInDashboard bool `json:"archivedInDashboard"`
	// Boolean to determine whether or not to respect publicAccessRules.
	PublicAccessRulesEnabled bool `json:"publicAccessRulesEnabled"`
	// Rules for require member registration to access private content.
	PublicAccessRules   []map[string]interface{}          `json:"publicAccessRules"`
	LayoutSections      map[string]LayoutSection          `json:"layoutSections"`
	ThemeSettingsValues map[string]map[string]interface{} `json:"themeSettingsValues"`
	// A generated field representing the URL of this blog post.
	Url string `json:"url"`
	// Set this to create a password protected page. Entering the password will be required to view the page.
	Password string `json:"password"`
	// A generated ENUM descibing the current state of this Blog Post. Should always match state.
	CurrentState string `json:"currentState"`
	// The date (ISO8601 format) the blog post is to be published at.
	PublishDate time.Time `json:"publishDate"`
	Created     time.Time `json:"created"`
	Updated     time.Time `json:"updated"`
	// The timestamp (ISO8601 format) when this Blog Post was deleted.
	DeletedAt time.Time `json:"deletedAt"`
}

BlogPost Model definition for a Blog Post.

func NewBlogPost

func NewBlogPost(id string, slug string, contentGroupId string, campaign string, categoryId int32, state string, name string, mabExperimentId string, archived bool, authorName string, abTestId string, createdById string, updatedById string, domain string, abStatus string, folderId string, widgetContainers map[string]map[string]interface{}, widgets map[string]map[string]interface{}, language string, translatedFromId string, translations map[string]ContentLanguageVariation, dynamicPageDataSourceType int32, dynamicPageDataSourceId string, blogAuthorId string, tagIds []int64, htmlTitle string, enableGoogleAmpOutputOverride bool, useFeaturedImage bool, postBody string, postSummary string, rssBody string, rssSummary string, currentlyPublished bool, pageExpiryEnabled bool, pageExpiryRedirectId int64, pageExpiryRedirectUrl string, pageExpiryDate int64, includeDefaultCustomCss bool, enableLayoutStylesheets bool, enableDomainStylesheets bool, publishImmediately bool, featuredImage string, featuredImageAltText string, linkRelCanonicalUrl string, contentTypeCategory string, attachedStylesheets []map[string]map[string]interface{}, metaDescription string, headHtml string, footerHtml string, archivedInDashboard bool, publicAccessRulesEnabled bool, publicAccessRules []map[string]interface{}, layoutSections map[string]LayoutSection, themeSettingsValues map[string]map[string]interface{}, url string, password string, currentState string, publishDate time.Time, created time.Time, updated time.Time, deletedAt time.Time) *BlogPost

NewBlogPost instantiates a new BlogPost 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 NewBlogPostWithDefaults

func NewBlogPostWithDefaults() *BlogPost

NewBlogPostWithDefaults instantiates a new BlogPost 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 (*BlogPost) GetAbStatus

func (o *BlogPost) GetAbStatus() string

GetAbStatus returns the AbStatus field value

func (*BlogPost) GetAbStatusOk

func (o *BlogPost) GetAbStatusOk() (*string, bool)

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

func (*BlogPost) GetAbTestId

func (o *BlogPost) GetAbTestId() string

GetAbTestId returns the AbTestId field value

func (*BlogPost) GetAbTestIdOk

func (o *BlogPost) GetAbTestIdOk() (*string, bool)

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

func (*BlogPost) GetArchived

func (o *BlogPost) GetArchived() bool

GetArchived returns the Archived field value

func (*BlogPost) GetArchivedInDashboard

func (o *BlogPost) GetArchivedInDashboard() bool

GetArchivedInDashboard returns the ArchivedInDashboard field value

func (*BlogPost) GetArchivedInDashboardOk

func (o *BlogPost) GetArchivedInDashboardOk() (*bool, bool)

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

func (*BlogPost) GetArchivedOk

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

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

func (*BlogPost) GetAttachedStylesheets

func (o *BlogPost) GetAttachedStylesheets() []map[string]map[string]interface{}

GetAttachedStylesheets returns the AttachedStylesheets field value

func (*BlogPost) GetAttachedStylesheetsOk

func (o *BlogPost) GetAttachedStylesheetsOk() ([]map[string]map[string]interface{}, bool)

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

func (*BlogPost) GetAuthorName

func (o *BlogPost) GetAuthorName() string

GetAuthorName returns the AuthorName field value

func (*BlogPost) GetAuthorNameOk

func (o *BlogPost) GetAuthorNameOk() (*string, bool)

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

func (*BlogPost) GetBlogAuthorId

func (o *BlogPost) GetBlogAuthorId() string

GetBlogAuthorId returns the BlogAuthorId field value

func (*BlogPost) GetBlogAuthorIdOk

func (o *BlogPost) GetBlogAuthorIdOk() (*string, bool)

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

func (*BlogPost) GetCampaign

func (o *BlogPost) GetCampaign() string

GetCampaign returns the Campaign field value

func (*BlogPost) GetCampaignOk

func (o *BlogPost) GetCampaignOk() (*string, bool)

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

func (*BlogPost) GetCategoryId

func (o *BlogPost) GetCategoryId() int32

GetCategoryId returns the CategoryId field value

func (*BlogPost) GetCategoryIdOk

func (o *BlogPost) GetCategoryIdOk() (*int32, bool)

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

func (*BlogPost) GetContentGroupId

func (o *BlogPost) GetContentGroupId() string

GetContentGroupId returns the ContentGroupId field value

func (*BlogPost) GetContentGroupIdOk

func (o *BlogPost) GetContentGroupIdOk() (*string, bool)

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

func (*BlogPost) GetContentTypeCategory

func (o *BlogPost) GetContentTypeCategory() string

GetContentTypeCategory returns the ContentTypeCategory field value

func (*BlogPost) GetContentTypeCategoryOk

func (o *BlogPost) GetContentTypeCategoryOk() (*string, bool)

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

func (*BlogPost) GetCreated

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

GetCreated returns the Created field value

func (*BlogPost) GetCreatedById

func (o *BlogPost) GetCreatedById() string

GetCreatedById returns the CreatedById field value

func (*BlogPost) GetCreatedByIdOk

func (o *BlogPost) GetCreatedByIdOk() (*string, bool)

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

func (*BlogPost) GetCreatedOk

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

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

func (*BlogPost) GetCurrentState

func (o *BlogPost) GetCurrentState() string

GetCurrentState returns the CurrentState field value

func (*BlogPost) GetCurrentStateOk

func (o *BlogPost) GetCurrentStateOk() (*string, bool)

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

func (*BlogPost) GetCurrentlyPublished

func (o *BlogPost) GetCurrentlyPublished() bool

GetCurrentlyPublished returns the CurrentlyPublished field value

func (*BlogPost) GetCurrentlyPublishedOk

func (o *BlogPost) GetCurrentlyPublishedOk() (*bool, bool)

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

func (*BlogPost) GetDeletedAt

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

GetDeletedAt returns the DeletedAt field value

func (*BlogPost) GetDeletedAtOk

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

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

func (*BlogPost) GetDomain

func (o *BlogPost) GetDomain() string

GetDomain returns the Domain field value

func (*BlogPost) GetDomainOk

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

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

func (*BlogPost) GetDynamicPageDataSourceId

func (o *BlogPost) GetDynamicPageDataSourceId() string

GetDynamicPageDataSourceId returns the DynamicPageDataSourceId field value

func (*BlogPost) GetDynamicPageDataSourceIdOk

func (o *BlogPost) GetDynamicPageDataSourceIdOk() (*string, bool)

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

func (*BlogPost) GetDynamicPageDataSourceType

func (o *BlogPost) GetDynamicPageDataSourceType() int32

GetDynamicPageDataSourceType returns the DynamicPageDataSourceType field value

func (*BlogPost) GetDynamicPageDataSourceTypeOk

func (o *BlogPost) GetDynamicPageDataSourceTypeOk() (*int32, bool)

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

func (*BlogPost) GetEnableDomainStylesheets

func (o *BlogPost) GetEnableDomainStylesheets() bool

GetEnableDomainStylesheets returns the EnableDomainStylesheets field value

func (*BlogPost) GetEnableDomainStylesheetsOk

func (o *BlogPost) GetEnableDomainStylesheetsOk() (*bool, bool)

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

func (*BlogPost) GetEnableGoogleAmpOutputOverride

func (o *BlogPost) GetEnableGoogleAmpOutputOverride() bool

GetEnableGoogleAmpOutputOverride returns the EnableGoogleAmpOutputOverride field value

func (*BlogPost) GetEnableGoogleAmpOutputOverrideOk

func (o *BlogPost) GetEnableGoogleAmpOutputOverrideOk() (*bool, bool)

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

func (*BlogPost) GetEnableLayoutStylesheets

func (o *BlogPost) GetEnableLayoutStylesheets() bool

GetEnableLayoutStylesheets returns the EnableLayoutStylesheets field value

func (*BlogPost) GetEnableLayoutStylesheetsOk

func (o *BlogPost) GetEnableLayoutStylesheetsOk() (*bool, bool)

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

func (*BlogPost) GetFeaturedImage

func (o *BlogPost) GetFeaturedImage() string

GetFeaturedImage returns the FeaturedImage field value

func (*BlogPost) GetFeaturedImageAltText

func (o *BlogPost) GetFeaturedImageAltText() string

GetFeaturedImageAltText returns the FeaturedImageAltText field value

func (*BlogPost) GetFeaturedImageAltTextOk

func (o *BlogPost) GetFeaturedImageAltTextOk() (*string, bool)

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

func (*BlogPost) GetFeaturedImageOk

func (o *BlogPost) GetFeaturedImageOk() (*string, bool)

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

func (*BlogPost) GetFolderId

func (o *BlogPost) GetFolderId() string

GetFolderId returns the FolderId field value

func (*BlogPost) GetFolderIdOk

func (o *BlogPost) GetFolderIdOk() (*string, bool)

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

func (*BlogPost) GetFooterHtml

func (o *BlogPost) GetFooterHtml() string

GetFooterHtml returns the FooterHtml field value

func (*BlogPost) GetFooterHtmlOk

func (o *BlogPost) GetFooterHtmlOk() (*string, bool)

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

func (*BlogPost) GetHeadHtml

func (o *BlogPost) GetHeadHtml() string

GetHeadHtml returns the HeadHtml field value

func (*BlogPost) GetHeadHtmlOk

func (o *BlogPost) GetHeadHtmlOk() (*string, bool)

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

func (*BlogPost) GetHtmlTitle

func (o *BlogPost) GetHtmlTitle() string

GetHtmlTitle returns the HtmlTitle field value

func (*BlogPost) GetHtmlTitleOk

func (o *BlogPost) GetHtmlTitleOk() (*string, bool)

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

func (*BlogPost) GetId

func (o *BlogPost) GetId() string

GetId returns the Id field value

func (*BlogPost) GetIdOk

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

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

func (*BlogPost) GetIncludeDefaultCustomCss

func (o *BlogPost) GetIncludeDefaultCustomCss() bool

GetIncludeDefaultCustomCss returns the IncludeDefaultCustomCss field value

func (*BlogPost) GetIncludeDefaultCustomCssOk

func (o *BlogPost) GetIncludeDefaultCustomCssOk() (*bool, bool)

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

func (*BlogPost) GetLanguage

func (o *BlogPost) GetLanguage() string

GetLanguage returns the Language field value

func (*BlogPost) GetLanguageOk

func (o *BlogPost) GetLanguageOk() (*string, bool)

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

func (*BlogPost) GetLayoutSections

func (o *BlogPost) GetLayoutSections() map[string]LayoutSection

GetLayoutSections returns the LayoutSections field value

func (*BlogPost) GetLayoutSectionsOk

func (o *BlogPost) GetLayoutSectionsOk() (*map[string]LayoutSection, bool)

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

func (*BlogPost) GetLinkRelCanonicalUrl

func (o *BlogPost) GetLinkRelCanonicalUrl() string

GetLinkRelCanonicalUrl returns the LinkRelCanonicalUrl field value

func (*BlogPost) GetLinkRelCanonicalUrlOk

func (o *BlogPost) GetLinkRelCanonicalUrlOk() (*string, bool)

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

func (*BlogPost) GetMabExperimentId

func (o *BlogPost) GetMabExperimentId() string

GetMabExperimentId returns the MabExperimentId field value

func (*BlogPost) GetMabExperimentIdOk

func (o *BlogPost) GetMabExperimentIdOk() (*string, bool)

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

func (*BlogPost) GetMetaDescription

func (o *BlogPost) GetMetaDescription() string

GetMetaDescription returns the MetaDescription field value

func (*BlogPost) GetMetaDescriptionOk

func (o *BlogPost) GetMetaDescriptionOk() (*string, bool)

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

func (*BlogPost) GetName

func (o *BlogPost) GetName() string

GetName returns the Name field value

func (*BlogPost) GetNameOk

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

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

func (*BlogPost) GetPageExpiryDate

func (o *BlogPost) GetPageExpiryDate() int64

GetPageExpiryDate returns the PageExpiryDate field value

func (*BlogPost) GetPageExpiryDateOk

func (o *BlogPost) GetPageExpiryDateOk() (*int64, bool)

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

func (*BlogPost) GetPageExpiryEnabled

func (o *BlogPost) GetPageExpiryEnabled() bool

GetPageExpiryEnabled returns the PageExpiryEnabled field value

func (*BlogPost) GetPageExpiryEnabledOk

func (o *BlogPost) GetPageExpiryEnabledOk() (*bool, bool)

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

func (*BlogPost) GetPageExpiryRedirectId

func (o *BlogPost) GetPageExpiryRedirectId() int64

GetPageExpiryRedirectId returns the PageExpiryRedirectId field value

func (*BlogPost) GetPageExpiryRedirectIdOk

func (o *BlogPost) GetPageExpiryRedirectIdOk() (*int64, bool)

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

func (*BlogPost) GetPageExpiryRedirectUrl

func (o *BlogPost) GetPageExpiryRedirectUrl() string

GetPageExpiryRedirectUrl returns the PageExpiryRedirectUrl field value

func (*BlogPost) GetPageExpiryRedirectUrlOk

func (o *BlogPost) GetPageExpiryRedirectUrlOk() (*string, bool)

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

func (*BlogPost) GetPassword

func (o *BlogPost) GetPassword() string

GetPassword returns the Password field value

func (*BlogPost) GetPasswordOk

func (o *BlogPost) GetPasswordOk() (*string, bool)

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

func (*BlogPost) GetPostBody

func (o *BlogPost) GetPostBody() string

GetPostBody returns the PostBody field value

func (*BlogPost) GetPostBodyOk

func (o *BlogPost) GetPostBodyOk() (*string, bool)

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

func (*BlogPost) GetPostSummary

func (o *BlogPost) GetPostSummary() string

GetPostSummary returns the PostSummary field value

func (*BlogPost) GetPostSummaryOk

func (o *BlogPost) GetPostSummaryOk() (*string, bool)

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

func (*BlogPost) GetPublicAccessRules

func (o *BlogPost) GetPublicAccessRules() []map[string]interface{}

GetPublicAccessRules returns the PublicAccessRules field value

func (*BlogPost) GetPublicAccessRulesEnabled

func (o *BlogPost) GetPublicAccessRulesEnabled() bool

GetPublicAccessRulesEnabled returns the PublicAccessRulesEnabled field value

func (*BlogPost) GetPublicAccessRulesEnabledOk

func (o *BlogPost) GetPublicAccessRulesEnabledOk() (*bool, bool)

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

func (*BlogPost) GetPublicAccessRulesOk

func (o *BlogPost) GetPublicAccessRulesOk() ([]map[string]interface{}, bool)

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

func (*BlogPost) GetPublishDate

func (o *BlogPost) GetPublishDate() time.Time

GetPublishDate returns the PublishDate field value

func (*BlogPost) GetPublishDateOk

func (o *BlogPost) GetPublishDateOk() (*time.Time, bool)

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

func (*BlogPost) GetPublishImmediately

func (o *BlogPost) GetPublishImmediately() bool

GetPublishImmediately returns the PublishImmediately field value

func (*BlogPost) GetPublishImmediatelyOk

func (o *BlogPost) GetPublishImmediatelyOk() (*bool, bool)

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

func (*BlogPost) GetRssBody

func (o *BlogPost) GetRssBody() string

GetRssBody returns the RssBody field value

func (*BlogPost) GetRssBodyOk

func (o *BlogPost) GetRssBodyOk() (*string, bool)

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

func (*BlogPost) GetRssSummary

func (o *BlogPost) GetRssSummary() string

GetRssSummary returns the RssSummary field value

func (*BlogPost) GetRssSummaryOk

func (o *BlogPost) GetRssSummaryOk() (*string, bool)

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

func (*BlogPost) GetSlug

func (o *BlogPost) GetSlug() string

GetSlug returns the Slug field value

func (*BlogPost) GetSlugOk

func (o *BlogPost) GetSlugOk() (*string, bool)

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

func (*BlogPost) GetState

func (o *BlogPost) GetState() string

GetState returns the State field value

func (*BlogPost) GetStateOk

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

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

func (*BlogPost) GetTagIds

func (o *BlogPost) GetTagIds() []int64

GetTagIds returns the TagIds field value

func (*BlogPost) GetTagIdsOk

func (o *BlogPost) GetTagIdsOk() ([]int64, bool)

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

func (*BlogPost) GetThemeSettingsValues

func (o *BlogPost) GetThemeSettingsValues() map[string]map[string]interface{}

GetThemeSettingsValues returns the ThemeSettingsValues field value

func (*BlogPost) GetThemeSettingsValuesOk

func (o *BlogPost) GetThemeSettingsValuesOk() (map[string]map[string]interface{}, bool)

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

func (*BlogPost) GetTranslatedFromId

func (o *BlogPost) GetTranslatedFromId() string

GetTranslatedFromId returns the TranslatedFromId field value

func (*BlogPost) GetTranslatedFromIdOk

func (o *BlogPost) GetTranslatedFromIdOk() (*string, bool)

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

func (*BlogPost) GetTranslations

func (o *BlogPost) GetTranslations() map[string]ContentLanguageVariation

GetTranslations returns the Translations field value

func (*BlogPost) GetTranslationsOk

func (o *BlogPost) GetTranslationsOk() (*map[string]ContentLanguageVariation, bool)

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

func (*BlogPost) GetUpdated

func (o *BlogPost) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*BlogPost) GetUpdatedById

func (o *BlogPost) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field value

func (*BlogPost) GetUpdatedByIdOk

func (o *BlogPost) GetUpdatedByIdOk() (*string, bool)

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

func (*BlogPost) GetUpdatedOk

func (o *BlogPost) GetUpdatedOk() (*time.Time, bool)

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

func (*BlogPost) GetUrl

func (o *BlogPost) GetUrl() string

GetUrl returns the Url field value

func (*BlogPost) GetUrlOk

func (o *BlogPost) GetUrlOk() (*string, bool)

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

func (*BlogPost) GetUseFeaturedImage

func (o *BlogPost) GetUseFeaturedImage() bool

GetUseFeaturedImage returns the UseFeaturedImage field value

func (*BlogPost) GetUseFeaturedImageOk

func (o *BlogPost) GetUseFeaturedImageOk() (*bool, bool)

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

func (*BlogPost) GetWidgetContainers

func (o *BlogPost) GetWidgetContainers() map[string]map[string]interface{}

GetWidgetContainers returns the WidgetContainers field value

func (*BlogPost) GetWidgetContainersOk

func (o *BlogPost) GetWidgetContainersOk() (map[string]map[string]interface{}, bool)

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

func (*BlogPost) GetWidgets

func (o *BlogPost) GetWidgets() map[string]map[string]interface{}

GetWidgets returns the Widgets field value

func (*BlogPost) GetWidgetsOk

func (o *BlogPost) GetWidgetsOk() (map[string]map[string]interface{}, bool)

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

func (BlogPost) MarshalJSON

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

func (*BlogPost) SetAbStatus

func (o *BlogPost) SetAbStatus(v string)

SetAbStatus sets field value

func (*BlogPost) SetAbTestId

func (o *BlogPost) SetAbTestId(v string)

SetAbTestId sets field value

func (*BlogPost) SetArchived

func (o *BlogPost) SetArchived(v bool)

SetArchived sets field value

func (*BlogPost) SetArchivedInDashboard

func (o *BlogPost) SetArchivedInDashboard(v bool)

SetArchivedInDashboard sets field value

func (*BlogPost) SetAttachedStylesheets

func (o *BlogPost) SetAttachedStylesheets(v []map[string]map[string]interface{})

SetAttachedStylesheets sets field value

func (*BlogPost) SetAuthorName

func (o *BlogPost) SetAuthorName(v string)

SetAuthorName sets field value

func (*BlogPost) SetBlogAuthorId

func (o *BlogPost) SetBlogAuthorId(v string)

SetBlogAuthorId sets field value

func (*BlogPost) SetCampaign

func (o *BlogPost) SetCampaign(v string)

SetCampaign sets field value

func (*BlogPost) SetCategoryId

func (o *BlogPost) SetCategoryId(v int32)

SetCategoryId sets field value

func (*BlogPost) SetContentGroupId

func (o *BlogPost) SetContentGroupId(v string)

SetContentGroupId sets field value

func (*BlogPost) SetContentTypeCategory

func (o *BlogPost) SetContentTypeCategory(v string)

SetContentTypeCategory sets field value

func (*BlogPost) SetCreated

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

SetCreated sets field value

func (*BlogPost) SetCreatedById

func (o *BlogPost) SetCreatedById(v string)

SetCreatedById sets field value

func (*BlogPost) SetCurrentState

func (o *BlogPost) SetCurrentState(v string)

SetCurrentState sets field value

func (*BlogPost) SetCurrentlyPublished

func (o *BlogPost) SetCurrentlyPublished(v bool)

SetCurrentlyPublished sets field value

func (*BlogPost) SetDeletedAt

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

SetDeletedAt sets field value

func (*BlogPost) SetDomain

func (o *BlogPost) SetDomain(v string)

SetDomain sets field value

func (*BlogPost) SetDynamicPageDataSourceId

func (o *BlogPost) SetDynamicPageDataSourceId(v string)

SetDynamicPageDataSourceId sets field value

func (*BlogPost) SetDynamicPageDataSourceType

func (o *BlogPost) SetDynamicPageDataSourceType(v int32)

SetDynamicPageDataSourceType sets field value

func (*BlogPost) SetEnableDomainStylesheets

func (o *BlogPost) SetEnableDomainStylesheets(v bool)

SetEnableDomainStylesheets sets field value

func (*BlogPost) SetEnableGoogleAmpOutputOverride

func (o *BlogPost) SetEnableGoogleAmpOutputOverride(v bool)

SetEnableGoogleAmpOutputOverride sets field value

func (*BlogPost) SetEnableLayoutStylesheets

func (o *BlogPost) SetEnableLayoutStylesheets(v bool)

SetEnableLayoutStylesheets sets field value

func (*BlogPost) SetFeaturedImage

func (o *BlogPost) SetFeaturedImage(v string)

SetFeaturedImage sets field value

func (*BlogPost) SetFeaturedImageAltText

func (o *BlogPost) SetFeaturedImageAltText(v string)

SetFeaturedImageAltText sets field value

func (*BlogPost) SetFolderId

func (o *BlogPost) SetFolderId(v string)

SetFolderId sets field value

func (*BlogPost) SetFooterHtml

func (o *BlogPost) SetFooterHtml(v string)

SetFooterHtml sets field value

func (*BlogPost) SetHeadHtml

func (o *BlogPost) SetHeadHtml(v string)

SetHeadHtml sets field value

func (*BlogPost) SetHtmlTitle

func (o *BlogPost) SetHtmlTitle(v string)

SetHtmlTitle sets field value

func (*BlogPost) SetId

func (o *BlogPost) SetId(v string)

SetId sets field value

func (*BlogPost) SetIncludeDefaultCustomCss

func (o *BlogPost) SetIncludeDefaultCustomCss(v bool)

SetIncludeDefaultCustomCss sets field value

func (*BlogPost) SetLanguage

func (o *BlogPost) SetLanguage(v string)

SetLanguage sets field value

func (*BlogPost) SetLayoutSections

func (o *BlogPost) SetLayoutSections(v map[string]LayoutSection)

SetLayoutSections sets field value

func (*BlogPost) SetLinkRelCanonicalUrl

func (o *BlogPost) SetLinkRelCanonicalUrl(v string)

SetLinkRelCanonicalUrl sets field value

func (*BlogPost) SetMabExperimentId

func (o *BlogPost) SetMabExperimentId(v string)

SetMabExperimentId sets field value

func (*BlogPost) SetMetaDescription

func (o *BlogPost) SetMetaDescription(v string)

SetMetaDescription sets field value

func (*BlogPost) SetName

func (o *BlogPost) SetName(v string)

SetName sets field value

func (*BlogPost) SetPageExpiryDate

func (o *BlogPost) SetPageExpiryDate(v int64)

SetPageExpiryDate sets field value

func (*BlogPost) SetPageExpiryEnabled

func (o *BlogPost) SetPageExpiryEnabled(v bool)

SetPageExpiryEnabled sets field value

func (*BlogPost) SetPageExpiryRedirectId

func (o *BlogPost) SetPageExpiryRedirectId(v int64)

SetPageExpiryRedirectId sets field value

func (*BlogPost) SetPageExpiryRedirectUrl

func (o *BlogPost) SetPageExpiryRedirectUrl(v string)

SetPageExpiryRedirectUrl sets field value

func (*BlogPost) SetPassword

func (o *BlogPost) SetPassword(v string)

SetPassword sets field value

func (*BlogPost) SetPostBody

func (o *BlogPost) SetPostBody(v string)

SetPostBody sets field value

func (*BlogPost) SetPostSummary

func (o *BlogPost) SetPostSummary(v string)

SetPostSummary sets field value

func (*BlogPost) SetPublicAccessRules

func (o *BlogPost) SetPublicAccessRules(v []map[string]interface{})

SetPublicAccessRules sets field value

func (*BlogPost) SetPublicAccessRulesEnabled

func (o *BlogPost) SetPublicAccessRulesEnabled(v bool)

SetPublicAccessRulesEnabled sets field value

func (*BlogPost) SetPublishDate

func (o *BlogPost) SetPublishDate(v time.Time)

SetPublishDate sets field value

func (*BlogPost) SetPublishImmediately

func (o *BlogPost) SetPublishImmediately(v bool)

SetPublishImmediately sets field value

func (*BlogPost) SetRssBody

func (o *BlogPost) SetRssBody(v string)

SetRssBody sets field value

func (*BlogPost) SetRssSummary

func (o *BlogPost) SetRssSummary(v string)

SetRssSummary sets field value

func (*BlogPost) SetSlug

func (o *BlogPost) SetSlug(v string)

SetSlug sets field value

func (*BlogPost) SetState

func (o *BlogPost) SetState(v string)

SetState sets field value

func (*BlogPost) SetTagIds

func (o *BlogPost) SetTagIds(v []int64)

SetTagIds sets field value

func (*BlogPost) SetThemeSettingsValues

func (o *BlogPost) SetThemeSettingsValues(v map[string]map[string]interface{})

SetThemeSettingsValues sets field value

func (*BlogPost) SetTranslatedFromId

func (o *BlogPost) SetTranslatedFromId(v string)

SetTranslatedFromId sets field value

func (*BlogPost) SetTranslations

func (o *BlogPost) SetTranslations(v map[string]ContentLanguageVariation)

SetTranslations sets field value

func (*BlogPost) SetUpdated

func (o *BlogPost) SetUpdated(v time.Time)

SetUpdated sets field value

func (*BlogPost) SetUpdatedById

func (o *BlogPost) SetUpdatedById(v string)

SetUpdatedById sets field value

func (*BlogPost) SetUrl

func (o *BlogPost) SetUrl(v string)

SetUrl sets field value

func (*BlogPost) SetUseFeaturedImage

func (o *BlogPost) SetUseFeaturedImage(v bool)

SetUseFeaturedImage sets field value

func (*BlogPost) SetWidgetContainers

func (o *BlogPost) SetWidgetContainers(v map[string]map[string]interface{})

SetWidgetContainers sets field value

func (*BlogPost) SetWidgets

func (o *BlogPost) SetWidgets(v map[string]map[string]interface{})

SetWidgets sets field value

type BlogPostLanguageCloneRequestVNext

type BlogPostLanguageCloneRequestVNext struct {
	// ID of blog post to clone.
	Id string `json:"id"`
	// Target language of new variant.
	Language *string `json:"language,omitempty"`
}

BlogPostLanguageCloneRequestVNext Request body object for creating new blog post language variant.

func NewBlogPostLanguageCloneRequestVNext

func NewBlogPostLanguageCloneRequestVNext(id string) *BlogPostLanguageCloneRequestVNext

NewBlogPostLanguageCloneRequestVNext instantiates a new BlogPostLanguageCloneRequestVNext 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 NewBlogPostLanguageCloneRequestVNextWithDefaults

func NewBlogPostLanguageCloneRequestVNextWithDefaults() *BlogPostLanguageCloneRequestVNext

NewBlogPostLanguageCloneRequestVNextWithDefaults instantiates a new BlogPostLanguageCloneRequestVNext 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 (*BlogPostLanguageCloneRequestVNext) GetId

GetId returns the Id field value

func (*BlogPostLanguageCloneRequestVNext) GetIdOk

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

func (*BlogPostLanguageCloneRequestVNext) GetLanguage

func (o *BlogPostLanguageCloneRequestVNext) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*BlogPostLanguageCloneRequestVNext) GetLanguageOk

func (o *BlogPostLanguageCloneRequestVNext) GetLanguageOk() (*string, bool)

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

func (*BlogPostLanguageCloneRequestVNext) HasLanguage

func (o *BlogPostLanguageCloneRequestVNext) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (BlogPostLanguageCloneRequestVNext) MarshalJSON

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

func (*BlogPostLanguageCloneRequestVNext) SetId

SetId sets field value

func (*BlogPostLanguageCloneRequestVNext) SetLanguage

func (o *BlogPostLanguageCloneRequestVNext) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

type BlogPostsApiService

type BlogPostsApiService service

BlogPostsApiService BlogPostsApi service

func (*BlogPostsApiService) Archive

func (a *BlogPostsApiService) Archive(ctx context.Context, objectId string) ApiArchiveRequest

Archive Delete a Blog Post

Delete the Blog Post object identified by the id in the path.

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

func (*BlogPostsApiService) ArchiveExecute

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

Execute executes the request

func (*BlogPostsApiService) AttachToLanguageGroup

AttachToLanguageGroup Attach a Blog Post to a multi-language group

Attach a Blog Post to a multi-language group.

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

func (*BlogPostsApiService) AttachToLanguageGroupExecute

func (a *BlogPostsApiService) AttachToLanguageGroupExecute(r ApiAttachToLanguageGroupRequest) (*Error, *http.Response, error)

Execute executes the request

@return Error

func (*BlogPostsApiService) BatchArchive

BatchArchive Delete a batch of Blog Posts

Delete the Blog Post objects identified in the request body. Note: This is not the same as the in-app `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to true.

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

func (*BlogPostsApiService) BatchArchiveExecute

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

Execute executes the request

func (*BlogPostsApiService) BatchCreate

BatchCreate Create a batch of Blog Posts

Create the Blog Post objects detailed in the request body.

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

func (*BlogPostsApiService) BatchCreateExecute

Execute executes the request

@return BatchResponseBlogPost

func (*BlogPostsApiService) BatchRead

BatchRead Retrieve a batch of Blog Posts

Retrieve the Blog Post objects identified in the request body.

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

func (*BlogPostsApiService) BatchReadExecute

Execute executes the request

@return BatchResponseBlogPost

func (*BlogPostsApiService) BatchUpdate

BatchUpdate Update a batch of Blog Posts

Update the Blog Post objects identified in the request body.

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

func (*BlogPostsApiService) BatchUpdateExecute

Execute executes the request

@return BatchResponseBlogPost

func (*BlogPostsApiService) Clone

Clone Clone a Blog Post

Clone a Blog Post.

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

func (*BlogPostsApiService) CloneExecute

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) Create

Create Create a new Blog Post

Create a new Blog Post.

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

func (*BlogPostsApiService) CreateExecute

func (a *BlogPostsApiService) CreateExecute(r ApiCreateRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) CreateLanguageVariation

func (a *BlogPostsApiService) CreateLanguageVariation(ctx context.Context) ApiCreateLanguageVariationRequest

CreateLanguageVariation Create a new language variation

Create a new language variation from an existing Blog Post

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

func (*BlogPostsApiService) CreateLanguageVariationExecute

func (a *BlogPostsApiService) CreateLanguageVariationExecute(r ApiCreateLanguageVariationRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) DetachFromLanguageGroup

func (a *BlogPostsApiService) DetachFromLanguageGroup(ctx context.Context) ApiDetachFromLanguageGroupRequest

DetachFromLanguageGroup Detach a Blog Post from a multi-language group

Detach a Blog Post from a multi-language group.

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

func (*BlogPostsApiService) DetachFromLanguageGroupExecute

func (a *BlogPostsApiService) DetachFromLanguageGroupExecute(r ApiDetachFromLanguageGroupRequest) (*Error, *http.Response, error)

Execute executes the request

@return Error

func (*BlogPostsApiService) GetByID

func (a *BlogPostsApiService) GetByID(ctx context.Context, objectId string) ApiGetByIDRequest

GetByID Retrieve a Blog Post

Retrieve the Blog Post object identified by the id in the path.

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

func (*BlogPostsApiService) GetByIDExecute

func (a *BlogPostsApiService) GetByIDExecute(r ApiGetByIDRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) GetDraftByID

func (a *BlogPostsApiService) GetDraftByID(ctx context.Context, objectId string) ApiGetDraftByIDRequest

GetDraftByID Retrieve the full draft version of the Blog Post

Retrieve the full draft version of the Blog Post.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@return ApiGetDraftByIDRequest

func (*BlogPostsApiService) GetDraftByIDExecute

func (a *BlogPostsApiService) GetDraftByIDExecute(r ApiGetDraftByIDRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) GetPage

GetPage Get all Blog Posts

Get the list of blog posts. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.

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

func (*BlogPostsApiService) GetPageExecute

Execute executes the request

@return CollectionResponseWithTotalBlogPostForwardPaging

func (*BlogPostsApiService) GetPreviousVersion

func (a *BlogPostsApiService) GetPreviousVersion(ctx context.Context, objectId string, revisionId string) ApiGetPreviousVersionRequest

GetPreviousVersion Retrieves a previous version of a blog post

Retrieves a previous version of a blog post.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@param revisionId The Blog Post version id.
@return ApiGetPreviousVersionRequest

func (*BlogPostsApiService) GetPreviousVersionExecute

Execute executes the request

@return VersionBlogPost

func (*BlogPostsApiService) GetPreviousVersions

func (a *BlogPostsApiService) GetPreviousVersions(ctx context.Context, objectId string) ApiGetPreviousVersionsRequest

GetPreviousVersions Retrieves all the previous versions of a blog post

Retrieves all the previous versions of a blog post.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@return ApiGetPreviousVersionsRequest

func (*BlogPostsApiService) GetPreviousVersionsExecute

Execute executes the request

@return CollectionResponseWithTotalVersionBlogPost

func (*BlogPostsApiService) PushLive

func (a *BlogPostsApiService) PushLive(ctx context.Context, objectId string) ApiPushLiveRequest

PushLive Push Blog Post draft edits live

Take any changes from the draft version of the Blog Post and apply them to the live version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The id of the Blog Post for which it's draft will be pushed live.
@return ApiPushLiveRequest

func (*BlogPostsApiService) PushLiveExecute

func (a *BlogPostsApiService) PushLiveExecute(r ApiPushLiveRequest) (*http.Response, error)

Execute executes the request

func (*BlogPostsApiService) ResetDraft

func (a *BlogPostsApiService) ResetDraft(ctx context.Context, objectId string) ApiResetDraftRequest

ResetDraft Reset the Blog Post draft to the live version

Discards any edits and resets the draft to the live version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The id of the Blog Post for which it's draft will be reset.
@return ApiResetDraftRequest

func (*BlogPostsApiService) ResetDraftExecute

func (a *BlogPostsApiService) ResetDraftExecute(r ApiResetDraftRequest) (*http.Response, error)

Execute executes the request

func (*BlogPostsApiService) RestorePreviousVersion

func (a *BlogPostsApiService) RestorePreviousVersion(ctx context.Context, objectId string, revisionId string) ApiRestorePreviousVersionRequest

RestorePreviousVersion Restore a previous version of a blog post

Takes a specified version of a blog post and restores it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@param revisionId The Blog Post version id to restore.
@return ApiRestorePreviousVersionRequest

func (*BlogPostsApiService) RestorePreviousVersionExecute

func (a *BlogPostsApiService) RestorePreviousVersionExecute(r ApiRestorePreviousVersionRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) RestorePreviousVersionToDraft

func (a *BlogPostsApiService) RestorePreviousVersionToDraft(ctx context.Context, objectId string, revisionId int64) ApiRestorePreviousVersionToDraftRequest

RestorePreviousVersionToDraft Restore a previous version of a blog post, to the draft version of the blog post

Takes a specified version of a blog post, sets it as the new draft version of the blog post.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@param revisionId The Blog Post version id to restore.
@return ApiRestorePreviousVersionToDraftRequest

func (*BlogPostsApiService) RestorePreviousVersionToDraftExecute

func (a *BlogPostsApiService) RestorePreviousVersionToDraftExecute(r ApiRestorePreviousVersionToDraftRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) Schedule

Schedule Schedule a Blog Post to be Published

Schedule a Blog Post to be Published.

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

func (*BlogPostsApiService) ScheduleExecute

func (a *BlogPostsApiService) ScheduleExecute(r ApiScheduleRequest) (*http.Response, error)

Execute executes the request

func (*BlogPostsApiService) SetLanguagePrimary

SetLanguagePrimary Set a new primary language

Set a Blog Post as the primary language of a multi-language group.

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

func (*BlogPostsApiService) SetLanguagePrimaryExecute

func (a *BlogPostsApiService) SetLanguagePrimaryExecute(r ApiSetLanguagePrimaryRequest) (*http.Response, error)

Execute executes the request

func (*BlogPostsApiService) Update

func (a *BlogPostsApiService) Update(ctx context.Context, objectId string) ApiUpdateRequest

Update Update a Blog Post

Sparse updates a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified.

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

func (*BlogPostsApiService) UpdateDraft

func (a *BlogPostsApiService) UpdateDraft(ctx context.Context, objectId string) ApiUpdateDraftRequest

UpdateDraft Update a Blog Post draft

Sparse updates the draft version of a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param objectId The Blog Post id.
@return ApiUpdateDraftRequest

func (*BlogPostsApiService) UpdateDraftExecute

func (a *BlogPostsApiService) UpdateDraftExecute(r ApiUpdateDraftRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) UpdateExecute

func (a *BlogPostsApiService) UpdateExecute(r ApiUpdateRequest) (*BlogPost, *http.Response, error)

Execute executes the request

@return BlogPost

func (*BlogPostsApiService) UpdateLanguages

UpdateLanguages Update languages of multi-language group

Explicitly set new languages for each Blog Post in a multi-language group.

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

func (*BlogPostsApiService) UpdateLanguagesExecute

func (a *BlogPostsApiService) UpdateLanguagesExecute(r ApiUpdateLanguagesRequest) (*Error, *http.Response, error)

Execute executes the request

@return Error

type CollectionResponseWithTotalBlogPostForwardPaging

type CollectionResponseWithTotalBlogPostForwardPaging struct {
	// Total number of blog posts.
	Total int32 `json:"total"`
	// Collection of blog posts.
	Results []BlogPost     `json:"results"`
	Paging  *ForwardPaging `json:"paging,omitempty"`
}

CollectionResponseWithTotalBlogPostForwardPaging Response object for collections of blog posts with pagination information.

func NewCollectionResponseWithTotalBlogPostForwardPaging

func NewCollectionResponseWithTotalBlogPostForwardPaging(total int32, results []BlogPost) *CollectionResponseWithTotalBlogPostForwardPaging

NewCollectionResponseWithTotalBlogPostForwardPaging instantiates a new CollectionResponseWithTotalBlogPostForwardPaging 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 NewCollectionResponseWithTotalBlogPostForwardPagingWithDefaults

func NewCollectionResponseWithTotalBlogPostForwardPagingWithDefaults() *CollectionResponseWithTotalBlogPostForwardPaging

NewCollectionResponseWithTotalBlogPostForwardPagingWithDefaults instantiates a new CollectionResponseWithTotalBlogPostForwardPaging 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 (*CollectionResponseWithTotalBlogPostForwardPaging) GetPaging

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

func (*CollectionResponseWithTotalBlogPostForwardPaging) GetPagingOk

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

func (*CollectionResponseWithTotalBlogPostForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseWithTotalBlogPostForwardPaging) GetResultsOk

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

func (*CollectionResponseWithTotalBlogPostForwardPaging) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalBlogPostForwardPaging) GetTotalOk

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

func (*CollectionResponseWithTotalBlogPostForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalBlogPostForwardPaging) MarshalJSON

func (*CollectionResponseWithTotalBlogPostForwardPaging) SetPaging

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

func (*CollectionResponseWithTotalBlogPostForwardPaging) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalBlogPostForwardPaging) SetTotal

SetTotal sets field value

type CollectionResponseWithTotalVersionBlogPost

type CollectionResponseWithTotalVersionBlogPost struct {
	// Total number of blog post versions.
	Total int32 `json:"total"`
	// Collection of blog post versions.
	Results []VersionBlogPost `json:"results"`
	Paging  *Paging           `json:"paging,omitempty"`
}

CollectionResponseWithTotalVersionBlogPost Response object for collections of blog post versions with pagination information.

func NewCollectionResponseWithTotalVersionBlogPost

func NewCollectionResponseWithTotalVersionBlogPost(total int32, results []VersionBlogPost) *CollectionResponseWithTotalVersionBlogPost

NewCollectionResponseWithTotalVersionBlogPost instantiates a new CollectionResponseWithTotalVersionBlogPost 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 NewCollectionResponseWithTotalVersionBlogPostWithDefaults

func NewCollectionResponseWithTotalVersionBlogPostWithDefaults() *CollectionResponseWithTotalVersionBlogPost

NewCollectionResponseWithTotalVersionBlogPostWithDefaults instantiates a new CollectionResponseWithTotalVersionBlogPost 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 (*CollectionResponseWithTotalVersionBlogPost) GetPaging

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

func (*CollectionResponseWithTotalVersionBlogPost) GetPagingOk

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

func (*CollectionResponseWithTotalVersionBlogPost) GetResults

GetResults returns the Results field value

func (*CollectionResponseWithTotalVersionBlogPost) GetResultsOk

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

func (*CollectionResponseWithTotalVersionBlogPost) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalVersionBlogPost) GetTotalOk

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

func (*CollectionResponseWithTotalVersionBlogPost) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalVersionBlogPost) MarshalJSON

func (*CollectionResponseWithTotalVersionBlogPost) SetPaging

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

func (*CollectionResponseWithTotalVersionBlogPost) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalVersionBlogPost) SetTotal

SetTotal sets field value

type ColorStop

type ColorStop struct {
	Color RGBAColor `json:"color"`
}

ColorStop struct for ColorStop

func NewColorStop

func NewColorStop(color RGBAColor) *ColorStop

NewColorStop instantiates a new ColorStop 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 NewColorStopWithDefaults

func NewColorStopWithDefaults() *ColorStop

NewColorStopWithDefaults instantiates a new ColorStop 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 (*ColorStop) GetColor

func (o *ColorStop) GetColor() RGBAColor

GetColor returns the Color field value

func (*ColorStop) GetColorOk

func (o *ColorStop) GetColorOk() (*RGBAColor, bool)

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

func (ColorStop) MarshalJSON

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

func (*ColorStop) SetColor

func (o *ColorStop) SetColor(v RGBAColor)

SetColor 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 ContentCloneRequestVNext

type ContentCloneRequestVNext struct {
	// ID of the object to be cloned.
	Id string `json:"id"`
	// Name of the cloned object.
	CloneName *string `json:"cloneName,omitempty"`
}

ContentCloneRequestVNext Request body object for cloning content.

func NewContentCloneRequestVNext

func NewContentCloneRequestVNext(id string) *ContentCloneRequestVNext

NewContentCloneRequestVNext instantiates a new ContentCloneRequestVNext 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 NewContentCloneRequestVNextWithDefaults

func NewContentCloneRequestVNextWithDefaults() *ContentCloneRequestVNext

NewContentCloneRequestVNextWithDefaults instantiates a new ContentCloneRequestVNext 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 (*ContentCloneRequestVNext) GetCloneName

func (o *ContentCloneRequestVNext) GetCloneName() string

GetCloneName returns the CloneName field value if set, zero value otherwise.

func (*ContentCloneRequestVNext) GetCloneNameOk

func (o *ContentCloneRequestVNext) GetCloneNameOk() (*string, bool)

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

func (*ContentCloneRequestVNext) GetId

func (o *ContentCloneRequestVNext) GetId() string

GetId returns the Id field value

func (*ContentCloneRequestVNext) GetIdOk

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

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

func (*ContentCloneRequestVNext) HasCloneName

func (o *ContentCloneRequestVNext) HasCloneName() bool

HasCloneName returns a boolean if a field has been set.

func (ContentCloneRequestVNext) MarshalJSON

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

func (*ContentCloneRequestVNext) SetCloneName

func (o *ContentCloneRequestVNext) SetCloneName(v string)

SetCloneName gets a reference to the given string and assigns it to the CloneName field.

func (*ContentCloneRequestVNext) SetId

func (o *ContentCloneRequestVNext) SetId(v string)

SetId sets field value

type ContentLanguageVariation

type ContentLanguageVariation struct {
	Id                       int64                    `json:"id"`
	Name                     string                   `json:"name"`
	Slug                     string                   `json:"slug"`
	State                    string                   `json:"state"`
	AuthorName               string                   `json:"authorName"`
	Password                 string                   `json:"password"`
	PublicAccessRulesEnabled bool                     `json:"publicAccessRulesEnabled"`
	PublicAccessRules        []map[string]interface{} `json:"publicAccessRules"`
	Campaign                 string                   `json:"campaign"`
	TagIds                   []int64                  `json:"tagIds,omitempty"`
	ArchivedInDashboard      bool                     `json:"archivedInDashboard"`
	Created                  time.Time                `json:"created"`
	Updated                  time.Time                `json:"updated"`
	PublishDate              time.Time                `json:"publishDate"`
}

ContentLanguageVariation struct for ContentLanguageVariation

func NewContentLanguageVariation

func NewContentLanguageVariation(id int64, name string, slug string, state string, authorName string, password string, publicAccessRulesEnabled bool, publicAccessRules []map[string]interface{}, campaign string, archivedInDashboard bool, created time.Time, updated time.Time, publishDate time.Time) *ContentLanguageVariation

NewContentLanguageVariation instantiates a new ContentLanguageVariation 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 NewContentLanguageVariationWithDefaults

func NewContentLanguageVariationWithDefaults() *ContentLanguageVariation

NewContentLanguageVariationWithDefaults instantiates a new ContentLanguageVariation 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 (*ContentLanguageVariation) GetArchivedInDashboard

func (o *ContentLanguageVariation) GetArchivedInDashboard() bool

GetArchivedInDashboard returns the ArchivedInDashboard field value

func (*ContentLanguageVariation) GetArchivedInDashboardOk

func (o *ContentLanguageVariation) GetArchivedInDashboardOk() (*bool, bool)

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

func (*ContentLanguageVariation) GetAuthorName

func (o *ContentLanguageVariation) GetAuthorName() string

GetAuthorName returns the AuthorName field value

func (*ContentLanguageVariation) GetAuthorNameOk

func (o *ContentLanguageVariation) GetAuthorNameOk() (*string, bool)

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

func (*ContentLanguageVariation) GetCampaign

func (o *ContentLanguageVariation) GetCampaign() string

GetCampaign returns the Campaign field value

func (*ContentLanguageVariation) GetCampaignOk

func (o *ContentLanguageVariation) GetCampaignOk() (*string, bool)

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

func (*ContentLanguageVariation) GetCreated

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

GetCreated returns the Created field value

func (*ContentLanguageVariation) GetCreatedOk

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

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

func (*ContentLanguageVariation) GetId

func (o *ContentLanguageVariation) GetId() int64

GetId returns the Id field value

func (*ContentLanguageVariation) GetIdOk

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

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

func (*ContentLanguageVariation) GetName

func (o *ContentLanguageVariation) GetName() string

GetName returns the Name field value

func (*ContentLanguageVariation) GetNameOk

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

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

func (*ContentLanguageVariation) GetPassword

func (o *ContentLanguageVariation) GetPassword() string

GetPassword returns the Password field value

func (*ContentLanguageVariation) GetPasswordOk

func (o *ContentLanguageVariation) GetPasswordOk() (*string, bool)

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

func (*ContentLanguageVariation) GetPublicAccessRules

func (o *ContentLanguageVariation) GetPublicAccessRules() []map[string]interface{}

GetPublicAccessRules returns the PublicAccessRules field value

func (*ContentLanguageVariation) GetPublicAccessRulesEnabled

func (o *ContentLanguageVariation) GetPublicAccessRulesEnabled() bool

GetPublicAccessRulesEnabled returns the PublicAccessRulesEnabled field value

func (*ContentLanguageVariation) GetPublicAccessRulesEnabledOk

func (o *ContentLanguageVariation) GetPublicAccessRulesEnabledOk() (*bool, bool)

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

func (*ContentLanguageVariation) GetPublicAccessRulesOk

func (o *ContentLanguageVariation) GetPublicAccessRulesOk() ([]map[string]interface{}, bool)

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

func (*ContentLanguageVariation) GetPublishDate

func (o *ContentLanguageVariation) GetPublishDate() time.Time

GetPublishDate returns the PublishDate field value

func (*ContentLanguageVariation) GetPublishDateOk

func (o *ContentLanguageVariation) GetPublishDateOk() (*time.Time, bool)

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

func (*ContentLanguageVariation) GetSlug

func (o *ContentLanguageVariation) GetSlug() string

GetSlug returns the Slug field value

func (*ContentLanguageVariation) GetSlugOk

func (o *ContentLanguageVariation) GetSlugOk() (*string, bool)

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

func (*ContentLanguageVariation) GetState

func (o *ContentLanguageVariation) GetState() string

GetState returns the State field value

func (*ContentLanguageVariation) GetStateOk

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

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

func (*ContentLanguageVariation) GetTagIds

func (o *ContentLanguageVariation) GetTagIds() []int64

GetTagIds returns the TagIds field value if set, zero value otherwise.

func (*ContentLanguageVariation) GetTagIdsOk

func (o *ContentLanguageVariation) GetTagIdsOk() ([]int64, bool)

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

func (*ContentLanguageVariation) GetUpdated

func (o *ContentLanguageVariation) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ContentLanguageVariation) GetUpdatedOk

func (o *ContentLanguageVariation) GetUpdatedOk() (*time.Time, bool)

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

func (*ContentLanguageVariation) HasTagIds

func (o *ContentLanguageVariation) HasTagIds() bool

HasTagIds returns a boolean if a field has been set.

func (ContentLanguageVariation) MarshalJSON

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

func (*ContentLanguageVariation) SetArchivedInDashboard

func (o *ContentLanguageVariation) SetArchivedInDashboard(v bool)

SetArchivedInDashboard sets field value

func (*ContentLanguageVariation) SetAuthorName

func (o *ContentLanguageVariation) SetAuthorName(v string)

SetAuthorName sets field value

func (*ContentLanguageVariation) SetCampaign

func (o *ContentLanguageVariation) SetCampaign(v string)

SetCampaign sets field value

func (*ContentLanguageVariation) SetCreated

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

SetCreated sets field value

func (*ContentLanguageVariation) SetId

func (o *ContentLanguageVariation) SetId(v int64)

SetId sets field value

func (*ContentLanguageVariation) SetName

func (o *ContentLanguageVariation) SetName(v string)

SetName sets field value

func (*ContentLanguageVariation) SetPassword

func (o *ContentLanguageVariation) SetPassword(v string)

SetPassword sets field value

func (*ContentLanguageVariation) SetPublicAccessRules

func (o *ContentLanguageVariation) SetPublicAccessRules(v []map[string]interface{})

SetPublicAccessRules sets field value

func (*ContentLanguageVariation) SetPublicAccessRulesEnabled

func (o *ContentLanguageVariation) SetPublicAccessRulesEnabled(v bool)

SetPublicAccessRulesEnabled sets field value

func (*ContentLanguageVariation) SetPublishDate

func (o *ContentLanguageVariation) SetPublishDate(v time.Time)

SetPublishDate sets field value

func (*ContentLanguageVariation) SetSlug

func (o *ContentLanguageVariation) SetSlug(v string)

SetSlug sets field value

func (*ContentLanguageVariation) SetState

func (o *ContentLanguageVariation) SetState(v string)

SetState sets field value

func (*ContentLanguageVariation) SetTagIds

func (o *ContentLanguageVariation) SetTagIds(v []int64)

SetTagIds gets a reference to the given []int64 and assigns it to the TagIds field.

func (*ContentLanguageVariation) SetUpdated

func (o *ContentLanguageVariation) SetUpdated(v time.Time)

SetUpdated sets field value

type ContentScheduleRequestVNext

type ContentScheduleRequestVNext struct {
	// The ID of the object to be scheduled.
	Id string `json:"id"`
	// The date the object should transition from scheduled to published.
	PublishDate time.Time `json:"publishDate"`
}

ContentScheduleRequestVNext Request body object for scheduling the publish of content

func NewContentScheduleRequestVNext

func NewContentScheduleRequestVNext(id string, publishDate time.Time) *ContentScheduleRequestVNext

NewContentScheduleRequestVNext instantiates a new ContentScheduleRequestVNext 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 NewContentScheduleRequestVNextWithDefaults

func NewContentScheduleRequestVNextWithDefaults() *ContentScheduleRequestVNext

NewContentScheduleRequestVNextWithDefaults instantiates a new ContentScheduleRequestVNext 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 (*ContentScheduleRequestVNext) GetId

GetId returns the Id field value

func (*ContentScheduleRequestVNext) GetIdOk

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

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

func (*ContentScheduleRequestVNext) GetPublishDate

func (o *ContentScheduleRequestVNext) GetPublishDate() time.Time

GetPublishDate returns the PublishDate field value

func (*ContentScheduleRequestVNext) GetPublishDateOk

func (o *ContentScheduleRequestVNext) GetPublishDateOk() (*time.Time, bool)

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

func (ContentScheduleRequestVNext) MarshalJSON

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

func (*ContentScheduleRequestVNext) SetId

func (o *ContentScheduleRequestVNext) SetId(v string)

SetId sets field value

func (*ContentScheduleRequestVNext) SetPublishDate

func (o *ContentScheduleRequestVNext) SetPublishDate(v time.Time)

SetPublishDate sets field value

type DetachFromLangGroupRequestVNext

type DetachFromLangGroupRequestVNext struct {
	// ID of the object to remove from a multi-language group.
	Id string `json:"id"`
}

DetachFromLangGroupRequestVNext Request body object for detaching objects from multi-language groups.

func NewDetachFromLangGroupRequestVNext

func NewDetachFromLangGroupRequestVNext(id string) *DetachFromLangGroupRequestVNext

NewDetachFromLangGroupRequestVNext instantiates a new DetachFromLangGroupRequestVNext 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 NewDetachFromLangGroupRequestVNextWithDefaults

func NewDetachFromLangGroupRequestVNextWithDefaults() *DetachFromLangGroupRequestVNext

NewDetachFromLangGroupRequestVNextWithDefaults instantiates a new DetachFromLangGroupRequestVNext 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 (*DetachFromLangGroupRequestVNext) GetId

GetId returns the Id field value

func (*DetachFromLangGroupRequestVNext) GetIdOk

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

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

func (DetachFromLangGroupRequestVNext) MarshalJSON

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

func (*DetachFromLangGroupRequestVNext) SetId

SetId sets field value

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 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 ForwardPaging

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

ForwardPaging Model definition for forward paging.

func NewForwardPaging

func NewForwardPaging() *ForwardPaging

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

func NewForwardPagingWithDefaults

func NewForwardPagingWithDefaults() *ForwardPaging

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

func (*ForwardPaging) GetNext

func (o *ForwardPaging) GetNext() NextPage

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

func (*ForwardPaging) GetNextOk

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

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

func (*ForwardPaging) HasNext

func (o *ForwardPaging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (ForwardPaging) MarshalJSON

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

func (*ForwardPaging) SetNext

func (o *ForwardPaging) SetNext(v NextPage)

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

type 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 Gradient

type Gradient struct {
	SideOrCorner SideOrCorner `json:"sideOrCorner"`
	Angle        Angle        `json:"angle"`
	Colors       []ColorStop  `json:"colors"`
}

Gradient struct for Gradient

func NewGradient

func NewGradient(sideOrCorner SideOrCorner, angle Angle, colors []ColorStop) *Gradient

NewGradient instantiates a new Gradient 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 NewGradientWithDefaults

func NewGradientWithDefaults() *Gradient

NewGradientWithDefaults instantiates a new Gradient 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 (*Gradient) GetAngle

func (o *Gradient) GetAngle() Angle

GetAngle returns the Angle field value

func (*Gradient) GetAngleOk

func (o *Gradient) GetAngleOk() (*Angle, bool)

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

func (*Gradient) GetColors

func (o *Gradient) GetColors() []ColorStop

GetColors returns the Colors field value

func (*Gradient) GetColorsOk

func (o *Gradient) GetColorsOk() ([]ColorStop, bool)

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

func (*Gradient) GetSideOrCorner

func (o *Gradient) GetSideOrCorner() SideOrCorner

GetSideOrCorner returns the SideOrCorner field value

func (*Gradient) GetSideOrCornerOk

func (o *Gradient) GetSideOrCornerOk() (*SideOrCorner, bool)

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

func (Gradient) MarshalJSON

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

func (*Gradient) SetAngle

func (o *Gradient) SetAngle(v Angle)

SetAngle sets field value

func (*Gradient) SetColors

func (o *Gradient) SetColors(v []ColorStop)

SetColors sets field value

func (*Gradient) SetSideOrCorner

func (o *Gradient) SetSideOrCorner(v SideOrCorner)

SetSideOrCorner sets field value

type LayoutSection

type LayoutSection struct {
	X     int32  `json:"x"`
	W     int32  `json:"w"`
	Name  string `json:"name"`
	Label string `json:"label"`
	Type  string `json:"type"`
	// null
	Params      map[string]map[string]interface{} `json:"params"`
	Rows        []map[string]LayoutSection        `json:"rows"`
	RowMetaData []RowMetaData                     `json:"rowMetaData"`
	Cells       []LayoutSection                   `json:"cells"`
	CssClass    string                            `json:"cssClass"`
	CssStyle    string                            `json:"cssStyle"`
	CssId       string                            `json:"cssId"`
	Styles      Styles                            `json:"styles"`
}

LayoutSection struct for LayoutSection

func NewLayoutSection

func NewLayoutSection(x int32, w int32, name string, label string, type_ string, params map[string]map[string]interface{}, rows []map[string]LayoutSection, rowMetaData []RowMetaData, cells []LayoutSection, cssClass string, cssStyle string, cssId string, styles Styles) *LayoutSection

NewLayoutSection instantiates a new LayoutSection 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 NewLayoutSectionWithDefaults

func NewLayoutSectionWithDefaults() *LayoutSection

NewLayoutSectionWithDefaults instantiates a new LayoutSection 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 (*LayoutSection) GetCells

func (o *LayoutSection) GetCells() []LayoutSection

GetCells returns the Cells field value

func (*LayoutSection) GetCellsOk

func (o *LayoutSection) GetCellsOk() ([]LayoutSection, bool)

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

func (*LayoutSection) GetCssClass

func (o *LayoutSection) GetCssClass() string

GetCssClass returns the CssClass field value

func (*LayoutSection) GetCssClassOk

func (o *LayoutSection) GetCssClassOk() (*string, bool)

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

func (*LayoutSection) GetCssId

func (o *LayoutSection) GetCssId() string

GetCssId returns the CssId field value

func (*LayoutSection) GetCssIdOk

func (o *LayoutSection) GetCssIdOk() (*string, bool)

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

func (*LayoutSection) GetCssStyle

func (o *LayoutSection) GetCssStyle() string

GetCssStyle returns the CssStyle field value

func (*LayoutSection) GetCssStyleOk

func (o *LayoutSection) GetCssStyleOk() (*string, bool)

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

func (*LayoutSection) GetLabel

func (o *LayoutSection) GetLabel() string

GetLabel returns the Label field value

func (*LayoutSection) GetLabelOk

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

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

func (*LayoutSection) GetName

func (o *LayoutSection) GetName() string

GetName returns the Name field value

func (*LayoutSection) GetNameOk

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

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

func (*LayoutSection) GetParams

func (o *LayoutSection) GetParams() map[string]map[string]interface{}

GetParams returns the Params field value

func (*LayoutSection) GetParamsOk

func (o *LayoutSection) GetParamsOk() (map[string]map[string]interface{}, bool)

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

func (*LayoutSection) GetRowMetaData

func (o *LayoutSection) GetRowMetaData() []RowMetaData

GetRowMetaData returns the RowMetaData field value

func (*LayoutSection) GetRowMetaDataOk

func (o *LayoutSection) GetRowMetaDataOk() ([]RowMetaData, bool)

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

func (*LayoutSection) GetRows

func (o *LayoutSection) GetRows() []map[string]LayoutSection

GetRows returns the Rows field value

func (*LayoutSection) GetRowsOk

func (o *LayoutSection) GetRowsOk() ([]map[string]LayoutSection, bool)

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

func (*LayoutSection) GetStyles

func (o *LayoutSection) GetStyles() Styles

GetStyles returns the Styles field value

func (*LayoutSection) GetStylesOk

func (o *LayoutSection) GetStylesOk() (*Styles, bool)

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

func (*LayoutSection) GetType

func (o *LayoutSection) GetType() string

GetType returns the Type field value

func (*LayoutSection) GetTypeOk

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

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

func (*LayoutSection) GetW

func (o *LayoutSection) GetW() int32

GetW returns the W field value

func (*LayoutSection) GetWOk

func (o *LayoutSection) GetWOk() (*int32, bool)

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

func (*LayoutSection) GetX

func (o *LayoutSection) GetX() int32

GetX returns the X field value

func (*LayoutSection) GetXOk

func (o *LayoutSection) GetXOk() (*int32, bool)

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

func (LayoutSection) MarshalJSON

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

func (*LayoutSection) SetCells

func (o *LayoutSection) SetCells(v []LayoutSection)

SetCells sets field value

func (*LayoutSection) SetCssClass

func (o *LayoutSection) SetCssClass(v string)

SetCssClass sets field value

func (*LayoutSection) SetCssId

func (o *LayoutSection) SetCssId(v string)

SetCssId sets field value

func (*LayoutSection) SetCssStyle

func (o *LayoutSection) SetCssStyle(v string)

SetCssStyle sets field value

func (*LayoutSection) SetLabel

func (o *LayoutSection) SetLabel(v string)

SetLabel sets field value

func (*LayoutSection) SetName

func (o *LayoutSection) SetName(v string)

SetName sets field value

func (*LayoutSection) SetParams

func (o *LayoutSection) SetParams(v map[string]map[string]interface{})

SetParams sets field value

func (*LayoutSection) SetRowMetaData

func (o *LayoutSection) SetRowMetaData(v []RowMetaData)

SetRowMetaData sets field value

func (*LayoutSection) SetRows

func (o *LayoutSection) SetRows(v []map[string]LayoutSection)

SetRows sets field value

func (*LayoutSection) SetStyles

func (o *LayoutSection) SetStyles(v Styles)

SetStyles sets field value

func (*LayoutSection) SetType

func (o *LayoutSection) SetType(v string)

SetType sets field value

func (*LayoutSection) SetW

func (o *LayoutSection) SetW(v int32)

SetW sets field value

func (*LayoutSection) SetX

func (o *LayoutSection) SetX(v int32)

SetX sets field value

type NextPage

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

NextPage Model definition for a next page.

func NewNextPage

func NewNextPage(after string) *NextPage

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

func NewNextPageWithDefaults

func NewNextPageWithDefaults() *NextPage

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

func (*NextPage) GetAfter

func (o *NextPage) GetAfter() string

GetAfter returns the After field value

func (*NextPage) GetAfterOk

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

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

func (o *NextPage) GetLink() string

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

func (*NextPage) GetLinkOk

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

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

func (o *NextPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (NextPage) MarshalJSON

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

func (*NextPage) SetAfter

func (o *NextPage) SetAfter(v string)

SetAfter sets field value

func (o *NextPage) SetLink(v string)

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

type NullableAngle

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

func NewNullableAngle

func NewNullableAngle(val *Angle) *NullableAngle

func (NullableAngle) Get

func (v NullableAngle) Get() *Angle

func (NullableAngle) IsSet

func (v NullableAngle) IsSet() bool

func (NullableAngle) MarshalJSON

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

func (*NullableAngle) Set

func (v *NullableAngle) Set(val *Angle)

func (*NullableAngle) UnmarshalJSON

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

func (*NullableAngle) Unset

func (v *NullableAngle) Unset()

type NullableAttachToLangPrimaryRequestVNext

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

func (NullableAttachToLangPrimaryRequestVNext) Get

func (NullableAttachToLangPrimaryRequestVNext) IsSet

func (NullableAttachToLangPrimaryRequestVNext) MarshalJSON

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

func (*NullableAttachToLangPrimaryRequestVNext) Set

func (*NullableAttachToLangPrimaryRequestVNext) UnmarshalJSON

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

func (*NullableAttachToLangPrimaryRequestVNext) Unset

type NullableBackgroundImage

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

func NewNullableBackgroundImage

func NewNullableBackgroundImage(val *BackgroundImage) *NullableBackgroundImage

func (NullableBackgroundImage) Get

func (NullableBackgroundImage) IsSet

func (v NullableBackgroundImage) IsSet() bool

func (NullableBackgroundImage) MarshalJSON

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

func (*NullableBackgroundImage) Set

func (*NullableBackgroundImage) UnmarshalJSON

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

func (*NullableBackgroundImage) Unset

func (v *NullableBackgroundImage) Unset()

type NullableBatchInputBlogPost

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

func NewNullableBatchInputBlogPost

func NewNullableBatchInputBlogPost(val *BatchInputBlogPost) *NullableBatchInputBlogPost

func (NullableBatchInputBlogPost) Get

func (NullableBatchInputBlogPost) IsSet

func (v NullableBatchInputBlogPost) IsSet() bool

func (NullableBatchInputBlogPost) MarshalJSON

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

func (*NullableBatchInputBlogPost) Set

func (*NullableBatchInputBlogPost) UnmarshalJSON

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

func (*NullableBatchInputBlogPost) Unset

func (v *NullableBatchInputBlogPost) Unset()

type NullableBatchInputJsonNode

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

func NewNullableBatchInputJsonNode

func NewNullableBatchInputJsonNode(val *BatchInputJsonNode) *NullableBatchInputJsonNode

func (NullableBatchInputJsonNode) Get

func (NullableBatchInputJsonNode) IsSet

func (v NullableBatchInputJsonNode) IsSet() bool

func (NullableBatchInputJsonNode) MarshalJSON

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

func (*NullableBatchInputJsonNode) Set

func (*NullableBatchInputJsonNode) UnmarshalJSON

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

func (*NullableBatchInputJsonNode) Unset

func (v *NullableBatchInputJsonNode) Unset()

type NullableBatchInputString

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

func NewNullableBatchInputString

func NewNullableBatchInputString(val *BatchInputString) *NullableBatchInputString

func (NullableBatchInputString) Get

func (NullableBatchInputString) IsSet

func (v NullableBatchInputString) IsSet() bool

func (NullableBatchInputString) MarshalJSON

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

func (*NullableBatchInputString) Set

func (*NullableBatchInputString) UnmarshalJSON

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

func (*NullableBatchInputString) Unset

func (v *NullableBatchInputString) Unset()

type NullableBatchResponseBlogPost

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

func (NullableBatchResponseBlogPost) Get

func (NullableBatchResponseBlogPost) IsSet

func (NullableBatchResponseBlogPost) MarshalJSON

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

func (*NullableBatchResponseBlogPost) Set

func (*NullableBatchResponseBlogPost) UnmarshalJSON

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

func (*NullableBatchResponseBlogPost) Unset

func (v *NullableBatchResponseBlogPost) Unset()

type NullableBatchResponseBlogPostWithErrors

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

func (NullableBatchResponseBlogPostWithErrors) Get

func (NullableBatchResponseBlogPostWithErrors) IsSet

func (NullableBatchResponseBlogPostWithErrors) MarshalJSON

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

func (*NullableBatchResponseBlogPostWithErrors) Set

func (*NullableBatchResponseBlogPostWithErrors) UnmarshalJSON

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

func (*NullableBatchResponseBlogPostWithErrors) Unset

type NullableBlogPost

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

func NewNullableBlogPost

func NewNullableBlogPost(val *BlogPost) *NullableBlogPost

func (NullableBlogPost) Get

func (v NullableBlogPost) Get() *BlogPost

func (NullableBlogPost) IsSet

func (v NullableBlogPost) IsSet() bool

func (NullableBlogPost) MarshalJSON

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

func (*NullableBlogPost) Set

func (v *NullableBlogPost) Set(val *BlogPost)

func (*NullableBlogPost) UnmarshalJSON

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

func (*NullableBlogPost) Unset

func (v *NullableBlogPost) Unset()

type NullableBlogPostLanguageCloneRequestVNext

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

func (NullableBlogPostLanguageCloneRequestVNext) Get

func (NullableBlogPostLanguageCloneRequestVNext) IsSet

func (NullableBlogPostLanguageCloneRequestVNext) MarshalJSON

func (*NullableBlogPostLanguageCloneRequestVNext) Set

func (*NullableBlogPostLanguageCloneRequestVNext) UnmarshalJSON

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

func (*NullableBlogPostLanguageCloneRequestVNext) 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 NullableCollectionResponseWithTotalBlogPostForwardPaging

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

func (NullableCollectionResponseWithTotalBlogPostForwardPaging) Get

func (NullableCollectionResponseWithTotalBlogPostForwardPaging) IsSet

func (NullableCollectionResponseWithTotalBlogPostForwardPaging) MarshalJSON

func (*NullableCollectionResponseWithTotalBlogPostForwardPaging) Set

func (*NullableCollectionResponseWithTotalBlogPostForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseWithTotalBlogPostForwardPaging) Unset

type NullableCollectionResponseWithTotalVersionBlogPost

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

func (NullableCollectionResponseWithTotalVersionBlogPost) Get

func (NullableCollectionResponseWithTotalVersionBlogPost) IsSet

func (NullableCollectionResponseWithTotalVersionBlogPost) MarshalJSON

func (*NullableCollectionResponseWithTotalVersionBlogPost) Set

func (*NullableCollectionResponseWithTotalVersionBlogPost) UnmarshalJSON

func (*NullableCollectionResponseWithTotalVersionBlogPost) Unset

type NullableColorStop

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

func NewNullableColorStop

func NewNullableColorStop(val *ColorStop) *NullableColorStop

func (NullableColorStop) Get

func (v NullableColorStop) Get() *ColorStop

func (NullableColorStop) IsSet

func (v NullableColorStop) IsSet() bool

func (NullableColorStop) MarshalJSON

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

func (*NullableColorStop) Set

func (v *NullableColorStop) Set(val *ColorStop)

func (*NullableColorStop) UnmarshalJSON

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

func (*NullableColorStop) Unset

func (v *NullableColorStop) Unset()

type NullableContentCloneRequestVNext

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

func (NullableContentCloneRequestVNext) Get

func (NullableContentCloneRequestVNext) IsSet

func (NullableContentCloneRequestVNext) MarshalJSON

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

func (*NullableContentCloneRequestVNext) Set

func (*NullableContentCloneRequestVNext) UnmarshalJSON

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

func (*NullableContentCloneRequestVNext) Unset

type NullableContentLanguageVariation

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

func (NullableContentLanguageVariation) Get

func (NullableContentLanguageVariation) IsSet

func (NullableContentLanguageVariation) MarshalJSON

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

func (*NullableContentLanguageVariation) Set

func (*NullableContentLanguageVariation) UnmarshalJSON

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

func (*NullableContentLanguageVariation) Unset

type NullableContentScheduleRequestVNext

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

func (NullableContentScheduleRequestVNext) Get

func (NullableContentScheduleRequestVNext) IsSet

func (NullableContentScheduleRequestVNext) MarshalJSON

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

func (*NullableContentScheduleRequestVNext) Set

func (*NullableContentScheduleRequestVNext) UnmarshalJSON

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

func (*NullableContentScheduleRequestVNext) Unset

type NullableDetachFromLangGroupRequestVNext

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

func (NullableDetachFromLangGroupRequestVNext) Get

func (NullableDetachFromLangGroupRequestVNext) IsSet

func (NullableDetachFromLangGroupRequestVNext) MarshalJSON

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

func (*NullableDetachFromLangGroupRequestVNext) Set

func (*NullableDetachFromLangGroupRequestVNext) UnmarshalJSON

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

func (*NullableDetachFromLangGroupRequestVNext) 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 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 NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableForwardPaging

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

func NewNullableForwardPaging

func NewNullableForwardPaging(val *ForwardPaging) *NullableForwardPaging

func (NullableForwardPaging) Get

func (NullableForwardPaging) IsSet

func (v NullableForwardPaging) IsSet() bool

func (NullableForwardPaging) MarshalJSON

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

func (*NullableForwardPaging) Set

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

func (*NullableForwardPaging) UnmarshalJSON

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

func (*NullableForwardPaging) Unset

func (v *NullableForwardPaging) Unset()

type NullableGradient

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

func NewNullableGradient

func NewNullableGradient(val *Gradient) *NullableGradient

func (NullableGradient) Get

func (v NullableGradient) Get() *Gradient

func (NullableGradient) IsSet

func (v NullableGradient) IsSet() bool

func (NullableGradient) MarshalJSON

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

func (*NullableGradient) Set

func (v *NullableGradient) Set(val *Gradient)

func (*NullableGradient) UnmarshalJSON

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

func (*NullableGradient) Unset

func (v *NullableGradient) 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 NullableLayoutSection

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

func NewNullableLayoutSection

func NewNullableLayoutSection(val *LayoutSection) *NullableLayoutSection

func (NullableLayoutSection) Get

func (NullableLayoutSection) IsSet

func (v NullableLayoutSection) IsSet() bool

func (NullableLayoutSection) MarshalJSON

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

func (*NullableLayoutSection) Set

func (v *NullableLayoutSection) Set(val *LayoutSection)

func (*NullableLayoutSection) UnmarshalJSON

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

func (*NullableLayoutSection) Unset

func (v *NullableLayoutSection) Unset()

type NullableNextPage

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

func NewNullableNextPage

func NewNullableNextPage(val *NextPage) *NullableNextPage

func (NullableNextPage) Get

func (v NullableNextPage) Get() *NextPage

func (NullableNextPage) IsSet

func (v NullableNextPage) IsSet() bool

func (NullableNextPage) MarshalJSON

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

func (*NullableNextPage) Set

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

func (*NullableNextPage) UnmarshalJSON

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

func (*NullableNextPage) Unset

func (v *NullableNextPage) Unset()

type NullablePaging

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

func NewNullablePaging

func NewNullablePaging(val *Paging) *NullablePaging

func (NullablePaging) Get

func (v NullablePaging) Get() *Paging

func (NullablePaging) IsSet

func (v NullablePaging) IsSet() bool

func (NullablePaging) MarshalJSON

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

func (*NullablePaging) Set

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

func (*NullablePaging) UnmarshalJSON

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

func (*NullablePaging) Unset

func (v *NullablePaging) Unset()

type NullablePreviousPage

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

func NewNullablePreviousPage

func NewNullablePreviousPage(val *PreviousPage) *NullablePreviousPage

func (NullablePreviousPage) Get

func (NullablePreviousPage) IsSet

func (v NullablePreviousPage) IsSet() bool

func (NullablePreviousPage) MarshalJSON

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

func (*NullablePreviousPage) Set

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

func (*NullablePreviousPage) UnmarshalJSON

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

func (*NullablePreviousPage) Unset

func (v *NullablePreviousPage) Unset()

type NullableRGBAColor

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

func NewNullableRGBAColor

func NewNullableRGBAColor(val *RGBAColor) *NullableRGBAColor

func (NullableRGBAColor) Get

func (v NullableRGBAColor) Get() *RGBAColor

func (NullableRGBAColor) IsSet

func (v NullableRGBAColor) IsSet() bool

func (NullableRGBAColor) MarshalJSON

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

func (*NullableRGBAColor) Set

func (v *NullableRGBAColor) Set(val *RGBAColor)

func (*NullableRGBAColor) UnmarshalJSON

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

func (*NullableRGBAColor) Unset

func (v *NullableRGBAColor) Unset()

type NullableRowMetaData

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

func NewNullableRowMetaData

func NewNullableRowMetaData(val *RowMetaData) *NullableRowMetaData

func (NullableRowMetaData) Get

func (NullableRowMetaData) IsSet

func (v NullableRowMetaData) IsSet() bool

func (NullableRowMetaData) MarshalJSON

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

func (*NullableRowMetaData) Set

func (v *NullableRowMetaData) Set(val *RowMetaData)

func (*NullableRowMetaData) UnmarshalJSON

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

func (*NullableRowMetaData) Unset

func (v *NullableRowMetaData) Unset()

type NullableSetNewLanguagePrimaryRequestVNext

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

func (NullableSetNewLanguagePrimaryRequestVNext) Get

func (NullableSetNewLanguagePrimaryRequestVNext) IsSet

func (NullableSetNewLanguagePrimaryRequestVNext) MarshalJSON

func (*NullableSetNewLanguagePrimaryRequestVNext) Set

func (*NullableSetNewLanguagePrimaryRequestVNext) UnmarshalJSON

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

func (*NullableSetNewLanguagePrimaryRequestVNext) Unset

type NullableSideOrCorner

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

func NewNullableSideOrCorner

func NewNullableSideOrCorner(val *SideOrCorner) *NullableSideOrCorner

func (NullableSideOrCorner) Get

func (NullableSideOrCorner) IsSet

func (v NullableSideOrCorner) IsSet() bool

func (NullableSideOrCorner) MarshalJSON

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

func (*NullableSideOrCorner) Set

func (v *NullableSideOrCorner) Set(val *SideOrCorner)

func (*NullableSideOrCorner) UnmarshalJSON

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

func (*NullableSideOrCorner) Unset

func (v *NullableSideOrCorner) 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 NullableStyles

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

func NewNullableStyles

func NewNullableStyles(val *Styles) *NullableStyles

func (NullableStyles) Get

func (v NullableStyles) Get() *Styles

func (NullableStyles) IsSet

func (v NullableStyles) IsSet() bool

func (NullableStyles) MarshalJSON

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

func (*NullableStyles) Set

func (v *NullableStyles) Set(val *Styles)

func (*NullableStyles) UnmarshalJSON

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

func (*NullableStyles) Unset

func (v *NullableStyles) 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 NullableUpdateLanguagesRequestVNext

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

func (NullableUpdateLanguagesRequestVNext) Get

func (NullableUpdateLanguagesRequestVNext) IsSet

func (NullableUpdateLanguagesRequestVNext) MarshalJSON

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

func (*NullableUpdateLanguagesRequestVNext) Set

func (*NullableUpdateLanguagesRequestVNext) UnmarshalJSON

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

func (*NullableUpdateLanguagesRequestVNext) Unset

type NullableVersionBlogPost

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

func NewNullableVersionBlogPost

func NewNullableVersionBlogPost(val *VersionBlogPost) *NullableVersionBlogPost

func (NullableVersionBlogPost) Get

func (NullableVersionBlogPost) IsSet

func (v NullableVersionBlogPost) IsSet() bool

func (NullableVersionBlogPost) MarshalJSON

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

func (*NullableVersionBlogPost) Set

func (*NullableVersionBlogPost) UnmarshalJSON

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

func (*NullableVersionBlogPost) Unset

func (v *NullableVersionBlogPost) Unset()

type NullableVersionUser

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

func NewNullableVersionUser

func NewNullableVersionUser(val *VersionUser) *NullableVersionUser

func (NullableVersionUser) Get

func (NullableVersionUser) IsSet

func (v NullableVersionUser) IsSet() bool

func (NullableVersionUser) MarshalJSON

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

func (*NullableVersionUser) Set

func (v *NullableVersionUser) Set(val *VersionUser)

func (*NullableVersionUser) UnmarshalJSON

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

func (*NullableVersionUser) Unset

func (v *NullableVersionUser) Unset()

type Paging

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

Paging Model definition for paging.

func NewPaging

func NewPaging() *Paging

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

func NewPagingWithDefaults

func NewPagingWithDefaults() *Paging

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

func (*Paging) GetNext

func (o *Paging) GetNext() NextPage

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

func (*Paging) GetNextOk

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

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

func (*Paging) GetPrev

func (o *Paging) GetPrev() PreviousPage

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

func (*Paging) GetPrevOk

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

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

func (*Paging) HasNext

func (o *Paging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Paging) HasPrev

func (o *Paging) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (Paging) MarshalJSON

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

func (*Paging) SetNext

func (o *Paging) SetNext(v NextPage)

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

func (*Paging) SetPrev

func (o *Paging) SetPrev(v PreviousPage)

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

type PreviousPage

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

PreviousPage Model definition for a previous page

func NewPreviousPage

func NewPreviousPage(before string) *PreviousPage

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

func NewPreviousPageWithDefaults

func NewPreviousPageWithDefaults() *PreviousPage

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

func (*PreviousPage) GetBefore

func (o *PreviousPage) GetBefore() string

GetBefore returns the Before field value

func (*PreviousPage) GetBeforeOk

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

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

func (o *PreviousPage) GetLink() string

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

func (*PreviousPage) GetLinkOk

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

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

func (o *PreviousPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (PreviousPage) MarshalJSON

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

func (*PreviousPage) SetBefore

func (o *PreviousPage) SetBefore(v string)

SetBefore sets field value

func (o *PreviousPage) SetLink(v string)

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

type RGBAColor

type RGBAColor struct {
	// Red.
	R int32 `json:"r"`
	// Green.
	G int32 `json:"g"`
	// Blue.
	B int32 `json:"b"`
	// Alpha.
	A float32 `json:"a"`
}

RGBAColor A color defined by RGB values.

func NewRGBAColor

func NewRGBAColor(r int32, g int32, b int32, a float32) *RGBAColor

NewRGBAColor instantiates a new RGBAColor 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 NewRGBAColorWithDefaults

func NewRGBAColorWithDefaults() *RGBAColor

NewRGBAColorWithDefaults instantiates a new RGBAColor 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 (*RGBAColor) GetA

func (o *RGBAColor) GetA() float32

GetA returns the A field value

func (*RGBAColor) GetAOk

func (o *RGBAColor) GetAOk() (*float32, bool)

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

func (*RGBAColor) GetB

func (o *RGBAColor) GetB() int32

GetB returns the B field value

func (*RGBAColor) GetBOk

func (o *RGBAColor) GetBOk() (*int32, bool)

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

func (*RGBAColor) GetG

func (o *RGBAColor) GetG() int32

GetG returns the G field value

func (*RGBAColor) GetGOk

func (o *RGBAColor) GetGOk() (*int32, bool)

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

func (*RGBAColor) GetR

func (o *RGBAColor) GetR() int32

GetR returns the R field value

func (*RGBAColor) GetROk

func (o *RGBAColor) GetROk() (*int32, bool)

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

func (RGBAColor) MarshalJSON

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

func (*RGBAColor) SetA

func (o *RGBAColor) SetA(v float32)

SetA sets field value

func (*RGBAColor) SetB

func (o *RGBAColor) SetB(v int32)

SetB sets field value

func (*RGBAColor) SetG

func (o *RGBAColor) SetG(v int32)

SetG sets field value

func (*RGBAColor) SetR

func (o *RGBAColor) SetR(v int32)

SetR sets field value

type RowMetaData

type RowMetaData struct {
	Styles   Styles `json:"styles"`
	CssClass string `json:"cssClass"`
}

RowMetaData struct for RowMetaData

func NewRowMetaData

func NewRowMetaData(styles Styles, cssClass string) *RowMetaData

NewRowMetaData instantiates a new RowMetaData 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 NewRowMetaDataWithDefaults

func NewRowMetaDataWithDefaults() *RowMetaData

NewRowMetaDataWithDefaults instantiates a new RowMetaData 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 (*RowMetaData) GetCssClass

func (o *RowMetaData) GetCssClass() string

GetCssClass returns the CssClass field value

func (*RowMetaData) GetCssClassOk

func (o *RowMetaData) GetCssClassOk() (*string, bool)

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

func (*RowMetaData) GetStyles

func (o *RowMetaData) GetStyles() Styles

GetStyles returns the Styles field value

func (*RowMetaData) GetStylesOk

func (o *RowMetaData) GetStylesOk() (*Styles, bool)

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

func (RowMetaData) MarshalJSON

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

func (*RowMetaData) SetCssClass

func (o *RowMetaData) SetCssClass(v string)

SetCssClass sets field value

func (*RowMetaData) SetStyles

func (o *RowMetaData) SetStyles(v Styles)

SetStyles 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 SetNewLanguagePrimaryRequestVNext

type SetNewLanguagePrimaryRequestVNext struct {
	// ID of object to set as primary in multi-language group.
	Id string `json:"id"`
}

SetNewLanguagePrimaryRequestVNext Request body object for setting a new primary language.

func NewSetNewLanguagePrimaryRequestVNext

func NewSetNewLanguagePrimaryRequestVNext(id string) *SetNewLanguagePrimaryRequestVNext

NewSetNewLanguagePrimaryRequestVNext instantiates a new SetNewLanguagePrimaryRequestVNext 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 NewSetNewLanguagePrimaryRequestVNextWithDefaults

func NewSetNewLanguagePrimaryRequestVNextWithDefaults() *SetNewLanguagePrimaryRequestVNext

NewSetNewLanguagePrimaryRequestVNextWithDefaults instantiates a new SetNewLanguagePrimaryRequestVNext 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 (*SetNewLanguagePrimaryRequestVNext) GetId

GetId returns the Id field value

func (*SetNewLanguagePrimaryRequestVNext) GetIdOk

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

func (SetNewLanguagePrimaryRequestVNext) MarshalJSON

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

func (*SetNewLanguagePrimaryRequestVNext) SetId

SetId sets field value

type SideOrCorner

type SideOrCorner struct {
	VerticalSide   string `json:"verticalSide"`
	HorizontalSide string `json:"horizontalSide"`
}

SideOrCorner struct for SideOrCorner

func NewSideOrCorner

func NewSideOrCorner(verticalSide string, horizontalSide string) *SideOrCorner

NewSideOrCorner instantiates a new SideOrCorner 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 NewSideOrCornerWithDefaults

func NewSideOrCornerWithDefaults() *SideOrCorner

NewSideOrCornerWithDefaults instantiates a new SideOrCorner 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 (*SideOrCorner) GetHorizontalSide

func (o *SideOrCorner) GetHorizontalSide() string

GetHorizontalSide returns the HorizontalSide field value

func (*SideOrCorner) GetHorizontalSideOk

func (o *SideOrCorner) GetHorizontalSideOk() (*string, bool)

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

func (*SideOrCorner) GetVerticalSide

func (o *SideOrCorner) GetVerticalSide() string

GetVerticalSide returns the VerticalSide field value

func (*SideOrCorner) GetVerticalSideOk

func (o *SideOrCorner) GetVerticalSideOk() (*string, bool)

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

func (SideOrCorner) MarshalJSON

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

func (*SideOrCorner) SetHorizontalSide

func (o *SideOrCorner) SetHorizontalSide(v string)

SetHorizontalSide sets field value

func (*SideOrCorner) SetVerticalSide

func (o *SideOrCorner) SetVerticalSide(v string)

SetVerticalSide sets field value

type StandardError

type StandardError struct {
	// Error status.
	Status string `json:"status"`
	// Error ID.
	Id *string `json:"id,omitempty"`
	// Model definition for an error category.
	Category map[string]interface{} `json:"category"`
	// Error subcategory.
	SubCategory map[string]interface{} `json:"subCategory,omitempty"`
	// Error message.
	Message string `json:"message"`
	// List of error details.
	Errors []ErrorDetail `json:"errors"`
	// Error context.
	Context map[string][]string `json:"context"`
	// Error links.
	Links map[string]string `json:"links"`
}

StandardError Model definition for a standard error.

func NewStandardError

func NewStandardError(status string, category map[string]interface{}, 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() map[string]interface{}

GetCategory returns the Category field value

func (*StandardError) GetCategoryOk

func (o *StandardError) GetCategoryOk() (map[string]interface{}, 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 map[string]interface{})

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 Styles

type Styles struct {
	VerticalAlignment        string          `json:"verticalAlignment"`
	BackgroundColor          RGBAColor       `json:"backgroundColor"`
	BackgroundImage          BackgroundImage `json:"backgroundImage"`
	BackgroundGradient       Gradient        `json:"backgroundGradient"`
	MaxWidthSectionCentering int32           `json:"maxWidthSectionCentering"`
	ForceFullWidthSection    bool            `json:"forceFullWidthSection"`
	FlexboxPositioning       string          `json:"flexboxPositioning"`
}

Styles struct for Styles

func NewStyles

func NewStyles(verticalAlignment string, backgroundColor RGBAColor, backgroundImage BackgroundImage, backgroundGradient Gradient, maxWidthSectionCentering int32, forceFullWidthSection bool, flexboxPositioning string) *Styles

NewStyles instantiates a new Styles 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 NewStylesWithDefaults

func NewStylesWithDefaults() *Styles

NewStylesWithDefaults instantiates a new Styles 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 (*Styles) GetBackgroundColor

func (o *Styles) GetBackgroundColor() RGBAColor

GetBackgroundColor returns the BackgroundColor field value

func (*Styles) GetBackgroundColorOk

func (o *Styles) GetBackgroundColorOk() (*RGBAColor, bool)

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

func (*Styles) GetBackgroundGradient

func (o *Styles) GetBackgroundGradient() Gradient

GetBackgroundGradient returns the BackgroundGradient field value

func (*Styles) GetBackgroundGradientOk

func (o *Styles) GetBackgroundGradientOk() (*Gradient, bool)

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

func (*Styles) GetBackgroundImage

func (o *Styles) GetBackgroundImage() BackgroundImage

GetBackgroundImage returns the BackgroundImage field value

func (*Styles) GetBackgroundImageOk

func (o *Styles) GetBackgroundImageOk() (*BackgroundImage, bool)

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

func (*Styles) GetFlexboxPositioning

func (o *Styles) GetFlexboxPositioning() string

GetFlexboxPositioning returns the FlexboxPositioning field value

func (*Styles) GetFlexboxPositioningOk

func (o *Styles) GetFlexboxPositioningOk() (*string, bool)

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

func (*Styles) GetForceFullWidthSection

func (o *Styles) GetForceFullWidthSection() bool

GetForceFullWidthSection returns the ForceFullWidthSection field value

func (*Styles) GetForceFullWidthSectionOk

func (o *Styles) GetForceFullWidthSectionOk() (*bool, bool)

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

func (*Styles) GetMaxWidthSectionCentering

func (o *Styles) GetMaxWidthSectionCentering() int32

GetMaxWidthSectionCentering returns the MaxWidthSectionCentering field value

func (*Styles) GetMaxWidthSectionCenteringOk

func (o *Styles) GetMaxWidthSectionCenteringOk() (*int32, bool)

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

func (*Styles) GetVerticalAlignment

func (o *Styles) GetVerticalAlignment() string

GetVerticalAlignment returns the VerticalAlignment field value

func (*Styles) GetVerticalAlignmentOk

func (o *Styles) GetVerticalAlignmentOk() (*string, bool)

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

func (Styles) MarshalJSON

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

func (*Styles) SetBackgroundColor

func (o *Styles) SetBackgroundColor(v RGBAColor)

SetBackgroundColor sets field value

func (*Styles) SetBackgroundGradient

func (o *Styles) SetBackgroundGradient(v Gradient)

SetBackgroundGradient sets field value

func (*Styles) SetBackgroundImage

func (o *Styles) SetBackgroundImage(v BackgroundImage)

SetBackgroundImage sets field value

func (*Styles) SetFlexboxPositioning

func (o *Styles) SetFlexboxPositioning(v string)

SetFlexboxPositioning sets field value

func (*Styles) SetForceFullWidthSection

func (o *Styles) SetForceFullWidthSection(v bool)

SetForceFullWidthSection sets field value

func (*Styles) SetMaxWidthSectionCentering

func (o *Styles) SetMaxWidthSectionCentering(v int32)

SetMaxWidthSectionCentering sets field value

func (*Styles) SetVerticalAlignment

func (o *Styles) SetVerticalAlignment(v string)

SetVerticalAlignment sets field value

type UpdateLanguagesRequestVNext

type UpdateLanguagesRequestVNext struct {
	// ID of the primary object in the multi-language group.
	PrimaryId string `json:"primaryId"`
	// Map of object IDs to associated languages of object in the multi-language group.
	Languages map[string]string `json:"languages"`
}

UpdateLanguagesRequestVNext Request object for updating languages within a multi-language group.

func NewUpdateLanguagesRequestVNext

func NewUpdateLanguagesRequestVNext(primaryId string, languages map[string]string) *UpdateLanguagesRequestVNext

NewUpdateLanguagesRequestVNext instantiates a new UpdateLanguagesRequestVNext 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 NewUpdateLanguagesRequestVNextWithDefaults

func NewUpdateLanguagesRequestVNextWithDefaults() *UpdateLanguagesRequestVNext

NewUpdateLanguagesRequestVNextWithDefaults instantiates a new UpdateLanguagesRequestVNext 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 (*UpdateLanguagesRequestVNext) GetLanguages

func (o *UpdateLanguagesRequestVNext) GetLanguages() map[string]string

GetLanguages returns the Languages field value

func (*UpdateLanguagesRequestVNext) GetLanguagesOk

func (o *UpdateLanguagesRequestVNext) GetLanguagesOk() (*map[string]string, bool)

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

func (*UpdateLanguagesRequestVNext) GetPrimaryId

func (o *UpdateLanguagesRequestVNext) GetPrimaryId() string

GetPrimaryId returns the PrimaryId field value

func (*UpdateLanguagesRequestVNext) GetPrimaryIdOk

func (o *UpdateLanguagesRequestVNext) GetPrimaryIdOk() (*string, bool)

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

func (UpdateLanguagesRequestVNext) MarshalJSON

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

func (*UpdateLanguagesRequestVNext) SetLanguages

func (o *UpdateLanguagesRequestVNext) SetLanguages(v map[string]string)

SetLanguages sets field value

func (*UpdateLanguagesRequestVNext) SetPrimaryId

func (o *UpdateLanguagesRequestVNext) SetPrimaryId(v string)

SetPrimaryId sets field value

type VersionBlogPost

type VersionBlogPost struct {
	Object BlogPost    `json:"object"`
	User   VersionUser `json:"user"`
	// The id of the version.
	Id        string    `json:"id"`
	UpdatedAt time.Time `json:"updatedAt"`
}

VersionBlogPost Model definition of a version of a blog post.

func NewVersionBlogPost

func NewVersionBlogPost(object BlogPost, user VersionUser, id string, updatedAt time.Time) *VersionBlogPost

NewVersionBlogPost instantiates a new VersionBlogPost 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 NewVersionBlogPostWithDefaults

func NewVersionBlogPostWithDefaults() *VersionBlogPost

NewVersionBlogPostWithDefaults instantiates a new VersionBlogPost 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 (*VersionBlogPost) GetId

func (o *VersionBlogPost) GetId() string

GetId returns the Id field value

func (*VersionBlogPost) GetIdOk

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

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

func (*VersionBlogPost) GetObject

func (o *VersionBlogPost) GetObject() BlogPost

GetObject returns the Object field value

func (*VersionBlogPost) GetObjectOk

func (o *VersionBlogPost) GetObjectOk() (*BlogPost, bool)

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

func (*VersionBlogPost) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*VersionBlogPost) GetUpdatedAtOk

func (o *VersionBlogPost) 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 (*VersionBlogPost) GetUser

func (o *VersionBlogPost) GetUser() VersionUser

GetUser returns the User field value

func (*VersionBlogPost) GetUserOk

func (o *VersionBlogPost) GetUserOk() (*VersionUser, bool)

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

func (VersionBlogPost) MarshalJSON

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

func (*VersionBlogPost) SetId

func (o *VersionBlogPost) SetId(v string)

SetId sets field value

func (*VersionBlogPost) SetObject

func (o *VersionBlogPost) SetObject(v BlogPost)

SetObject sets field value

func (*VersionBlogPost) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*VersionBlogPost) SetUser

func (o *VersionBlogPost) SetUser(v VersionUser)

SetUser sets field value

type VersionUser

type VersionUser struct {
	// The unique ID of the User.
	Id string `json:"id"`
	// The email address of the user.
	Email string `json:"email"`
	// The first and last name of the User.
	FullName string `json:"fullName"`
}

VersionUser Model definition for a version user. Contains addition information about the user who created a version.

func NewVersionUser

func NewVersionUser(id string, email string, fullName string) *VersionUser

NewVersionUser instantiates a new VersionUser 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 NewVersionUserWithDefaults

func NewVersionUserWithDefaults() *VersionUser

NewVersionUserWithDefaults instantiates a new VersionUser 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 (*VersionUser) GetEmail

func (o *VersionUser) GetEmail() string

GetEmail returns the Email field value

func (*VersionUser) GetEmailOk

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

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

func (*VersionUser) GetFullName

func (o *VersionUser) GetFullName() string

GetFullName returns the FullName field value

func (*VersionUser) GetFullNameOk

func (o *VersionUser) GetFullNameOk() (*string, bool)

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

func (*VersionUser) GetId

func (o *VersionUser) GetId() string

GetId returns the Id field value

func (*VersionUser) GetIdOk

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

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

func (VersionUser) MarshalJSON

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

func (*VersionUser) SetEmail

func (o *VersionUser) SetEmail(v string)

SetEmail sets field value

func (*VersionUser) SetFullName

func (o *VersionUser) SetFullName(v string)

SetFullName sets field value

func (*VersionUser) SetId

func (o *VersionUser) SetId(v string)

SetId sets field value

Jump to

Keyboard shortcuts

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