authors

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 authors

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 authors "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(), authors.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(), authors.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(), authors.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), authors.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
BlogAuthorsApi Archive Delete /cms/v3/blogs/authors/{objectId} Delete a Blog Author
BlogAuthorsApi AttachToLanguageGroup Post /cms/v3/blogs/authors/multi-language/attach-to-lang-group Attach a Blog Author to a multi-language group
BlogAuthorsApi BatchArchive Post /cms/v3/blogs/authors/batch/archive Delete a batch of Blog Authors
BlogAuthorsApi BatchCreate Post /cms/v3/blogs/authors/batch/create Create a batch of Blog Authors
BlogAuthorsApi BatchRead Post /cms/v3/blogs/authors/batch/read Retrieve a batch of Blog Authors
BlogAuthorsApi BatchUpdate Post /cms/v3/blogs/authors/batch/update Update a batch of Blog Authors
BlogAuthorsApi Create Post /cms/v3/blogs/authors Create a new Blog Author
BlogAuthorsApi CreateLanguageVariation Post /cms/v3/blogs/authors/multi-language/create-language-variation Create a new language variation
BlogAuthorsApi DetachFromLanguageGroup Post /cms/v3/blogs/authors/multi-language/detach-from-lang-group Detach a Blog Author from a multi-language group
BlogAuthorsApi GetByID Get /cms/v3/blogs/authors/{objectId} Retrieve a Blog Author
BlogAuthorsApi GetPage Get /cms/v3/blogs/authors Get all Blog Authors
BlogAuthorsApi SetLanguagePrimary Put /cms/v3/blogs/authors/multi-language/set-new-lang-primary Set a new primary language
BlogAuthorsApi Update Patch /cms/v3/blogs/authors/{objectId} Update a Blog Author
BlogAuthorsApi UpdateLanguages Post /cms/v3/blogs/authors/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 {
	BlogAuthorsApi *BlogAuthorsApiService
	// 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 ApiArchiveRequest

type ApiArchiveRequest struct {
	ApiService *BlogAuthorsApiService
	// 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 *BlogAuthorsApiService
	// 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 *BlogAuthorsApiService
	// contains filtered or unexported fields
}

func (ApiBatchArchiveRequest) BatchInputString

func (r ApiBatchArchiveRequest) BatchInputString(batchInputString BatchInputString) ApiBatchArchiveRequest

The JSON array of Blog Author ids.

func (ApiBatchArchiveRequest) Execute

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

type ApiBatchCreateRequest

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

func (ApiBatchCreateRequest) BatchInputBlogAuthor

func (r ApiBatchCreateRequest) BatchInputBlogAuthor(batchInputBlogAuthor BatchInputBlogAuthor) ApiBatchCreateRequest

The JSON array of new Blog Authors to create.

func (ApiBatchCreateRequest) Execute

type ApiBatchReadRequest

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

func (ApiBatchReadRequest) Archived

func (r ApiBatchReadRequest) Archived(archived bool) ApiBatchReadRequest

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

func (ApiBatchReadRequest) BatchInputString

func (r ApiBatchReadRequest) BatchInputString(batchInputString BatchInputString) ApiBatchReadRequest

The JSON array of Blog Author ids.

func (ApiBatchReadRequest) Execute

type ApiBatchUpdateRequest

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

func (ApiBatchUpdateRequest) Archived

func (r ApiBatchUpdateRequest) Archived(archived bool) ApiBatchUpdateRequest

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

func (ApiBatchUpdateRequest) BatchInputJsonNode

func (r ApiBatchUpdateRequest) BatchInputJsonNode(batchInputJsonNode BatchInputJsonNode) ApiBatchUpdateRequest

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

func (ApiBatchUpdateRequest) Execute

type ApiCreateLanguageVariationRequest

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

func (ApiCreateLanguageVariationRequest) BlogAuthorCloneRequestVNext

func (r ApiCreateLanguageVariationRequest) BlogAuthorCloneRequestVNext(blogAuthorCloneRequestVNext BlogAuthorCloneRequestVNext) ApiCreateLanguageVariationRequest

The JSON representation of the ContentLanguageCloneRequest object.

func (ApiCreateLanguageVariationRequest) Execute

type ApiCreateRequest

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

func (ApiCreateRequest) BlogAuthor

func (r ApiCreateRequest) BlogAuthor(blogAuthor BlogAuthor) ApiCreateRequest

The JSON representation of a new Blog Author.

func (ApiCreateRequest) Execute

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

type ApiDetachFromLanguageGroupRequest

type ApiDetachFromLanguageGroupRequest struct {
	ApiService *BlogAuthorsApiService
	// 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 *BlogAuthorsApiService
	// contains filtered or unexported fields
}

func (ApiGetByIDRequest) Archived

func (r ApiGetByIDRequest) Archived(archived bool) ApiGetByIDRequest

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

func (ApiGetByIDRequest) Execute

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

type ApiGetPageRequest

type ApiGetPageRequest struct {
	ApiService *BlogAuthorsApiService
	// 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 Authors. Defaults to `false`.

func (ApiGetPageRequest) CreatedAfter

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

Only return Blog Authors created after the specified time.

func (ApiGetPageRequest) CreatedAt

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

Only return Blog Authors created at exactly the specified time.

func (ApiGetPageRequest) CreatedBefore

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

Only return Blog Authors created before the specified time.

func (ApiGetPageRequest) Limit

func (r ApiGetPageRequest) Limit(limit int32) ApiGetPageRequest

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

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 Authors last updated after the specified time.

func (ApiGetPageRequest) UpdatedAt

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

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

func (ApiGetPageRequest) UpdatedBefore

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

Only return Blog Authors last updated before the specified time.

type ApiSetLanguagePrimaryRequest

type ApiSetLanguagePrimaryRequest struct {
	ApiService *BlogAuthorsApiService
	// 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 ApiUpdateLanguagesRequest

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

func (ApiUpdateLanguagesRequest) Execute

func (ApiUpdateLanguagesRequest) UpdateLanguagesRequestVNext

func (r ApiUpdateLanguagesRequest) UpdateLanguagesRequestVNext(updateLanguagesRequestVNext UpdateLanguagesRequestVNext) ApiUpdateLanguagesRequest

The JSON representation of the UpdateLanguagesRequest object.

type ApiUpdateRequest

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

func (ApiUpdateRequest) Archived

func (r ApiUpdateRequest) Archived(archived bool) ApiUpdateRequest

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

func (ApiUpdateRequest) BlogAuthor

func (r ApiUpdateRequest) BlogAuthor(blogAuthor BlogAuthor) ApiUpdateRequest

The JSON representation of the updated Blog Author.

func (ApiUpdateRequest) Execute

func (r ApiUpdateRequest) Execute() (*BlogAuthor, *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 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 BatchInputBlogAuthor

type BatchInputBlogAuthor struct {
	// Blog authors to input.
	Inputs []BlogAuthor `json:"inputs"`
}

BatchInputBlogAuthor Wrapper for providing an array of blog authors as inputs.

func NewBatchInputBlogAuthor

func NewBatchInputBlogAuthor(inputs []BlogAuthor) *BatchInputBlogAuthor

NewBatchInputBlogAuthor instantiates a new BatchInputBlogAuthor 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 NewBatchInputBlogAuthorWithDefaults

func NewBatchInputBlogAuthorWithDefaults() *BatchInputBlogAuthor

NewBatchInputBlogAuthorWithDefaults instantiates a new BatchInputBlogAuthor 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 (*BatchInputBlogAuthor) GetInputs

func (o *BatchInputBlogAuthor) GetInputs() []BlogAuthor

GetInputs returns the Inputs field value

func (*BatchInputBlogAuthor) GetInputsOk

func (o *BatchInputBlogAuthor) GetInputsOk() ([]BlogAuthor, bool)

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

func (BatchInputBlogAuthor) MarshalJSON

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

func (*BatchInputBlogAuthor) SetInputs

func (o *BatchInputBlogAuthor) SetInputs(v []BlogAuthor)

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 BatchResponseBlogAuthor

type BatchResponseBlogAuthor struct {
	// Status of batch operation.
	Status string `json:"status"`
	// Results of batch operation.
	Results []BlogAuthor `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"`
}

BatchResponseBlogAuthor Response object for batch operations on blog authors.

func NewBatchResponseBlogAuthor

func NewBatchResponseBlogAuthor(status string, results []BlogAuthor, startedAt time.Time, completedAt time.Time) *BatchResponseBlogAuthor

NewBatchResponseBlogAuthor instantiates a new BatchResponseBlogAuthor 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 NewBatchResponseBlogAuthorWithDefaults

func NewBatchResponseBlogAuthorWithDefaults() *BatchResponseBlogAuthor

NewBatchResponseBlogAuthorWithDefaults instantiates a new BatchResponseBlogAuthor 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 (*BatchResponseBlogAuthor) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseBlogAuthor) GetCompletedAtOk

func (o *BatchResponseBlogAuthor) 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 *BatchResponseBlogAuthor) GetLinks() map[string]string

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

func (*BatchResponseBlogAuthor) GetLinksOk

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

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

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

func (*BatchResponseBlogAuthor) GetRequestedAtOk

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

func (o *BatchResponseBlogAuthor) GetResults() []BlogAuthor

GetResults returns the Results field value

func (*BatchResponseBlogAuthor) GetResultsOk

func (o *BatchResponseBlogAuthor) GetResultsOk() ([]BlogAuthor, bool)

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

func (*BatchResponseBlogAuthor) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*BatchResponseBlogAuthor) GetStartedAtOk

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

func (o *BatchResponseBlogAuthor) GetStatus() string

GetStatus returns the Status field value

func (*BatchResponseBlogAuthor) GetStatusOk

func (o *BatchResponseBlogAuthor) 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 *BatchResponseBlogAuthor) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BatchResponseBlogAuthor) HasRequestedAt

func (o *BatchResponseBlogAuthor) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseBlogAuthor) MarshalJSON

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

func (*BatchResponseBlogAuthor) SetCompletedAt

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

SetCompletedAt sets field value

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

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

func (*BatchResponseBlogAuthor) SetRequestedAt

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

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

func (*BatchResponseBlogAuthor) SetResults

func (o *BatchResponseBlogAuthor) SetResults(v []BlogAuthor)

SetResults sets field value

func (*BatchResponseBlogAuthor) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseBlogAuthor) SetStatus

func (o *BatchResponseBlogAuthor) SetStatus(v string)

SetStatus sets field value

type BatchResponseBlogAuthorWithErrors

type BatchResponseBlogAuthorWithErrors struct {
	// Status of batch operation.
	Status string `json:"status"`
	// Results of batch operation.
	Results []BlogAuthor `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"`
}

BatchResponseBlogAuthorWithErrors Response object for batch operations on blog authors with errors.

func NewBatchResponseBlogAuthorWithErrors

func NewBatchResponseBlogAuthorWithErrors(status string, results []BlogAuthor, startedAt time.Time, completedAt time.Time) *BatchResponseBlogAuthorWithErrors

NewBatchResponseBlogAuthorWithErrors instantiates a new BatchResponseBlogAuthorWithErrors 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 NewBatchResponseBlogAuthorWithErrorsWithDefaults

func NewBatchResponseBlogAuthorWithErrorsWithDefaults() *BatchResponseBlogAuthorWithErrors

NewBatchResponseBlogAuthorWithErrorsWithDefaults instantiates a new BatchResponseBlogAuthorWithErrors 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 (*BatchResponseBlogAuthorWithErrors) GetCompletedAt

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

GetCompletedAt returns the CompletedAt field value

func (*BatchResponseBlogAuthorWithErrors) GetCompletedAtOk

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

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

func (*BatchResponseBlogAuthorWithErrors) GetErrorsOk

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

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

func (*BatchResponseBlogAuthorWithErrors) GetLinksOk

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

func (o *BatchResponseBlogAuthorWithErrors) GetNumErrors() int32

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

func (*BatchResponseBlogAuthorWithErrors) GetNumErrorsOk

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

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

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

func (*BatchResponseBlogAuthorWithErrors) GetRequestedAtOk

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

GetResults returns the Results field value

func (*BatchResponseBlogAuthorWithErrors) GetResultsOk

func (o *BatchResponseBlogAuthorWithErrors) GetResultsOk() ([]BlogAuthor, bool)

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

func (*BatchResponseBlogAuthorWithErrors) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*BatchResponseBlogAuthorWithErrors) GetStartedAtOk

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

GetStatus returns the Status field value

func (*BatchResponseBlogAuthorWithErrors) GetStatusOk

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

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

func (*BatchResponseBlogAuthorWithErrors) HasErrors

func (o *BatchResponseBlogAuthorWithErrors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*BatchResponseBlogAuthorWithErrors) HasNumErrors

func (o *BatchResponseBlogAuthorWithErrors) HasNumErrors() bool

HasNumErrors returns a boolean if a field has been set.

func (*BatchResponseBlogAuthorWithErrors) HasRequestedAt

func (o *BatchResponseBlogAuthorWithErrors) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (BatchResponseBlogAuthorWithErrors) MarshalJSON

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

func (*BatchResponseBlogAuthorWithErrors) SetCompletedAt

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

SetCompletedAt sets field value

func (*BatchResponseBlogAuthorWithErrors) SetErrors

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

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

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

func (*BatchResponseBlogAuthorWithErrors) SetNumErrors

func (o *BatchResponseBlogAuthorWithErrors) SetNumErrors(v int32)

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

func (*BatchResponseBlogAuthorWithErrors) SetRequestedAt

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

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

func (*BatchResponseBlogAuthorWithErrors) SetResults

func (o *BatchResponseBlogAuthorWithErrors) SetResults(v []BlogAuthor)

SetResults sets field value

func (*BatchResponseBlogAuthorWithErrors) SetStartedAt

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

SetStartedAt sets field value

func (*BatchResponseBlogAuthorWithErrors) SetStatus

func (o *BatchResponseBlogAuthorWithErrors) SetStatus(v string)

SetStatus sets field value

type BlogAuthor

type BlogAuthor struct {
	// The unique ID of the Blog Author.
	Id       string `json:"id"`
	FullName string `json:"fullName"`
	// Email address of the Blog Author.
	Email string `json:"email"`
	Slug  string `json:"slug"`
	// The explicitly defined ISO 639 language code of the blog author.
	Language string `json:"language"`
	// ID of the primary blog author this object was translated from.
	TranslatedFromId int64  `json:"translatedFromId"`
	Name             string `json:"name"`
	// The full name of the Blog Author to be displayed.
	DisplayName string `json:"displayName"`
	// A short biography of the blog author.
	Bio string `json:"bio"`
	// URL to the website of the Blog Author.
	Website string `json:"website"`
	// URL or username of the Twitter account associated with the Blog Author. This will be normalized into the Twitter url for said user.
	Twitter string `json:"twitter"`
	// URL to the Blog Author's Facebook page.
	Facebook string `json:"facebook"`
	// URL to the blog author's LinkedIn page.
	Linkedin string `json:"linkedin"`
	// URL to the blog author's avatar, if supplying a custom one.
	Avatar  string    `json:"avatar"`
	Created time.Time `json:"created"`
	Updated time.Time `json:"updated"`
	// The timestamp (ISO8601 format) when this Blog Author was deleted.
	DeletedAt time.Time `json:"deletedAt"`
}

BlogAuthor Model definition for a Blog Author.

func NewBlogAuthor

func NewBlogAuthor(id string, fullName string, email string, slug string, language string, translatedFromId int64, name string, displayName string, bio string, website string, twitter string, facebook string, linkedin string, avatar string, created time.Time, updated time.Time, deletedAt time.Time) *BlogAuthor

NewBlogAuthor instantiates a new BlogAuthor 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 NewBlogAuthorWithDefaults

func NewBlogAuthorWithDefaults() *BlogAuthor

NewBlogAuthorWithDefaults instantiates a new BlogAuthor 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 (*BlogAuthor) GetAvatar

func (o *BlogAuthor) GetAvatar() string

GetAvatar returns the Avatar field value

func (*BlogAuthor) GetAvatarOk

func (o *BlogAuthor) GetAvatarOk() (*string, bool)

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

func (*BlogAuthor) GetBio

func (o *BlogAuthor) GetBio() string

GetBio returns the Bio field value

func (*BlogAuthor) GetBioOk

func (o *BlogAuthor) GetBioOk() (*string, bool)

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

func (*BlogAuthor) GetCreated

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

GetCreated returns the Created field value

func (*BlogAuthor) GetCreatedOk

func (o *BlogAuthor) 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 (*BlogAuthor) GetDeletedAt

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

GetDeletedAt returns the DeletedAt field value

func (*BlogAuthor) GetDeletedAtOk

func (o *BlogAuthor) 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 (*BlogAuthor) GetDisplayName

func (o *BlogAuthor) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*BlogAuthor) GetDisplayNameOk

func (o *BlogAuthor) GetDisplayNameOk() (*string, bool)

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

func (*BlogAuthor) GetEmail

func (o *BlogAuthor) GetEmail() string

GetEmail returns the Email field value

func (*BlogAuthor) GetEmailOk

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

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

func (*BlogAuthor) GetFacebook

func (o *BlogAuthor) GetFacebook() string

GetFacebook returns the Facebook field value

func (*BlogAuthor) GetFacebookOk

func (o *BlogAuthor) GetFacebookOk() (*string, bool)

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

func (*BlogAuthor) GetFullName

func (o *BlogAuthor) GetFullName() string

GetFullName returns the FullName field value

func (*BlogAuthor) GetFullNameOk

func (o *BlogAuthor) GetFullNameOk() (*string, bool)

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

func (*BlogAuthor) GetId

func (o *BlogAuthor) GetId() string

GetId returns the Id field value

func (*BlogAuthor) GetIdOk

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

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

func (*BlogAuthor) GetLanguage

func (o *BlogAuthor) GetLanguage() string

GetLanguage returns the Language field value

func (*BlogAuthor) GetLanguageOk

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

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

func (*BlogAuthor) GetLinkedin

func (o *BlogAuthor) GetLinkedin() string

GetLinkedin returns the Linkedin field value

func (*BlogAuthor) GetLinkedinOk

func (o *BlogAuthor) GetLinkedinOk() (*string, bool)

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

func (*BlogAuthor) GetName

func (o *BlogAuthor) GetName() string

GetName returns the Name field value

func (*BlogAuthor) GetNameOk

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

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

func (*BlogAuthor) GetSlug

func (o *BlogAuthor) GetSlug() string

GetSlug returns the Slug field value

func (*BlogAuthor) GetSlugOk

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

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

func (*BlogAuthor) GetTranslatedFromId

func (o *BlogAuthor) GetTranslatedFromId() int64

GetTranslatedFromId returns the TranslatedFromId field value

func (*BlogAuthor) GetTranslatedFromIdOk

func (o *BlogAuthor) GetTranslatedFromIdOk() (*int64, bool)

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

func (*BlogAuthor) GetTwitter

func (o *BlogAuthor) GetTwitter() string

GetTwitter returns the Twitter field value

func (*BlogAuthor) GetTwitterOk

func (o *BlogAuthor) GetTwitterOk() (*string, bool)

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

func (*BlogAuthor) GetUpdated

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

GetUpdated returns the Updated field value

func (*BlogAuthor) GetUpdatedOk

func (o *BlogAuthor) 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 (*BlogAuthor) GetWebsite

func (o *BlogAuthor) GetWebsite() string

GetWebsite returns the Website field value

func (*BlogAuthor) GetWebsiteOk

func (o *BlogAuthor) GetWebsiteOk() (*string, bool)

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

func (BlogAuthor) MarshalJSON

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

func (*BlogAuthor) SetAvatar

func (o *BlogAuthor) SetAvatar(v string)

SetAvatar sets field value

func (*BlogAuthor) SetBio

func (o *BlogAuthor) SetBio(v string)

SetBio sets field value

func (*BlogAuthor) SetCreated

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

SetCreated sets field value

func (*BlogAuthor) SetDeletedAt

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

SetDeletedAt sets field value

func (*BlogAuthor) SetDisplayName

func (o *BlogAuthor) SetDisplayName(v string)

SetDisplayName sets field value

func (*BlogAuthor) SetEmail

func (o *BlogAuthor) SetEmail(v string)

SetEmail sets field value

func (*BlogAuthor) SetFacebook

func (o *BlogAuthor) SetFacebook(v string)

SetFacebook sets field value

func (*BlogAuthor) SetFullName

func (o *BlogAuthor) SetFullName(v string)

SetFullName sets field value

func (*BlogAuthor) SetId

func (o *BlogAuthor) SetId(v string)

SetId sets field value

func (*BlogAuthor) SetLanguage

func (o *BlogAuthor) SetLanguage(v string)

SetLanguage sets field value

func (*BlogAuthor) SetLinkedin

func (o *BlogAuthor) SetLinkedin(v string)

SetLinkedin sets field value

func (*BlogAuthor) SetName

func (o *BlogAuthor) SetName(v string)

SetName sets field value

func (*BlogAuthor) SetSlug

func (o *BlogAuthor) SetSlug(v string)

SetSlug sets field value

func (*BlogAuthor) SetTranslatedFromId

func (o *BlogAuthor) SetTranslatedFromId(v int64)

SetTranslatedFromId sets field value

func (*BlogAuthor) SetTwitter

func (o *BlogAuthor) SetTwitter(v string)

SetTwitter sets field value

func (*BlogAuthor) SetUpdated

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

SetUpdated sets field value

func (*BlogAuthor) SetWebsite

func (o *BlogAuthor) SetWebsite(v string)

SetWebsite sets field value

type BlogAuthorCloneRequestVNext

type BlogAuthorCloneRequestVNext struct {
	// ID of the object to be cloned.
	Id string `json:"id"`
	// Language of newly cloned object.
	Language *string `json:"language,omitempty"`
	// Primary language in multi-language group.
	PrimaryLanguage *string    `json:"primaryLanguage,omitempty"`
	BlogAuthor      BlogAuthor `json:"blogAuthor"`
}

BlogAuthorCloneRequestVNext Request body object for cloning blog authors.

func NewBlogAuthorCloneRequestVNext

func NewBlogAuthorCloneRequestVNext(id string, blogAuthor BlogAuthor) *BlogAuthorCloneRequestVNext

NewBlogAuthorCloneRequestVNext instantiates a new BlogAuthorCloneRequestVNext 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 NewBlogAuthorCloneRequestVNextWithDefaults

func NewBlogAuthorCloneRequestVNextWithDefaults() *BlogAuthorCloneRequestVNext

NewBlogAuthorCloneRequestVNextWithDefaults instantiates a new BlogAuthorCloneRequestVNext 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 (*BlogAuthorCloneRequestVNext) GetBlogAuthor

func (o *BlogAuthorCloneRequestVNext) GetBlogAuthor() BlogAuthor

GetBlogAuthor returns the BlogAuthor field value

func (*BlogAuthorCloneRequestVNext) GetBlogAuthorOk

func (o *BlogAuthorCloneRequestVNext) GetBlogAuthorOk() (*BlogAuthor, bool)

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

func (*BlogAuthorCloneRequestVNext) GetId

GetId returns the Id field value

func (*BlogAuthorCloneRequestVNext) GetIdOk

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

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

func (*BlogAuthorCloneRequestVNext) GetLanguage

func (o *BlogAuthorCloneRequestVNext) GetLanguage() string

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

func (*BlogAuthorCloneRequestVNext) GetLanguageOk

func (o *BlogAuthorCloneRequestVNext) 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 (*BlogAuthorCloneRequestVNext) GetPrimaryLanguage

func (o *BlogAuthorCloneRequestVNext) GetPrimaryLanguage() string

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

func (*BlogAuthorCloneRequestVNext) GetPrimaryLanguageOk

func (o *BlogAuthorCloneRequestVNext) 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 (*BlogAuthorCloneRequestVNext) HasLanguage

func (o *BlogAuthorCloneRequestVNext) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*BlogAuthorCloneRequestVNext) HasPrimaryLanguage

func (o *BlogAuthorCloneRequestVNext) HasPrimaryLanguage() bool

HasPrimaryLanguage returns a boolean if a field has been set.

func (BlogAuthorCloneRequestVNext) MarshalJSON

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

func (*BlogAuthorCloneRequestVNext) SetBlogAuthor

func (o *BlogAuthorCloneRequestVNext) SetBlogAuthor(v BlogAuthor)

SetBlogAuthor sets field value

func (*BlogAuthorCloneRequestVNext) SetId

func (o *BlogAuthorCloneRequestVNext) SetId(v string)

SetId sets field value

func (*BlogAuthorCloneRequestVNext) SetLanguage

func (o *BlogAuthorCloneRequestVNext) SetLanguage(v string)

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

func (*BlogAuthorCloneRequestVNext) SetPrimaryLanguage

func (o *BlogAuthorCloneRequestVNext) SetPrimaryLanguage(v string)

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

type BlogAuthorsApiService

type BlogAuthorsApiService service

BlogAuthorsApiService BlogAuthorsApi service

func (*BlogAuthorsApiService) Archive

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

Archive Delete a Blog Author

Delete the Blog Author 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 Author id.
@return ApiArchiveRequest

func (*BlogAuthorsApiService) ArchiveExecute

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

Execute executes the request

func (*BlogAuthorsApiService) AttachToLanguageGroup

AttachToLanguageGroup Attach a Blog Author to a multi-language group

Attach a Blog Author 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 (*BlogAuthorsApiService) AttachToLanguageGroupExecute

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

Execute executes the request

@return Error

func (*BlogAuthorsApiService) BatchArchive

BatchArchive Delete a batch of Blog Authors

Delete the Blog Author 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 ApiBatchArchiveRequest

func (*BlogAuthorsApiService) BatchArchiveExecute

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

Execute executes the request

func (*BlogAuthorsApiService) BatchCreate

BatchCreate Create a batch of Blog Authors

Create the Blog Author 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 (*BlogAuthorsApiService) BatchCreateExecute

Execute executes the request

@return BatchResponseBlogAuthor

func (*BlogAuthorsApiService) BatchRead

BatchRead Retrieve a batch of Blog Authors

Retrieve the Blog Author 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 (*BlogAuthorsApiService) BatchReadExecute

Execute executes the request

@return BatchResponseBlogAuthor

func (*BlogAuthorsApiService) BatchUpdate

BatchUpdate Update a batch of Blog Authors

Update the Blog Author 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 (*BlogAuthorsApiService) BatchUpdateExecute

Execute executes the request

@return BatchResponseBlogAuthor

func (*BlogAuthorsApiService) Create

Create Create a new Blog Author

Create a new Blog Author.

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

func (*BlogAuthorsApiService) CreateExecute

Execute executes the request

@return BlogAuthor

func (*BlogAuthorsApiService) CreateLanguageVariation

CreateLanguageVariation Create a new language variation

Create a new language variation from an existing Blog Author.

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

func (*BlogAuthorsApiService) CreateLanguageVariationExecute

func (a *BlogAuthorsApiService) CreateLanguageVariationExecute(r ApiCreateLanguageVariationRequest) (*BlogAuthor, *http.Response, error)

Execute executes the request

@return BlogAuthor

func (*BlogAuthorsApiService) DetachFromLanguageGroup

DetachFromLanguageGroup Detach a Blog Author from a multi-language group

Detach a Blog Author 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 (*BlogAuthorsApiService) DetachFromLanguageGroupExecute

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

Execute executes the request

@return Error

func (*BlogAuthorsApiService) GetByID

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

GetByID Retrieve a Blog Author

Retrieve the Blog Author 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 Author id.
@return ApiGetByIDRequest

func (*BlogAuthorsApiService) GetByIDExecute

Execute executes the request

@return BlogAuthor

func (*BlogAuthorsApiService) GetPage

GetPage Get all Blog Authors

Get the list of blog authors. 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 (*BlogAuthorsApiService) GetPageExecute

Execute executes the request

@return CollectionResponseWithTotalBlogAuthorForwardPaging

func (*BlogAuthorsApiService) SetLanguagePrimary

SetLanguagePrimary Set a new primary language

Set a Blog Author 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 (*BlogAuthorsApiService) SetLanguagePrimaryExecute

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

Execute executes the request

func (*BlogAuthorsApiService) Update

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

Update Update a Blog Author

Sparse updates a single Blog Author 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 Author id.
@return ApiUpdateRequest

func (*BlogAuthorsApiService) UpdateExecute

Execute executes the request

@return BlogAuthor

func (*BlogAuthorsApiService) UpdateLanguages

UpdateLanguages Update languages of multi-language group

Explicitly set new languages for each Blog Author 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 (*BlogAuthorsApiService) UpdateLanguagesExecute

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

Execute executes the request

@return Error

type CollectionResponseWithTotalBlogAuthorForwardPaging

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

CollectionResponseWithTotalBlogAuthorForwardPaging Response object for collections of blog authors with pagination information.

func NewCollectionResponseWithTotalBlogAuthorForwardPaging

func NewCollectionResponseWithTotalBlogAuthorForwardPaging(total int32, results []BlogAuthor) *CollectionResponseWithTotalBlogAuthorForwardPaging

NewCollectionResponseWithTotalBlogAuthorForwardPaging instantiates a new CollectionResponseWithTotalBlogAuthorForwardPaging 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 NewCollectionResponseWithTotalBlogAuthorForwardPagingWithDefaults

func NewCollectionResponseWithTotalBlogAuthorForwardPagingWithDefaults() *CollectionResponseWithTotalBlogAuthorForwardPaging

NewCollectionResponseWithTotalBlogAuthorForwardPagingWithDefaults instantiates a new CollectionResponseWithTotalBlogAuthorForwardPaging 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 (*CollectionResponseWithTotalBlogAuthorForwardPaging) GetPaging

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

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

GetResults returns the Results field value

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) GetResultsOk

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

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) GetTotal

GetTotal returns the Total field value

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) GetTotalOk

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

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseWithTotalBlogAuthorForwardPaging) MarshalJSON

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) SetPaging

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

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) SetResults

SetResults sets field value

func (*CollectionResponseWithTotalBlogAuthorForwardPaging) SetTotal

SetTotal sets field value

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

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

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

func NewNullableBatchInputBlogAuthor

func NewNullableBatchInputBlogAuthor(val *BatchInputBlogAuthor) *NullableBatchInputBlogAuthor

func (NullableBatchInputBlogAuthor) Get

func (NullableBatchInputBlogAuthor) IsSet

func (NullableBatchInputBlogAuthor) MarshalJSON

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

func (*NullableBatchInputBlogAuthor) Set

func (*NullableBatchInputBlogAuthor) UnmarshalJSON

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

func (*NullableBatchInputBlogAuthor) Unset

func (v *NullableBatchInputBlogAuthor) 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 NullableBatchResponseBlogAuthor

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

func (NullableBatchResponseBlogAuthor) Get

func (NullableBatchResponseBlogAuthor) IsSet

func (NullableBatchResponseBlogAuthor) MarshalJSON

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

func (*NullableBatchResponseBlogAuthor) Set

func (*NullableBatchResponseBlogAuthor) UnmarshalJSON

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

func (*NullableBatchResponseBlogAuthor) Unset

type NullableBatchResponseBlogAuthorWithErrors

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

func (NullableBatchResponseBlogAuthorWithErrors) Get

func (NullableBatchResponseBlogAuthorWithErrors) IsSet

func (NullableBatchResponseBlogAuthorWithErrors) MarshalJSON

func (*NullableBatchResponseBlogAuthorWithErrors) Set

func (*NullableBatchResponseBlogAuthorWithErrors) UnmarshalJSON

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

func (*NullableBatchResponseBlogAuthorWithErrors) Unset

type NullableBlogAuthor

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

func NewNullableBlogAuthor

func NewNullableBlogAuthor(val *BlogAuthor) *NullableBlogAuthor

func (NullableBlogAuthor) Get

func (v NullableBlogAuthor) Get() *BlogAuthor

func (NullableBlogAuthor) IsSet

func (v NullableBlogAuthor) IsSet() bool

func (NullableBlogAuthor) MarshalJSON

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

func (*NullableBlogAuthor) Set

func (v *NullableBlogAuthor) Set(val *BlogAuthor)

func (*NullableBlogAuthor) UnmarshalJSON

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

func (*NullableBlogAuthor) Unset

func (v *NullableBlogAuthor) Unset()

type NullableBlogAuthorCloneRequestVNext

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

func (NullableBlogAuthorCloneRequestVNext) Get

func (NullableBlogAuthorCloneRequestVNext) IsSet

func (NullableBlogAuthorCloneRequestVNext) MarshalJSON

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

func (*NullableBlogAuthorCloneRequestVNext) Set

func (*NullableBlogAuthorCloneRequestVNext) UnmarshalJSON

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

func (*NullableBlogAuthorCloneRequestVNext) 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 NullableCollectionResponseWithTotalBlogAuthorForwardPaging

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

func (NullableCollectionResponseWithTotalBlogAuthorForwardPaging) Get

func (NullableCollectionResponseWithTotalBlogAuthorForwardPaging) IsSet

func (NullableCollectionResponseWithTotalBlogAuthorForwardPaging) MarshalJSON

func (*NullableCollectionResponseWithTotalBlogAuthorForwardPaging) Set

func (*NullableCollectionResponseWithTotalBlogAuthorForwardPaging) UnmarshalJSON

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

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

func NewNullableStandardError

func NewNullableStandardError(val *StandardError) *NullableStandardError

func (NullableStandardError) Get

func (NullableStandardError) IsSet

func (v NullableStandardError) IsSet() bool

func (NullableStandardError) MarshalJSON

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

func (*NullableStandardError) Set

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

func (*NullableStandardError) UnmarshalJSON

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

func (*NullableStandardError) Unset

func (v *NullableStandardError) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

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

Jump to

Keyboard shortcuts

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