datadog

package
v1.0.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 24 Imported by: 16

README

Go API client for datadog

Collection of all Datadog Public endpoints.

Overview

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

  • API version: 1.0
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen For more information, please visit https://www.datadoghq.com/support/

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 sw "./datadog"

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(), sw.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(), sw.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 identifield 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(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

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

Class Method HTTP request Description
DashboardListsApi CreateDashboardListItems Post /api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards Add Items to a Dashboard List
DashboardListsApi DeleteDashboardListItems Delete /api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards Delete items from a dashboard list
DashboardListsApi GetDashboardListItems Get /api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards Get a Dashboard List
DashboardListsApi UpdateDashboardListItems Put /api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards Update items of a dashboard list
LogsApi ListLogs Post /api/v2/logs/events/search Get a list of logs
LogsApi ListLogsGet Get /api/v2/logs/events Get a quick list of logs
LogsArchivesApi AddReadRoleToArchive Post /api/v2/logs/config/archives/{archive_id}/readers Grant role to an archive
LogsArchivesApi CreateLogsArchive Post /api/v2/logs/config/archives Create an archive
LogsArchivesApi DeleteLogsArchive Delete /api/v2/logs/config/archives/{archive_id} Delete an archive
LogsArchivesApi GetLogsArchive Get /api/v2/logs/config/archives/{archive_id} Get an archive
LogsArchivesApi ListArchiveReadRoles Get /api/v2/logs/config/archives/{archive_id}/readers List read roles for an archive
LogsArchivesApi ListLogsArchives Get /api/v2/logs/config/archives Get all archives
LogsArchivesApi RemoveRoleFromArchive Delete /api/v2/logs/config/archives/{archive_id}/readers Revoke role from an archive
LogsArchivesApi UpdateLogsArchive Put /api/v2/logs/config/archives/{archive_id} Update an archive
RolesApi AddPermissionToRole Post /api/v2/roles/{role_id}/permissions Grant permission to a role
RolesApi AddUserToRole Post /api/v2/roles/{role_id}/users Add a user to a role
RolesApi CreateRole Post /api/v2/roles Create role
RolesApi DeleteRole Delete /api/v2/roles/{role_id} Delete role
RolesApi GetRole Get /api/v2/roles/{role_id} Get a role
RolesApi ListPermissions Get /api/v2/permissions List permissions
RolesApi ListRolePermissions Get /api/v2/roles/{role_id}/permissions List permissions for a role
RolesApi ListRoleUsers Get /api/v2/roles/{role_id}/users Get all users of a role
RolesApi ListRoles Get /api/v2/roles List roles
RolesApi RemovePermissionFromRole Delete /api/v2/roles/{role_id}/permissions Revoke permission
RolesApi RemoveUserFromRole Delete /api/v2/roles/{role_id}/users Remove a user from a role
RolesApi UpdateRole Patch /api/v2/roles/{role_id} Update a role
SecurityMonitoringApi CreateSecurityMonitoringRule Post /api/v2/security_monitoring/rules Create a detection rule
SecurityMonitoringApi DeleteSecurityMonitoringRule Delete /api/v2/security_monitoring/rules/{rule_id} Delete an existing rule
SecurityMonitoringApi GetSecurityMonitoringRule Get /api/v2/security_monitoring/rules/{rule_id} Get a rule's details
SecurityMonitoringApi ListSecurityMonitoringRules Get /api/v2/security_monitoring/rules List rules
SecurityMonitoringApi UpdateSecurityMonitoringRule Put /api/v2/security_monitoring/rules/{rule_id} Update an existing rule
UsersApi CreateUser Post /api/v2/users Create a user
UsersApi DisableUser Delete /api/v2/users/{user_id} Disable a user
UsersApi GetInvitation Get /api/v2/user_invitations/{user_invitation_uuid} Get a user invitation
UsersApi GetUser Get /api/v2/users/{user_id} Get a user
UsersApi ListUserOrganizations Get /api/v2/users/{user_id}/orgs Get a user organization
UsersApi ListUserPermissions Get /api/v2/users/{user_id}/permissions Get a user permissions
UsersApi ListUsers Get /api/v2/users List all users
UsersApi SendInvitations Post /api/v2/user_invitations Send invitation emails
UsersApi UpdateUser Patch /api/v2/users/{user_id} Update a user

Documentation For Models

Documentation For Authorization

apiKeyAuth
  • Type: API key
  • API key parameter name: DD-API-KEY
  • Location: HTTP header

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

appKeyAuth
  • Type: API key
  • API key parameter name: DD-APPLICATION-KEY
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: DD-APPLICATION-KEY 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

support@datadoghq.com

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 integer 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 {
	DashboardListsApi *DashboardListsApiService

	LogsApi *LogsApiService

	LogsArchivesApi *LogsArchivesApiService

	RolesApi *RolesApiService

	SecurityMonitoringApi *SecurityMonitoringApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Datadog API Collection API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIErrorResponse

type APIErrorResponse struct {
	// A list of errors.
	Errors []string `json:"errors"`
}

APIErrorResponse API error response.

func NewAPIErrorResponse

func NewAPIErrorResponse(errors []string) *APIErrorResponse

NewAPIErrorResponse instantiates a new APIErrorResponse 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 NewAPIErrorResponseWithDefaults

func NewAPIErrorResponseWithDefaults() *APIErrorResponse

NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse 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 (*APIErrorResponse) GetErrors

func (o *APIErrorResponse) GetErrors() []string

GetErrors returns the Errors field value

func (*APIErrorResponse) GetErrorsOk

func (o *APIErrorResponse) GetErrorsOk() (*[]string, bool)

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

func (APIErrorResponse) MarshalJSON

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

func (*APIErrorResponse) SetErrors

func (o *APIErrorResponse) SetErrors(v []string)

SetErrors sets field value

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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

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 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
	// contains filtered or unexported fields
}

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) GetUnstableOperations

func (c *Configuration) GetUnstableOperations() []string

GetUnstableOperations returns a slice with all unstable operation Ids

func (*Configuration) IsUnstableOperation

func (c *Configuration) IsUnstableOperation(operation string) bool

IsUnstableOperation determines whether an operation is an unstable operation. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo"

func (*Configuration) IsUnstableOperationEnabled

func (c *Configuration) IsUnstableOperationEnabled(operation string) bool

IsUnstableOperationEnabled determines whether an unstable operation is enabled. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is unstable and it is enabled, false otherwise

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

func (*Configuration) SetUnstableOperationEnabled

func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool

SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false) This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise

type Creator

type Creator struct {
	// Email of the creator.
	Email *string `json:"email,omitempty"`
	// Handle of the creator.
	Handle *string `json:"handle,omitempty"`
	// Name of the creator.
	Name *string `json:"name,omitempty"`
}

Creator Creator of the object.

func NewCreator

func NewCreator() *Creator

NewCreator instantiates a new Creator 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 NewCreatorWithDefaults

func NewCreatorWithDefaults() *Creator

NewCreatorWithDefaults instantiates a new Creator 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 (*Creator) GetEmail

func (o *Creator) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Creator) GetEmailOk

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

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

func (*Creator) GetHandle

func (o *Creator) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*Creator) GetHandleOk

func (o *Creator) GetHandleOk() (*string, bool)

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

func (*Creator) GetName

func (o *Creator) GetName() string

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

func (*Creator) GetNameOk

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

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

func (*Creator) HasEmail

func (o *Creator) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Creator) HasHandle

func (o *Creator) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Creator) HasName

func (o *Creator) HasName() bool

HasName returns a boolean if a field has been set.

func (Creator) MarshalJSON

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

func (*Creator) SetEmail

func (o *Creator) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Creator) SetHandle

func (o *Creator) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*Creator) SetName

func (o *Creator) SetName(v string)

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

type DashboardListAddItemsRequest

type DashboardListAddItemsRequest struct {
	// List of dashboards to add the dashboard list.
	Dashboards *[]DashboardListItemRequest `json:"dashboards,omitempty"`
}

DashboardListAddItemsRequest Request containing a list of dashboards to add.

func NewDashboardListAddItemsRequest

func NewDashboardListAddItemsRequest() *DashboardListAddItemsRequest

NewDashboardListAddItemsRequest instantiates a new DashboardListAddItemsRequest 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 NewDashboardListAddItemsRequestWithDefaults

func NewDashboardListAddItemsRequestWithDefaults() *DashboardListAddItemsRequest

NewDashboardListAddItemsRequestWithDefaults instantiates a new DashboardListAddItemsRequest 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 (*DashboardListAddItemsRequest) GetDashboards

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListAddItemsRequest) GetDashboardsOk

func (o *DashboardListAddItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)

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

func (*DashboardListAddItemsRequest) HasDashboards

func (o *DashboardListAddItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListAddItemsRequest) MarshalJSON

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

func (*DashboardListAddItemsRequest) SetDashboards

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

type DashboardListAddItemsResponse

type DashboardListAddItemsResponse struct {
	// List of dashboards added to the dashboard list.
	AddedDashboardsToList *[]DashboardListItemResponse `json:"added_dashboards_to_list,omitempty"`
}

DashboardListAddItemsResponse Response containing a list of added dashboards.

func NewDashboardListAddItemsResponse

func NewDashboardListAddItemsResponse() *DashboardListAddItemsResponse

NewDashboardListAddItemsResponse instantiates a new DashboardListAddItemsResponse 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 NewDashboardListAddItemsResponseWithDefaults

func NewDashboardListAddItemsResponseWithDefaults() *DashboardListAddItemsResponse

NewDashboardListAddItemsResponseWithDefaults instantiates a new DashboardListAddItemsResponse 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 (*DashboardListAddItemsResponse) GetAddedDashboardsToList

func (o *DashboardListAddItemsResponse) GetAddedDashboardsToList() []DashboardListItemResponse

GetAddedDashboardsToList returns the AddedDashboardsToList field value if set, zero value otherwise.

func (*DashboardListAddItemsResponse) GetAddedDashboardsToListOk

func (o *DashboardListAddItemsResponse) GetAddedDashboardsToListOk() (*[]DashboardListItemResponse, bool)

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

func (*DashboardListAddItemsResponse) HasAddedDashboardsToList

func (o *DashboardListAddItemsResponse) HasAddedDashboardsToList() bool

HasAddedDashboardsToList returns a boolean if a field has been set.

func (DashboardListAddItemsResponse) MarshalJSON

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

func (*DashboardListAddItemsResponse) SetAddedDashboardsToList

func (o *DashboardListAddItemsResponse) SetAddedDashboardsToList(v []DashboardListItemResponse)

SetAddedDashboardsToList gets a reference to the given []DashboardListItemResponse and assigns it to the AddedDashboardsToList field.

type DashboardListDeleteItemsRequest

type DashboardListDeleteItemsRequest struct {
	// List of dashboards to delete from the dashboard list.
	Dashboards *[]DashboardListItemRequest `json:"dashboards,omitempty"`
}

DashboardListDeleteItemsRequest Request containing a list of dashboards to delete.

func NewDashboardListDeleteItemsRequest

func NewDashboardListDeleteItemsRequest() *DashboardListDeleteItemsRequest

NewDashboardListDeleteItemsRequest instantiates a new DashboardListDeleteItemsRequest 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 NewDashboardListDeleteItemsRequestWithDefaults

func NewDashboardListDeleteItemsRequestWithDefaults() *DashboardListDeleteItemsRequest

NewDashboardListDeleteItemsRequestWithDefaults instantiates a new DashboardListDeleteItemsRequest 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 (*DashboardListDeleteItemsRequest) GetDashboards

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListDeleteItemsRequest) GetDashboardsOk

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

func (*DashboardListDeleteItemsRequest) HasDashboards

func (o *DashboardListDeleteItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListDeleteItemsRequest) MarshalJSON

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

func (*DashboardListDeleteItemsRequest) SetDashboards

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

type DashboardListDeleteItemsResponse

type DashboardListDeleteItemsResponse struct {
	// List of dashboards deleted from the dashboard list.
	DeletedDashboardsFromList *[]DashboardListItemResponse `json:"deleted_dashboards_from_list,omitempty"`
}

DashboardListDeleteItemsResponse Response containing a list of deleted dashboards.

func NewDashboardListDeleteItemsResponse

func NewDashboardListDeleteItemsResponse() *DashboardListDeleteItemsResponse

NewDashboardListDeleteItemsResponse instantiates a new DashboardListDeleteItemsResponse 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 NewDashboardListDeleteItemsResponseWithDefaults

func NewDashboardListDeleteItemsResponseWithDefaults() *DashboardListDeleteItemsResponse

NewDashboardListDeleteItemsResponseWithDefaults instantiates a new DashboardListDeleteItemsResponse 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 (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList

func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList() []DashboardListItemResponse

GetDeletedDashboardsFromList returns the DeletedDashboardsFromList field value if set, zero value otherwise.

func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk

func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk() (*[]DashboardListItemResponse, bool)

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

func (*DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList

func (o *DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList() bool

HasDeletedDashboardsFromList returns a boolean if a field has been set.

func (DashboardListDeleteItemsResponse) MarshalJSON

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

func (*DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList

func (o *DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList(v []DashboardListItemResponse)

SetDeletedDashboardsFromList gets a reference to the given []DashboardListItemResponse and assigns it to the DeletedDashboardsFromList field.

type DashboardListItem

type DashboardListItem struct {
	Author *Creator `json:"author,omitempty"`
	// Date of creation of the dashboard.
	Created *time.Time `json:"created,omitempty"`
	// URL to the icon of the dashboard.
	Icon *string `json:"icon,omitempty"`
	// ID of the dashboard.
	Id string `json:"id"`
	// Whether or not the dashboard is in the favorites.
	IsFavorite *bool `json:"is_favorite,omitempty"`
	// Whether or not the dashboard is read only.
	IsReadOnly *bool `json:"is_read_only,omitempty"`
	// Whether the dashboard is publicly shared or not.
	IsShared *bool `json:"is_shared,omitempty"`
	// Date of last edition of the dashboard.
	Modified *time.Time `json:"modified,omitempty"`
	// Popularity of the dashboard.
	Popularity *int32 `json:"popularity,omitempty"`
	// Title of the dashboard.
	Title *string       `json:"title,omitempty"`
	Type  DashboardType `json:"type"`
	// URL path to the dashboard.
	Url *string `json:"url,omitempty"`
}

DashboardListItem A dashboard within a list.

func NewDashboardListItem

func NewDashboardListItem(id string, type_ DashboardType) *DashboardListItem

NewDashboardListItem instantiates a new DashboardListItem 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 NewDashboardListItemWithDefaults

func NewDashboardListItemWithDefaults() *DashboardListItem

NewDashboardListItemWithDefaults instantiates a new DashboardListItem 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 (*DashboardListItem) GetAuthor

func (o *DashboardListItem) GetAuthor() Creator

GetAuthor returns the Author field value if set, zero value otherwise.

func (*DashboardListItem) GetAuthorOk

func (o *DashboardListItem) GetAuthorOk() (*Creator, bool)

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

func (*DashboardListItem) GetCreated

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

GetCreated returns the Created field value if set, zero value otherwise.

func (*DashboardListItem) GetCreatedOk

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

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

func (*DashboardListItem) GetIcon

func (o *DashboardListItem) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*DashboardListItem) GetIconOk

func (o *DashboardListItem) GetIconOk() (*string, bool)

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

func (*DashboardListItem) GetId

func (o *DashboardListItem) GetId() string

GetId returns the Id field value

func (*DashboardListItem) GetIdOk

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

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

func (*DashboardListItem) GetIsFavorite

func (o *DashboardListItem) GetIsFavorite() bool

GetIsFavorite returns the IsFavorite field value if set, zero value otherwise.

func (*DashboardListItem) GetIsFavoriteOk

func (o *DashboardListItem) GetIsFavoriteOk() (*bool, bool)

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

func (*DashboardListItem) GetIsReadOnly

func (o *DashboardListItem) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise.

func (*DashboardListItem) GetIsReadOnlyOk

func (o *DashboardListItem) GetIsReadOnlyOk() (*bool, bool)

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

func (*DashboardListItem) GetIsShared

func (o *DashboardListItem) GetIsShared() bool

GetIsShared returns the IsShared field value if set, zero value otherwise.

func (*DashboardListItem) GetIsSharedOk

func (o *DashboardListItem) GetIsSharedOk() (*bool, bool)

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

func (*DashboardListItem) GetModified

func (o *DashboardListItem) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*DashboardListItem) GetModifiedOk

func (o *DashboardListItem) GetModifiedOk() (*time.Time, bool)

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

func (*DashboardListItem) GetPopularity

func (o *DashboardListItem) GetPopularity() int32

GetPopularity returns the Popularity field value if set, zero value otherwise.

func (*DashboardListItem) GetPopularityOk

func (o *DashboardListItem) GetPopularityOk() (*int32, bool)

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

func (*DashboardListItem) GetTitle

func (o *DashboardListItem) GetTitle() string

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

func (*DashboardListItem) GetTitleOk

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

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

func (*DashboardListItem) GetType

func (o *DashboardListItem) GetType() DashboardType

GetType returns the Type field value

func (*DashboardListItem) GetTypeOk

func (o *DashboardListItem) GetTypeOk() (*DashboardType, bool)

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

func (*DashboardListItem) GetUrl

func (o *DashboardListItem) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DashboardListItem) GetUrlOk

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

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

func (*DashboardListItem) HasAuthor

func (o *DashboardListItem) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*DashboardListItem) HasCreated

func (o *DashboardListItem) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*DashboardListItem) HasIcon

func (o *DashboardListItem) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*DashboardListItem) HasIsFavorite

func (o *DashboardListItem) HasIsFavorite() bool

HasIsFavorite returns a boolean if a field has been set.

func (*DashboardListItem) HasIsReadOnly

func (o *DashboardListItem) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*DashboardListItem) HasIsShared

func (o *DashboardListItem) HasIsShared() bool

HasIsShared returns a boolean if a field has been set.

func (*DashboardListItem) HasModified

func (o *DashboardListItem) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*DashboardListItem) HasPopularity

func (o *DashboardListItem) HasPopularity() bool

HasPopularity returns a boolean if a field has been set.

func (*DashboardListItem) HasTitle

func (o *DashboardListItem) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DashboardListItem) HasUrl

func (o *DashboardListItem) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DashboardListItem) MarshalJSON

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

func (*DashboardListItem) SetAuthor

func (o *DashboardListItem) SetAuthor(v Creator)

SetAuthor gets a reference to the given Creator and assigns it to the Author field.

func (*DashboardListItem) SetCreated

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

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*DashboardListItem) SetIcon

func (o *DashboardListItem) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*DashboardListItem) SetId

func (o *DashboardListItem) SetId(v string)

SetId sets field value

func (*DashboardListItem) SetIsFavorite

func (o *DashboardListItem) SetIsFavorite(v bool)

SetIsFavorite gets a reference to the given bool and assigns it to the IsFavorite field.

func (*DashboardListItem) SetIsReadOnly

func (o *DashboardListItem) SetIsReadOnly(v bool)

SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field.

func (*DashboardListItem) SetIsShared

func (o *DashboardListItem) SetIsShared(v bool)

SetIsShared gets a reference to the given bool and assigns it to the IsShared field.

func (*DashboardListItem) SetModified

func (o *DashboardListItem) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*DashboardListItem) SetPopularity

func (o *DashboardListItem) SetPopularity(v int32)

SetPopularity gets a reference to the given int32 and assigns it to the Popularity field.

func (*DashboardListItem) SetTitle

func (o *DashboardListItem) SetTitle(v string)

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

func (*DashboardListItem) SetType

func (o *DashboardListItem) SetType(v DashboardType)

SetType sets field value

func (*DashboardListItem) SetUrl

func (o *DashboardListItem) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type DashboardListItemRequest

type DashboardListItemRequest struct {
	// ID of the dashboard.
	Id   string        `json:"id"`
	Type DashboardType `json:"type"`
}

DashboardListItemRequest A dashboard within a list.

func NewDashboardListItemRequest

func NewDashboardListItemRequest(id string, type_ DashboardType) *DashboardListItemRequest

NewDashboardListItemRequest instantiates a new DashboardListItemRequest 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 NewDashboardListItemRequestWithDefaults

func NewDashboardListItemRequestWithDefaults() *DashboardListItemRequest

NewDashboardListItemRequestWithDefaults instantiates a new DashboardListItemRequest 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 (*DashboardListItemRequest) GetId

func (o *DashboardListItemRequest) GetId() string

GetId returns the Id field value

func (*DashboardListItemRequest) GetIdOk

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

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

func (*DashboardListItemRequest) GetType

GetType returns the Type field value

func (*DashboardListItemRequest) GetTypeOk

func (o *DashboardListItemRequest) GetTypeOk() (*DashboardType, bool)

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

func (DashboardListItemRequest) MarshalJSON

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

func (*DashboardListItemRequest) SetId

func (o *DashboardListItemRequest) SetId(v string)

SetId sets field value

func (*DashboardListItemRequest) SetType

SetType sets field value

type DashboardListItemResponse

type DashboardListItemResponse struct {
	// ID of the dashboard.
	Id   string        `json:"id"`
	Type DashboardType `json:"type"`
}

DashboardListItemResponse A dashboard within a list.

func NewDashboardListItemResponse

func NewDashboardListItemResponse(id string, type_ DashboardType) *DashboardListItemResponse

NewDashboardListItemResponse instantiates a new DashboardListItemResponse 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 NewDashboardListItemResponseWithDefaults

func NewDashboardListItemResponseWithDefaults() *DashboardListItemResponse

NewDashboardListItemResponseWithDefaults instantiates a new DashboardListItemResponse 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 (*DashboardListItemResponse) GetId

func (o *DashboardListItemResponse) GetId() string

GetId returns the Id field value

func (*DashboardListItemResponse) GetIdOk

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

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

func (*DashboardListItemResponse) GetType

GetType returns the Type field value

func (*DashboardListItemResponse) GetTypeOk

func (o *DashboardListItemResponse) GetTypeOk() (*DashboardType, bool)

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

func (DashboardListItemResponse) MarshalJSON

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

func (*DashboardListItemResponse) SetId

func (o *DashboardListItemResponse) SetId(v string)

SetId sets field value

func (*DashboardListItemResponse) SetType

SetType sets field value

type DashboardListItems

type DashboardListItems struct {
	// List of dashboards in the dashboard list.
	Dashboards []DashboardListItem `json:"dashboards"`
	// Number of dashboards in the dashboard list.
	Total *int64 `json:"total,omitempty"`
}

DashboardListItems Dashboards within a list.

func NewDashboardListItems

func NewDashboardListItems(dashboards []DashboardListItem) *DashboardListItems

NewDashboardListItems instantiates a new DashboardListItems 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 NewDashboardListItemsWithDefaults

func NewDashboardListItemsWithDefaults() *DashboardListItems

NewDashboardListItemsWithDefaults instantiates a new DashboardListItems 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 (*DashboardListItems) GetDashboards

func (o *DashboardListItems) GetDashboards() []DashboardListItem

GetDashboards returns the Dashboards field value

func (*DashboardListItems) GetDashboardsOk

func (o *DashboardListItems) GetDashboardsOk() (*[]DashboardListItem, bool)

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

func (*DashboardListItems) GetTotal

func (o *DashboardListItems) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*DashboardListItems) GetTotalOk

func (o *DashboardListItems) GetTotalOk() (*int64, bool)

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

func (*DashboardListItems) HasTotal

func (o *DashboardListItems) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (DashboardListItems) MarshalJSON

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

func (*DashboardListItems) SetDashboards

func (o *DashboardListItems) SetDashboards(v []DashboardListItem)

SetDashboards sets field value

func (*DashboardListItems) SetTotal

func (o *DashboardListItems) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

type DashboardListUpdateItemsRequest

type DashboardListUpdateItemsRequest struct {
	// List of dashboards to update the dashboard list to.
	Dashboards *[]DashboardListItemRequest `json:"dashboards,omitempty"`
}

DashboardListUpdateItemsRequest Request containing the list of dashboards to update to.

func NewDashboardListUpdateItemsRequest

func NewDashboardListUpdateItemsRequest() *DashboardListUpdateItemsRequest

NewDashboardListUpdateItemsRequest instantiates a new DashboardListUpdateItemsRequest 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 NewDashboardListUpdateItemsRequestWithDefaults

func NewDashboardListUpdateItemsRequestWithDefaults() *DashboardListUpdateItemsRequest

NewDashboardListUpdateItemsRequestWithDefaults instantiates a new DashboardListUpdateItemsRequest 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 (*DashboardListUpdateItemsRequest) GetDashboards

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListUpdateItemsRequest) GetDashboardsOk

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

func (*DashboardListUpdateItemsRequest) HasDashboards

func (o *DashboardListUpdateItemsRequest) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListUpdateItemsRequest) MarshalJSON

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

func (*DashboardListUpdateItemsRequest) SetDashboards

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

type DashboardListUpdateItemsResponse

type DashboardListUpdateItemsResponse struct {
	// List of dashboards in the dashboard list.
	Dashboards *[]DashboardListItemResponse `json:"dashboards,omitempty"`
}

DashboardListUpdateItemsResponse Response containing a list of updated dashboards.

func NewDashboardListUpdateItemsResponse

func NewDashboardListUpdateItemsResponse() *DashboardListUpdateItemsResponse

NewDashboardListUpdateItemsResponse instantiates a new DashboardListUpdateItemsResponse 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 NewDashboardListUpdateItemsResponseWithDefaults

func NewDashboardListUpdateItemsResponseWithDefaults() *DashboardListUpdateItemsResponse

NewDashboardListUpdateItemsResponseWithDefaults instantiates a new DashboardListUpdateItemsResponse 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 (*DashboardListUpdateItemsResponse) GetDashboards

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardListUpdateItemsResponse) GetDashboardsOk

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

func (*DashboardListUpdateItemsResponse) HasDashboards

func (o *DashboardListUpdateItemsResponse) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardListUpdateItemsResponse) MarshalJSON

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

func (*DashboardListUpdateItemsResponse) SetDashboards

SetDashboards gets a reference to the given []DashboardListItemResponse and assigns it to the Dashboards field.

type DashboardListsApiService

type DashboardListsApiService service

DashboardListsApiService DashboardListsApi service

func (*DashboardListsApiService) CreateDashboardListItems

func (a *DashboardListsApiService) CreateDashboardListItems(ctx _context.Context, dashboardListId int64) apiCreateDashboardListItemsRequest

CreateDashboardListItems Add Items to a Dashboard List Add dashboards to an existing dashboard list.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param dashboardListId ID of the dashboard list to add items to.

@return apiCreateDashboardListItemsRequest

func (*DashboardListsApiService) DeleteDashboardListItems

func (a *DashboardListsApiService) DeleteDashboardListItems(ctx _context.Context, dashboardListId int64) apiDeleteDashboardListItemsRequest

DeleteDashboardListItems Delete items from a dashboard list Delete dashboards from an existing dashboard list.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param dashboardListId ID of the dashboard list to delete items from.

@return apiDeleteDashboardListItemsRequest

func (*DashboardListsApiService) GetDashboardListItems

func (a *DashboardListsApiService) GetDashboardListItems(ctx _context.Context, dashboardListId int64) apiGetDashboardListItemsRequest

GetDashboardListItems Get a Dashboard List Fetch the dashboard list’s dashboard definitions.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param dashboardListId ID of the dashboard list to get items from.

@return apiGetDashboardListItemsRequest

func (*DashboardListsApiService) UpdateDashboardListItems

func (a *DashboardListsApiService) UpdateDashboardListItems(ctx _context.Context, dashboardListId int64) apiUpdateDashboardListItemsRequest

UpdateDashboardListItems Update items of a dashboard list Update dashboards of an existing dashboard list.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param dashboardListId ID of the dashboard list to update items from.

@return apiUpdateDashboardListItemsRequest

type DashboardType

type DashboardType string

DashboardType The type of the dashboard.

const (
	DASHBOARDTYPE_CUSTOM_TIMEBOARD        DashboardType = "custom_timeboard"
	DASHBOARDTYPE_CUSTOM_SCREENBOARD      DashboardType = "custom_screenboard"
	DASHBOARDTYPE_INTEGRATION_SCREENBOARD DashboardType = "integration_screenboard"
	DASHBOARDTYPE_INTEGRATION_TIMEBOARD   DashboardType = "integration_timeboard"
	DASHBOARDTYPE_HOST_TIMEBOARD          DashboardType = "host_timeboard"
)

List of DashboardType

func (DashboardType) Ptr

func (v DashboardType) Ptr() *DashboardType

Ptr returns reference to DashboardType value

func (*DashboardType) UnmarshalJSON

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Log

type Log struct {
	Attributes *LogAttributes `json:"attributes,omitempty"`
	// Unique ID of the Log.
	Id   *string  `json:"id,omitempty"`
	Type *LogType `json:"type,omitempty"`
}

Log Object description of a log after being processed and stored by Datadog.

func NewLog

func NewLog() *Log

NewLog instantiates a new Log 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 NewLogWithDefaults

func NewLogWithDefaults() *Log

NewLogWithDefaults instantiates a new Log 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 (*Log) GetAttributes

func (o *Log) GetAttributes() LogAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Log) GetAttributesOk

func (o *Log) GetAttributesOk() (*LogAttributes, bool)

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

func (*Log) GetId

func (o *Log) GetId() string

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

func (*Log) GetIdOk

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

func (o *Log) GetType() LogType

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

func (*Log) GetTypeOk

func (o *Log) GetTypeOk() (*LogType, bool)

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

func (*Log) HasAttributes

func (o *Log) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Log) HasId

func (o *Log) HasId() bool

HasId returns a boolean if a field has been set.

func (*Log) HasType

func (o *Log) HasType() bool

HasType returns a boolean if a field has been set.

func (Log) MarshalJSON

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

func (*Log) SetAttributes

func (o *Log) SetAttributes(v LogAttributes)

SetAttributes gets a reference to the given LogAttributes and assigns it to the Attributes field.

func (*Log) SetId

func (o *Log) SetId(v string)

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

func (*Log) SetType

func (o *Log) SetType(v LogType)

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

type LogAttributes

type LogAttributes struct {
	// JSON object of attributes from your log.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`
	// Name of the machine from where the logs are being sent.
	Host *string `json:"host,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message *string `json:"message,omitempty"`
	// The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products.
	Service *string `json:"service,omitempty"`
	// Status of the message associated with your log.
	Status *string `json:"status,omitempty"`
	// Array of tags associated with your log.
	Tags *[]interface{} `json:"tags,omitempty"`
	// Timestamp of your log.
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

LogAttributes JSON object containing all log attributes and their associated values.

func NewLogAttributes

func NewLogAttributes() *LogAttributes

NewLogAttributes instantiates a new LogAttributes 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 NewLogAttributesWithDefaults

func NewLogAttributesWithDefaults() *LogAttributes

NewLogAttributesWithDefaults instantiates a new LogAttributes 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 (*LogAttributes) GetAttributes

func (o *LogAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogAttributes) GetAttributesOk

func (o *LogAttributes) GetAttributesOk() (*map[string]interface{}, bool)

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

func (*LogAttributes) GetHost

func (o *LogAttributes) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*LogAttributes) GetHostOk

func (o *LogAttributes) GetHostOk() (*string, bool)

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

func (*LogAttributes) GetMessage

func (o *LogAttributes) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LogAttributes) GetMessageOk

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

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

func (*LogAttributes) GetService

func (o *LogAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*LogAttributes) GetServiceOk

func (o *LogAttributes) GetServiceOk() (*string, bool)

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

func (*LogAttributes) GetStatus

func (o *LogAttributes) GetStatus() string

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

func (*LogAttributes) GetStatusOk

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

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

func (*LogAttributes) GetTags

func (o *LogAttributes) GetTags() []interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*LogAttributes) GetTagsOk

func (o *LogAttributes) GetTagsOk() (*[]interface{}, bool)

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

func (*LogAttributes) GetTimestamp

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

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LogAttributes) GetTimestampOk

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

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

func (*LogAttributes) HasAttributes

func (o *LogAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogAttributes) HasHost

func (o *LogAttributes) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*LogAttributes) HasMessage

func (o *LogAttributes) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogAttributes) HasService

func (o *LogAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*LogAttributes) HasStatus

func (o *LogAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*LogAttributes) HasTags

func (o *LogAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*LogAttributes) HasTimestamp

func (o *LogAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (LogAttributes) MarshalJSON

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

func (*LogAttributes) SetAttributes

func (o *LogAttributes) SetAttributes(v map[string]interface{})

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

func (*LogAttributes) SetHost

func (o *LogAttributes) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*LogAttributes) SetMessage

func (o *LogAttributes) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogAttributes) SetService

func (o *LogAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*LogAttributes) SetStatus

func (o *LogAttributes) SetStatus(v string)

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

func (*LogAttributes) SetTags

func (o *LogAttributes) SetTags(v []interface{})

SetTags gets a reference to the given []interface{} and assigns it to the Tags field.

func (*LogAttributes) SetTimestamp

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

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

type LogType

type LogType string

LogType Type of the event.

const (
	LOGTYPE_LOG LogType = "log"
)

List of LogType

func (LogType) Ptr

func (v LogType) Ptr() *LogType

Ptr returns reference to LogType value

func (*LogType) UnmarshalJSON

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

type LogsApiService

type LogsApiService service

LogsApiService LogsApi service

func (*LogsApiService) ListLogs

func (a *LogsApiService) ListLogs(ctx _context.Context) apiListLogsRequest

ListLogs Get a list of logs List endpoint returns logs that match a log search query. [Results are paginated][1].

Both this endpoint and the GET endpoint can be used interchangeably when listing logs.

**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**

[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives

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

@return apiListLogsRequest

func (*LogsApiService) ListLogsGet

func (a *LogsApiService) ListLogsGet(ctx _context.Context) apiListLogsGetRequest

ListLogsGet Get a quick list of logs List endpoint returns logs that match a log search query. [Results are paginated][1].

Both this endpoint and the POST endpoint can be used interchangeably when listing logs.

**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**

[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives

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

@return apiListLogsGetRequest

type LogsArchive

type LogsArchive struct {
	Data *LogsArchiveDefinition `json:"data,omitempty"`
}

LogsArchive The logs archive.

func NewLogsArchive

func NewLogsArchive() *LogsArchive

NewLogsArchive instantiates a new LogsArchive 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 NewLogsArchiveWithDefaults

func NewLogsArchiveWithDefaults() *LogsArchive

NewLogsArchiveWithDefaults instantiates a new LogsArchive 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 (*LogsArchive) GetData

func (o *LogsArchive) GetData() LogsArchiveDefinition

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchive) GetDataOk

func (o *LogsArchive) GetDataOk() (*LogsArchiveDefinition, bool)

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

func (*LogsArchive) HasData

func (o *LogsArchive) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchive) MarshalJSON

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

func (*LogsArchive) SetData

func (o *LogsArchive) SetData(v LogsArchiveDefinition)

SetData gets a reference to the given LogsArchiveDefinition and assigns it to the Data field.

type LogsArchiveAttributes

type LogsArchiveAttributes struct {
	Destination NullableLogsArchiveDestination `json:"destination"`
	// The archive name.
	Name string `json:"name"`
	// The archive query/filter. Logs matching this query are included in the archive.
	Query string            `json:"query"`
	State *LogsArchiveState `json:"state,omitempty"`
}

LogsArchiveAttributes The attributes associated with the archive.

func NewLogsArchiveAttributes

func NewLogsArchiveAttributes(destination NullableLogsArchiveDestination, name string, query string) *LogsArchiveAttributes

NewLogsArchiveAttributes instantiates a new LogsArchiveAttributes 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 NewLogsArchiveAttributesWithDefaults

func NewLogsArchiveAttributesWithDefaults() *LogsArchiveAttributes

NewLogsArchiveAttributesWithDefaults instantiates a new LogsArchiveAttributes 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 (*LogsArchiveAttributes) GetDestination

func (o *LogsArchiveAttributes) GetDestination() LogsArchiveDestination

GetDestination returns the Destination field value If the value is explicit nil, the zero value for LogsArchiveDestination will be returned

func (*LogsArchiveAttributes) GetDestinationOk

func (o *LogsArchiveAttributes) GetDestinationOk() (*LogsArchiveDestination, bool)

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

func (*LogsArchiveAttributes) GetName

func (o *LogsArchiveAttributes) GetName() string

GetName returns the Name field value

func (*LogsArchiveAttributes) GetNameOk

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

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

func (*LogsArchiveAttributes) GetQuery

func (o *LogsArchiveAttributes) GetQuery() string

GetQuery returns the Query field value

func (*LogsArchiveAttributes) GetQueryOk

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

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

func (*LogsArchiveAttributes) GetState

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

func (*LogsArchiveAttributes) GetStateOk

func (o *LogsArchiveAttributes) GetStateOk() (*LogsArchiveState, bool)

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

func (*LogsArchiveAttributes) HasState

func (o *LogsArchiveAttributes) HasState() bool

HasState returns a boolean if a field has been set.

func (LogsArchiveAttributes) MarshalJSON

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

func (*LogsArchiveAttributes) SetDestination

func (o *LogsArchiveAttributes) SetDestination(v LogsArchiveDestination)

SetDestination sets field value

func (*LogsArchiveAttributes) SetName

func (o *LogsArchiveAttributes) SetName(v string)

SetName sets field value

func (*LogsArchiveAttributes) SetQuery

func (o *LogsArchiveAttributes) SetQuery(v string)

SetQuery sets field value

func (*LogsArchiveAttributes) SetState

func (o *LogsArchiveAttributes) SetState(v LogsArchiveState)

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

type LogsArchiveCreateRequest

type LogsArchiveCreateRequest struct {
	Data *LogsArchiveCreateRequestDefinition `json:"data,omitempty"`
}

LogsArchiveCreateRequest The logs archive.

func NewLogsArchiveCreateRequest

func NewLogsArchiveCreateRequest() *LogsArchiveCreateRequest

NewLogsArchiveCreateRequest instantiates a new LogsArchiveCreateRequest 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 NewLogsArchiveCreateRequestWithDefaults

func NewLogsArchiveCreateRequestWithDefaults() *LogsArchiveCreateRequest

NewLogsArchiveCreateRequestWithDefaults instantiates a new LogsArchiveCreateRequest 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 (*LogsArchiveCreateRequest) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchiveCreateRequest) GetDataOk

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

func (*LogsArchiveCreateRequest) HasData

func (o *LogsArchiveCreateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchiveCreateRequest) MarshalJSON

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

func (*LogsArchiveCreateRequest) SetData

SetData gets a reference to the given LogsArchiveCreateRequestDefinition and assigns it to the Data field.

type LogsArchiveCreateRequestAttributes

type LogsArchiveCreateRequestAttributes struct {
	Destination LogsArchiveCreateRequestDestination `json:"destination"`
	// The archive name.
	Name string `json:"name"`
	// The archive query/filter. Logs matching this query are included in the archive.
	Query string `json:"query"`
}

LogsArchiveCreateRequestAttributes The attributes associated with the archive.

func NewLogsArchiveCreateRequestAttributes

func NewLogsArchiveCreateRequestAttributes(destination LogsArchiveCreateRequestDestination, name string, query string) *LogsArchiveCreateRequestAttributes

NewLogsArchiveCreateRequestAttributes instantiates a new LogsArchiveCreateRequestAttributes 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 NewLogsArchiveCreateRequestAttributesWithDefaults

func NewLogsArchiveCreateRequestAttributesWithDefaults() *LogsArchiveCreateRequestAttributes

NewLogsArchiveCreateRequestAttributesWithDefaults instantiates a new LogsArchiveCreateRequestAttributes 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 (*LogsArchiveCreateRequestAttributes) GetDestination

GetDestination returns the Destination field value

func (*LogsArchiveCreateRequestAttributes) GetDestinationOk

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

func (*LogsArchiveCreateRequestAttributes) GetName

GetName returns the Name field value

func (*LogsArchiveCreateRequestAttributes) GetNameOk

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

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

func (*LogsArchiveCreateRequestAttributes) GetQuery

GetQuery returns the Query field value

func (*LogsArchiveCreateRequestAttributes) GetQueryOk

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

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

func (LogsArchiveCreateRequestAttributes) MarshalJSON

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

func (*LogsArchiveCreateRequestAttributes) SetDestination

SetDestination sets field value

func (*LogsArchiveCreateRequestAttributes) SetName

SetName sets field value

func (*LogsArchiveCreateRequestAttributes) SetQuery

SetQuery sets field value

type LogsArchiveCreateRequestDefinition

type LogsArchiveCreateRequestDefinition struct {
	Attributes *LogsArchiveCreateRequestAttributes `json:"attributes,omitempty"`
	// The type of the resource. The value should always be archives.
	Type string `json:"type"`
}

LogsArchiveCreateRequestDefinition The definition of an archive.

func NewLogsArchiveCreateRequestDefinition

func NewLogsArchiveCreateRequestDefinition(type_ string) *LogsArchiveCreateRequestDefinition

NewLogsArchiveCreateRequestDefinition instantiates a new LogsArchiveCreateRequestDefinition 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 NewLogsArchiveCreateRequestDefinitionWithDefaults

func NewLogsArchiveCreateRequestDefinitionWithDefaults() *LogsArchiveCreateRequestDefinition

NewLogsArchiveCreateRequestDefinitionWithDefaults instantiates a new LogsArchiveCreateRequestDefinition 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 (*LogsArchiveCreateRequestDefinition) GetAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogsArchiveCreateRequestDefinition) GetAttributesOk

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

func (*LogsArchiveCreateRequestDefinition) GetType

GetType returns the Type field value

func (*LogsArchiveCreateRequestDefinition) GetTypeOk

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

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

func (*LogsArchiveCreateRequestDefinition) HasAttributes

func (o *LogsArchiveCreateRequestDefinition) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (LogsArchiveCreateRequestDefinition) MarshalJSON

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

func (*LogsArchiveCreateRequestDefinition) SetAttributes

SetAttributes gets a reference to the given LogsArchiveCreateRequestAttributes and assigns it to the Attributes field.

func (*LogsArchiveCreateRequestDefinition) SetType

SetType sets field value

type LogsArchiveCreateRequestDestination

type LogsArchiveCreateRequestDestination struct {
	LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
	LogsArchiveDestinationGCS   *LogsArchiveDestinationGCS
	LogsArchiveDestinationS3    *LogsArchiveDestinationS3
}

LogsArchiveCreateRequestDestination - An archive's destination.

func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination

func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationAzure) LogsArchiveCreateRequestDestination

LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveCreateRequestDestination

func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination

func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationGCS) LogsArchiveCreateRequestDestination

LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveCreateRequestDestination

func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination

func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationS3) LogsArchiveCreateRequestDestination

LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveCreateRequestDestination

func (*LogsArchiveCreateRequestDestination) GetActualInstance

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

Get the actual instance

func (LogsArchiveCreateRequestDestination) MarshalJSON

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

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

func (*LogsArchiveCreateRequestDestination) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type LogsArchiveDefinition

type LogsArchiveDefinition struct {
	Attributes *LogsArchiveAttributes `json:"attributes,omitempty"`
	// The archive ID.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be archives.
	Type string `json:"type"`
}

LogsArchiveDefinition The definition of an archive.

func NewLogsArchiveDefinition

func NewLogsArchiveDefinition(type_ string) *LogsArchiveDefinition

NewLogsArchiveDefinition instantiates a new LogsArchiveDefinition 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 NewLogsArchiveDefinitionWithDefaults

func NewLogsArchiveDefinitionWithDefaults() *LogsArchiveDefinition

NewLogsArchiveDefinitionWithDefaults instantiates a new LogsArchiveDefinition 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 (*LogsArchiveDefinition) GetAttributes

func (o *LogsArchiveDefinition) GetAttributes() LogsArchiveAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogsArchiveDefinition) GetAttributesOk

func (o *LogsArchiveDefinition) GetAttributesOk() (*LogsArchiveAttributes, bool)

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

func (*LogsArchiveDefinition) GetId

func (o *LogsArchiveDefinition) GetId() string

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

func (*LogsArchiveDefinition) GetIdOk

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

func (o *LogsArchiveDefinition) GetType() string

GetType returns the Type field value

func (*LogsArchiveDefinition) GetTypeOk

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

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

func (*LogsArchiveDefinition) HasAttributes

func (o *LogsArchiveDefinition) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogsArchiveDefinition) HasId

func (o *LogsArchiveDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (LogsArchiveDefinition) MarshalJSON

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

func (*LogsArchiveDefinition) SetAttributes

func (o *LogsArchiveDefinition) SetAttributes(v LogsArchiveAttributes)

SetAttributes gets a reference to the given LogsArchiveAttributes and assigns it to the Attributes field.

func (*LogsArchiveDefinition) SetId

func (o *LogsArchiveDefinition) SetId(v string)

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

func (*LogsArchiveDefinition) SetType

func (o *LogsArchiveDefinition) SetType(v string)

SetType sets field value

type LogsArchiveDestination

type LogsArchiveDestination struct {
	LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
	LogsArchiveDestinationGCS   *LogsArchiveDestinationGCS
	LogsArchiveDestinationS3    *LogsArchiveDestinationS3
}

LogsArchiveDestination - An archive's destination.

func LogsArchiveDestinationAzureAsLogsArchiveDestination

func LogsArchiveDestinationAzureAsLogsArchiveDestination(v *LogsArchiveDestinationAzure) LogsArchiveDestination

LogsArchiveDestinationAzureAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveDestination

func LogsArchiveDestinationGCSAsLogsArchiveDestination

func LogsArchiveDestinationGCSAsLogsArchiveDestination(v *LogsArchiveDestinationGCS) LogsArchiveDestination

LogsArchiveDestinationGCSAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveDestination

func LogsArchiveDestinationS3AsLogsArchiveDestination

func LogsArchiveDestinationS3AsLogsArchiveDestination(v *LogsArchiveDestinationS3) LogsArchiveDestination

LogsArchiveDestinationS3AsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveDestination

func (*LogsArchiveDestination) GetActualInstance

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

Get the actual instance

func (LogsArchiveDestination) MarshalJSON

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

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

func (*LogsArchiveDestination) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type LogsArchiveDestinationAzure

type LogsArchiveDestinationAzure struct {
	// The container where the archive will be stored.
	Container   string                      `json:"container"`
	Integration LogsArchiveIntegrationAzure `json:"integration"`
	// The archive path.
	Path *string `json:"path,omitempty"`
	// The region where the archive will be stored.
	Region *string `json:"region,omitempty"`
	// The associated storage account.
	StorageAccount string                          `json:"storage_account"`
	Type           LogsArchiveDestinationAzureType `json:"type"`
}

LogsArchiveDestinationAzure The Azure archive destination.

func NewLogsArchiveDestinationAzure

func NewLogsArchiveDestinationAzure(container string, integration LogsArchiveIntegrationAzure, storageAccount string, type_ LogsArchiveDestinationAzureType) *LogsArchiveDestinationAzure

NewLogsArchiveDestinationAzure instantiates a new LogsArchiveDestinationAzure 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 NewLogsArchiveDestinationAzureWithDefaults

func NewLogsArchiveDestinationAzureWithDefaults() *LogsArchiveDestinationAzure

NewLogsArchiveDestinationAzureWithDefaults instantiates a new LogsArchiveDestinationAzure 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 (*LogsArchiveDestinationAzure) GetContainer

func (o *LogsArchiveDestinationAzure) GetContainer() string

GetContainer returns the Container field value

func (*LogsArchiveDestinationAzure) GetContainerOk

func (o *LogsArchiveDestinationAzure) GetContainerOk() (*string, bool)

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

func (*LogsArchiveDestinationAzure) GetIntegration

GetIntegration returns the Integration field value

func (*LogsArchiveDestinationAzure) GetIntegrationOk

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

func (*LogsArchiveDestinationAzure) GetPath

func (o *LogsArchiveDestinationAzure) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationAzure) GetPathOk

func (o *LogsArchiveDestinationAzure) GetPathOk() (*string, bool)

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

func (*LogsArchiveDestinationAzure) GetRegion

func (o *LogsArchiveDestinationAzure) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*LogsArchiveDestinationAzure) GetRegionOk

func (o *LogsArchiveDestinationAzure) GetRegionOk() (*string, bool)

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

func (*LogsArchiveDestinationAzure) GetStorageAccount

func (o *LogsArchiveDestinationAzure) GetStorageAccount() string

GetStorageAccount returns the StorageAccount field value

func (*LogsArchiveDestinationAzure) GetStorageAccountOk

func (o *LogsArchiveDestinationAzure) GetStorageAccountOk() (*string, bool)

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

func (*LogsArchiveDestinationAzure) GetType

GetType returns the Type field value

func (*LogsArchiveDestinationAzure) GetTypeOk

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

func (*LogsArchiveDestinationAzure) HasPath

func (o *LogsArchiveDestinationAzure) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*LogsArchiveDestinationAzure) HasRegion

func (o *LogsArchiveDestinationAzure) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (LogsArchiveDestinationAzure) MarshalJSON

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

func (*LogsArchiveDestinationAzure) SetContainer

func (o *LogsArchiveDestinationAzure) SetContainer(v string)

SetContainer sets field value

func (*LogsArchiveDestinationAzure) SetIntegration

SetIntegration sets field value

func (*LogsArchiveDestinationAzure) SetPath

func (o *LogsArchiveDestinationAzure) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationAzure) SetRegion

func (o *LogsArchiveDestinationAzure) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*LogsArchiveDestinationAzure) SetStorageAccount

func (o *LogsArchiveDestinationAzure) SetStorageAccount(v string)

SetStorageAccount sets field value

func (*LogsArchiveDestinationAzure) SetType

SetType sets field value

type LogsArchiveDestinationAzureType

type LogsArchiveDestinationAzureType string

LogsArchiveDestinationAzureType Type of the Azure archive destination.

const (
	LOGSARCHIVEDESTINATIONAZURETYPE_AZURE LogsArchiveDestinationAzureType = "azure"
)

List of LogsArchiveDestinationAzureType

func (LogsArchiveDestinationAzureType) Ptr

Ptr returns reference to LogsArchiveDestinationAzureType value

func (*LogsArchiveDestinationAzureType) UnmarshalJSON

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

type LogsArchiveDestinationGCS

type LogsArchiveDestinationGCS struct {
	// The bucket where the archive will be stored.
	Bucket      string                    `json:"bucket"`
	Integration LogsArchiveIntegrationGCS `json:"integration"`
	// The archive path.
	Path *string                       `json:"path,omitempty"`
	Type LogsArchiveDestinationGCSType `json:"type"`
}

LogsArchiveDestinationGCS The GCS archive destination.

func NewLogsArchiveDestinationGCS

func NewLogsArchiveDestinationGCS(bucket string, integration LogsArchiveIntegrationGCS, type_ LogsArchiveDestinationGCSType) *LogsArchiveDestinationGCS

NewLogsArchiveDestinationGCS instantiates a new LogsArchiveDestinationGCS 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 NewLogsArchiveDestinationGCSWithDefaults

func NewLogsArchiveDestinationGCSWithDefaults() *LogsArchiveDestinationGCS

NewLogsArchiveDestinationGCSWithDefaults instantiates a new LogsArchiveDestinationGCS 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 (*LogsArchiveDestinationGCS) GetBucket

func (o *LogsArchiveDestinationGCS) GetBucket() string

GetBucket returns the Bucket field value

func (*LogsArchiveDestinationGCS) GetBucketOk

func (o *LogsArchiveDestinationGCS) GetBucketOk() (*string, bool)

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

func (*LogsArchiveDestinationGCS) GetIntegration

GetIntegration returns the Integration field value

func (*LogsArchiveDestinationGCS) GetIntegrationOk

func (o *LogsArchiveDestinationGCS) GetIntegrationOk() (*LogsArchiveIntegrationGCS, bool)

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

func (*LogsArchiveDestinationGCS) GetPath

func (o *LogsArchiveDestinationGCS) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationGCS) GetPathOk

func (o *LogsArchiveDestinationGCS) GetPathOk() (*string, bool)

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

func (*LogsArchiveDestinationGCS) GetType

GetType returns the Type field value

func (*LogsArchiveDestinationGCS) GetTypeOk

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

func (*LogsArchiveDestinationGCS) HasPath

func (o *LogsArchiveDestinationGCS) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsArchiveDestinationGCS) MarshalJSON

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

func (*LogsArchiveDestinationGCS) SetBucket

func (o *LogsArchiveDestinationGCS) SetBucket(v string)

SetBucket sets field value

func (*LogsArchiveDestinationGCS) SetIntegration

SetIntegration sets field value

func (*LogsArchiveDestinationGCS) SetPath

func (o *LogsArchiveDestinationGCS) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationGCS) SetType

SetType sets field value

type LogsArchiveDestinationGCSType

type LogsArchiveDestinationGCSType string

LogsArchiveDestinationGCSType Type of the GCS archive destination.

const (
	LOGSARCHIVEDESTINATIONGCSTYPE_GCS LogsArchiveDestinationGCSType = "gcs"
)

List of LogsArchiveDestinationGCSType

func (LogsArchiveDestinationGCSType) Ptr

Ptr returns reference to LogsArchiveDestinationGCSType value

func (*LogsArchiveDestinationGCSType) UnmarshalJSON

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

type LogsArchiveDestinationS3

type LogsArchiveDestinationS3 struct {
	// The bucket where the archive will be stored.
	Bucket      string                   `json:"bucket"`
	Integration LogsArchiveIntegrationS3 `json:"integration"`
	// The archive path.
	Path *string                      `json:"path,omitempty"`
	Type LogsArchiveDestinationS3Type `json:"type"`
}

LogsArchiveDestinationS3 The S3 archive destination.

func NewLogsArchiveDestinationS3

func NewLogsArchiveDestinationS3(bucket string, integration LogsArchiveIntegrationS3, type_ LogsArchiveDestinationS3Type) *LogsArchiveDestinationS3

NewLogsArchiveDestinationS3 instantiates a new LogsArchiveDestinationS3 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 NewLogsArchiveDestinationS3WithDefaults

func NewLogsArchiveDestinationS3WithDefaults() *LogsArchiveDestinationS3

NewLogsArchiveDestinationS3WithDefaults instantiates a new LogsArchiveDestinationS3 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 (*LogsArchiveDestinationS3) GetBucket

func (o *LogsArchiveDestinationS3) GetBucket() string

GetBucket returns the Bucket field value

func (*LogsArchiveDestinationS3) GetBucketOk

func (o *LogsArchiveDestinationS3) GetBucketOk() (*string, bool)

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

func (*LogsArchiveDestinationS3) GetIntegration

GetIntegration returns the Integration field value

func (*LogsArchiveDestinationS3) GetIntegrationOk

func (o *LogsArchiveDestinationS3) GetIntegrationOk() (*LogsArchiveIntegrationS3, bool)

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

func (*LogsArchiveDestinationS3) GetPath

func (o *LogsArchiveDestinationS3) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsArchiveDestinationS3) GetPathOk

func (o *LogsArchiveDestinationS3) GetPathOk() (*string, bool)

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

func (*LogsArchiveDestinationS3) GetType

GetType returns the Type field value

func (*LogsArchiveDestinationS3) GetTypeOk

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

func (*LogsArchiveDestinationS3) HasPath

func (o *LogsArchiveDestinationS3) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsArchiveDestinationS3) MarshalJSON

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

func (*LogsArchiveDestinationS3) SetBucket

func (o *LogsArchiveDestinationS3) SetBucket(v string)

SetBucket sets field value

func (*LogsArchiveDestinationS3) SetIntegration

SetIntegration sets field value

func (*LogsArchiveDestinationS3) SetPath

func (o *LogsArchiveDestinationS3) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsArchiveDestinationS3) SetType

SetType sets field value

type LogsArchiveDestinationS3Type

type LogsArchiveDestinationS3Type string

LogsArchiveDestinationS3Type Type of the S3 archive destination.

const (
	LOGSARCHIVEDESTINATIONS3TYPE_S3 LogsArchiveDestinationS3Type = "s3"
)

List of LogsArchiveDestinationS3Type

func (LogsArchiveDestinationS3Type) Ptr

Ptr returns reference to LogsArchiveDestinationS3Type value

func (*LogsArchiveDestinationS3Type) UnmarshalJSON

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

type LogsArchiveIntegrationAzure

type LogsArchiveIntegrationAzure struct {
	// A client ID.
	ClientId string `json:"client_id"`
	// A tenant ID.
	TenantId string `json:"tenant_id"`
}

LogsArchiveIntegrationAzure The Azure archive's integration destination.

func NewLogsArchiveIntegrationAzure

func NewLogsArchiveIntegrationAzure(clientId string, tenantId string) *LogsArchiveIntegrationAzure

NewLogsArchiveIntegrationAzure instantiates a new LogsArchiveIntegrationAzure 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 NewLogsArchiveIntegrationAzureWithDefaults

func NewLogsArchiveIntegrationAzureWithDefaults() *LogsArchiveIntegrationAzure

NewLogsArchiveIntegrationAzureWithDefaults instantiates a new LogsArchiveIntegrationAzure 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 (*LogsArchiveIntegrationAzure) GetClientId

func (o *LogsArchiveIntegrationAzure) GetClientId() string

GetClientId returns the ClientId field value

func (*LogsArchiveIntegrationAzure) GetClientIdOk

func (o *LogsArchiveIntegrationAzure) GetClientIdOk() (*string, bool)

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

func (*LogsArchiveIntegrationAzure) GetTenantId

func (o *LogsArchiveIntegrationAzure) GetTenantId() string

GetTenantId returns the TenantId field value

func (*LogsArchiveIntegrationAzure) GetTenantIdOk

func (o *LogsArchiveIntegrationAzure) GetTenantIdOk() (*string, bool)

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

func (LogsArchiveIntegrationAzure) MarshalJSON

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

func (*LogsArchiveIntegrationAzure) SetClientId

func (o *LogsArchiveIntegrationAzure) SetClientId(v string)

SetClientId sets field value

func (*LogsArchiveIntegrationAzure) SetTenantId

func (o *LogsArchiveIntegrationAzure) SetTenantId(v string)

SetTenantId sets field value

type LogsArchiveIntegrationGCS

type LogsArchiveIntegrationGCS struct {
	// A client email.
	ClientEmail string `json:"client_email"`
	// A project ID.
	ProjectId string `json:"project_id"`
}

LogsArchiveIntegrationGCS The GCS archive's integration destination.

func NewLogsArchiveIntegrationGCS

func NewLogsArchiveIntegrationGCS(clientEmail string, projectId string) *LogsArchiveIntegrationGCS

NewLogsArchiveIntegrationGCS instantiates a new LogsArchiveIntegrationGCS 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 NewLogsArchiveIntegrationGCSWithDefaults

func NewLogsArchiveIntegrationGCSWithDefaults() *LogsArchiveIntegrationGCS

NewLogsArchiveIntegrationGCSWithDefaults instantiates a new LogsArchiveIntegrationGCS 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 (*LogsArchiveIntegrationGCS) GetClientEmail

func (o *LogsArchiveIntegrationGCS) GetClientEmail() string

GetClientEmail returns the ClientEmail field value

func (*LogsArchiveIntegrationGCS) GetClientEmailOk

func (o *LogsArchiveIntegrationGCS) GetClientEmailOk() (*string, bool)

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

func (*LogsArchiveIntegrationGCS) GetProjectId

func (o *LogsArchiveIntegrationGCS) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*LogsArchiveIntegrationGCS) GetProjectIdOk

func (o *LogsArchiveIntegrationGCS) GetProjectIdOk() (*string, bool)

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

func (LogsArchiveIntegrationGCS) MarshalJSON

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

func (*LogsArchiveIntegrationGCS) SetClientEmail

func (o *LogsArchiveIntegrationGCS) SetClientEmail(v string)

SetClientEmail sets field value

func (*LogsArchiveIntegrationGCS) SetProjectId

func (o *LogsArchiveIntegrationGCS) SetProjectId(v string)

SetProjectId sets field value

type LogsArchiveIntegrationS3

type LogsArchiveIntegrationS3 struct {
	// The account ID for the integration.
	AccountId string `json:"account_id"`
	// The path of the integration.
	RoleName string `json:"role_name"`
}

LogsArchiveIntegrationS3 The S3 Archive's integration destination.

func NewLogsArchiveIntegrationS3

func NewLogsArchiveIntegrationS3(accountId string, roleName string) *LogsArchiveIntegrationS3

NewLogsArchiveIntegrationS3 instantiates a new LogsArchiveIntegrationS3 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 NewLogsArchiveIntegrationS3WithDefaults

func NewLogsArchiveIntegrationS3WithDefaults() *LogsArchiveIntegrationS3

NewLogsArchiveIntegrationS3WithDefaults instantiates a new LogsArchiveIntegrationS3 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 (*LogsArchiveIntegrationS3) GetAccountId

func (o *LogsArchiveIntegrationS3) GetAccountId() string

GetAccountId returns the AccountId field value

func (*LogsArchiveIntegrationS3) GetAccountIdOk

func (o *LogsArchiveIntegrationS3) GetAccountIdOk() (*string, bool)

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

func (*LogsArchiveIntegrationS3) GetRoleName

func (o *LogsArchiveIntegrationS3) GetRoleName() string

GetRoleName returns the RoleName field value

func (*LogsArchiveIntegrationS3) GetRoleNameOk

func (o *LogsArchiveIntegrationS3) GetRoleNameOk() (*string, bool)

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

func (LogsArchiveIntegrationS3) MarshalJSON

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

func (*LogsArchiveIntegrationS3) SetAccountId

func (o *LogsArchiveIntegrationS3) SetAccountId(v string)

SetAccountId sets field value

func (*LogsArchiveIntegrationS3) SetRoleName

func (o *LogsArchiveIntegrationS3) SetRoleName(v string)

SetRoleName sets field value

type LogsArchiveState

type LogsArchiveState string

LogsArchiveState The state of the archive.

const (
	LOGSARCHIVESTATE_UNKNOWN             LogsArchiveState = "UNKNOWN"
	LOGSARCHIVESTATE_WORKING             LogsArchiveState = "WORKING"
	LOGSARCHIVESTATE_FAILING             LogsArchiveState = "FAILING"
	LOGSARCHIVESTATE_WORKING_AUTH_LEGACY LogsArchiveState = "WORKING_AUTH_LEGACY"
)

List of LogsArchiveState

func (LogsArchiveState) Ptr

Ptr returns reference to LogsArchiveState value

func (*LogsArchiveState) UnmarshalJSON

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

type LogsArchives

type LogsArchives struct {
	// A list of archives.
	Data *[]LogsArchiveDefinition `json:"data,omitempty"`
}

LogsArchives The available archives.

func NewLogsArchives

func NewLogsArchives() *LogsArchives

NewLogsArchives instantiates a new LogsArchives 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 NewLogsArchivesWithDefaults

func NewLogsArchivesWithDefaults() *LogsArchives

NewLogsArchivesWithDefaults instantiates a new LogsArchives 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 (*LogsArchives) GetData

func (o *LogsArchives) GetData() []LogsArchiveDefinition

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchives) GetDataOk

func (o *LogsArchives) GetDataOk() (*[]LogsArchiveDefinition, bool)

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

func (*LogsArchives) HasData

func (o *LogsArchives) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchives) MarshalJSON

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

func (*LogsArchives) SetData

func (o *LogsArchives) SetData(v []LogsArchiveDefinition)

SetData gets a reference to the given []LogsArchiveDefinition and assigns it to the Data field.

type LogsArchivesApiService

type LogsArchivesApiService service

LogsArchivesApiService LogsArchivesApi service

func (*LogsArchivesApiService) AddReadRoleToArchive

func (a *LogsArchivesApiService) AddReadRoleToArchive(ctx _context.Context, archiveId string) apiAddReadRoleToArchiveRequest

AddReadRoleToArchive Grant role to an archive Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiAddReadRoleToArchiveRequest

func (*LogsArchivesApiService) CreateLogsArchive

func (a *LogsArchivesApiService) CreateLogsArchive(ctx _context.Context) apiCreateLogsArchiveRequest

CreateLogsArchive Create an archive Create an archive in your organization.

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

@return apiCreateLogsArchiveRequest

func (*LogsArchivesApiService) DeleteLogsArchive

func (a *LogsArchivesApiService) DeleteLogsArchive(ctx _context.Context, archiveId string) apiDeleteLogsArchiveRequest

DeleteLogsArchive Delete an archive Delete a given archive from your organization.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiDeleteLogsArchiveRequest

func (*LogsArchivesApiService) GetLogsArchive

func (a *LogsArchivesApiService) GetLogsArchive(ctx _context.Context, archiveId string) apiGetLogsArchiveRequest

GetLogsArchive Get an archive Get a specific archive from your organization.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiGetLogsArchiveRequest

func (*LogsArchivesApiService) ListArchiveReadRoles

func (a *LogsArchivesApiService) ListArchiveReadRoles(ctx _context.Context, archiveId string) apiListArchiveReadRolesRequest

ListArchiveReadRoles List read roles for an archive Returns all read roles a given archive is restricted to.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiListArchiveReadRolesRequest

func (*LogsArchivesApiService) ListLogsArchives

func (a *LogsArchivesApiService) ListLogsArchives(ctx _context.Context) apiListLogsArchivesRequest

ListLogsArchives Get all archives Get the list of configured logs archives with their definitions.

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

@return apiListLogsArchivesRequest

func (*LogsArchivesApiService) RemoveRoleFromArchive

func (a *LogsArchivesApiService) RemoveRoleFromArchive(ctx _context.Context, archiveId string) apiRemoveRoleFromArchiveRequest

RemoveRoleFromArchive Revoke role from an archive Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiRemoveRoleFromArchiveRequest

func (*LogsArchivesApiService) UpdateLogsArchive

func (a *LogsArchivesApiService) UpdateLogsArchive(ctx _context.Context, archiveId string) apiUpdateLogsArchiveRequest

UpdateLogsArchive Update an archive Update a given archive configuration.

**Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param archiveId The ID of the archive.

@return apiUpdateLogsArchiveRequest

type LogsListRequest

type LogsListRequest struct {
	Filter *LogsListRequestFilter `json:"filter,omitempty"`
	Page   *LogsListRequestPage   `json:"page,omitempty"`
	Sort   *LogsSort              `json:"sort,omitempty"`
}

LogsListRequest The request for a logs list.

func NewLogsListRequest

func NewLogsListRequest() *LogsListRequest

NewLogsListRequest instantiates a new LogsListRequest 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 NewLogsListRequestWithDefaults

func NewLogsListRequestWithDefaults() *LogsListRequest

NewLogsListRequestWithDefaults instantiates a new LogsListRequest 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 (*LogsListRequest) GetFilter

func (o *LogsListRequest) GetFilter() LogsListRequestFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsListRequest) GetFilterOk

func (o *LogsListRequest) GetFilterOk() (*LogsListRequestFilter, bool)

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

func (*LogsListRequest) GetPage

func (o *LogsListRequest) GetPage() LogsListRequestPage

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

func (*LogsListRequest) GetPageOk

func (o *LogsListRequest) GetPageOk() (*LogsListRequestPage, bool)

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

func (*LogsListRequest) GetSort

func (o *LogsListRequest) GetSort() LogsSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogsListRequest) GetSortOk

func (o *LogsListRequest) GetSortOk() (*LogsSort, bool)

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

func (*LogsListRequest) HasFilter

func (o *LogsListRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsListRequest) HasPage

func (o *LogsListRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*LogsListRequest) HasSort

func (o *LogsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (LogsListRequest) MarshalJSON

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

func (*LogsListRequest) SetFilter

func (o *LogsListRequest) SetFilter(v LogsListRequestFilter)

SetFilter gets a reference to the given LogsListRequestFilter and assigns it to the Filter field.

func (*LogsListRequest) SetPage

func (o *LogsListRequest) SetPage(v LogsListRequestPage)

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

func (*LogsListRequest) SetSort

func (o *LogsListRequest) SetSort(v LogsSort)

SetSort gets a reference to the given LogsSort and assigns it to the Sort field.

type LogsListRequestFilter

type LogsListRequestFilter struct {
	// Minimum timestamp for requested logs.
	From *time.Time `json:"from,omitempty"`
	// For customers with multiple indexes, the indexes to search. Defaults to '*' which means all indexes.
	Indexes *[]string `json:"indexes,omitempty"`
	// Search query following logs syntax.
	Query *string `json:"query,omitempty"`
	// Maximum timestamp for requested logs.
	To *time.Time `json:"to,omitempty"`
}

LogsListRequestFilter Search filters for listing logs.

func NewLogsListRequestFilter

func NewLogsListRequestFilter() *LogsListRequestFilter

NewLogsListRequestFilter instantiates a new LogsListRequestFilter 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 NewLogsListRequestFilterWithDefaults

func NewLogsListRequestFilterWithDefaults() *LogsListRequestFilter

NewLogsListRequestFilterWithDefaults instantiates a new LogsListRequestFilter 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 (*LogsListRequestFilter) GetFrom

func (o *LogsListRequestFilter) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*LogsListRequestFilter) GetFromOk

func (o *LogsListRequestFilter) GetFromOk() (*time.Time, bool)

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

func (*LogsListRequestFilter) GetIndexes

func (o *LogsListRequestFilter) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*LogsListRequestFilter) GetIndexesOk

func (o *LogsListRequestFilter) GetIndexesOk() (*[]string, bool)

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

func (*LogsListRequestFilter) GetQuery

func (o *LogsListRequestFilter) GetQuery() string

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

func (*LogsListRequestFilter) GetQueryOk

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

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

func (*LogsListRequestFilter) GetTo

func (o *LogsListRequestFilter) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*LogsListRequestFilter) GetToOk

func (o *LogsListRequestFilter) GetToOk() (*time.Time, bool)

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

func (*LogsListRequestFilter) HasFrom

func (o *LogsListRequestFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*LogsListRequestFilter) HasIndexes

func (o *LogsListRequestFilter) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*LogsListRequestFilter) HasQuery

func (o *LogsListRequestFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsListRequestFilter) HasTo

func (o *LogsListRequestFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (LogsListRequestFilter) MarshalJSON

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

func (*LogsListRequestFilter) SetFrom

func (o *LogsListRequestFilter) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*LogsListRequestFilter) SetIndexes

func (o *LogsListRequestFilter) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*LogsListRequestFilter) SetQuery

func (o *LogsListRequestFilter) SetQuery(v string)

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

func (*LogsListRequestFilter) SetTo

func (o *LogsListRequestFilter) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

type LogsListRequestPage

type LogsListRequestPage struct {
	// List following results with a cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// Maximum number of logs in the response.
	Limit *int32 `json:"limit,omitempty"`
}

LogsListRequestPage Paging attributes for listing logs.

func NewLogsListRequestPage

func NewLogsListRequestPage() *LogsListRequestPage

NewLogsListRequestPage instantiates a new LogsListRequestPage 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 NewLogsListRequestPageWithDefaults

func NewLogsListRequestPageWithDefaults() *LogsListRequestPage

NewLogsListRequestPageWithDefaults instantiates a new LogsListRequestPage 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 (*LogsListRequestPage) GetCursor

func (o *LogsListRequestPage) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*LogsListRequestPage) GetCursorOk

func (o *LogsListRequestPage) GetCursorOk() (*string, bool)

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

func (*LogsListRequestPage) GetLimit

func (o *LogsListRequestPage) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*LogsListRequestPage) GetLimitOk

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

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

func (*LogsListRequestPage) HasCursor

func (o *LogsListRequestPage) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*LogsListRequestPage) HasLimit

func (o *LogsListRequestPage) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (LogsListRequestPage) MarshalJSON

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

func (*LogsListRequestPage) SetCursor

func (o *LogsListRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*LogsListRequestPage) SetLimit

func (o *LogsListRequestPage) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

type LogsListResponse

type LogsListResponse struct {
	// Array of logs matching the request.
	Data  *[]Log                 `json:"data,omitempty"`
	Links *LogsListResponseLinks `json:"links,omitempty"`
	Meta  *LogsListResponseMeta  `json:"meta,omitempty"`
}

LogsListResponse Response object with all logs matching the request and pagination information.

func NewLogsListResponse

func NewLogsListResponse() *LogsListResponse

NewLogsListResponse instantiates a new LogsListResponse 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 NewLogsListResponseWithDefaults

func NewLogsListResponseWithDefaults() *LogsListResponse

NewLogsListResponseWithDefaults instantiates a new LogsListResponse 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 (*LogsListResponse) GetData

func (o *LogsListResponse) GetData() []Log

GetData returns the Data field value if set, zero value otherwise.

func (*LogsListResponse) GetDataOk

func (o *LogsListResponse) GetDataOk() (*[]Log, bool)

GetDataOk returns a tuple with the Data 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 (*LogsListResponse) GetLinksOk

func (o *LogsListResponse) GetLinksOk() (*LogsListResponseLinks, 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 (*LogsListResponse) GetMeta

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

func (*LogsListResponse) GetMetaOk

func (o *LogsListResponse) GetMetaOk() (*LogsListResponseMeta, bool)

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

func (*LogsListResponse) HasData

func (o *LogsListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *LogsListResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*LogsListResponse) HasMeta

func (o *LogsListResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (LogsListResponse) MarshalJSON

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

func (*LogsListResponse) SetData

func (o *LogsListResponse) SetData(v []Log)

SetData gets a reference to the given []Log and assigns it to the Data field.

func (o *LogsListResponse) SetLinks(v LogsListResponseLinks)

SetLinks gets a reference to the given LogsListResponseLinks and assigns it to the Links field.

func (*LogsListResponse) SetMeta

func (o *LogsListResponse) SetMeta(v LogsListResponseMeta)

SetMeta gets a reference to the given LogsListResponseMeta and assigns it to the Meta field.

type LogsListResponseLinks struct {
	// Link for the next set of results. Note that the request can also be made using the POST endpoint.
	Next *string `json:"next,omitempty"`
}

LogsListResponseLinks Links attributes.

func NewLogsListResponseLinks() *LogsListResponseLinks

NewLogsListResponseLinks instantiates a new LogsListResponseLinks 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 NewLogsListResponseLinksWithDefaults

func NewLogsListResponseLinksWithDefaults() *LogsListResponseLinks

NewLogsListResponseLinksWithDefaults instantiates a new LogsListResponseLinks 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 (*LogsListResponseLinks) GetNext

func (o *LogsListResponseLinks) GetNext() string

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

func (*LogsListResponseLinks) GetNextOk

func (o *LogsListResponseLinks) GetNextOk() (*string, 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 (*LogsListResponseLinks) HasNext

func (o *LogsListResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (LogsListResponseLinks) MarshalJSON

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

func (*LogsListResponseLinks) SetNext

func (o *LogsListResponseLinks) SetNext(v string)

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

type LogsListResponseMeta

type LogsListResponseMeta struct {
	Page *LogsListResponseMetaPage `json:"page,omitempty"`
}

LogsListResponseMeta Meta attributes.

func NewLogsListResponseMeta

func NewLogsListResponseMeta() *LogsListResponseMeta

NewLogsListResponseMeta instantiates a new LogsListResponseMeta 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 NewLogsListResponseMetaWithDefaults

func NewLogsListResponseMetaWithDefaults() *LogsListResponseMeta

NewLogsListResponseMetaWithDefaults instantiates a new LogsListResponseMeta 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 (*LogsListResponseMeta) GetPage

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

func (*LogsListResponseMeta) GetPageOk

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

func (*LogsListResponseMeta) HasPage

func (o *LogsListResponseMeta) HasPage() bool

HasPage returns a boolean if a field has been set.

func (LogsListResponseMeta) MarshalJSON

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

func (*LogsListResponseMeta) SetPage

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

type LogsListResponseMetaPage

type LogsListResponseMetaPage struct {
	// Cursor to use to get next results, if any. To make the next request, use the same parameters with the addition of the `page[cursor]`.
	After *string `json:"after,omitempty"`
}

LogsListResponseMetaPage Paging attributes.

func NewLogsListResponseMetaPage

func NewLogsListResponseMetaPage() *LogsListResponseMetaPage

NewLogsListResponseMetaPage instantiates a new LogsListResponseMetaPage 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 NewLogsListResponseMetaPageWithDefaults

func NewLogsListResponseMetaPageWithDefaults() *LogsListResponseMetaPage

NewLogsListResponseMetaPageWithDefaults instantiates a new LogsListResponseMetaPage 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 (*LogsListResponseMetaPage) GetAfter

func (o *LogsListResponseMetaPage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*LogsListResponseMetaPage) GetAfterOk

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

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

func (*LogsListResponseMetaPage) HasAfter

func (o *LogsListResponseMetaPage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (LogsListResponseMetaPage) MarshalJSON

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

func (*LogsListResponseMetaPage) SetAfter

func (o *LogsListResponseMetaPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

type LogsSort

type LogsSort string

LogsSort Sort parameters when querying logs.

const (
	LOGSSORT_TIMESTAMP_ASCENDING  LogsSort = "timestamp"
	LOGSSORT_TIMESTAMP_DESCENDING LogsSort = "-timestamp"
)

List of LogsSort

func (LogsSort) Ptr

func (v LogsSort) Ptr() *LogsSort

Ptr returns reference to LogsSort value

func (*LogsSort) UnmarshalJSON

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

type NullableAPIErrorResponse

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

func NewNullableAPIErrorResponse

func NewNullableAPIErrorResponse(val *APIErrorResponse) *NullableAPIErrorResponse

func (NullableAPIErrorResponse) Get

func (NullableAPIErrorResponse) IsSet

func (v NullableAPIErrorResponse) IsSet() bool

func (NullableAPIErrorResponse) MarshalJSON

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

func (*NullableAPIErrorResponse) Set

func (*NullableAPIErrorResponse) UnmarshalJSON

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

func (*NullableAPIErrorResponse) Unset

func (v *NullableAPIErrorResponse) 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 NullableCreator

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

func NewNullableCreator

func NewNullableCreator(val *Creator) *NullableCreator

func (NullableCreator) Get

func (v NullableCreator) Get() *Creator

func (NullableCreator) IsSet

func (v NullableCreator) IsSet() bool

func (NullableCreator) MarshalJSON

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

func (*NullableCreator) Set

func (v *NullableCreator) Set(val *Creator)

func (*NullableCreator) UnmarshalJSON

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

func (*NullableCreator) Unset

func (v *NullableCreator) Unset()

type NullableDashboardListAddItemsRequest

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

func (NullableDashboardListAddItemsRequest) Get

func (NullableDashboardListAddItemsRequest) IsSet

func (NullableDashboardListAddItemsRequest) MarshalJSON

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

func (*NullableDashboardListAddItemsRequest) Set

func (*NullableDashboardListAddItemsRequest) UnmarshalJSON

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

func (*NullableDashboardListAddItemsRequest) Unset

type NullableDashboardListAddItemsResponse

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

func (NullableDashboardListAddItemsResponse) Get

func (NullableDashboardListAddItemsResponse) IsSet

func (NullableDashboardListAddItemsResponse) MarshalJSON

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

func (*NullableDashboardListAddItemsResponse) Set

func (*NullableDashboardListAddItemsResponse) UnmarshalJSON

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

func (*NullableDashboardListAddItemsResponse) Unset

type NullableDashboardListDeleteItemsRequest

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

func (NullableDashboardListDeleteItemsRequest) Get

func (NullableDashboardListDeleteItemsRequest) IsSet

func (NullableDashboardListDeleteItemsRequest) MarshalJSON

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

func (*NullableDashboardListDeleteItemsRequest) Set

func (*NullableDashboardListDeleteItemsRequest) UnmarshalJSON

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

func (*NullableDashboardListDeleteItemsRequest) Unset

type NullableDashboardListDeleteItemsResponse

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

func (NullableDashboardListDeleteItemsResponse) Get

func (NullableDashboardListDeleteItemsResponse) IsSet

func (NullableDashboardListDeleteItemsResponse) MarshalJSON

func (*NullableDashboardListDeleteItemsResponse) Set

func (*NullableDashboardListDeleteItemsResponse) UnmarshalJSON

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

func (*NullableDashboardListDeleteItemsResponse) Unset

type NullableDashboardListItem

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

func NewNullableDashboardListItem

func NewNullableDashboardListItem(val *DashboardListItem) *NullableDashboardListItem

func (NullableDashboardListItem) Get

func (NullableDashboardListItem) IsSet

func (v NullableDashboardListItem) IsSet() bool

func (NullableDashboardListItem) MarshalJSON

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

func (*NullableDashboardListItem) Set

func (*NullableDashboardListItem) UnmarshalJSON

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

func (*NullableDashboardListItem) Unset

func (v *NullableDashboardListItem) Unset()

type NullableDashboardListItemRequest

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

func (NullableDashboardListItemRequest) Get

func (NullableDashboardListItemRequest) IsSet

func (NullableDashboardListItemRequest) MarshalJSON

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

func (*NullableDashboardListItemRequest) Set

func (*NullableDashboardListItemRequest) UnmarshalJSON

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

func (*NullableDashboardListItemRequest) Unset

type NullableDashboardListItemResponse

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

func (NullableDashboardListItemResponse) Get

func (NullableDashboardListItemResponse) IsSet

func (NullableDashboardListItemResponse) MarshalJSON

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

func (*NullableDashboardListItemResponse) Set

func (*NullableDashboardListItemResponse) UnmarshalJSON

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

func (*NullableDashboardListItemResponse) Unset

type NullableDashboardListItems

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

func NewNullableDashboardListItems

func NewNullableDashboardListItems(val *DashboardListItems) *NullableDashboardListItems

func (NullableDashboardListItems) Get

func (NullableDashboardListItems) IsSet

func (v NullableDashboardListItems) IsSet() bool

func (NullableDashboardListItems) MarshalJSON

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

func (*NullableDashboardListItems) Set

func (*NullableDashboardListItems) UnmarshalJSON

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

func (*NullableDashboardListItems) Unset

func (v *NullableDashboardListItems) Unset()

type NullableDashboardListUpdateItemsRequest

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

func (NullableDashboardListUpdateItemsRequest) Get

func (NullableDashboardListUpdateItemsRequest) IsSet

func (NullableDashboardListUpdateItemsRequest) MarshalJSON

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

func (*NullableDashboardListUpdateItemsRequest) Set

func (*NullableDashboardListUpdateItemsRequest) UnmarshalJSON

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

func (*NullableDashboardListUpdateItemsRequest) Unset

type NullableDashboardListUpdateItemsResponse

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

func (NullableDashboardListUpdateItemsResponse) Get

func (NullableDashboardListUpdateItemsResponse) IsSet

func (NullableDashboardListUpdateItemsResponse) MarshalJSON

func (*NullableDashboardListUpdateItemsResponse) Set

func (*NullableDashboardListUpdateItemsResponse) UnmarshalJSON

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

func (*NullableDashboardListUpdateItemsResponse) Unset

type NullableDashboardType

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

func NewNullableDashboardType

func NewNullableDashboardType(val *DashboardType) *NullableDashboardType

func (NullableDashboardType) Get

func (NullableDashboardType) IsSet

func (v NullableDashboardType) IsSet() bool

func (NullableDashboardType) MarshalJSON

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

func (*NullableDashboardType) Set

func (v *NullableDashboardType) Set(val *DashboardType)

func (*NullableDashboardType) UnmarshalJSON

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

func (*NullableDashboardType) Unset

func (v *NullableDashboardType) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLog

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

func NewNullableLog

func NewNullableLog(val *Log) *NullableLog

func (NullableLog) Get

func (v NullableLog) Get() *Log

func (NullableLog) IsSet

func (v NullableLog) IsSet() bool

func (NullableLog) MarshalJSON

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

func (*NullableLog) Set

func (v *NullableLog) Set(val *Log)

func (*NullableLog) UnmarshalJSON

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

func (*NullableLog) Unset

func (v *NullableLog) Unset()

type NullableLogAttributes

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

func NewNullableLogAttributes

func NewNullableLogAttributes(val *LogAttributes) *NullableLogAttributes

func (NullableLogAttributes) Get

func (NullableLogAttributes) IsSet

func (v NullableLogAttributes) IsSet() bool

func (NullableLogAttributes) MarshalJSON

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

func (*NullableLogAttributes) Set

func (v *NullableLogAttributes) Set(val *LogAttributes)

func (*NullableLogAttributes) UnmarshalJSON

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

func (*NullableLogAttributes) Unset

func (v *NullableLogAttributes) Unset()

type NullableLogType

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

func NewNullableLogType

func NewNullableLogType(val *LogType) *NullableLogType

func (NullableLogType) Get

func (v NullableLogType) Get() *LogType

func (NullableLogType) IsSet

func (v NullableLogType) IsSet() bool

func (NullableLogType) MarshalJSON

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

func (*NullableLogType) Set

func (v *NullableLogType) Set(val *LogType)

func (*NullableLogType) UnmarshalJSON

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

func (*NullableLogType) Unset

func (v *NullableLogType) Unset()

type NullableLogsArchive

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

func NewNullableLogsArchive

func NewNullableLogsArchive(val *LogsArchive) *NullableLogsArchive

func (NullableLogsArchive) Get

func (NullableLogsArchive) IsSet

func (v NullableLogsArchive) IsSet() bool

func (NullableLogsArchive) MarshalJSON

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

func (*NullableLogsArchive) Set

func (v *NullableLogsArchive) Set(val *LogsArchive)

func (*NullableLogsArchive) UnmarshalJSON

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

func (*NullableLogsArchive) Unset

func (v *NullableLogsArchive) Unset()

type NullableLogsArchiveAttributes

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

func (NullableLogsArchiveAttributes) Get

func (NullableLogsArchiveAttributes) IsSet

func (NullableLogsArchiveAttributes) MarshalJSON

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

func (*NullableLogsArchiveAttributes) Set

func (*NullableLogsArchiveAttributes) UnmarshalJSON

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

func (*NullableLogsArchiveAttributes) Unset

func (v *NullableLogsArchiveAttributes) Unset()

type NullableLogsArchiveCreateRequest

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

func (NullableLogsArchiveCreateRequest) Get

func (NullableLogsArchiveCreateRequest) IsSet

func (NullableLogsArchiveCreateRequest) MarshalJSON

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

func (*NullableLogsArchiveCreateRequest) Set

func (*NullableLogsArchiveCreateRequest) UnmarshalJSON

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

func (*NullableLogsArchiveCreateRequest) Unset

type NullableLogsArchiveCreateRequestAttributes

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

func (NullableLogsArchiveCreateRequestAttributes) Get

func (NullableLogsArchiveCreateRequestAttributes) IsSet

func (NullableLogsArchiveCreateRequestAttributes) MarshalJSON

func (*NullableLogsArchiveCreateRequestAttributes) Set

func (*NullableLogsArchiveCreateRequestAttributes) UnmarshalJSON

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

func (*NullableLogsArchiveCreateRequestAttributes) Unset

type NullableLogsArchiveCreateRequestDefinition

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

func (NullableLogsArchiveCreateRequestDefinition) Get

func (NullableLogsArchiveCreateRequestDefinition) IsSet

func (NullableLogsArchiveCreateRequestDefinition) MarshalJSON

func (*NullableLogsArchiveCreateRequestDefinition) Set

func (*NullableLogsArchiveCreateRequestDefinition) UnmarshalJSON

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

func (*NullableLogsArchiveCreateRequestDefinition) Unset

type NullableLogsArchiveCreateRequestDestination

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

func (NullableLogsArchiveCreateRequestDestination) Get

func (NullableLogsArchiveCreateRequestDestination) IsSet

func (NullableLogsArchiveCreateRequestDestination) MarshalJSON

func (*NullableLogsArchiveCreateRequestDestination) Set

func (*NullableLogsArchiveCreateRequestDestination) UnmarshalJSON

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

func (*NullableLogsArchiveCreateRequestDestination) Unset

type NullableLogsArchiveDefinition

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

func (NullableLogsArchiveDefinition) Get

func (NullableLogsArchiveDefinition) IsSet

func (NullableLogsArchiveDefinition) MarshalJSON

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

func (*NullableLogsArchiveDefinition) Set

func (*NullableLogsArchiveDefinition) UnmarshalJSON

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

func (*NullableLogsArchiveDefinition) Unset

func (v *NullableLogsArchiveDefinition) Unset()

type NullableLogsArchiveDestination

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

func (NullableLogsArchiveDestination) Get

func (NullableLogsArchiveDestination) IsSet

func (NullableLogsArchiveDestination) MarshalJSON

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

func (*NullableLogsArchiveDestination) Set

func (*NullableLogsArchiveDestination) UnmarshalJSON

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

func (*NullableLogsArchiveDestination) Unset

func (v *NullableLogsArchiveDestination) Unset()

type NullableLogsArchiveDestinationAzure

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

func (NullableLogsArchiveDestinationAzure) Get

func (NullableLogsArchiveDestinationAzure) IsSet

func (NullableLogsArchiveDestinationAzure) MarshalJSON

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

func (*NullableLogsArchiveDestinationAzure) Set

func (*NullableLogsArchiveDestinationAzure) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationAzure) Unset

type NullableLogsArchiveDestinationAzureType

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

func (NullableLogsArchiveDestinationAzureType) Get

func (NullableLogsArchiveDestinationAzureType) IsSet

func (NullableLogsArchiveDestinationAzureType) MarshalJSON

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

func (*NullableLogsArchiveDestinationAzureType) Set

func (*NullableLogsArchiveDestinationAzureType) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationAzureType) Unset

type NullableLogsArchiveDestinationGCS

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

func (NullableLogsArchiveDestinationGCS) Get

func (NullableLogsArchiveDestinationGCS) IsSet

func (NullableLogsArchiveDestinationGCS) MarshalJSON

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

func (*NullableLogsArchiveDestinationGCS) Set

func (*NullableLogsArchiveDestinationGCS) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationGCS) Unset

type NullableLogsArchiveDestinationGCSType

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

func (NullableLogsArchiveDestinationGCSType) Get

func (NullableLogsArchiveDestinationGCSType) IsSet

func (NullableLogsArchiveDestinationGCSType) MarshalJSON

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

func (*NullableLogsArchiveDestinationGCSType) Set

func (*NullableLogsArchiveDestinationGCSType) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationGCSType) Unset

type NullableLogsArchiveDestinationS3

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

func (NullableLogsArchiveDestinationS3) Get

func (NullableLogsArchiveDestinationS3) IsSet

func (NullableLogsArchiveDestinationS3) MarshalJSON

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

func (*NullableLogsArchiveDestinationS3) Set

func (*NullableLogsArchiveDestinationS3) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationS3) Unset

type NullableLogsArchiveDestinationS3Type

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

func (NullableLogsArchiveDestinationS3Type) Get

func (NullableLogsArchiveDestinationS3Type) IsSet

func (NullableLogsArchiveDestinationS3Type) MarshalJSON

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

func (*NullableLogsArchiveDestinationS3Type) Set

func (*NullableLogsArchiveDestinationS3Type) UnmarshalJSON

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

func (*NullableLogsArchiveDestinationS3Type) Unset

type NullableLogsArchiveIntegrationAzure

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

func (NullableLogsArchiveIntegrationAzure) Get

func (NullableLogsArchiveIntegrationAzure) IsSet

func (NullableLogsArchiveIntegrationAzure) MarshalJSON

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

func (*NullableLogsArchiveIntegrationAzure) Set

func (*NullableLogsArchiveIntegrationAzure) UnmarshalJSON

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

func (*NullableLogsArchiveIntegrationAzure) Unset

type NullableLogsArchiveIntegrationGCS

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

func (NullableLogsArchiveIntegrationGCS) Get

func (NullableLogsArchiveIntegrationGCS) IsSet

func (NullableLogsArchiveIntegrationGCS) MarshalJSON

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

func (*NullableLogsArchiveIntegrationGCS) Set

func (*NullableLogsArchiveIntegrationGCS) UnmarshalJSON

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

func (*NullableLogsArchiveIntegrationGCS) Unset

type NullableLogsArchiveIntegrationS3

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

func (NullableLogsArchiveIntegrationS3) Get

func (NullableLogsArchiveIntegrationS3) IsSet

func (NullableLogsArchiveIntegrationS3) MarshalJSON

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

func (*NullableLogsArchiveIntegrationS3) Set

func (*NullableLogsArchiveIntegrationS3) UnmarshalJSON

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

func (*NullableLogsArchiveIntegrationS3) Unset

type NullableLogsArchiveState

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

func NewNullableLogsArchiveState

func NewNullableLogsArchiveState(val *LogsArchiveState) *NullableLogsArchiveState

func (NullableLogsArchiveState) Get

func (NullableLogsArchiveState) IsSet

func (v NullableLogsArchiveState) IsSet() bool

func (NullableLogsArchiveState) MarshalJSON

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

func (*NullableLogsArchiveState) Set

func (*NullableLogsArchiveState) UnmarshalJSON

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

func (*NullableLogsArchiveState) Unset

func (v *NullableLogsArchiveState) Unset()

type NullableLogsArchives

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

func NewNullableLogsArchives

func NewNullableLogsArchives(val *LogsArchives) *NullableLogsArchives

func (NullableLogsArchives) Get

func (NullableLogsArchives) IsSet

func (v NullableLogsArchives) IsSet() bool

func (NullableLogsArchives) MarshalJSON

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

func (*NullableLogsArchives) Set

func (v *NullableLogsArchives) Set(val *LogsArchives)

func (*NullableLogsArchives) UnmarshalJSON

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

func (*NullableLogsArchives) Unset

func (v *NullableLogsArchives) Unset()

type NullableLogsListRequest

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

func NewNullableLogsListRequest

func NewNullableLogsListRequest(val *LogsListRequest) *NullableLogsListRequest

func (NullableLogsListRequest) Get

func (NullableLogsListRequest) IsSet

func (v NullableLogsListRequest) IsSet() bool

func (NullableLogsListRequest) MarshalJSON

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

func (*NullableLogsListRequest) Set

func (*NullableLogsListRequest) UnmarshalJSON

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

func (*NullableLogsListRequest) Unset

func (v *NullableLogsListRequest) Unset()

type NullableLogsListRequestFilter

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

func (NullableLogsListRequestFilter) Get

func (NullableLogsListRequestFilter) IsSet

func (NullableLogsListRequestFilter) MarshalJSON

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

func (*NullableLogsListRequestFilter) Set

func (*NullableLogsListRequestFilter) UnmarshalJSON

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

func (*NullableLogsListRequestFilter) Unset

func (v *NullableLogsListRequestFilter) Unset()

type NullableLogsListRequestPage

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

func NewNullableLogsListRequestPage

func NewNullableLogsListRequestPage(val *LogsListRequestPage) *NullableLogsListRequestPage

func (NullableLogsListRequestPage) Get

func (NullableLogsListRequestPage) IsSet

func (NullableLogsListRequestPage) MarshalJSON

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

func (*NullableLogsListRequestPage) Set

func (*NullableLogsListRequestPage) UnmarshalJSON

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

func (*NullableLogsListRequestPage) Unset

func (v *NullableLogsListRequestPage) Unset()

type NullableLogsListResponse

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

func NewNullableLogsListResponse

func NewNullableLogsListResponse(val *LogsListResponse) *NullableLogsListResponse

func (NullableLogsListResponse) Get

func (NullableLogsListResponse) IsSet

func (v NullableLogsListResponse) IsSet() bool

func (NullableLogsListResponse) MarshalJSON

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

func (*NullableLogsListResponse) Set

func (*NullableLogsListResponse) UnmarshalJSON

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

func (*NullableLogsListResponse) Unset

func (v *NullableLogsListResponse) Unset()
type NullableLogsListResponseLinks struct {
	// contains filtered or unexported fields
}

func (NullableLogsListResponseLinks) Get

func (NullableLogsListResponseLinks) IsSet

func (NullableLogsListResponseLinks) MarshalJSON

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

func (*NullableLogsListResponseLinks) Set

func (*NullableLogsListResponseLinks) UnmarshalJSON

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

func (*NullableLogsListResponseLinks) Unset

func (v *NullableLogsListResponseLinks) Unset()

type NullableLogsListResponseMeta

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

func NewNullableLogsListResponseMeta

func NewNullableLogsListResponseMeta(val *LogsListResponseMeta) *NullableLogsListResponseMeta

func (NullableLogsListResponseMeta) Get

func (NullableLogsListResponseMeta) IsSet

func (NullableLogsListResponseMeta) MarshalJSON

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

func (*NullableLogsListResponseMeta) Set

func (*NullableLogsListResponseMeta) UnmarshalJSON

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

func (*NullableLogsListResponseMeta) Unset

func (v *NullableLogsListResponseMeta) Unset()

type NullableLogsListResponseMetaPage

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

func (NullableLogsListResponseMetaPage) Get

func (NullableLogsListResponseMetaPage) IsSet

func (NullableLogsListResponseMetaPage) MarshalJSON

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

func (*NullableLogsListResponseMetaPage) Set

func (*NullableLogsListResponseMetaPage) UnmarshalJSON

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

func (*NullableLogsListResponseMetaPage) Unset

type NullableLogsSort

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

func NewNullableLogsSort

func NewNullableLogsSort(val *LogsSort) *NullableLogsSort

func (NullableLogsSort) Get

func (v NullableLogsSort) Get() *LogsSort

func (NullableLogsSort) IsSet

func (v NullableLogsSort) IsSet() bool

func (NullableLogsSort) MarshalJSON

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

func (*NullableLogsSort) Set

func (v *NullableLogsSort) Set(val *LogsSort)

func (*NullableLogsSort) UnmarshalJSON

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

func (*NullableLogsSort) Unset

func (v *NullableLogsSort) Unset()

type NullableOrganization

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

func NewNullableOrganization

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get

func (NullableOrganization) IsSet

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON

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

func (*NullableOrganization) Set

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

func (*NullableOrganization) UnmarshalJSON

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

func (*NullableOrganization) Unset

func (v *NullableOrganization) Unset()

type NullableOrganizationAttributes

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

func (NullableOrganizationAttributes) Get

func (NullableOrganizationAttributes) IsSet

func (NullableOrganizationAttributes) MarshalJSON

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

func (*NullableOrganizationAttributes) Set

func (*NullableOrganizationAttributes) UnmarshalJSON

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

func (*NullableOrganizationAttributes) Unset

func (v *NullableOrganizationAttributes) Unset()

type NullableOrganizationsType

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

func NewNullableOrganizationsType

func NewNullableOrganizationsType(val *OrganizationsType) *NullableOrganizationsType

func (NullableOrganizationsType) Get

func (NullableOrganizationsType) IsSet

func (v NullableOrganizationsType) IsSet() bool

func (NullableOrganizationsType) MarshalJSON

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

func (*NullableOrganizationsType) Set

func (*NullableOrganizationsType) UnmarshalJSON

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

func (*NullableOrganizationsType) Unset

func (v *NullableOrganizationsType) Unset()

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullablePermission

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

func NewNullablePermission

func NewNullablePermission(val *Permission) *NullablePermission

func (NullablePermission) Get

func (v NullablePermission) Get() *Permission

func (NullablePermission) IsSet

func (v NullablePermission) IsSet() bool

func (NullablePermission) MarshalJSON

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

func (*NullablePermission) Set

func (v *NullablePermission) Set(val *Permission)

func (*NullablePermission) UnmarshalJSON

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

func (*NullablePermission) Unset

func (v *NullablePermission) Unset()

type NullablePermissionAttributes

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

func NewNullablePermissionAttributes

func NewNullablePermissionAttributes(val *PermissionAttributes) *NullablePermissionAttributes

func (NullablePermissionAttributes) Get

func (NullablePermissionAttributes) IsSet

func (NullablePermissionAttributes) MarshalJSON

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

func (*NullablePermissionAttributes) Set

func (*NullablePermissionAttributes) UnmarshalJSON

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

func (*NullablePermissionAttributes) Unset

func (v *NullablePermissionAttributes) Unset()

type NullablePermissionsResponse

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

func NewNullablePermissionsResponse

func NewNullablePermissionsResponse(val *PermissionsResponse) *NullablePermissionsResponse

func (NullablePermissionsResponse) Get

func (NullablePermissionsResponse) IsSet

func (NullablePermissionsResponse) MarshalJSON

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

func (*NullablePermissionsResponse) Set

func (*NullablePermissionsResponse) UnmarshalJSON

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

func (*NullablePermissionsResponse) Unset

func (v *NullablePermissionsResponse) Unset()

type NullablePermissionsType

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

func NewNullablePermissionsType

func NewNullablePermissionsType(val *PermissionsType) *NullablePermissionsType

func (NullablePermissionsType) Get

func (NullablePermissionsType) IsSet

func (v NullablePermissionsType) IsSet() bool

func (NullablePermissionsType) MarshalJSON

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

func (*NullablePermissionsType) Set

func (*NullablePermissionsType) UnmarshalJSON

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

func (*NullablePermissionsType) Unset

func (v *NullablePermissionsType) Unset()

type NullableQuerySortOrder

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

func NewNullableQuerySortOrder

func NewNullableQuerySortOrder(val *QuerySortOrder) *NullableQuerySortOrder

func (NullableQuerySortOrder) Get

func (NullableQuerySortOrder) IsSet

func (v NullableQuerySortOrder) IsSet() bool

func (NullableQuerySortOrder) MarshalJSON

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

func (*NullableQuerySortOrder) Set

func (*NullableQuerySortOrder) UnmarshalJSON

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

func (*NullableQuerySortOrder) Unset

func (v *NullableQuerySortOrder) Unset()

type NullableRelationshipToOrganization

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

func (NullableRelationshipToOrganization) Get

func (NullableRelationshipToOrganization) IsSet

func (NullableRelationshipToOrganization) MarshalJSON

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

func (*NullableRelationshipToOrganization) Set

func (*NullableRelationshipToOrganization) UnmarshalJSON

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

func (*NullableRelationshipToOrganization) Unset

type NullableRelationshipToOrganizationData

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

func (NullableRelationshipToOrganizationData) Get

func (NullableRelationshipToOrganizationData) IsSet

func (NullableRelationshipToOrganizationData) MarshalJSON

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

func (*NullableRelationshipToOrganizationData) Set

func (*NullableRelationshipToOrganizationData) UnmarshalJSON

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

func (*NullableRelationshipToOrganizationData) Unset

type NullableRelationshipToOrganizations

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

func (NullableRelationshipToOrganizations) Get

func (NullableRelationshipToOrganizations) IsSet

func (NullableRelationshipToOrganizations) MarshalJSON

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

func (*NullableRelationshipToOrganizations) Set

func (*NullableRelationshipToOrganizations) UnmarshalJSON

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

func (*NullableRelationshipToOrganizations) Unset

type NullableRelationshipToPermission

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

func (NullableRelationshipToPermission) Get

func (NullableRelationshipToPermission) IsSet

func (NullableRelationshipToPermission) MarshalJSON

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

func (*NullableRelationshipToPermission) Set

func (*NullableRelationshipToPermission) UnmarshalJSON

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

func (*NullableRelationshipToPermission) Unset

type NullableRelationshipToPermissionData

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

func (NullableRelationshipToPermissionData) Get

func (NullableRelationshipToPermissionData) IsSet

func (NullableRelationshipToPermissionData) MarshalJSON

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

func (*NullableRelationshipToPermissionData) Set

func (*NullableRelationshipToPermissionData) UnmarshalJSON

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

func (*NullableRelationshipToPermissionData) Unset

type NullableRelationshipToPermissions

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

func (NullableRelationshipToPermissions) Get

func (NullableRelationshipToPermissions) IsSet

func (NullableRelationshipToPermissions) MarshalJSON

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

func (*NullableRelationshipToPermissions) Set

func (*NullableRelationshipToPermissions) UnmarshalJSON

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

func (*NullableRelationshipToPermissions) Unset

type NullableRelationshipToRole

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

func NewNullableRelationshipToRole

func NewNullableRelationshipToRole(val *RelationshipToRole) *NullableRelationshipToRole

func (NullableRelationshipToRole) Get

func (NullableRelationshipToRole) IsSet

func (v NullableRelationshipToRole) IsSet() bool

func (NullableRelationshipToRole) MarshalJSON

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

func (*NullableRelationshipToRole) Set

func (*NullableRelationshipToRole) UnmarshalJSON

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

func (*NullableRelationshipToRole) Unset

func (v *NullableRelationshipToRole) Unset()

type NullableRelationshipToRoleData

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

func (NullableRelationshipToRoleData) Get

func (NullableRelationshipToRoleData) IsSet

func (NullableRelationshipToRoleData) MarshalJSON

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

func (*NullableRelationshipToRoleData) Set

func (*NullableRelationshipToRoleData) UnmarshalJSON

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

func (*NullableRelationshipToRoleData) Unset

func (v *NullableRelationshipToRoleData) Unset()

type NullableRelationshipToRoles

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

func NewNullableRelationshipToRoles

func NewNullableRelationshipToRoles(val *RelationshipToRoles) *NullableRelationshipToRoles

func (NullableRelationshipToRoles) Get

func (NullableRelationshipToRoles) IsSet

func (NullableRelationshipToRoles) MarshalJSON

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

func (*NullableRelationshipToRoles) Set

func (*NullableRelationshipToRoles) UnmarshalJSON

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

func (*NullableRelationshipToRoles) Unset

func (v *NullableRelationshipToRoles) Unset()

type NullableRelationshipToUser

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

func NewNullableRelationshipToUser

func NewNullableRelationshipToUser(val *RelationshipToUser) *NullableRelationshipToUser

func (NullableRelationshipToUser) Get

func (NullableRelationshipToUser) IsSet

func (v NullableRelationshipToUser) IsSet() bool

func (NullableRelationshipToUser) MarshalJSON

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

func (*NullableRelationshipToUser) Set

func (*NullableRelationshipToUser) UnmarshalJSON

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

func (*NullableRelationshipToUser) Unset

func (v *NullableRelationshipToUser) Unset()

type NullableRelationshipToUserData

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

func (NullableRelationshipToUserData) Get

func (NullableRelationshipToUserData) IsSet

func (NullableRelationshipToUserData) MarshalJSON

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

func (*NullableRelationshipToUserData) Set

func (*NullableRelationshipToUserData) UnmarshalJSON

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

func (*NullableRelationshipToUserData) Unset

func (v *NullableRelationshipToUserData) Unset()

type NullableRelationshipToUsers

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

func NewNullableRelationshipToUsers

func NewNullableRelationshipToUsers(val *RelationshipToUsers) *NullableRelationshipToUsers

func (NullableRelationshipToUsers) Get

func (NullableRelationshipToUsers) IsSet

func (NullableRelationshipToUsers) MarshalJSON

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

func (*NullableRelationshipToUsers) Set

func (*NullableRelationshipToUsers) UnmarshalJSON

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

func (*NullableRelationshipToUsers) Unset

func (v *NullableRelationshipToUsers) Unset()

type NullableResponseMetaAttributes

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

func (NullableResponseMetaAttributes) Get

func (NullableResponseMetaAttributes) IsSet

func (NullableResponseMetaAttributes) MarshalJSON

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

func (*NullableResponseMetaAttributes) Set

func (*NullableResponseMetaAttributes) UnmarshalJSON

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

func (*NullableResponseMetaAttributes) Unset

func (v *NullableResponseMetaAttributes) Unset()

type NullableRole

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

func NewNullableRole

func NewNullableRole(val *Role) *NullableRole

func (NullableRole) Get

func (v NullableRole) Get() *Role

func (NullableRole) IsSet

func (v NullableRole) IsSet() bool

func (NullableRole) MarshalJSON

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

func (*NullableRole) Set

func (v *NullableRole) Set(val *Role)

func (*NullableRole) UnmarshalJSON

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

func (*NullableRole) Unset

func (v *NullableRole) Unset()

type NullableRoleAttributes

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

func NewNullableRoleAttributes

func NewNullableRoleAttributes(val *RoleAttributes) *NullableRoleAttributes

func (NullableRoleAttributes) Get

func (NullableRoleAttributes) IsSet

func (v NullableRoleAttributes) IsSet() bool

func (NullableRoleAttributes) MarshalJSON

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

func (*NullableRoleAttributes) Set

func (*NullableRoleAttributes) UnmarshalJSON

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

func (*NullableRoleAttributes) Unset

func (v *NullableRoleAttributes) Unset()

type NullableRoleCreateAttributes

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

func NewNullableRoleCreateAttributes

func NewNullableRoleCreateAttributes(val *RoleCreateAttributes) *NullableRoleCreateAttributes

func (NullableRoleCreateAttributes) Get

func (NullableRoleCreateAttributes) IsSet

func (NullableRoleCreateAttributes) MarshalJSON

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

func (*NullableRoleCreateAttributes) Set

func (*NullableRoleCreateAttributes) UnmarshalJSON

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

func (*NullableRoleCreateAttributes) Unset

func (v *NullableRoleCreateAttributes) Unset()

type NullableRoleCreateData

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

func NewNullableRoleCreateData

func NewNullableRoleCreateData(val *RoleCreateData) *NullableRoleCreateData

func (NullableRoleCreateData) Get

func (NullableRoleCreateData) IsSet

func (v NullableRoleCreateData) IsSet() bool

func (NullableRoleCreateData) MarshalJSON

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

func (*NullableRoleCreateData) Set

func (*NullableRoleCreateData) UnmarshalJSON

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

func (*NullableRoleCreateData) Unset

func (v *NullableRoleCreateData) Unset()

type NullableRoleCreateRequest

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

func NewNullableRoleCreateRequest

func NewNullableRoleCreateRequest(val *RoleCreateRequest) *NullableRoleCreateRequest

func (NullableRoleCreateRequest) Get

func (NullableRoleCreateRequest) IsSet

func (v NullableRoleCreateRequest) IsSet() bool

func (NullableRoleCreateRequest) MarshalJSON

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

func (*NullableRoleCreateRequest) Set

func (*NullableRoleCreateRequest) UnmarshalJSON

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

func (*NullableRoleCreateRequest) Unset

func (v *NullableRoleCreateRequest) Unset()

type NullableRoleCreateResponse

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

func NewNullableRoleCreateResponse

func NewNullableRoleCreateResponse(val *RoleCreateResponse) *NullableRoleCreateResponse

func (NullableRoleCreateResponse) Get

func (NullableRoleCreateResponse) IsSet

func (v NullableRoleCreateResponse) IsSet() bool

func (NullableRoleCreateResponse) MarshalJSON

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

func (*NullableRoleCreateResponse) Set

func (*NullableRoleCreateResponse) UnmarshalJSON

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

func (*NullableRoleCreateResponse) Unset

func (v *NullableRoleCreateResponse) Unset()

type NullableRoleCreateResponseData

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

func (NullableRoleCreateResponseData) Get

func (NullableRoleCreateResponseData) IsSet

func (NullableRoleCreateResponseData) MarshalJSON

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

func (*NullableRoleCreateResponseData) Set

func (*NullableRoleCreateResponseData) UnmarshalJSON

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

func (*NullableRoleCreateResponseData) Unset

func (v *NullableRoleCreateResponseData) Unset()

type NullableRoleRelationships

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

func NewNullableRoleRelationships

func NewNullableRoleRelationships(val *RoleRelationships) *NullableRoleRelationships

func (NullableRoleRelationships) Get

func (NullableRoleRelationships) IsSet

func (v NullableRoleRelationships) IsSet() bool

func (NullableRoleRelationships) MarshalJSON

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

func (*NullableRoleRelationships) Set

func (*NullableRoleRelationships) UnmarshalJSON

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

func (*NullableRoleRelationships) Unset

func (v *NullableRoleRelationships) Unset()

type NullableRoleResponse

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

func NewNullableRoleResponse

func NewNullableRoleResponse(val *RoleResponse) *NullableRoleResponse

func (NullableRoleResponse) Get

func (NullableRoleResponse) IsSet

func (v NullableRoleResponse) IsSet() bool

func (NullableRoleResponse) MarshalJSON

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

func (*NullableRoleResponse) Set

func (v *NullableRoleResponse) Set(val *RoleResponse)

func (*NullableRoleResponse) UnmarshalJSON

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

func (*NullableRoleResponse) Unset

func (v *NullableRoleResponse) Unset()

type NullableRoleResponseRelationships

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

func (NullableRoleResponseRelationships) Get

func (NullableRoleResponseRelationships) IsSet

func (NullableRoleResponseRelationships) MarshalJSON

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

func (*NullableRoleResponseRelationships) Set

func (*NullableRoleResponseRelationships) UnmarshalJSON

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

func (*NullableRoleResponseRelationships) Unset

type NullableRoleUpdateAttributes

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

func NewNullableRoleUpdateAttributes

func NewNullableRoleUpdateAttributes(val *RoleUpdateAttributes) *NullableRoleUpdateAttributes

func (NullableRoleUpdateAttributes) Get

func (NullableRoleUpdateAttributes) IsSet

func (NullableRoleUpdateAttributes) MarshalJSON

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

func (*NullableRoleUpdateAttributes) Set

func (*NullableRoleUpdateAttributes) UnmarshalJSON

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

func (*NullableRoleUpdateAttributes) Unset

func (v *NullableRoleUpdateAttributes) Unset()

type NullableRoleUpdateData

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

func NewNullableRoleUpdateData

func NewNullableRoleUpdateData(val *RoleUpdateData) *NullableRoleUpdateData

func (NullableRoleUpdateData) Get

func (NullableRoleUpdateData) IsSet

func (v NullableRoleUpdateData) IsSet() bool

func (NullableRoleUpdateData) MarshalJSON

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

func (*NullableRoleUpdateData) Set

func (*NullableRoleUpdateData) UnmarshalJSON

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

func (*NullableRoleUpdateData) Unset

func (v *NullableRoleUpdateData) Unset()

type NullableRoleUpdateRequest

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

func NewNullableRoleUpdateRequest

func NewNullableRoleUpdateRequest(val *RoleUpdateRequest) *NullableRoleUpdateRequest

func (NullableRoleUpdateRequest) Get

func (NullableRoleUpdateRequest) IsSet

func (v NullableRoleUpdateRequest) IsSet() bool

func (NullableRoleUpdateRequest) MarshalJSON

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

func (*NullableRoleUpdateRequest) Set

func (*NullableRoleUpdateRequest) UnmarshalJSON

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

func (*NullableRoleUpdateRequest) Unset

func (v *NullableRoleUpdateRequest) Unset()

type NullableRoleUpdateResponse

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

func NewNullableRoleUpdateResponse

func NewNullableRoleUpdateResponse(val *RoleUpdateResponse) *NullableRoleUpdateResponse

func (NullableRoleUpdateResponse) Get

func (NullableRoleUpdateResponse) IsSet

func (v NullableRoleUpdateResponse) IsSet() bool

func (NullableRoleUpdateResponse) MarshalJSON

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

func (*NullableRoleUpdateResponse) Set

func (*NullableRoleUpdateResponse) UnmarshalJSON

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

func (*NullableRoleUpdateResponse) Unset

func (v *NullableRoleUpdateResponse) Unset()

type NullableRoleUpdateResponseData

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

func (NullableRoleUpdateResponseData) Get

func (NullableRoleUpdateResponseData) IsSet

func (NullableRoleUpdateResponseData) MarshalJSON

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

func (*NullableRoleUpdateResponseData) Set

func (*NullableRoleUpdateResponseData) UnmarshalJSON

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

func (*NullableRoleUpdateResponseData) Unset

func (v *NullableRoleUpdateResponseData) Unset()

type NullableRolesResponse

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

func NewNullableRolesResponse

func NewNullableRolesResponse(val *RolesResponse) *NullableRolesResponse

func (NullableRolesResponse) Get

func (NullableRolesResponse) IsSet

func (v NullableRolesResponse) IsSet() bool

func (NullableRolesResponse) MarshalJSON

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

func (*NullableRolesResponse) Set

func (v *NullableRolesResponse) Set(val *RolesResponse)

func (*NullableRolesResponse) UnmarshalJSON

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

func (*NullableRolesResponse) Unset

func (v *NullableRolesResponse) Unset()

type NullableRolesSort

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

func NewNullableRolesSort

func NewNullableRolesSort(val *RolesSort) *NullableRolesSort

func (NullableRolesSort) Get

func (v NullableRolesSort) Get() *RolesSort

func (NullableRolesSort) IsSet

func (v NullableRolesSort) IsSet() bool

func (NullableRolesSort) MarshalJSON

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

func (*NullableRolesSort) Set

func (v *NullableRolesSort) Set(val *RolesSort)

func (*NullableRolesSort) UnmarshalJSON

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

func (*NullableRolesSort) Unset

func (v *NullableRolesSort) Unset()

type NullableRolesType

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

func NewNullableRolesType

func NewNullableRolesType(val *RolesType) *NullableRolesType

func (NullableRolesType) Get

func (v NullableRolesType) Get() *RolesType

func (NullableRolesType) IsSet

func (v NullableRolesType) IsSet() bool

func (NullableRolesType) MarshalJSON

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

func (*NullableRolesType) Set

func (v *NullableRolesType) Set(val *RolesType)

func (*NullableRolesType) UnmarshalJSON

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

func (*NullableRolesType) Unset

func (v *NullableRolesType) Unset()

type NullableSecurityMonitoringListRulesResponse

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

func (NullableSecurityMonitoringListRulesResponse) Get

func (NullableSecurityMonitoringListRulesResponse) IsSet

func (NullableSecurityMonitoringListRulesResponse) MarshalJSON

func (*NullableSecurityMonitoringListRulesResponse) Set

func (*NullableSecurityMonitoringListRulesResponse) UnmarshalJSON

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

func (*NullableSecurityMonitoringListRulesResponse) Unset

type NullableSecurityMonitoringRuleCase

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

func (NullableSecurityMonitoringRuleCase) Get

func (NullableSecurityMonitoringRuleCase) IsSet

func (NullableSecurityMonitoringRuleCase) MarshalJSON

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

func (*NullableSecurityMonitoringRuleCase) Set

func (*NullableSecurityMonitoringRuleCase) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleCase) Unset

type NullableSecurityMonitoringRuleCreatePayload

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

func (NullableSecurityMonitoringRuleCreatePayload) Get

func (NullableSecurityMonitoringRuleCreatePayload) IsSet

func (NullableSecurityMonitoringRuleCreatePayload) MarshalJSON

func (*NullableSecurityMonitoringRuleCreatePayload) Set

func (*NullableSecurityMonitoringRuleCreatePayload) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleCreatePayload) Unset

type NullableSecurityMonitoringRuleEvaluationWindow

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

func (NullableSecurityMonitoringRuleEvaluationWindow) Get

func (NullableSecurityMonitoringRuleEvaluationWindow) IsSet

func (NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON

func (*NullableSecurityMonitoringRuleEvaluationWindow) Set

func (*NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON

func (*NullableSecurityMonitoringRuleEvaluationWindow) Unset

type NullableSecurityMonitoringRuleKeepAlive

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

func (NullableSecurityMonitoringRuleKeepAlive) Get

func (NullableSecurityMonitoringRuleKeepAlive) IsSet

func (NullableSecurityMonitoringRuleKeepAlive) MarshalJSON

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

func (*NullableSecurityMonitoringRuleKeepAlive) Set

func (*NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleKeepAlive) Unset

type NullableSecurityMonitoringRuleMaxSignalDuration

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

func (NullableSecurityMonitoringRuleMaxSignalDuration) Get

func (NullableSecurityMonitoringRuleMaxSignalDuration) IsSet

func (NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Set

func (*NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Unset

type NullableSecurityMonitoringRuleOptions

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

func (NullableSecurityMonitoringRuleOptions) Get

func (NullableSecurityMonitoringRuleOptions) IsSet

func (NullableSecurityMonitoringRuleOptions) MarshalJSON

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

func (*NullableSecurityMonitoringRuleOptions) Set

func (*NullableSecurityMonitoringRuleOptions) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleOptions) Unset

type NullableSecurityMonitoringRuleQuery

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

func (NullableSecurityMonitoringRuleQuery) Get

func (NullableSecurityMonitoringRuleQuery) IsSet

func (NullableSecurityMonitoringRuleQuery) MarshalJSON

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

func (*NullableSecurityMonitoringRuleQuery) Set

func (*NullableSecurityMonitoringRuleQuery) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleQuery) Unset

type NullableSecurityMonitoringRuleResponse

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

func (NullableSecurityMonitoringRuleResponse) Get

func (NullableSecurityMonitoringRuleResponse) IsSet

func (NullableSecurityMonitoringRuleResponse) MarshalJSON

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

func (*NullableSecurityMonitoringRuleResponse) Set

func (*NullableSecurityMonitoringRuleResponse) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleResponse) Unset

type NullableSecurityMonitoringRuleSeverity

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

func (NullableSecurityMonitoringRuleSeverity) Get

func (NullableSecurityMonitoringRuleSeverity) IsSet

func (NullableSecurityMonitoringRuleSeverity) MarshalJSON

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

func (*NullableSecurityMonitoringRuleSeverity) Set

func (*NullableSecurityMonitoringRuleSeverity) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleSeverity) Unset

type NullableSecurityMonitoringRuleUpdatePayload

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

func (NullableSecurityMonitoringRuleUpdatePayload) Get

func (NullableSecurityMonitoringRuleUpdatePayload) IsSet

func (NullableSecurityMonitoringRuleUpdatePayload) MarshalJSON

func (*NullableSecurityMonitoringRuleUpdatePayload) Set

func (*NullableSecurityMonitoringRuleUpdatePayload) UnmarshalJSON

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

func (*NullableSecurityMonitoringRuleUpdatePayload) 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 NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserAttributes

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

func NewNullableUserAttributes

func NewNullableUserAttributes(val *UserAttributes) *NullableUserAttributes

func (NullableUserAttributes) Get

func (NullableUserAttributes) IsSet

func (v NullableUserAttributes) IsSet() bool

func (NullableUserAttributes) MarshalJSON

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

func (*NullableUserAttributes) Set

func (*NullableUserAttributes) UnmarshalJSON

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

func (*NullableUserAttributes) Unset

func (v *NullableUserAttributes) Unset()

type NullableUserCreateAttributes

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

func NewNullableUserCreateAttributes

func NewNullableUserCreateAttributes(val *UserCreateAttributes) *NullableUserCreateAttributes

func (NullableUserCreateAttributes) Get

func (NullableUserCreateAttributes) IsSet

func (NullableUserCreateAttributes) MarshalJSON

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

func (*NullableUserCreateAttributes) Set

func (*NullableUserCreateAttributes) UnmarshalJSON

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

func (*NullableUserCreateAttributes) Unset

func (v *NullableUserCreateAttributes) Unset()

type NullableUserCreateData

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

func NewNullableUserCreateData

func NewNullableUserCreateData(val *UserCreateData) *NullableUserCreateData

func (NullableUserCreateData) Get

func (NullableUserCreateData) IsSet

func (v NullableUserCreateData) IsSet() bool

func (NullableUserCreateData) MarshalJSON

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

func (*NullableUserCreateData) Set

func (*NullableUserCreateData) UnmarshalJSON

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

func (*NullableUserCreateData) Unset

func (v *NullableUserCreateData) Unset()

type NullableUserCreateRequest

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

func NewNullableUserCreateRequest

func NewNullableUserCreateRequest(val *UserCreateRequest) *NullableUserCreateRequest

func (NullableUserCreateRequest) Get

func (NullableUserCreateRequest) IsSet

func (v NullableUserCreateRequest) IsSet() bool

func (NullableUserCreateRequest) MarshalJSON

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

func (*NullableUserCreateRequest) Set

func (*NullableUserCreateRequest) UnmarshalJSON

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

func (*NullableUserCreateRequest) Unset

func (v *NullableUserCreateRequest) Unset()

type NullableUserInvitationData

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

func NewNullableUserInvitationData

func NewNullableUserInvitationData(val *UserInvitationData) *NullableUserInvitationData

func (NullableUserInvitationData) Get

func (NullableUserInvitationData) IsSet

func (v NullableUserInvitationData) IsSet() bool

func (NullableUserInvitationData) MarshalJSON

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

func (*NullableUserInvitationData) Set

func (*NullableUserInvitationData) UnmarshalJSON

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

func (*NullableUserInvitationData) Unset

func (v *NullableUserInvitationData) Unset()

type NullableUserInvitationDataAttributes

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

func (NullableUserInvitationDataAttributes) Get

func (NullableUserInvitationDataAttributes) IsSet

func (NullableUserInvitationDataAttributes) MarshalJSON

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

func (*NullableUserInvitationDataAttributes) Set

func (*NullableUserInvitationDataAttributes) UnmarshalJSON

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

func (*NullableUserInvitationDataAttributes) Unset

type NullableUserInvitationRelationships

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

func (NullableUserInvitationRelationships) Get

func (NullableUserInvitationRelationships) IsSet

func (NullableUserInvitationRelationships) MarshalJSON

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

func (*NullableUserInvitationRelationships) Set

func (*NullableUserInvitationRelationships) UnmarshalJSON

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

func (*NullableUserInvitationRelationships) Unset

type NullableUserInvitationResponse

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

func (NullableUserInvitationResponse) Get

func (NullableUserInvitationResponse) IsSet

func (NullableUserInvitationResponse) MarshalJSON

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

func (*NullableUserInvitationResponse) Set

func (*NullableUserInvitationResponse) UnmarshalJSON

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

func (*NullableUserInvitationResponse) Unset

func (v *NullableUserInvitationResponse) Unset()

type NullableUserInvitationResponseData

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

func (NullableUserInvitationResponseData) Get

func (NullableUserInvitationResponseData) IsSet

func (NullableUserInvitationResponseData) MarshalJSON

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

func (*NullableUserInvitationResponseData) Set

func (*NullableUserInvitationResponseData) UnmarshalJSON

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

func (*NullableUserInvitationResponseData) Unset

type NullableUserInvitationsRequest

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

func (NullableUserInvitationsRequest) Get

func (NullableUserInvitationsRequest) IsSet

func (NullableUserInvitationsRequest) MarshalJSON

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

func (*NullableUserInvitationsRequest) Set

func (*NullableUserInvitationsRequest) UnmarshalJSON

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

func (*NullableUserInvitationsRequest) Unset

func (v *NullableUserInvitationsRequest) Unset()

type NullableUserInvitationsResponse

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

func (NullableUserInvitationsResponse) Get

func (NullableUserInvitationsResponse) IsSet

func (NullableUserInvitationsResponse) MarshalJSON

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

func (*NullableUserInvitationsResponse) Set

func (*NullableUserInvitationsResponse) UnmarshalJSON

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

func (*NullableUserInvitationsResponse) Unset

type NullableUserInvitationsType

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

func NewNullableUserInvitationsType

func NewNullableUserInvitationsType(val *UserInvitationsType) *NullableUserInvitationsType

func (NullableUserInvitationsType) Get

func (NullableUserInvitationsType) IsSet

func (NullableUserInvitationsType) MarshalJSON

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

func (*NullableUserInvitationsType) Set

func (*NullableUserInvitationsType) UnmarshalJSON

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

func (*NullableUserInvitationsType) Unset

func (v *NullableUserInvitationsType) Unset()

type NullableUserRelationships

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

func NewNullableUserRelationships

func NewNullableUserRelationships(val *UserRelationships) *NullableUserRelationships

func (NullableUserRelationships) Get

func (NullableUserRelationships) IsSet

func (v NullableUserRelationships) IsSet() bool

func (NullableUserRelationships) MarshalJSON

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

func (*NullableUserRelationships) Set

func (*NullableUserRelationships) UnmarshalJSON

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

func (*NullableUserRelationships) Unset

func (v *NullableUserRelationships) Unset()

type NullableUserResponse

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

func NewNullableUserResponse

func NewNullableUserResponse(val *UserResponse) *NullableUserResponse

func (NullableUserResponse) Get

func (NullableUserResponse) IsSet

func (v NullableUserResponse) IsSet() bool

func (NullableUserResponse) MarshalJSON

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

func (*NullableUserResponse) Set

func (v *NullableUserResponse) Set(val *UserResponse)

func (*NullableUserResponse) UnmarshalJSON

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

func (*NullableUserResponse) Unset

func (v *NullableUserResponse) Unset()

type NullableUserResponseIncludedItem

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

func (NullableUserResponseIncludedItem) Get

func (NullableUserResponseIncludedItem) IsSet

func (NullableUserResponseIncludedItem) MarshalJSON

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

func (*NullableUserResponseIncludedItem) Set

func (*NullableUserResponseIncludedItem) UnmarshalJSON

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

func (*NullableUserResponseIncludedItem) Unset

type NullableUserResponseRelationships

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

func (NullableUserResponseRelationships) Get

func (NullableUserResponseRelationships) IsSet

func (NullableUserResponseRelationships) MarshalJSON

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

func (*NullableUserResponseRelationships) Set

func (*NullableUserResponseRelationships) UnmarshalJSON

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

func (*NullableUserResponseRelationships) Unset

type NullableUserUpdateAttributes

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

func NewNullableUserUpdateAttributes

func NewNullableUserUpdateAttributes(val *UserUpdateAttributes) *NullableUserUpdateAttributes

func (NullableUserUpdateAttributes) Get

func (NullableUserUpdateAttributes) IsSet

func (NullableUserUpdateAttributes) MarshalJSON

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

func (*NullableUserUpdateAttributes) Set

func (*NullableUserUpdateAttributes) UnmarshalJSON

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

func (*NullableUserUpdateAttributes) Unset

func (v *NullableUserUpdateAttributes) Unset()

type NullableUserUpdateData

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

func NewNullableUserUpdateData

func NewNullableUserUpdateData(val *UserUpdateData) *NullableUserUpdateData

func (NullableUserUpdateData) Get

func (NullableUserUpdateData) IsSet

func (v NullableUserUpdateData) IsSet() bool

func (NullableUserUpdateData) MarshalJSON

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

func (*NullableUserUpdateData) Set

func (*NullableUserUpdateData) UnmarshalJSON

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

func (*NullableUserUpdateData) Unset

func (v *NullableUserUpdateData) Unset()

type NullableUserUpdateRequest

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

func NewNullableUserUpdateRequest

func NewNullableUserUpdateRequest(val *UserUpdateRequest) *NullableUserUpdateRequest

func (NullableUserUpdateRequest) Get

func (NullableUserUpdateRequest) IsSet

func (v NullableUserUpdateRequest) IsSet() bool

func (NullableUserUpdateRequest) MarshalJSON

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

func (*NullableUserUpdateRequest) Set

func (*NullableUserUpdateRequest) UnmarshalJSON

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

func (*NullableUserUpdateRequest) Unset

func (v *NullableUserUpdateRequest) Unset()

type NullableUsersResponse

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

func NewNullableUsersResponse

func NewNullableUsersResponse(val *UsersResponse) *NullableUsersResponse

func (NullableUsersResponse) Get

func (NullableUsersResponse) IsSet

func (v NullableUsersResponse) IsSet() bool

func (NullableUsersResponse) MarshalJSON

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

func (*NullableUsersResponse) Set

func (v *NullableUsersResponse) Set(val *UsersResponse)

func (*NullableUsersResponse) UnmarshalJSON

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

func (*NullableUsersResponse) Unset

func (v *NullableUsersResponse) Unset()

type NullableUsersType

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

func NewNullableUsersType

func NewNullableUsersType(val *UsersType) *NullableUsersType

func (NullableUsersType) Get

func (v NullableUsersType) Get() *UsersType

func (NullableUsersType) IsSet

func (v NullableUsersType) IsSet() bool

func (NullableUsersType) MarshalJSON

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

func (*NullableUsersType) Set

func (v *NullableUsersType) Set(val *UsersType)

func (*NullableUsersType) UnmarshalJSON

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

func (*NullableUsersType) Unset

func (v *NullableUsersType) Unset()

type Organization

type Organization struct {
	Attributes *OrganizationAttributes `json:"attributes,omitempty"`
	// ID of the organization.
	Id   *string           `json:"id,omitempty"`
	Type OrganizationsType `json:"type"`
}

Organization Organization object.

func NewOrganization

func NewOrganization(type_ OrganizationsType) *Organization

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

func NewOrganizationWithDefaults

func NewOrganizationWithDefaults() *Organization

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

func (*Organization) GetAttributes

func (o *Organization) GetAttributes() OrganizationAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Organization) GetAttributesOk

func (o *Organization) GetAttributesOk() (*OrganizationAttributes, bool)

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

func (*Organization) GetId

func (o *Organization) GetId() string

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

func (*Organization) GetIdOk

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

func (o *Organization) GetType() OrganizationsType

GetType returns the Type field value

func (*Organization) GetTypeOk

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

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

func (*Organization) HasAttributes

func (o *Organization) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Organization) HasId

func (o *Organization) HasId() bool

HasId returns a boolean if a field has been set.

func (Organization) MarshalJSON

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

func (*Organization) SetAttributes

func (o *Organization) SetAttributes(v OrganizationAttributes)

SetAttributes gets a reference to the given OrganizationAttributes and assigns it to the Attributes field.

func (*Organization) SetId

func (o *Organization) SetId(v string)

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

func (*Organization) SetType

func (o *Organization) SetType(v OrganizationsType)

SetType sets field value

type OrganizationAttributes

type OrganizationAttributes struct {
	// Creation time of the organization.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Description of the organization.
	Description *string `json:"description,omitempty"`
	// Whether or not the organization is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Time of last organization modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the organization.
	Name *string `json:"name,omitempty"`
	// Public ID of the organization.
	PublicId *string `json:"public_id,omitempty"`
	// Sharing type of the organization.
	Sharing *string `json:"sharing,omitempty"`
	// URL of the site that this organization exists at.
	Url *string `json:"url,omitempty"`
}

OrganizationAttributes Attributes of the organization.

func NewOrganizationAttributes

func NewOrganizationAttributes() *OrganizationAttributes

NewOrganizationAttributes instantiates a new OrganizationAttributes 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 NewOrganizationAttributesWithDefaults

func NewOrganizationAttributesWithDefaults() *OrganizationAttributes

NewOrganizationAttributesWithDefaults instantiates a new OrganizationAttributes 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 (*OrganizationAttributes) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OrganizationAttributes) GetCreatedAtOk

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

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

func (*OrganizationAttributes) GetDescription

func (o *OrganizationAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*OrganizationAttributes) GetDescriptionOk

func (o *OrganizationAttributes) GetDescriptionOk() (*string, bool)

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

func (*OrganizationAttributes) GetDisabled

func (o *OrganizationAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*OrganizationAttributes) GetDisabledOk

func (o *OrganizationAttributes) GetDisabledOk() (*bool, bool)

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

func (*OrganizationAttributes) GetModifiedAt

func (o *OrganizationAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*OrganizationAttributes) GetModifiedAtOk

func (o *OrganizationAttributes) GetModifiedAtOk() (*time.Time, bool)

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

func (*OrganizationAttributes) GetName

func (o *OrganizationAttributes) GetName() string

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

func (*OrganizationAttributes) GetNameOk

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

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

func (*OrganizationAttributes) GetPublicId

func (o *OrganizationAttributes) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*OrganizationAttributes) GetPublicIdOk

func (o *OrganizationAttributes) GetPublicIdOk() (*string, bool)

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

func (*OrganizationAttributes) GetSharing

func (o *OrganizationAttributes) GetSharing() string

GetSharing returns the Sharing field value if set, zero value otherwise.

func (*OrganizationAttributes) GetSharingOk

func (o *OrganizationAttributes) GetSharingOk() (*string, bool)

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

func (*OrganizationAttributes) GetUrl

func (o *OrganizationAttributes) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*OrganizationAttributes) GetUrlOk

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

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

func (*OrganizationAttributes) HasCreatedAt

func (o *OrganizationAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OrganizationAttributes) HasDescription

func (o *OrganizationAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*OrganizationAttributes) HasDisabled

func (o *OrganizationAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*OrganizationAttributes) HasModifiedAt

func (o *OrganizationAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*OrganizationAttributes) HasName

func (o *OrganizationAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*OrganizationAttributes) HasPublicId

func (o *OrganizationAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*OrganizationAttributes) HasSharing

func (o *OrganizationAttributes) HasSharing() bool

HasSharing returns a boolean if a field has been set.

func (*OrganizationAttributes) HasUrl

func (o *OrganizationAttributes) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (OrganizationAttributes) MarshalJSON

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

func (*OrganizationAttributes) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*OrganizationAttributes) SetDescription

func (o *OrganizationAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*OrganizationAttributes) SetDisabled

func (o *OrganizationAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*OrganizationAttributes) SetModifiedAt

func (o *OrganizationAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*OrganizationAttributes) SetName

func (o *OrganizationAttributes) SetName(v string)

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

func (*OrganizationAttributes) SetPublicId

func (o *OrganizationAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*OrganizationAttributes) SetSharing

func (o *OrganizationAttributes) SetSharing(v string)

SetSharing gets a reference to the given string and assigns it to the Sharing field.

func (*OrganizationAttributes) SetUrl

func (o *OrganizationAttributes) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type OrganizationsType

type OrganizationsType string

OrganizationsType Organizations resource type.

const (
	ORGANIZATIONSTYPE_ORGS OrganizationsType = "orgs"
)

List of OrganizationsType

func (OrganizationsType) Ptr

Ptr returns reference to OrganizationsType value

func (*OrganizationsType) UnmarshalJSON

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

type Pagination

type Pagination struct {
	// Total count.
	TotalCount *int64 `json:"total_count,omitempty"`
	// Total count of elements matched by the filter.
	TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
}

Pagination Pagination object.

func NewPagination

func NewPagination() *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetTotalCount

func (o *Pagination) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Pagination) GetTotalCountOk

func (o *Pagination) GetTotalCountOk() (*int64, bool)

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

func (*Pagination) GetTotalFilteredCount

func (o *Pagination) GetTotalFilteredCount() int64

GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.

func (*Pagination) GetTotalFilteredCountOk

func (o *Pagination) GetTotalFilteredCountOk() (*int64, bool)

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

func (*Pagination) HasTotalCount

func (o *Pagination) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*Pagination) HasTotalFilteredCount

func (o *Pagination) HasTotalFilteredCount() bool

HasTotalFilteredCount returns a boolean if a field has been set.

func (Pagination) MarshalJSON

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

func (*Pagination) SetTotalCount

func (o *Pagination) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*Pagination) SetTotalFilteredCount

func (o *Pagination) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

type Permission

type Permission struct {
	Attributes *PermissionAttributes `json:"attributes,omitempty"`
	// ID of the permission.
	Id   *string         `json:"id,omitempty"`
	Type PermissionsType `json:"type"`
}

Permission Permission object.

func NewPermission

func NewPermission(type_ PermissionsType) *Permission

NewPermission instantiates a new Permission 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 NewPermissionWithDefaults

func NewPermissionWithDefaults() *Permission

NewPermissionWithDefaults instantiates a new Permission 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 (*Permission) GetAttributes

func (o *Permission) GetAttributes() PermissionAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Permission) GetAttributesOk

func (o *Permission) GetAttributesOk() (*PermissionAttributes, bool)

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

func (*Permission) GetId

func (o *Permission) GetId() string

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

func (*Permission) GetIdOk

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

func (o *Permission) GetType() PermissionsType

GetType returns the Type field value

func (*Permission) GetTypeOk

func (o *Permission) GetTypeOk() (*PermissionsType, bool)

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

func (*Permission) HasAttributes

func (o *Permission) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Permission) HasId

func (o *Permission) HasId() bool

HasId returns a boolean if a field has been set.

func (Permission) MarshalJSON

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

func (*Permission) SetAttributes

func (o *Permission) SetAttributes(v PermissionAttributes)

SetAttributes gets a reference to the given PermissionAttributes and assigns it to the Attributes field.

func (*Permission) SetId

func (o *Permission) SetId(v string)

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

func (*Permission) SetType

func (o *Permission) SetType(v PermissionsType)

SetType sets field value

type PermissionAttributes

type PermissionAttributes struct {
	// Creation time of the permission.
	Created *time.Time `json:"created,omitempty"`
	// Description of the permission.
	Description *string `json:"description,omitempty"`
	// Displayed name for the permission.
	DisplayName *string `json:"display_name,omitempty"`
	// Display type.
	DisplayType *string `json:"display_type,omitempty"`
	// Name of the permission group.
	GroupName *string `json:"group_name,omitempty"`
	// Name of the permission.
	Name *string `json:"name,omitempty"`
	// Whether or not the permission is restricted.
	Restricted *bool `json:"restricted,omitempty"`
}

PermissionAttributes Attributes of a permission.

func NewPermissionAttributes

func NewPermissionAttributes() *PermissionAttributes

NewPermissionAttributes instantiates a new PermissionAttributes 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 NewPermissionAttributesWithDefaults

func NewPermissionAttributesWithDefaults() *PermissionAttributes

NewPermissionAttributesWithDefaults instantiates a new PermissionAttributes 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 (*PermissionAttributes) GetCreated

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

GetCreated returns the Created field value if set, zero value otherwise.

func (*PermissionAttributes) GetCreatedOk

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

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

func (*PermissionAttributes) GetDescription

func (o *PermissionAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*PermissionAttributes) GetDescriptionOk

func (o *PermissionAttributes) GetDescriptionOk() (*string, bool)

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

func (*PermissionAttributes) GetDisplayName

func (o *PermissionAttributes) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PermissionAttributes) GetDisplayNameOk

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

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

func (*PermissionAttributes) GetDisplayType

func (o *PermissionAttributes) GetDisplayType() string

GetDisplayType returns the DisplayType field value if set, zero value otherwise.

func (*PermissionAttributes) GetDisplayTypeOk

func (o *PermissionAttributes) GetDisplayTypeOk() (*string, bool)

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

func (*PermissionAttributes) GetGroupName

func (o *PermissionAttributes) GetGroupName() string

GetGroupName returns the GroupName field value if set, zero value otherwise.

func (*PermissionAttributes) GetGroupNameOk

func (o *PermissionAttributes) GetGroupNameOk() (*string, bool)

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

func (*PermissionAttributes) GetName

func (o *PermissionAttributes) GetName() string

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

func (*PermissionAttributes) GetNameOk

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

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

func (*PermissionAttributes) GetRestricted

func (o *PermissionAttributes) GetRestricted() bool

GetRestricted returns the Restricted field value if set, zero value otherwise.

func (*PermissionAttributes) GetRestrictedOk

func (o *PermissionAttributes) GetRestrictedOk() (*bool, bool)

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

func (*PermissionAttributes) HasCreated

func (o *PermissionAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*PermissionAttributes) HasDescription

func (o *PermissionAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PermissionAttributes) HasDisplayName

func (o *PermissionAttributes) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PermissionAttributes) HasDisplayType

func (o *PermissionAttributes) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*PermissionAttributes) HasGroupName

func (o *PermissionAttributes) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*PermissionAttributes) HasName

func (o *PermissionAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*PermissionAttributes) HasRestricted

func (o *PermissionAttributes) HasRestricted() bool

HasRestricted returns a boolean if a field has been set.

func (PermissionAttributes) MarshalJSON

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

func (*PermissionAttributes) SetCreated

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

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*PermissionAttributes) SetDescription

func (o *PermissionAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PermissionAttributes) SetDisplayName

func (o *PermissionAttributes) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PermissionAttributes) SetDisplayType

func (o *PermissionAttributes) SetDisplayType(v string)

SetDisplayType gets a reference to the given string and assigns it to the DisplayType field.

func (*PermissionAttributes) SetGroupName

func (o *PermissionAttributes) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*PermissionAttributes) SetName

func (o *PermissionAttributes) SetName(v string)

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

func (*PermissionAttributes) SetRestricted

func (o *PermissionAttributes) SetRestricted(v bool)

SetRestricted gets a reference to the given bool and assigns it to the Restricted field.

type PermissionsResponse

type PermissionsResponse struct {
	// Array of permissions.
	Data *[]Permission `json:"data,omitempty"`
}

PermissionsResponse Payload with API-returned permissions.

func NewPermissionsResponse

func NewPermissionsResponse() *PermissionsResponse

NewPermissionsResponse instantiates a new PermissionsResponse 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 NewPermissionsResponseWithDefaults

func NewPermissionsResponseWithDefaults() *PermissionsResponse

NewPermissionsResponseWithDefaults instantiates a new PermissionsResponse 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 (*PermissionsResponse) GetData

func (o *PermissionsResponse) GetData() []Permission

GetData returns the Data field value if set, zero value otherwise.

func (*PermissionsResponse) GetDataOk

func (o *PermissionsResponse) GetDataOk() (*[]Permission, bool)

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

func (*PermissionsResponse) HasData

func (o *PermissionsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (PermissionsResponse) MarshalJSON

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

func (*PermissionsResponse) SetData

func (o *PermissionsResponse) SetData(v []Permission)

SetData gets a reference to the given []Permission and assigns it to the Data field.

type PermissionsType

type PermissionsType string

PermissionsType Permissions resource type.

const (
	PERMISSIONSTYPE_PERMISSIONS PermissionsType = "permissions"
)

List of PermissionsType

func (PermissionsType) Ptr

Ptr returns reference to PermissionsType value

func (*PermissionsType) UnmarshalJSON

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

type QuerySortOrder

type QuerySortOrder string

QuerySortOrder Direction of sort.

const (
	QUERYSORTORDER_ASC  QuerySortOrder = "asc"
	QUERYSORTORDER_DESC QuerySortOrder = "desc"
)

List of QuerySortOrder

func (QuerySortOrder) Ptr

func (v QuerySortOrder) Ptr() *QuerySortOrder

Ptr returns reference to QuerySortOrder value

func (*QuerySortOrder) UnmarshalJSON

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

type RelationshipToOrganization

type RelationshipToOrganization struct {
	Data *RelationshipToOrganizationData `json:"data,omitempty"`
}

RelationshipToOrganization Relationship to an organization.

func NewRelationshipToOrganization

func NewRelationshipToOrganization() *RelationshipToOrganization

NewRelationshipToOrganization instantiates a new RelationshipToOrganization 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 NewRelationshipToOrganizationWithDefaults

func NewRelationshipToOrganizationWithDefaults() *RelationshipToOrganization

NewRelationshipToOrganizationWithDefaults instantiates a new RelationshipToOrganization 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 (*RelationshipToOrganization) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToOrganization) GetDataOk

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

func (*RelationshipToOrganization) HasData

func (o *RelationshipToOrganization) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToOrganization) MarshalJSON

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

func (*RelationshipToOrganization) SetData

SetData gets a reference to the given RelationshipToOrganizationData and assigns it to the Data field.

type RelationshipToOrganizationData

type RelationshipToOrganizationData struct {
	// ID of the organization.
	Id   *string            `json:"id,omitempty"`
	Type *OrganizationsType `json:"type,omitempty"`
}

RelationshipToOrganizationData Relationship to organization object.

func NewRelationshipToOrganizationData

func NewRelationshipToOrganizationData() *RelationshipToOrganizationData

NewRelationshipToOrganizationData instantiates a new RelationshipToOrganizationData 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 NewRelationshipToOrganizationDataWithDefaults

func NewRelationshipToOrganizationDataWithDefaults() *RelationshipToOrganizationData

NewRelationshipToOrganizationDataWithDefaults instantiates a new RelationshipToOrganizationData 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 (*RelationshipToOrganizationData) GetId

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

func (*RelationshipToOrganizationData) GetIdOk

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

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

func (*RelationshipToOrganizationData) GetTypeOk

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

func (*RelationshipToOrganizationData) HasId

HasId returns a boolean if a field has been set.

func (*RelationshipToOrganizationData) HasType

func (o *RelationshipToOrganizationData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToOrganizationData) MarshalJSON

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

func (*RelationshipToOrganizationData) SetId

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

func (*RelationshipToOrganizationData) SetType

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

type RelationshipToOrganizations

type RelationshipToOrganizations struct {
	// Relationships to organization objects.
	Data *[]RelationshipToOrganizationData `json:"data,omitempty"`
}

RelationshipToOrganizations Relationship to organizations.

func NewRelationshipToOrganizations

func NewRelationshipToOrganizations() *RelationshipToOrganizations

NewRelationshipToOrganizations instantiates a new RelationshipToOrganizations 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 NewRelationshipToOrganizationsWithDefaults

func NewRelationshipToOrganizationsWithDefaults() *RelationshipToOrganizations

NewRelationshipToOrganizationsWithDefaults instantiates a new RelationshipToOrganizations 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 (*RelationshipToOrganizations) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToOrganizations) GetDataOk

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

func (*RelationshipToOrganizations) HasData

func (o *RelationshipToOrganizations) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToOrganizations) MarshalJSON

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

func (*RelationshipToOrganizations) SetData

SetData gets a reference to the given []RelationshipToOrganizationData and assigns it to the Data field.

type RelationshipToPermission

type RelationshipToPermission struct {
	Data *RelationshipToPermissionData `json:"data,omitempty"`
}

RelationshipToPermission Relationship to a permissions object.

func NewRelationshipToPermission

func NewRelationshipToPermission() *RelationshipToPermission

NewRelationshipToPermission instantiates a new RelationshipToPermission 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 NewRelationshipToPermissionWithDefaults

func NewRelationshipToPermissionWithDefaults() *RelationshipToPermission

NewRelationshipToPermissionWithDefaults instantiates a new RelationshipToPermission 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 (*RelationshipToPermission) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToPermission) GetDataOk

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

func (*RelationshipToPermission) HasData

func (o *RelationshipToPermission) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToPermission) MarshalJSON

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

func (*RelationshipToPermission) SetData

SetData gets a reference to the given RelationshipToPermissionData and assigns it to the Data field.

type RelationshipToPermissionData

type RelationshipToPermissionData struct {
	// ID of the permission.
	Id   *string          `json:"id,omitempty"`
	Type *PermissionsType `json:"type,omitempty"`
}

RelationshipToPermissionData Relationship to permission object.

func NewRelationshipToPermissionData

func NewRelationshipToPermissionData() *RelationshipToPermissionData

NewRelationshipToPermissionData instantiates a new RelationshipToPermissionData 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 NewRelationshipToPermissionDataWithDefaults

func NewRelationshipToPermissionDataWithDefaults() *RelationshipToPermissionData

NewRelationshipToPermissionDataWithDefaults instantiates a new RelationshipToPermissionData 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 (*RelationshipToPermissionData) GetId

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

func (*RelationshipToPermissionData) GetIdOk

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

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

func (*RelationshipToPermissionData) GetTypeOk

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

func (*RelationshipToPermissionData) HasId

HasId returns a boolean if a field has been set.

func (*RelationshipToPermissionData) HasType

func (o *RelationshipToPermissionData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToPermissionData) MarshalJSON

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

func (*RelationshipToPermissionData) SetId

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

func (*RelationshipToPermissionData) SetType

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

type RelationshipToPermissions

type RelationshipToPermissions struct {
	// Relationships to permission objects.
	Data *[]RelationshipToPermissionData `json:"data,omitempty"`
}

RelationshipToPermissions Relationship to multiple permissions objects.

func NewRelationshipToPermissions

func NewRelationshipToPermissions() *RelationshipToPermissions

NewRelationshipToPermissions instantiates a new RelationshipToPermissions 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 NewRelationshipToPermissionsWithDefaults

func NewRelationshipToPermissionsWithDefaults() *RelationshipToPermissions

NewRelationshipToPermissionsWithDefaults instantiates a new RelationshipToPermissions 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 (*RelationshipToPermissions) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToPermissions) GetDataOk

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

func (*RelationshipToPermissions) HasData

func (o *RelationshipToPermissions) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToPermissions) MarshalJSON

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

func (*RelationshipToPermissions) SetData

SetData gets a reference to the given []RelationshipToPermissionData and assigns it to the Data field.

type RelationshipToRole

type RelationshipToRole struct {
	Data *RelationshipToRoleData `json:"data,omitempty"`
}

RelationshipToRole Relationship to role.

func NewRelationshipToRole

func NewRelationshipToRole() *RelationshipToRole

NewRelationshipToRole instantiates a new RelationshipToRole 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 NewRelationshipToRoleWithDefaults

func NewRelationshipToRoleWithDefaults() *RelationshipToRole

NewRelationshipToRoleWithDefaults instantiates a new RelationshipToRole 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 (*RelationshipToRole) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToRole) GetDataOk

func (o *RelationshipToRole) GetDataOk() (*RelationshipToRoleData, bool)

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

func (*RelationshipToRole) HasData

func (o *RelationshipToRole) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToRole) MarshalJSON

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

func (*RelationshipToRole) SetData

SetData gets a reference to the given RelationshipToRoleData and assigns it to the Data field.

type RelationshipToRoleData

type RelationshipToRoleData struct {
	// ID of the role.
	Id   *string    `json:"id,omitempty"`
	Type *RolesType `json:"type,omitempty"`
}

RelationshipToRoleData Relationship to role object.

func NewRelationshipToRoleData

func NewRelationshipToRoleData() *RelationshipToRoleData

NewRelationshipToRoleData instantiates a new RelationshipToRoleData 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 NewRelationshipToRoleDataWithDefaults

func NewRelationshipToRoleDataWithDefaults() *RelationshipToRoleData

NewRelationshipToRoleDataWithDefaults instantiates a new RelationshipToRoleData 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 (*RelationshipToRoleData) GetId

func (o *RelationshipToRoleData) GetId() string

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

func (*RelationshipToRoleData) GetIdOk

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

func (o *RelationshipToRoleData) GetType() RolesType

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

func (*RelationshipToRoleData) GetTypeOk

func (o *RelationshipToRoleData) GetTypeOk() (*RolesType, bool)

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

func (*RelationshipToRoleData) HasId

func (o *RelationshipToRoleData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RelationshipToRoleData) HasType

func (o *RelationshipToRoleData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToRoleData) MarshalJSON

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

func (*RelationshipToRoleData) SetId

func (o *RelationshipToRoleData) SetId(v string)

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

func (*RelationshipToRoleData) SetType

func (o *RelationshipToRoleData) SetType(v RolesType)

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

type RelationshipToRoles

type RelationshipToRoles struct {
	// An array containing type and ID of a role.
	Data *[]RelationshipToRoleData `json:"data,omitempty"`
}

RelationshipToRoles Relationship to roles.

func NewRelationshipToRoles

func NewRelationshipToRoles() *RelationshipToRoles

NewRelationshipToRoles instantiates a new RelationshipToRoles 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 NewRelationshipToRolesWithDefaults

func NewRelationshipToRolesWithDefaults() *RelationshipToRoles

NewRelationshipToRolesWithDefaults instantiates a new RelationshipToRoles 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 (*RelationshipToRoles) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToRoles) GetDataOk

func (o *RelationshipToRoles) GetDataOk() (*[]RelationshipToRoleData, bool)

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

func (*RelationshipToRoles) HasData

func (o *RelationshipToRoles) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToRoles) MarshalJSON

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

func (*RelationshipToRoles) SetData

SetData gets a reference to the given []RelationshipToRoleData and assigns it to the Data field.

type RelationshipToUser

type RelationshipToUser struct {
	Data *RelationshipToUserData `json:"data,omitempty"`
}

RelationshipToUser Relationship to user.

func NewRelationshipToUser

func NewRelationshipToUser() *RelationshipToUser

NewRelationshipToUser instantiates a new RelationshipToUser 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 NewRelationshipToUserWithDefaults

func NewRelationshipToUserWithDefaults() *RelationshipToUser

NewRelationshipToUserWithDefaults instantiates a new RelationshipToUser 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 (*RelationshipToUser) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToUser) GetDataOk

func (o *RelationshipToUser) GetDataOk() (*RelationshipToUserData, bool)

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

func (*RelationshipToUser) HasData

func (o *RelationshipToUser) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToUser) MarshalJSON

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

func (*RelationshipToUser) SetData

SetData gets a reference to the given RelationshipToUserData and assigns it to the Data field.

type RelationshipToUserData

type RelationshipToUserData struct {
	// ID of the user.
	Id *string `json:"id,omitempty"`
	// Users type.
	Type *string `json:"type,omitempty"`
}

RelationshipToUserData Relationship to user object.

func NewRelationshipToUserData

func NewRelationshipToUserData() *RelationshipToUserData

NewRelationshipToUserData instantiates a new RelationshipToUserData 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 NewRelationshipToUserDataWithDefaults

func NewRelationshipToUserDataWithDefaults() *RelationshipToUserData

NewRelationshipToUserDataWithDefaults instantiates a new RelationshipToUserData 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 (*RelationshipToUserData) GetId

func (o *RelationshipToUserData) GetId() string

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

func (*RelationshipToUserData) GetIdOk

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

func (o *RelationshipToUserData) GetType() string

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

func (*RelationshipToUserData) GetTypeOk

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

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

func (*RelationshipToUserData) HasId

func (o *RelationshipToUserData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RelationshipToUserData) HasType

func (o *RelationshipToUserData) HasType() bool

HasType returns a boolean if a field has been set.

func (RelationshipToUserData) MarshalJSON

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

func (*RelationshipToUserData) SetId

func (o *RelationshipToUserData) SetId(v string)

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

func (*RelationshipToUserData) SetType

func (o *RelationshipToUserData) SetType(v string)

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

type RelationshipToUsers

type RelationshipToUsers struct {
	// Relationships to user objects.
	Data *[]RelationshipToUserData `json:"data,omitempty"`
}

RelationshipToUsers Relationship to users.

func NewRelationshipToUsers

func NewRelationshipToUsers() *RelationshipToUsers

NewRelationshipToUsers instantiates a new RelationshipToUsers 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 NewRelationshipToUsersWithDefaults

func NewRelationshipToUsersWithDefaults() *RelationshipToUsers

NewRelationshipToUsersWithDefaults instantiates a new RelationshipToUsers 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 (*RelationshipToUsers) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RelationshipToUsers) GetDataOk

func (o *RelationshipToUsers) GetDataOk() (*[]RelationshipToUserData, bool)

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

func (*RelationshipToUsers) HasData

func (o *RelationshipToUsers) HasData() bool

HasData returns a boolean if a field has been set.

func (RelationshipToUsers) MarshalJSON

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

func (*RelationshipToUsers) SetData

SetData gets a reference to the given []RelationshipToUserData and assigns it to the Data field.

type ResponseMetaAttributes

type ResponseMetaAttributes struct {
	Page *Pagination `json:"page,omitempty"`
}

ResponseMetaAttributes Object describing meta attributes of response.

func NewResponseMetaAttributes

func NewResponseMetaAttributes() *ResponseMetaAttributes

NewResponseMetaAttributes instantiates a new ResponseMetaAttributes 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 NewResponseMetaAttributesWithDefaults

func NewResponseMetaAttributesWithDefaults() *ResponseMetaAttributes

NewResponseMetaAttributesWithDefaults instantiates a new ResponseMetaAttributes 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 (*ResponseMetaAttributes) GetPage

func (o *ResponseMetaAttributes) GetPage() Pagination

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

func (*ResponseMetaAttributes) GetPageOk

func (o *ResponseMetaAttributes) GetPageOk() (*Pagination, bool)

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

func (*ResponseMetaAttributes) HasPage

func (o *ResponseMetaAttributes) HasPage() bool

HasPage returns a boolean if a field has been set.

func (ResponseMetaAttributes) MarshalJSON

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

func (*ResponseMetaAttributes) SetPage

func (o *ResponseMetaAttributes) SetPage(v Pagination)

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

type Role

type Role struct {
	Attributes *RoleAttributes `json:"attributes,omitempty"`
	// ID of the role.
	Id            *string                    `json:"id,omitempty"`
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	Type          RolesType                  `json:"type"`
}

Role Role object returned by the API.

func NewRole

func NewRole(type_ RolesType) *Role

NewRole instantiates a new Role 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 NewRoleWithDefaults

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role 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 (*Role) GetAttributes

func (o *Role) GetAttributes() RoleAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Role) GetAttributesOk

func (o *Role) GetAttributesOk() (*RoleAttributes, bool)

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

func (*Role) GetId

func (o *Role) GetId() string

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

func (*Role) GetIdOk

func (o *Role) 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 (*Role) GetRelationships

func (o *Role) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*Role) GetRelationshipsOk

func (o *Role) GetRelationshipsOk() (*RoleResponseRelationships, bool)

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

func (*Role) GetType

func (o *Role) GetType() RolesType

GetType returns the Type field value

func (*Role) GetTypeOk

func (o *Role) GetTypeOk() (*RolesType, bool)

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

func (*Role) HasAttributes

func (o *Role) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Role) HasId

func (o *Role) HasId() bool

HasId returns a boolean if a field has been set.

func (*Role) HasRelationships

func (o *Role) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (Role) MarshalJSON

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

func (*Role) SetAttributes

func (o *Role) SetAttributes(v RoleAttributes)

SetAttributes gets a reference to the given RoleAttributes and assigns it to the Attributes field.

func (*Role) SetId

func (o *Role) SetId(v string)

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

func (*Role) SetRelationships

func (o *Role) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*Role) SetType

func (o *Role) SetType(v RolesType)

SetType sets field value

type RoleAttributes

type RoleAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the role.
	Name *string `json:"name,omitempty"`
	// Number of users with that role.
	UserCount *int64 `json:"user_count,omitempty"`
}

RoleAttributes Attributes of the role.

func NewRoleAttributes

func NewRoleAttributes() *RoleAttributes

NewRoleAttributes instantiates a new RoleAttributes 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 NewRoleAttributesWithDefaults

func NewRoleAttributesWithDefaults() *RoleAttributes

NewRoleAttributesWithDefaults instantiates a new RoleAttributes 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 (*RoleAttributes) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleAttributes) GetCreatedAtOk

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

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

func (*RoleAttributes) GetModifiedAt

func (o *RoleAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleAttributes) GetModifiedAtOk

func (o *RoleAttributes) GetModifiedAtOk() (*time.Time, bool)

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

func (*RoleAttributes) GetName

func (o *RoleAttributes) GetName() string

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

func (*RoleAttributes) GetNameOk

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

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

func (*RoleAttributes) GetUserCount

func (o *RoleAttributes) GetUserCount() int64

GetUserCount returns the UserCount field value if set, zero value otherwise.

func (*RoleAttributes) GetUserCountOk

func (o *RoleAttributes) GetUserCountOk() (*int64, bool)

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

func (*RoleAttributes) HasCreatedAt

func (o *RoleAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleAttributes) HasModifiedAt

func (o *RoleAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*RoleAttributes) HasName

func (o *RoleAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*RoleAttributes) HasUserCount

func (o *RoleAttributes) HasUserCount() bool

HasUserCount returns a boolean if a field has been set.

func (RoleAttributes) MarshalJSON

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

func (*RoleAttributes) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleAttributes) SetModifiedAt

func (o *RoleAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleAttributes) SetName

func (o *RoleAttributes) SetName(v string)

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

func (*RoleAttributes) SetUserCount

func (o *RoleAttributes) SetUserCount(v int64)

SetUserCount gets a reference to the given int64 and assigns it to the UserCount field.

type RoleCreateAttributes

type RoleCreateAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the role.
	Name *string `json:"name,omitempty"`
}

RoleCreateAttributes Attributes of the created role.

func NewRoleCreateAttributes

func NewRoleCreateAttributes() *RoleCreateAttributes

NewRoleCreateAttributes instantiates a new RoleCreateAttributes 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 NewRoleCreateAttributesWithDefaults

func NewRoleCreateAttributesWithDefaults() *RoleCreateAttributes

NewRoleCreateAttributesWithDefaults instantiates a new RoleCreateAttributes 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 (*RoleCreateAttributes) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleCreateAttributes) GetCreatedAtOk

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

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

func (*RoleCreateAttributes) GetModifiedAt

func (o *RoleCreateAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleCreateAttributes) GetModifiedAtOk

func (o *RoleCreateAttributes) GetModifiedAtOk() (*time.Time, bool)

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

func (*RoleCreateAttributes) GetName

func (o *RoleCreateAttributes) GetName() string

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

func (*RoleCreateAttributes) GetNameOk

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

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

func (*RoleCreateAttributes) HasCreatedAt

func (o *RoleCreateAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleCreateAttributes) HasModifiedAt

func (o *RoleCreateAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*RoleCreateAttributes) HasName

func (o *RoleCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (RoleCreateAttributes) MarshalJSON

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

func (*RoleCreateAttributes) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleCreateAttributes) SetModifiedAt

func (o *RoleCreateAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleCreateAttributes) SetName

func (o *RoleCreateAttributes) SetName(v string)

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

type RoleCreateData

type RoleCreateData struct {
	Attributes    *RoleCreateAttributes `json:"attributes,omitempty"`
	Relationships *RoleRelationships    `json:"relationships,omitempty"`
	Type          *RolesType            `json:"type,omitempty"`
}

RoleCreateData Data related to the creation of a role.

func NewRoleCreateData

func NewRoleCreateData() *RoleCreateData

NewRoleCreateData instantiates a new RoleCreateData 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 NewRoleCreateDataWithDefaults

func NewRoleCreateDataWithDefaults() *RoleCreateData

NewRoleCreateDataWithDefaults instantiates a new RoleCreateData 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 (*RoleCreateData) GetAttributes

func (o *RoleCreateData) GetAttributes() RoleCreateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleCreateData) GetAttributesOk

func (o *RoleCreateData) GetAttributesOk() (*RoleCreateAttributes, bool)

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

func (*RoleCreateData) GetRelationships

func (o *RoleCreateData) GetRelationships() RoleRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleCreateData) GetRelationshipsOk

func (o *RoleCreateData) GetRelationshipsOk() (*RoleRelationships, bool)

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

func (*RoleCreateData) GetType

func (o *RoleCreateData) GetType() RolesType

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

func (*RoleCreateData) GetTypeOk

func (o *RoleCreateData) GetTypeOk() (*RolesType, bool)

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

func (*RoleCreateData) HasAttributes

func (o *RoleCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleCreateData) HasRelationships

func (o *RoleCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*RoleCreateData) HasType

func (o *RoleCreateData) HasType() bool

HasType returns a boolean if a field has been set.

func (RoleCreateData) MarshalJSON

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

func (*RoleCreateData) SetAttributes

func (o *RoleCreateData) SetAttributes(v RoleCreateAttributes)

SetAttributes gets a reference to the given RoleCreateAttributes and assigns it to the Attributes field.

func (*RoleCreateData) SetRelationships

func (o *RoleCreateData) SetRelationships(v RoleRelationships)

SetRelationships gets a reference to the given RoleRelationships and assigns it to the Relationships field.

func (*RoleCreateData) SetType

func (o *RoleCreateData) SetType(v RolesType)

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

type RoleCreateRequest

type RoleCreateRequest struct {
	Data *RoleCreateData `json:"data,omitempty"`
}

RoleCreateRequest Create a role.

func NewRoleCreateRequest

func NewRoleCreateRequest() *RoleCreateRequest

NewRoleCreateRequest instantiates a new RoleCreateRequest 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 NewRoleCreateRequestWithDefaults

func NewRoleCreateRequestWithDefaults() *RoleCreateRequest

NewRoleCreateRequestWithDefaults instantiates a new RoleCreateRequest 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 (*RoleCreateRequest) GetData

func (o *RoleCreateRequest) GetData() RoleCreateData

GetData returns the Data field value if set, zero value otherwise.

func (*RoleCreateRequest) GetDataOk

func (o *RoleCreateRequest) GetDataOk() (*RoleCreateData, bool)

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

func (*RoleCreateRequest) HasData

func (o *RoleCreateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleCreateRequest) MarshalJSON

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

func (*RoleCreateRequest) SetData

func (o *RoleCreateRequest) SetData(v RoleCreateData)

SetData gets a reference to the given RoleCreateData and assigns it to the Data field.

type RoleCreateResponse

type RoleCreateResponse struct {
	Data *RoleCreateResponseData `json:"data,omitempty"`
}

RoleCreateResponse Response containing information about a created role.

func NewRoleCreateResponse

func NewRoleCreateResponse() *RoleCreateResponse

NewRoleCreateResponse instantiates a new RoleCreateResponse 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 NewRoleCreateResponseWithDefaults

func NewRoleCreateResponseWithDefaults() *RoleCreateResponse

NewRoleCreateResponseWithDefaults instantiates a new RoleCreateResponse 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 (*RoleCreateResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RoleCreateResponse) GetDataOk

func (o *RoleCreateResponse) GetDataOk() (*RoleCreateResponseData, bool)

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

func (*RoleCreateResponse) HasData

func (o *RoleCreateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleCreateResponse) MarshalJSON

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

func (*RoleCreateResponse) SetData

SetData gets a reference to the given RoleCreateResponseData and assigns it to the Data field.

type RoleCreateResponseData

type RoleCreateResponseData struct {
	Attributes *RoleCreateAttributes `json:"attributes,omitempty"`
	// ID of the role.
	Id            *string                    `json:"id,omitempty"`
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	Type          RolesType                  `json:"type"`
}

RoleCreateResponseData Role object returned by the API.

func NewRoleCreateResponseData

func NewRoleCreateResponseData(type_ RolesType) *RoleCreateResponseData

NewRoleCreateResponseData instantiates a new RoleCreateResponseData 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 NewRoleCreateResponseDataWithDefaults

func NewRoleCreateResponseDataWithDefaults() *RoleCreateResponseData

NewRoleCreateResponseDataWithDefaults instantiates a new RoleCreateResponseData 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 (*RoleCreateResponseData) GetAttributes

func (o *RoleCreateResponseData) GetAttributes() RoleCreateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleCreateResponseData) GetAttributesOk

func (o *RoleCreateResponseData) GetAttributesOk() (*RoleCreateAttributes, bool)

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

func (*RoleCreateResponseData) GetId

func (o *RoleCreateResponseData) GetId() string

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

func (*RoleCreateResponseData) GetIdOk

func (o *RoleCreateResponseData) 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 (*RoleCreateResponseData) GetRelationships

func (o *RoleCreateResponseData) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleCreateResponseData) GetRelationshipsOk

func (o *RoleCreateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)

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

func (*RoleCreateResponseData) GetType

func (o *RoleCreateResponseData) GetType() RolesType

GetType returns the Type field value

func (*RoleCreateResponseData) GetTypeOk

func (o *RoleCreateResponseData) GetTypeOk() (*RolesType, bool)

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

func (*RoleCreateResponseData) HasAttributes

func (o *RoleCreateResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleCreateResponseData) HasId

func (o *RoleCreateResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleCreateResponseData) HasRelationships

func (o *RoleCreateResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (RoleCreateResponseData) MarshalJSON

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

func (*RoleCreateResponseData) SetAttributes

func (o *RoleCreateResponseData) SetAttributes(v RoleCreateAttributes)

SetAttributes gets a reference to the given RoleCreateAttributes and assigns it to the Attributes field.

func (*RoleCreateResponseData) SetId

func (o *RoleCreateResponseData) SetId(v string)

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

func (*RoleCreateResponseData) SetRelationships

func (o *RoleCreateResponseData) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*RoleCreateResponseData) SetType

func (o *RoleCreateResponseData) SetType(v RolesType)

SetType sets field value

type RoleRelationships

type RoleRelationships struct {
	Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
	Users       *RelationshipToUsers       `json:"users,omitempty"`
}

RoleRelationships Relationships of the role object.

func NewRoleRelationships

func NewRoleRelationships() *RoleRelationships

NewRoleRelationships instantiates a new RoleRelationships 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 NewRoleRelationshipsWithDefaults

func NewRoleRelationshipsWithDefaults() *RoleRelationships

NewRoleRelationshipsWithDefaults instantiates a new RoleRelationships 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 (*RoleRelationships) GetPermissions

func (o *RoleRelationships) GetPermissions() RelationshipToPermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleRelationships) GetPermissionsOk

func (o *RoleRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)

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

func (*RoleRelationships) GetUsers

func (o *RoleRelationships) GetUsers() RelationshipToUsers

GetUsers returns the Users field value if set, zero value otherwise.

func (*RoleRelationships) GetUsersOk

func (o *RoleRelationships) GetUsersOk() (*RelationshipToUsers, bool)

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

func (*RoleRelationships) HasPermissions

func (o *RoleRelationships) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*RoleRelationships) HasUsers

func (o *RoleRelationships) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (RoleRelationships) MarshalJSON

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

func (*RoleRelationships) SetPermissions

func (o *RoleRelationships) SetPermissions(v RelationshipToPermissions)

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

func (*RoleRelationships) SetUsers

func (o *RoleRelationships) SetUsers(v RelationshipToUsers)

SetUsers gets a reference to the given RelationshipToUsers and assigns it to the Users field.

type RoleResponse

type RoleResponse struct {
	Data *Role `json:"data,omitempty"`
}

RoleResponse Response containing information about a single role.

func NewRoleResponse

func NewRoleResponse() *RoleResponse

NewRoleResponse instantiates a new RoleResponse 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 NewRoleResponseWithDefaults

func NewRoleResponseWithDefaults() *RoleResponse

NewRoleResponseWithDefaults instantiates a new RoleResponse 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 (*RoleResponse) GetData

func (o *RoleResponse) GetData() Role

GetData returns the Data field value if set, zero value otherwise.

func (*RoleResponse) GetDataOk

func (o *RoleResponse) GetDataOk() (*Role, bool)

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

func (*RoleResponse) HasData

func (o *RoleResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleResponse) MarshalJSON

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

func (*RoleResponse) SetData

func (o *RoleResponse) SetData(v Role)

SetData gets a reference to the given Role and assigns it to the Data field.

type RoleResponseRelationships

type RoleResponseRelationships struct {
	Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
}

RoleResponseRelationships Relationships of the role object returned by the API.

func NewRoleResponseRelationships

func NewRoleResponseRelationships() *RoleResponseRelationships

NewRoleResponseRelationships instantiates a new RoleResponseRelationships 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 NewRoleResponseRelationshipsWithDefaults

func NewRoleResponseRelationshipsWithDefaults() *RoleResponseRelationships

NewRoleResponseRelationshipsWithDefaults instantiates a new RoleResponseRelationships 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 (*RoleResponseRelationships) GetPermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleResponseRelationships) GetPermissionsOk

func (o *RoleResponseRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)

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

func (*RoleResponseRelationships) HasPermissions

func (o *RoleResponseRelationships) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleResponseRelationships) MarshalJSON

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

func (*RoleResponseRelationships) SetPermissions

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

type RoleUpdateAttributes

type RoleUpdateAttributes struct {
	// Creation time of the role.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of last role modification.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the role.
	Name *string `json:"name,omitempty"`
}

RoleUpdateAttributes Attributes of the role.

func NewRoleUpdateAttributes

func NewRoleUpdateAttributes() *RoleUpdateAttributes

NewRoleUpdateAttributes instantiates a new RoleUpdateAttributes 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 NewRoleUpdateAttributesWithDefaults

func NewRoleUpdateAttributesWithDefaults() *RoleUpdateAttributes

NewRoleUpdateAttributesWithDefaults instantiates a new RoleUpdateAttributes 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 (*RoleUpdateAttributes) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoleUpdateAttributes) GetCreatedAtOk

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

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

func (*RoleUpdateAttributes) GetModifiedAt

func (o *RoleUpdateAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*RoleUpdateAttributes) GetModifiedAtOk

func (o *RoleUpdateAttributes) GetModifiedAtOk() (*time.Time, bool)

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

func (*RoleUpdateAttributes) GetName

func (o *RoleUpdateAttributes) GetName() string

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

func (*RoleUpdateAttributes) GetNameOk

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

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

func (*RoleUpdateAttributes) HasCreatedAt

func (o *RoleUpdateAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoleUpdateAttributes) HasModifiedAt

func (o *RoleUpdateAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*RoleUpdateAttributes) HasName

func (o *RoleUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (RoleUpdateAttributes) MarshalJSON

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

func (*RoleUpdateAttributes) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleUpdateAttributes) SetModifiedAt

func (o *RoleUpdateAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleUpdateAttributes) SetName

func (o *RoleUpdateAttributes) SetName(v string)

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

type RoleUpdateData

type RoleUpdateData struct {
	Attributes *RoleUpdateAttributes `json:"attributes,omitempty"`
	// ID of the role.
	Id   *string    `json:"id,omitempty"`
	Type *RolesType `json:"type,omitempty"`
}

RoleUpdateData Data related to the update of a role.

func NewRoleUpdateData

func NewRoleUpdateData() *RoleUpdateData

NewRoleUpdateData instantiates a new RoleUpdateData 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 NewRoleUpdateDataWithDefaults

func NewRoleUpdateDataWithDefaults() *RoleUpdateData

NewRoleUpdateDataWithDefaults instantiates a new RoleUpdateData 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 (*RoleUpdateData) GetAttributes

func (o *RoleUpdateData) GetAttributes() RoleUpdateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleUpdateData) GetAttributesOk

func (o *RoleUpdateData) GetAttributesOk() (*RoleUpdateAttributes, bool)

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

func (*RoleUpdateData) GetId

func (o *RoleUpdateData) GetId() string

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

func (*RoleUpdateData) GetIdOk

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

func (o *RoleUpdateData) GetType() RolesType

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

func (*RoleUpdateData) GetTypeOk

func (o *RoleUpdateData) GetTypeOk() (*RolesType, bool)

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

func (*RoleUpdateData) HasAttributes

func (o *RoleUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleUpdateData) HasId

func (o *RoleUpdateData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleUpdateData) HasType

func (o *RoleUpdateData) HasType() bool

HasType returns a boolean if a field has been set.

func (RoleUpdateData) MarshalJSON

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

func (*RoleUpdateData) SetAttributes

func (o *RoleUpdateData) SetAttributes(v RoleUpdateAttributes)

SetAttributes gets a reference to the given RoleUpdateAttributes and assigns it to the Attributes field.

func (*RoleUpdateData) SetId

func (o *RoleUpdateData) SetId(v string)

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

func (*RoleUpdateData) SetType

func (o *RoleUpdateData) SetType(v RolesType)

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

type RoleUpdateRequest

type RoleUpdateRequest struct {
	Data *RoleUpdateData `json:"data,omitempty"`
}

RoleUpdateRequest Update a role.

func NewRoleUpdateRequest

func NewRoleUpdateRequest() *RoleUpdateRequest

NewRoleUpdateRequest instantiates a new RoleUpdateRequest 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 NewRoleUpdateRequestWithDefaults

func NewRoleUpdateRequestWithDefaults() *RoleUpdateRequest

NewRoleUpdateRequestWithDefaults instantiates a new RoleUpdateRequest 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 (*RoleUpdateRequest) GetData

func (o *RoleUpdateRequest) GetData() RoleUpdateData

GetData returns the Data field value if set, zero value otherwise.

func (*RoleUpdateRequest) GetDataOk

func (o *RoleUpdateRequest) GetDataOk() (*RoleUpdateData, bool)

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

func (*RoleUpdateRequest) HasData

func (o *RoleUpdateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleUpdateRequest) MarshalJSON

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

func (*RoleUpdateRequest) SetData

func (o *RoleUpdateRequest) SetData(v RoleUpdateData)

SetData gets a reference to the given RoleUpdateData and assigns it to the Data field.

type RoleUpdateResponse

type RoleUpdateResponse struct {
	Data *RoleUpdateResponseData `json:"data,omitempty"`
}

RoleUpdateResponse Response containing information about an updated role.

func NewRoleUpdateResponse

func NewRoleUpdateResponse() *RoleUpdateResponse

NewRoleUpdateResponse instantiates a new RoleUpdateResponse 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 NewRoleUpdateResponseWithDefaults

func NewRoleUpdateResponseWithDefaults() *RoleUpdateResponse

NewRoleUpdateResponseWithDefaults instantiates a new RoleUpdateResponse 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 (*RoleUpdateResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RoleUpdateResponse) GetDataOk

func (o *RoleUpdateResponse) GetDataOk() (*RoleUpdateResponseData, bool)

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

func (*RoleUpdateResponse) HasData

func (o *RoleUpdateResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleUpdateResponse) MarshalJSON

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

func (*RoleUpdateResponse) SetData

SetData gets a reference to the given RoleUpdateResponseData and assigns it to the Data field.

type RoleUpdateResponseData

type RoleUpdateResponseData struct {
	Attributes *RoleUpdateAttributes `json:"attributes,omitempty"`
	// ID of the role.
	Id            *string                    `json:"id,omitempty"`
	Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
	Type          RolesType                  `json:"type"`
}

RoleUpdateResponseData Role object returned by the API.

func NewRoleUpdateResponseData

func NewRoleUpdateResponseData(type_ RolesType) *RoleUpdateResponseData

NewRoleUpdateResponseData instantiates a new RoleUpdateResponseData 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 NewRoleUpdateResponseDataWithDefaults

func NewRoleUpdateResponseDataWithDefaults() *RoleUpdateResponseData

NewRoleUpdateResponseDataWithDefaults instantiates a new RoleUpdateResponseData 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 (*RoleUpdateResponseData) GetAttributes

func (o *RoleUpdateResponseData) GetAttributes() RoleUpdateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RoleUpdateResponseData) GetAttributesOk

func (o *RoleUpdateResponseData) GetAttributesOk() (*RoleUpdateAttributes, bool)

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

func (*RoleUpdateResponseData) GetId

func (o *RoleUpdateResponseData) GetId() string

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

func (*RoleUpdateResponseData) GetIdOk

func (o *RoleUpdateResponseData) 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 (*RoleUpdateResponseData) GetRelationships

func (o *RoleUpdateResponseData) GetRelationships() RoleResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*RoleUpdateResponseData) GetRelationshipsOk

func (o *RoleUpdateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)

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

func (*RoleUpdateResponseData) GetType

func (o *RoleUpdateResponseData) GetType() RolesType

GetType returns the Type field value

func (*RoleUpdateResponseData) GetTypeOk

func (o *RoleUpdateResponseData) GetTypeOk() (*RolesType, bool)

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

func (*RoleUpdateResponseData) HasAttributes

func (o *RoleUpdateResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RoleUpdateResponseData) HasId

func (o *RoleUpdateResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleUpdateResponseData) HasRelationships

func (o *RoleUpdateResponseData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (RoleUpdateResponseData) MarshalJSON

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

func (*RoleUpdateResponseData) SetAttributes

func (o *RoleUpdateResponseData) SetAttributes(v RoleUpdateAttributes)

SetAttributes gets a reference to the given RoleUpdateAttributes and assigns it to the Attributes field.

func (*RoleUpdateResponseData) SetId

func (o *RoleUpdateResponseData) SetId(v string)

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

func (*RoleUpdateResponseData) SetRelationships

func (o *RoleUpdateResponseData) SetRelationships(v RoleResponseRelationships)

SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.

func (*RoleUpdateResponseData) SetType

func (o *RoleUpdateResponseData) SetType(v RolesType)

SetType sets field value

type RolesApiService

type RolesApiService service

RolesApiService RolesApi service

func (*RolesApiService) AddPermissionToRole

func (a *RolesApiService) AddPermissionToRole(ctx _context.Context, roleId string) apiAddPermissionToRoleRequest

AddPermissionToRole Grant permission to a role Adds a permission to a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiAddPermissionToRoleRequest

func (*RolesApiService) AddUserToRole

func (a *RolesApiService) AddUserToRole(ctx _context.Context, roleId string) apiAddUserToRoleRequest

AddUserToRole Add a user to a role Adds a user to a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiAddUserToRoleRequest

func (*RolesApiService) CreateRole

func (a *RolesApiService) CreateRole(ctx _context.Context) apiCreateRoleRequest

CreateRole Create role Create a new role for your organization.

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

@return apiCreateRoleRequest

func (*RolesApiService) DeleteRole

func (a *RolesApiService) DeleteRole(ctx _context.Context, roleId string) apiDeleteRoleRequest

DeleteRole Delete role Disables a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiDeleteRoleRequest

func (*RolesApiService) GetRole

func (a *RolesApiService) GetRole(ctx _context.Context, roleId string) apiGetRoleRequest

GetRole Get a role Get a role in the organization specified by the role’s `role_id`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiGetRoleRequest

func (*RolesApiService) ListPermissions

func (a *RolesApiService) ListPermissions(ctx _context.Context) apiListPermissionsRequest

ListPermissions List permissions Returns a list of all permissions, including name, description, and ID.

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

@return apiListPermissionsRequest

func (*RolesApiService) ListRolePermissions

func (a *RolesApiService) ListRolePermissions(ctx _context.Context, roleId string) apiListRolePermissionsRequest

ListRolePermissions List permissions for a role Returns a list of all permissions for a single role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiListRolePermissionsRequest

func (*RolesApiService) ListRoleUsers

func (a *RolesApiService) ListRoleUsers(ctx _context.Context, roleId string) apiListRoleUsersRequest

ListRoleUsers Get all users of a role Gets all users of a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiListRoleUsersRequest

func (*RolesApiService) ListRoles

func (a *RolesApiService) ListRoles(ctx _context.Context) apiListRolesRequest

ListRoles List roles Returns all roles, including their names and IDs.

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

@return apiListRolesRequest

func (*RolesApiService) RemovePermissionFromRole

func (a *RolesApiService) RemovePermissionFromRole(ctx _context.Context, roleId string) apiRemovePermissionFromRoleRequest

RemovePermissionFromRole Revoke permission Removes a permission from a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiRemovePermissionFromRoleRequest

func (*RolesApiService) RemoveUserFromRole

func (a *RolesApiService) RemoveUserFromRole(ctx _context.Context, roleId string) apiRemoveUserFromRoleRequest

RemoveUserFromRole Remove a user from a role Removes a user from a role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiRemoveUserFromRoleRequest

func (*RolesApiService) UpdateRole

func (a *RolesApiService) UpdateRole(ctx _context.Context, roleId string) apiUpdateRoleRequest

UpdateRole Update a role Edit a role. Can only be used with application keys belonging to administrators.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId The ID of the role.

@return apiUpdateRoleRequest

type RolesResponse

type RolesResponse struct {
	// Array of returned roles.
	Data *[]Role                 `json:"data,omitempty"`
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
}

RolesResponse Response containing information about multiple roles.

func NewRolesResponse

func NewRolesResponse() *RolesResponse

NewRolesResponse instantiates a new RolesResponse 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 NewRolesResponseWithDefaults

func NewRolesResponseWithDefaults() *RolesResponse

NewRolesResponseWithDefaults instantiates a new RolesResponse 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 (*RolesResponse) GetData

func (o *RolesResponse) GetData() []Role

GetData returns the Data field value if set, zero value otherwise.

func (*RolesResponse) GetDataOk

func (o *RolesResponse) GetDataOk() (*[]Role, bool)

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

func (*RolesResponse) GetMeta

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

func (*RolesResponse) GetMetaOk

func (o *RolesResponse) GetMetaOk() (*ResponseMetaAttributes, bool)

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

func (*RolesResponse) HasData

func (o *RolesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*RolesResponse) HasMeta

func (o *RolesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RolesResponse) MarshalJSON

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

func (*RolesResponse) SetData

func (o *RolesResponse) SetData(v []Role)

SetData gets a reference to the given []Role and assigns it to the Data field.

func (*RolesResponse) SetMeta

func (o *RolesResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

type RolesSort

type RolesSort string

RolesSort Sorting options for roles.

const (
	ROLESSORT_NAME_ASCENDING         RolesSort = "name"
	ROLESSORT_NAME_DESCENDING        RolesSort = "-name"
	ROLESSORT_MODIFIED_AT_ASCENDING  RolesSort = "modified_at"
	ROLESSORT_MODIFIED_AT_DESCENDING RolesSort = "-modified_at"
	ROLESSORT_USER_COUNT_ASCENDING   RolesSort = "user_count"
	ROLESSORT_USER_COUNT_DESCENDING  RolesSort = "-user_count"
)

List of RolesSort

func (RolesSort) Ptr

func (v RolesSort) Ptr() *RolesSort

Ptr returns reference to RolesSort value

func (*RolesSort) UnmarshalJSON

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

type RolesType

type RolesType string

RolesType Roles type.

const (
	ROLESTYPE_ROLES RolesType = "roles"
)

List of RolesType

func (RolesType) Ptr

func (v RolesType) Ptr() *RolesType

Ptr returns reference to RolesType value

func (*RolesType) UnmarshalJSON

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

type SecurityMonitoringApiService

type SecurityMonitoringApiService service

SecurityMonitoringApiService SecurityMonitoringApi service

func (*SecurityMonitoringApiService) CreateSecurityMonitoringRule

func (a *SecurityMonitoringApiService) CreateSecurityMonitoringRule(ctx _context.Context) apiCreateSecurityMonitoringRuleRequest

CreateSecurityMonitoringRule Create a detection rule Create a detection rule.

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

@return apiCreateSecurityMonitoringRuleRequest

func (*SecurityMonitoringApiService) DeleteSecurityMonitoringRule

func (a *SecurityMonitoringApiService) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) apiDeleteSecurityMonitoringRuleRequest

DeleteSecurityMonitoringRule Delete an existing rule Delete an existing rule. Default rules cannot be deleted.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ruleId The ID of the rule.

@return apiDeleteSecurityMonitoringRuleRequest

func (*SecurityMonitoringApiService) GetSecurityMonitoringRule

func (a *SecurityMonitoringApiService) GetSecurityMonitoringRule(ctx _context.Context, ruleId string) apiGetSecurityMonitoringRuleRequest

GetSecurityMonitoringRule Get a rule's details Get a rule's details.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ruleId The ID of the rule.

@return apiGetSecurityMonitoringRuleRequest

func (*SecurityMonitoringApiService) ListSecurityMonitoringRules

func (a *SecurityMonitoringApiService) ListSecurityMonitoringRules(ctx _context.Context) apiListSecurityMonitoringRulesRequest

ListSecurityMonitoringRules List rules List rules.

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

@return apiListSecurityMonitoringRulesRequest

func (*SecurityMonitoringApiService) UpdateSecurityMonitoringRule

func (a *SecurityMonitoringApiService) UpdateSecurityMonitoringRule(ctx _context.Context, ruleId string) apiUpdateSecurityMonitoringRuleRequest

UpdateSecurityMonitoringRule Update an existing rule Update an existing rule. When updating `cases`, `queries` or `options`, the whole field must be included. For example, when modifying a query all queries must be included. Default rules can only be updated to be enabled and to change notifications.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ruleId The ID of the rule.

@return apiUpdateSecurityMonitoringRuleRequest

type SecurityMonitoringListRulesResponse

type SecurityMonitoringListRulesResponse struct {
	// TODO.
	Data *[]SecurityMonitoringRuleResponse `json:"data,omitempty"`
	Meta *ResponseMetaAttributes           `json:"meta,omitempty"`
}

SecurityMonitoringListRulesResponse List of rules

func NewSecurityMonitoringListRulesResponse

func NewSecurityMonitoringListRulesResponse() *SecurityMonitoringListRulesResponse

NewSecurityMonitoringListRulesResponse instantiates a new SecurityMonitoringListRulesResponse 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 NewSecurityMonitoringListRulesResponseWithDefaults

func NewSecurityMonitoringListRulesResponseWithDefaults() *SecurityMonitoringListRulesResponse

NewSecurityMonitoringListRulesResponseWithDefaults instantiates a new SecurityMonitoringListRulesResponse 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 (*SecurityMonitoringListRulesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*SecurityMonitoringListRulesResponse) GetDataOk

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

func (*SecurityMonitoringListRulesResponse) GetMeta

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

func (*SecurityMonitoringListRulesResponse) GetMetaOk

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

func (*SecurityMonitoringListRulesResponse) HasData

HasData returns a boolean if a field has been set.

func (*SecurityMonitoringListRulesResponse) HasMeta

HasMeta returns a boolean if a field has been set.

func (SecurityMonitoringListRulesResponse) MarshalJSON

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

func (*SecurityMonitoringListRulesResponse) SetData

SetData gets a reference to the given []SecurityMonitoringRuleResponse and assigns it to the Data field.

func (*SecurityMonitoringListRulesResponse) SetMeta

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

type SecurityMonitoringRuleCase

type SecurityMonitoringRuleCase struct {
	// A rule case contains logical operations (>, >=, &&, ||) to determine if a signal should be generated based on the event counts in the previously defined queries.
	Condition *string `json:"condition,omitempty"`
	// Name of the case.
	Name *string `json:"name,omitempty"`
	// Notification targets for each rule case
	Notifications *[]string                       `json:"notifications,omitempty"`
	Status        *SecurityMonitoringRuleSeverity `json:"status,omitempty"`
}

SecurityMonitoringRuleCase Case when signal is generated.

func NewSecurityMonitoringRuleCase

func NewSecurityMonitoringRuleCase() *SecurityMonitoringRuleCase

NewSecurityMonitoringRuleCase instantiates a new SecurityMonitoringRuleCase 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 NewSecurityMonitoringRuleCaseWithDefaults

func NewSecurityMonitoringRuleCaseWithDefaults() *SecurityMonitoringRuleCase

NewSecurityMonitoringRuleCaseWithDefaults instantiates a new SecurityMonitoringRuleCase 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 (*SecurityMonitoringRuleCase) GetCondition

func (o *SecurityMonitoringRuleCase) GetCondition() string

GetCondition returns the Condition field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetConditionOk

func (o *SecurityMonitoringRuleCase) GetConditionOk() (*string, bool)

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

func (*SecurityMonitoringRuleCase) GetName

func (o *SecurityMonitoringRuleCase) GetName() string

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

func (*SecurityMonitoringRuleCase) GetNameOk

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

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

func (*SecurityMonitoringRuleCase) GetNotifications

func (o *SecurityMonitoringRuleCase) GetNotifications() []string

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCase) GetNotificationsOk

func (o *SecurityMonitoringRuleCase) GetNotificationsOk() (*[]string, bool)

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

func (*SecurityMonitoringRuleCase) GetStatus

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

func (*SecurityMonitoringRuleCase) GetStatusOk

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

func (*SecurityMonitoringRuleCase) HasCondition

func (o *SecurityMonitoringRuleCase) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasName

func (o *SecurityMonitoringRuleCase) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasNotifications

func (o *SecurityMonitoringRuleCase) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCase) HasStatus

func (o *SecurityMonitoringRuleCase) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SecurityMonitoringRuleCase) MarshalJSON

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

func (*SecurityMonitoringRuleCase) SetCondition

func (o *SecurityMonitoringRuleCase) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*SecurityMonitoringRuleCase) SetName

func (o *SecurityMonitoringRuleCase) SetName(v string)

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

func (*SecurityMonitoringRuleCase) SetNotifications

func (o *SecurityMonitoringRuleCase) SetNotifications(v []string)

SetNotifications gets a reference to the given []string and assigns it to the Notifications field.

func (*SecurityMonitoringRuleCase) SetStatus

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

type SecurityMonitoringRuleCreatePayload

type SecurityMonitoringRuleCreatePayload struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCase `json:"cases"`
	// Whether the rule is enabled.
	Enabled bool `json:"enabled"`
	// Message for generated signals.
	Message string `json:"message"`
	// The name of the rule
	Name    string                        `json:"name"`
	Options SecurityMonitoringRuleOptions `json:"options"`
	// Queries for selecting logs which are part of the rule.
	Queries []SecurityMonitoringRuleQuery `json:"queries"`
	// Tags for generated signals.
	Tags []string `json:"tags"`
}

SecurityMonitoringRuleCreatePayload Create a new rule.

func NewSecurityMonitoringRuleCreatePayload

func NewSecurityMonitoringRuleCreatePayload(cases []SecurityMonitoringRuleCase, enabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringRuleQuery, tags []string) *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayload instantiates a new SecurityMonitoringRuleCreatePayload 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 NewSecurityMonitoringRuleCreatePayloadWithDefaults

func NewSecurityMonitoringRuleCreatePayloadWithDefaults() *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringRuleCreatePayload 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 (*SecurityMonitoringRuleCreatePayload) GetCases

GetCases returns the Cases field value

func (*SecurityMonitoringRuleCreatePayload) GetCasesOk

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

func (*SecurityMonitoringRuleCreatePayload) GetEnabled

func (o *SecurityMonitoringRuleCreatePayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*SecurityMonitoringRuleCreatePayload) GetEnabledOk

func (o *SecurityMonitoringRuleCreatePayload) GetEnabledOk() (*bool, bool)

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

func (*SecurityMonitoringRuleCreatePayload) GetMessage

GetMessage returns the Message field value

func (*SecurityMonitoringRuleCreatePayload) GetMessageOk

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

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

func (*SecurityMonitoringRuleCreatePayload) GetName

GetName returns the Name field value

func (*SecurityMonitoringRuleCreatePayload) GetNameOk

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

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

func (*SecurityMonitoringRuleCreatePayload) GetOptions

GetOptions returns the Options field value

func (*SecurityMonitoringRuleCreatePayload) GetOptionsOk

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

func (*SecurityMonitoringRuleCreatePayload) GetQueries

GetQueries returns the Queries field value

func (*SecurityMonitoringRuleCreatePayload) GetQueriesOk

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

func (*SecurityMonitoringRuleCreatePayload) GetTags

GetTags returns the Tags field value

func (*SecurityMonitoringRuleCreatePayload) GetTagsOk

func (o *SecurityMonitoringRuleCreatePayload) GetTagsOk() (*[]string, bool)

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

func (SecurityMonitoringRuleCreatePayload) MarshalJSON

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

func (*SecurityMonitoringRuleCreatePayload) SetCases

SetCases sets field value

func (*SecurityMonitoringRuleCreatePayload) SetEnabled

func (o *SecurityMonitoringRuleCreatePayload) SetEnabled(v bool)

SetEnabled sets field value

func (*SecurityMonitoringRuleCreatePayload) SetMessage

SetMessage sets field value

func (*SecurityMonitoringRuleCreatePayload) SetName

SetName sets field value

func (*SecurityMonitoringRuleCreatePayload) SetOptions

SetOptions sets field value

func (*SecurityMonitoringRuleCreatePayload) SetQueries

SetQueries sets field value

func (*SecurityMonitoringRuleCreatePayload) SetTags

SetTags sets field value

type SecurityMonitoringRuleEvaluationWindow

type SecurityMonitoringRuleEvaluationWindow int32

SecurityMonitoringRuleEvaluationWindow A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time.

const (
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ZERO_MINUTES    SecurityMonitoringRuleEvaluationWindow = 0
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_MINUTE      SecurityMonitoringRuleEvaluationWindow = 60
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIVE_MINUTES    SecurityMonitoringRuleEvaluationWindow = 300
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TEN_MINUTES     SecurityMonitoringRuleEvaluationWindow = 600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIFTEEN_MINUTES SecurityMonitoringRuleEvaluationWindow = 900
	SECURITYMONITORINGRULEEVALUATIONWINDOW_THIRTY_MINUTES  SecurityMonitoringRuleEvaluationWindow = 1800
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_HOUR        SecurityMonitoringRuleEvaluationWindow = 3600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TWO_HOURS       SecurityMonitoringRuleEvaluationWindow = 7200
)

List of SecurityMonitoringRuleEvaluationWindow

func (SecurityMonitoringRuleEvaluationWindow) Ptr

Ptr returns reference to SecurityMonitoringRuleEvaluationWindow value

func (*SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON

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

type SecurityMonitoringRuleKeepAlive

type SecurityMonitoringRuleKeepAlive int32

SecurityMonitoringRuleKeepAlive Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window.

const (
	SECURITYMONITORINGRULEKEEPALIVE_ZERO_MINUTES    SecurityMonitoringRuleKeepAlive = 0
	SECURITYMONITORINGRULEKEEPALIVE_ONE_MINUTE      SecurityMonitoringRuleKeepAlive = 60
	SECURITYMONITORINGRULEKEEPALIVE_FIVE_MINUTES    SecurityMonitoringRuleKeepAlive = 300
	SECURITYMONITORINGRULEKEEPALIVE_TEN_MINUTES     SecurityMonitoringRuleKeepAlive = 600
	SECURITYMONITORINGRULEKEEPALIVE_FIFTEEN_MINUTES SecurityMonitoringRuleKeepAlive = 900
	SECURITYMONITORINGRULEKEEPALIVE_THIRTY_MINUTES  SecurityMonitoringRuleKeepAlive = 1800
	SECURITYMONITORINGRULEKEEPALIVE_ONE_HOUR        SecurityMonitoringRuleKeepAlive = 3600
	SECURITYMONITORINGRULEKEEPALIVE_TWO_HOURS       SecurityMonitoringRuleKeepAlive = 7200
)

List of SecurityMonitoringRuleKeepAlive

func (SecurityMonitoringRuleKeepAlive) Ptr

Ptr returns reference to SecurityMonitoringRuleKeepAlive value

func (*SecurityMonitoringRuleKeepAlive) UnmarshalJSON

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

type SecurityMonitoringRuleMaxSignalDuration

type SecurityMonitoringRuleMaxSignalDuration int32

SecurityMonitoringRuleMaxSignalDuration A signal will “close” regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.

const (
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ZERO_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 0
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_MINUTE      SecurityMonitoringRuleMaxSignalDuration = 60
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIVE_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 300
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TEN_MINUTES     SecurityMonitoringRuleMaxSignalDuration = 600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIFTEEN_MINUTES SecurityMonitoringRuleMaxSignalDuration = 900
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THIRTY_MINUTES  SecurityMonitoringRuleMaxSignalDuration = 1800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_HOUR        SecurityMonitoringRuleMaxSignalDuration = 3600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWO_HOURS       SecurityMonitoringRuleMaxSignalDuration = 7200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THREE_HOURS     SecurityMonitoringRuleMaxSignalDuration = 10800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_SIX_HOURS       SecurityMonitoringRuleMaxSignalDuration = 21600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWELVE_HOURS    SecurityMonitoringRuleMaxSignalDuration = 43200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_DAY         SecurityMonitoringRuleMaxSignalDuration = 86400
)

List of SecurityMonitoringRuleMaxSignalDuration

func (SecurityMonitoringRuleMaxSignalDuration) Ptr

Ptr returns reference to SecurityMonitoringRuleMaxSignalDuration value

func (*SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON

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

type SecurityMonitoringRuleOptions

type SecurityMonitoringRuleOptions struct {
	EvaluationWindow  *SecurityMonitoringRuleEvaluationWindow  `json:"evaluationWindow,omitempty"`
	KeepAlive         *SecurityMonitoringRuleKeepAlive         `json:"keepAlive,omitempty"`
	MaxSignalDuration *SecurityMonitoringRuleMaxSignalDuration `json:"maxSignalDuration,omitempty"`
}

SecurityMonitoringRuleOptions Options on rules.

func NewSecurityMonitoringRuleOptions

func NewSecurityMonitoringRuleOptions() *SecurityMonitoringRuleOptions

NewSecurityMonitoringRuleOptions instantiates a new SecurityMonitoringRuleOptions 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 NewSecurityMonitoringRuleOptionsWithDefaults

func NewSecurityMonitoringRuleOptionsWithDefaults() *SecurityMonitoringRuleOptions

NewSecurityMonitoringRuleOptionsWithDefaults instantiates a new SecurityMonitoringRuleOptions 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 (*SecurityMonitoringRuleOptions) GetEvaluationWindow

GetEvaluationWindow returns the EvaluationWindow field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetEvaluationWindowOk

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

func (*SecurityMonitoringRuleOptions) GetKeepAlive

GetKeepAlive returns the KeepAlive field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetKeepAliveOk

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

func (*SecurityMonitoringRuleOptions) GetMaxSignalDuration

GetMaxSignalDuration returns the MaxSignalDuration field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetMaxSignalDurationOk

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

func (*SecurityMonitoringRuleOptions) HasEvaluationWindow

func (o *SecurityMonitoringRuleOptions) HasEvaluationWindow() bool

HasEvaluationWindow returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasKeepAlive

func (o *SecurityMonitoringRuleOptions) HasKeepAlive() bool

HasKeepAlive returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasMaxSignalDuration

func (o *SecurityMonitoringRuleOptions) HasMaxSignalDuration() bool

HasMaxSignalDuration returns a boolean if a field has been set.

func (SecurityMonitoringRuleOptions) MarshalJSON

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

func (*SecurityMonitoringRuleOptions) SetEvaluationWindow

SetEvaluationWindow gets a reference to the given SecurityMonitoringRuleEvaluationWindow and assigns it to the EvaluationWindow field.

func (*SecurityMonitoringRuleOptions) SetKeepAlive

SetKeepAlive gets a reference to the given SecurityMonitoringRuleKeepAlive and assigns it to the KeepAlive field.

func (*SecurityMonitoringRuleOptions) SetMaxSignalDuration

SetMaxSignalDuration gets a reference to the given SecurityMonitoringRuleMaxSignalDuration and assigns it to the MaxSignalDuration field.

type SecurityMonitoringRuleQuery

type SecurityMonitoringRuleQuery struct {
	// Fields to group by.
	GroupByFields *[]string `json:"groupByFields,omitempty"`
	// Name of the query
	Name *string `json:"name,omitempty"`
	// Query to run on logs
	Query *string `json:"query,omitempty"`
}

SecurityMonitoringRuleQuery Query for matching rule.

func NewSecurityMonitoringRuleQuery

func NewSecurityMonitoringRuleQuery() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQuery instantiates a new SecurityMonitoringRuleQuery 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 NewSecurityMonitoringRuleQueryWithDefaults

func NewSecurityMonitoringRuleQueryWithDefaults() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQueryWithDefaults instantiates a new SecurityMonitoringRuleQuery 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 (*SecurityMonitoringRuleQuery) GetGroupByFields

func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetGroupByFieldsOk

func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)

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

func (*SecurityMonitoringRuleQuery) GetName

func (o *SecurityMonitoringRuleQuery) GetName() string

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

func (*SecurityMonitoringRuleQuery) GetNameOk

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

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

func (*SecurityMonitoringRuleQuery) GetQuery

func (o *SecurityMonitoringRuleQuery) GetQuery() string

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

func (*SecurityMonitoringRuleQuery) GetQueryOk

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

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

func (*SecurityMonitoringRuleQuery) HasGroupByFields

func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasName

func (o *SecurityMonitoringRuleQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasQuery

func (o *SecurityMonitoringRuleQuery) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SecurityMonitoringRuleQuery) MarshalJSON

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

func (*SecurityMonitoringRuleQuery) SetGroupByFields

func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringRuleQuery) SetName

func (o *SecurityMonitoringRuleQuery) SetName(v string)

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

func (*SecurityMonitoringRuleQuery) SetQuery

func (o *SecurityMonitoringRuleQuery) SetQuery(v string)

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

type SecurityMonitoringRuleResponse

type SecurityMonitoringRuleResponse struct {
	// Cases for generating signals.
	Cases *[]SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// When the rule was created, timestamp in milliseconds.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// User ID of the user who created the rule.
	CreationAuthorId *int64 `json:"creationAuthorId,omitempty"`
	// The ID of the rule.
	Id *string `json:"id,omitempty"`
	// Whether the rule is included by default.
	IsDefault *bool `json:"isDefault,omitempty"`
	// Whether the rule has been deleted.
	IsDeleted *bool `json:"isDeleted,omitempty"`
	// Whether the rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// The name of the rule.
	Name    *string                        `json:"name,omitempty"`
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries *[]SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags *[]string `json:"tags,omitempty"`
	// The version of the rule.
	Version *int64 `json:"version,omitempty"`
}

SecurityMonitoringRuleResponse Detection rule

func NewSecurityMonitoringRuleResponse

func NewSecurityMonitoringRuleResponse() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponse instantiates a new SecurityMonitoringRuleResponse 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 NewSecurityMonitoringRuleResponseWithDefaults

func NewSecurityMonitoringRuleResponseWithDefaults() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponseWithDefaults instantiates a new SecurityMonitoringRuleResponse 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 (*SecurityMonitoringRuleResponse) GetCases

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCasesOk

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

func (*SecurityMonitoringRuleResponse) GetCreatedAt

func (o *SecurityMonitoringRuleResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreatedAtOk

func (o *SecurityMonitoringRuleResponse) GetCreatedAtOk() (*int64, bool)

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

func (*SecurityMonitoringRuleResponse) GetCreationAuthorId

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorId() int64

GetCreationAuthorId returns the CreationAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreationAuthorIdOk

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorIdOk() (*int64, bool)

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

func (*SecurityMonitoringRuleResponse) GetId

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

func (*SecurityMonitoringRuleResponse) GetIdOk

func (o *SecurityMonitoringRuleResponse) 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 (*SecurityMonitoringRuleResponse) GetIsDefault

func (o *SecurityMonitoringRuleResponse) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDefaultOk

func (o *SecurityMonitoringRuleResponse) GetIsDefaultOk() (*bool, bool)

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

func (*SecurityMonitoringRuleResponse) GetIsDeleted

func (o *SecurityMonitoringRuleResponse) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDeletedOk

func (o *SecurityMonitoringRuleResponse) GetIsDeletedOk() (*bool, bool)

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

func (*SecurityMonitoringRuleResponse) GetIsEnabled

func (o *SecurityMonitoringRuleResponse) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsEnabledOk

func (o *SecurityMonitoringRuleResponse) GetIsEnabledOk() (*bool, bool)

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

func (*SecurityMonitoringRuleResponse) GetMessage

func (o *SecurityMonitoringRuleResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetMessageOk

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

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

func (*SecurityMonitoringRuleResponse) GetName

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

func (*SecurityMonitoringRuleResponse) GetNameOk

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

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

func (*SecurityMonitoringRuleResponse) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetOptionsOk

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

func (*SecurityMonitoringRuleResponse) GetQueries

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetQueriesOk

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

func (*SecurityMonitoringRuleResponse) GetTags

func (o *SecurityMonitoringRuleResponse) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetTagsOk

func (o *SecurityMonitoringRuleResponse) GetTagsOk() (*[]string, bool)

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

func (*SecurityMonitoringRuleResponse) GetVersion

func (o *SecurityMonitoringRuleResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetVersionOk

func (o *SecurityMonitoringRuleResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) HasCases

func (o *SecurityMonitoringRuleResponse) HasCases() bool

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreatedAt

func (o *SecurityMonitoringRuleResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreationAuthorId

func (o *SecurityMonitoringRuleResponse) HasCreationAuthorId() bool

HasCreationAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasId

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDefault

func (o *SecurityMonitoringRuleResponse) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDeleted

func (o *SecurityMonitoringRuleResponse) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsEnabled

func (o *SecurityMonitoringRuleResponse) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasMessage

func (o *SecurityMonitoringRuleResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasName

func (o *SecurityMonitoringRuleResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasOptions

func (o *SecurityMonitoringRuleResponse) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasQueries

func (o *SecurityMonitoringRuleResponse) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasTags

func (o *SecurityMonitoringRuleResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasVersion

func (o *SecurityMonitoringRuleResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringRuleResponse) MarshalJSON

func (o SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleResponse) SetCases

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleResponse) SetCreatedAt

func (o *SecurityMonitoringRuleResponse) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SecurityMonitoringRuleResponse) SetCreationAuthorId

func (o *SecurityMonitoringRuleResponse) SetCreationAuthorId(v int64)

SetCreationAuthorId gets a reference to the given int64 and assigns it to the CreationAuthorId field.

func (*SecurityMonitoringRuleResponse) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringRuleResponse) SetIsDefault

func (o *SecurityMonitoringRuleResponse) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*SecurityMonitoringRuleResponse) SetIsDeleted

func (o *SecurityMonitoringRuleResponse) SetIsDeleted(v bool)

SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.

func (*SecurityMonitoringRuleResponse) SetIsEnabled

func (o *SecurityMonitoringRuleResponse) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringRuleResponse) SetMessage

func (o *SecurityMonitoringRuleResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleResponse) SetName

func (o *SecurityMonitoringRuleResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleResponse) SetOptions

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleResponse) SetQueries

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleResponse) SetTags

func (o *SecurityMonitoringRuleResponse) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleResponse) SetVersion

func (o *SecurityMonitoringRuleResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type SecurityMonitoringRuleSeverity

type SecurityMonitoringRuleSeverity string

SecurityMonitoringRuleSeverity Severity of the Security Signal.

const (
	SECURITYMONITORINGRULESEVERITY_INFO     SecurityMonitoringRuleSeverity = "info"
	SECURITYMONITORINGRULESEVERITY_LOW      SecurityMonitoringRuleSeverity = "low"
	SECURITYMONITORINGRULESEVERITY_MEDIUM   SecurityMonitoringRuleSeverity = "medium"
	SECURITYMONITORINGRULESEVERITY_HIGH     SecurityMonitoringRuleSeverity = "high"
	SECURITYMONITORINGRULESEVERITY_CRITICAL SecurityMonitoringRuleSeverity = "critical"
)

List of SecurityMonitoringRuleSeverity

func (SecurityMonitoringRuleSeverity) Ptr

Ptr returns reference to SecurityMonitoringRuleSeverity value

func (*SecurityMonitoringRuleSeverity) UnmarshalJSON

func (v *SecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error

type SecurityMonitoringRuleUpdatePayload

type SecurityMonitoringRuleUpdatePayload struct {
	// Cases for generating signals.
	Cases *[]SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// Whether the rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// Name of the rule.
	Name    *string                        `json:"name,omitempty"`
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries *[]SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags *[]string `json:"tags,omitempty"`
}

SecurityMonitoringRuleUpdatePayload Update an existing rule.

func NewSecurityMonitoringRuleUpdatePayload

func NewSecurityMonitoringRuleUpdatePayload() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayload instantiates a new SecurityMonitoringRuleUpdatePayload 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 NewSecurityMonitoringRuleUpdatePayloadWithDefaults

func NewSecurityMonitoringRuleUpdatePayloadWithDefaults() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayloadWithDefaults instantiates a new SecurityMonitoringRuleUpdatePayload 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 (*SecurityMonitoringRuleUpdatePayload) GetCases

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetCasesOk

GetCasesOk returns a tuple with the Cases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetEnabled

func (o *SecurityMonitoringRuleUpdatePayload) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetEnabledOk

func (o *SecurityMonitoringRuleUpdatePayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetMessageOk

func (o *SecurityMonitoringRuleUpdatePayload) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetNameOk

func (o *SecurityMonitoringRuleUpdatePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetOptionsOk

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetQueries

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetQueriesOk

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetTagsOk

func (o *SecurityMonitoringRuleUpdatePayload) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasCases

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasEnabled

func (o *SecurityMonitoringRuleUpdatePayload) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasMessage

func (o *SecurityMonitoringRuleUpdatePayload) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasName

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasOptions

func (o *SecurityMonitoringRuleUpdatePayload) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasQueries

func (o *SecurityMonitoringRuleUpdatePayload) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasTags

HasTags returns a boolean if a field has been set.

func (SecurityMonitoringRuleUpdatePayload) MarshalJSON

func (o SecurityMonitoringRuleUpdatePayload) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleUpdatePayload) SetCases

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleUpdatePayload) SetEnabled

func (o *SecurityMonitoringRuleUpdatePayload) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*SecurityMonitoringRuleUpdatePayload) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleUpdatePayload) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleUpdatePayload) SetOptions

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleUpdatePayload) SetQueries

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleUpdatePayload) SetTags

SetTags gets a reference to the given []string and assigns it to the Tags field.

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 User

type User struct {
	Attributes *UserAttributes `json:"attributes,omitempty"`
	// ID of the user.
	Id            *string                    `json:"id,omitempty"`
	Relationships *UserResponseRelationships `json:"relationships,omitempty"`
	Type          *UsersType                 `json:"type,omitempty"`
}

User User object returned by the API.

func NewUser

func NewUser() *User

NewUser instantiates a new User 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 NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetAttributes

func (o *User) GetAttributes() UserAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*User) GetAttributesOk

func (o *User) GetAttributesOk() (*UserAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk

func (o *User) 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 (*User) GetRelationships

func (o *User) GetRelationships() UserResponseRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*User) GetRelationshipsOk

func (o *User) GetRelationshipsOk() (*UserResponseRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetType

func (o *User) GetType() UsersType

GetType returns the Type field value if set, zero value otherwise.

func (*User) GetTypeOk

func (o *User) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAttributes

func (o *User) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasRelationships

func (o *User) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*User) HasType

func (o *User) HasType() bool

HasType returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAttributes

func (o *User) SetAttributes(v UserAttributes)

SetAttributes gets a reference to the given UserAttributes and assigns it to the Attributes field.

func (*User) SetId

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetRelationships

func (o *User) SetRelationships(v UserResponseRelationships)

SetRelationships gets a reference to the given UserResponseRelationships and assigns it to the Relationships field.

func (*User) SetType

func (o *User) SetType(v UsersType)

SetType gets a reference to the given UsersType and assigns it to the Type field.

type UserAttributes

type UserAttributes struct {
	// Creation time of the user.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Whether the user is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Email of the user.
	Email *string `json:"email,omitempty"`
	// Handle of the user.
	Handle *string `json:"handle,omitempty"`
	// URL of the user's icon.
	Icon *string `json:"icon,omitempty"`
	// Name of the user.
	Name *string `json:"name,omitempty"`
	// Status of the user.
	Status *string `json:"status,omitempty"`
	// Title of the user.
	Title *string `json:"title,omitempty"`
	// Whether the user is verified.
	Verified *bool `json:"verified,omitempty"`
}

UserAttributes Attributes of user object returned by the API.

func NewUserAttributes

func NewUserAttributes() *UserAttributes

NewUserAttributes instantiates a new UserAttributes 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 NewUserAttributesWithDefaults

func NewUserAttributesWithDefaults() *UserAttributes

NewUserAttributesWithDefaults instantiates a new UserAttributes 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 (*UserAttributes) GetCreatedAt

func (o *UserAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserAttributes) GetCreatedAtOk

func (o *UserAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetDisabled

func (o *UserAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*UserAttributes) GetDisabledOk

func (o *UserAttributes) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetEmail

func (o *UserAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserAttributes) GetEmailOk

func (o *UserAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetHandle

func (o *UserAttributes) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*UserAttributes) GetHandleOk

func (o *UserAttributes) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetIcon

func (o *UserAttributes) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*UserAttributes) GetIconOk

func (o *UserAttributes) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetName

func (o *UserAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAttributes) GetNameOk

func (o *UserAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetStatus

func (o *UserAttributes) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UserAttributes) GetStatusOk

func (o *UserAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetTitle

func (o *UserAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*UserAttributes) GetTitleOk

func (o *UserAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetVerified

func (o *UserAttributes) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*UserAttributes) GetVerifiedOk

func (o *UserAttributes) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) HasCreatedAt

func (o *UserAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserAttributes) HasDisabled

func (o *UserAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UserAttributes) HasEmail

func (o *UserAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserAttributes) HasHandle

func (o *UserAttributes) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*UserAttributes) HasIcon

func (o *UserAttributes) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*UserAttributes) HasName

func (o *UserAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAttributes) HasStatus

func (o *UserAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UserAttributes) HasTitle

func (o *UserAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*UserAttributes) HasVerified

func (o *UserAttributes) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (UserAttributes) MarshalJSON

func (o UserAttributes) MarshalJSON() ([]byte, error)

func (*UserAttributes) SetCreatedAt

func (o *UserAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserAttributes) SetDisabled

func (o *UserAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserAttributes) SetEmail

func (o *UserAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserAttributes) SetHandle

func (o *UserAttributes) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*UserAttributes) SetIcon

func (o *UserAttributes) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*UserAttributes) SetName

func (o *UserAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAttributes) SetStatus

func (o *UserAttributes) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UserAttributes) SetTitle

func (o *UserAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*UserAttributes) SetVerified

func (o *UserAttributes) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

type UserCreateAttributes

type UserCreateAttributes struct {
	// The email of the user.
	Email *string `json:"email,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// The title of the user.
	Title *string `json:"title,omitempty"`
}

UserCreateAttributes Attributes of the created user.

func NewUserCreateAttributes

func NewUserCreateAttributes() *UserCreateAttributes

NewUserCreateAttributes instantiates a new UserCreateAttributes 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 NewUserCreateAttributesWithDefaults

func NewUserCreateAttributesWithDefaults() *UserCreateAttributes

NewUserCreateAttributesWithDefaults instantiates a new UserCreateAttributes 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 (*UserCreateAttributes) GetEmail

func (o *UserCreateAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserCreateAttributes) GetEmailOk

func (o *UserCreateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) GetName

func (o *UserCreateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserCreateAttributes) GetNameOk

func (o *UserCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) GetTitle

func (o *UserCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*UserCreateAttributes) GetTitleOk

func (o *UserCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) HasEmail

func (o *UserCreateAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserCreateAttributes) HasName

func (o *UserCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserCreateAttributes) HasTitle

func (o *UserCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (UserCreateAttributes) MarshalJSON

func (o UserCreateAttributes) MarshalJSON() ([]byte, error)

func (*UserCreateAttributes) SetEmail

func (o *UserCreateAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserCreateAttributes) SetName

func (o *UserCreateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserCreateAttributes) SetTitle

func (o *UserCreateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type UserCreateData

type UserCreateData struct {
	Attributes    *UserCreateAttributes `json:"attributes,omitempty"`
	Relationships *UserRelationships    `json:"relationships,omitempty"`
	Type          *UsersType            `json:"type,omitempty"`
}

UserCreateData Object to create a user.

func NewUserCreateData

func NewUserCreateData() *UserCreateData

NewUserCreateData instantiates a new UserCreateData 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 NewUserCreateDataWithDefaults

func NewUserCreateDataWithDefaults() *UserCreateData

NewUserCreateDataWithDefaults instantiates a new UserCreateData 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 (*UserCreateData) GetAttributes

func (o *UserCreateData) GetAttributes() UserCreateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserCreateData) GetAttributesOk

func (o *UserCreateData) GetAttributesOk() (*UserCreateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateData) GetRelationships

func (o *UserCreateData) GetRelationships() UserRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*UserCreateData) GetRelationshipsOk

func (o *UserCreateData) GetRelationshipsOk() (*UserRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateData) GetType

func (o *UserCreateData) GetType() UsersType

GetType returns the Type field value if set, zero value otherwise.

func (*UserCreateData) GetTypeOk

func (o *UserCreateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateData) HasAttributes

func (o *UserCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserCreateData) HasRelationships

func (o *UserCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*UserCreateData) HasType

func (o *UserCreateData) HasType() bool

HasType returns a boolean if a field has been set.

func (UserCreateData) MarshalJSON

func (o UserCreateData) MarshalJSON() ([]byte, error)

func (*UserCreateData) SetAttributes

func (o *UserCreateData) SetAttributes(v UserCreateAttributes)

SetAttributes gets a reference to the given UserCreateAttributes and assigns it to the Attributes field.

func (*UserCreateData) SetRelationships

func (o *UserCreateData) SetRelationships(v UserRelationships)

SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.

func (*UserCreateData) SetType

func (o *UserCreateData) SetType(v UsersType)

SetType gets a reference to the given UsersType and assigns it to the Type field.

type UserCreateRequest

type UserCreateRequest struct {
	Data *UserCreateData `json:"data,omitempty"`
}

UserCreateRequest Create a user.

func NewUserCreateRequest

func NewUserCreateRequest() *UserCreateRequest

NewUserCreateRequest instantiates a new UserCreateRequest 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 NewUserCreateRequestWithDefaults

func NewUserCreateRequestWithDefaults() *UserCreateRequest

NewUserCreateRequestWithDefaults instantiates a new UserCreateRequest 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 (*UserCreateRequest) GetData

func (o *UserCreateRequest) GetData() UserCreateData

GetData returns the Data field value if set, zero value otherwise.

func (*UserCreateRequest) GetDataOk

func (o *UserCreateRequest) GetDataOk() (*UserCreateData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateRequest) HasData

func (o *UserCreateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (UserCreateRequest) MarshalJSON

func (o UserCreateRequest) MarshalJSON() ([]byte, error)

func (*UserCreateRequest) SetData

func (o *UserCreateRequest) SetData(v UserCreateData)

SetData gets a reference to the given UserCreateData and assigns it to the Data field.

type UserInvitationData

type UserInvitationData struct {
	Relationships *UserInvitationRelationships `json:"relationships,omitempty"`
	Type          *UserInvitationsType         `json:"type,omitempty"`
}

UserInvitationData Object to create a user invitation.

func NewUserInvitationData

func NewUserInvitationData() *UserInvitationData

NewUserInvitationData instantiates a new UserInvitationData 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 NewUserInvitationDataWithDefaults

func NewUserInvitationDataWithDefaults() *UserInvitationData

NewUserInvitationDataWithDefaults instantiates a new UserInvitationData 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 (*UserInvitationData) GetRelationships

func (o *UserInvitationData) GetRelationships() UserInvitationRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*UserInvitationData) GetRelationshipsOk

func (o *UserInvitationData) GetRelationshipsOk() (*UserInvitationRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationData) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*UserInvitationData) GetTypeOk

func (o *UserInvitationData) GetTypeOk() (*UserInvitationsType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationData) HasRelationships

func (o *UserInvitationData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*UserInvitationData) HasType

func (o *UserInvitationData) HasType() bool

HasType returns a boolean if a field has been set.

func (UserInvitationData) MarshalJSON

func (o UserInvitationData) MarshalJSON() ([]byte, error)

func (*UserInvitationData) SetRelationships

func (o *UserInvitationData) SetRelationships(v UserInvitationRelationships)

SetRelationships gets a reference to the given UserInvitationRelationships and assigns it to the Relationships field.

func (*UserInvitationData) SetType

SetType gets a reference to the given UserInvitationsType and assigns it to the Type field.

type UserInvitationDataAttributes

type UserInvitationDataAttributes struct {
	// Creation time of the user invitation.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Time of invitation expiration.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Type of invitation.
	InviteType *string `json:"invite_type,omitempty"`
	// UUID of the user invitation.
	Uuid *string `json:"uuid,omitempty"`
}

UserInvitationDataAttributes Attributes of a user invitation.

func NewUserInvitationDataAttributes

func NewUserInvitationDataAttributes() *UserInvitationDataAttributes

NewUserInvitationDataAttributes instantiates a new UserInvitationDataAttributes 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 NewUserInvitationDataAttributesWithDefaults

func NewUserInvitationDataAttributesWithDefaults() *UserInvitationDataAttributes

NewUserInvitationDataAttributesWithDefaults instantiates a new UserInvitationDataAttributes 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 (*UserInvitationDataAttributes) GetCreatedAt

func (o *UserInvitationDataAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetCreatedAtOk

func (o *UserInvitationDataAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetExpiresAt

func (o *UserInvitationDataAttributes) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetExpiresAtOk

func (o *UserInvitationDataAttributes) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetInviteType

func (o *UserInvitationDataAttributes) GetInviteType() string

GetInviteType returns the InviteType field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetInviteTypeOk

func (o *UserInvitationDataAttributes) GetInviteTypeOk() (*string, bool)

GetInviteTypeOk returns a tuple with the InviteType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) GetUuid

func (o *UserInvitationDataAttributes) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*UserInvitationDataAttributes) GetUuidOk

func (o *UserInvitationDataAttributes) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationDataAttributes) HasCreatedAt

func (o *UserInvitationDataAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasExpiresAt

func (o *UserInvitationDataAttributes) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasInviteType

func (o *UserInvitationDataAttributes) HasInviteType() bool

HasInviteType returns a boolean if a field has been set.

func (*UserInvitationDataAttributes) HasUuid

func (o *UserInvitationDataAttributes) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (UserInvitationDataAttributes) MarshalJSON

func (o UserInvitationDataAttributes) MarshalJSON() ([]byte, error)

func (*UserInvitationDataAttributes) SetCreatedAt

func (o *UserInvitationDataAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserInvitationDataAttributes) SetExpiresAt

func (o *UserInvitationDataAttributes) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*UserInvitationDataAttributes) SetInviteType

func (o *UserInvitationDataAttributes) SetInviteType(v string)

SetInviteType gets a reference to the given string and assigns it to the InviteType field.

func (*UserInvitationDataAttributes) SetUuid

func (o *UserInvitationDataAttributes) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type UserInvitationRelationships

type UserInvitationRelationships struct {
	User *RelationshipToUser `json:"user,omitempty"`
}

UserInvitationRelationships Relationships data for user invitation.

func NewUserInvitationRelationships

func NewUserInvitationRelationships() *UserInvitationRelationships

NewUserInvitationRelationships instantiates a new UserInvitationRelationships 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 NewUserInvitationRelationshipsWithDefaults

func NewUserInvitationRelationshipsWithDefaults() *UserInvitationRelationships

NewUserInvitationRelationshipsWithDefaults instantiates a new UserInvitationRelationships 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 (*UserInvitationRelationships) GetUser

GetUser returns the User field value if set, zero value otherwise.

func (*UserInvitationRelationships) GetUserOk

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationRelationships) HasUser

func (o *UserInvitationRelationships) HasUser() bool

HasUser returns a boolean if a field has been set.

func (UserInvitationRelationships) MarshalJSON

func (o UserInvitationRelationships) MarshalJSON() ([]byte, error)

func (*UserInvitationRelationships) SetUser

SetUser gets a reference to the given RelationshipToUser and assigns it to the User field.

type UserInvitationResponse

type UserInvitationResponse struct {
	Data *UserInvitationResponseData `json:"data,omitempty"`
}

UserInvitationResponse User invitation as returned by the API.

func NewUserInvitationResponse

func NewUserInvitationResponse() *UserInvitationResponse

NewUserInvitationResponse instantiates a new UserInvitationResponse 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 NewUserInvitationResponseWithDefaults

func NewUserInvitationResponseWithDefaults() *UserInvitationResponse

NewUserInvitationResponseWithDefaults instantiates a new UserInvitationResponse 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 (*UserInvitationResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*UserInvitationResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponse) HasData

func (o *UserInvitationResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationResponse) MarshalJSON

func (o UserInvitationResponse) MarshalJSON() ([]byte, error)

func (*UserInvitationResponse) SetData

SetData gets a reference to the given UserInvitationResponseData and assigns it to the Data field.

type UserInvitationResponseData

type UserInvitationResponseData struct {
	Attributes *UserInvitationDataAttributes `json:"attributes,omitempty"`
	// ID of the user invitation.
	Id   *string              `json:"id,omitempty"`
	Type *UserInvitationsType `json:"type,omitempty"`
}

UserInvitationResponseData Object of a user invitation returned by the API.

func NewUserInvitationResponseData

func NewUserInvitationResponseData() *UserInvitationResponseData

NewUserInvitationResponseData instantiates a new UserInvitationResponseData 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 NewUserInvitationResponseDataWithDefaults

func NewUserInvitationResponseDataWithDefaults() *UserInvitationResponseData

NewUserInvitationResponseDataWithDefaults instantiates a new UserInvitationResponseData 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 (*UserInvitationResponseData) GetAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetAttributesOk

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponseData) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetIdOk

func (o *UserInvitationResponseData) 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 (*UserInvitationResponseData) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*UserInvitationResponseData) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationResponseData) HasAttributes

func (o *UserInvitationResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserInvitationResponseData) HasId

func (o *UserInvitationResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserInvitationResponseData) HasType

func (o *UserInvitationResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (UserInvitationResponseData) MarshalJSON

func (o UserInvitationResponseData) MarshalJSON() ([]byte, error)

func (*UserInvitationResponseData) SetAttributes

SetAttributes gets a reference to the given UserInvitationDataAttributes and assigns it to the Attributes field.

func (*UserInvitationResponseData) SetId

func (o *UserInvitationResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserInvitationResponseData) SetType

SetType gets a reference to the given UserInvitationsType and assigns it to the Type field.

type UserInvitationsRequest

type UserInvitationsRequest struct {
	// List of user invitations.
	Data *[]UserInvitationData `json:"data,omitempty"`
}

UserInvitationsRequest Object to invite users to join the organization.

func NewUserInvitationsRequest

func NewUserInvitationsRequest() *UserInvitationsRequest

NewUserInvitationsRequest instantiates a new UserInvitationsRequest 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 NewUserInvitationsRequestWithDefaults

func NewUserInvitationsRequestWithDefaults() *UserInvitationsRequest

NewUserInvitationsRequestWithDefaults instantiates a new UserInvitationsRequest 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 (*UserInvitationsRequest) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*UserInvitationsRequest) GetDataOk

func (o *UserInvitationsRequest) GetDataOk() (*[]UserInvitationData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationsRequest) HasData

func (o *UserInvitationsRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationsRequest) MarshalJSON

func (o UserInvitationsRequest) MarshalJSON() ([]byte, error)

func (*UserInvitationsRequest) SetData

SetData gets a reference to the given []UserInvitationData and assigns it to the Data field.

type UserInvitationsResponse

type UserInvitationsResponse struct {
	// Array of user invitations.
	Data *[]UserInvitationResponseData `json:"data,omitempty"`
}

UserInvitationsResponse User invitations as returned by the API.

func NewUserInvitationsResponse

func NewUserInvitationsResponse() *UserInvitationsResponse

NewUserInvitationsResponse instantiates a new UserInvitationsResponse 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 NewUserInvitationsResponseWithDefaults

func NewUserInvitationsResponseWithDefaults() *UserInvitationsResponse

NewUserInvitationsResponseWithDefaults instantiates a new UserInvitationsResponse 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 (*UserInvitationsResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*UserInvitationsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserInvitationsResponse) HasData

func (o *UserInvitationsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationsResponse) MarshalJSON

func (o UserInvitationsResponse) MarshalJSON() ([]byte, error)

func (*UserInvitationsResponse) SetData

SetData gets a reference to the given []UserInvitationResponseData and assigns it to the Data field.

type UserInvitationsType

type UserInvitationsType string

UserInvitationsType User invitations type.

const (
	USERINVITATIONSTYPE_USER_INVITATIONS UserInvitationsType = "user_invitations"
)

List of UserInvitationsType

func (UserInvitationsType) Ptr

Ptr returns reference to UserInvitationsType value

func (*UserInvitationsType) UnmarshalJSON

func (v *UserInvitationsType) UnmarshalJSON(src []byte) error

type UserRelationships

type UserRelationships struct {
	Roles *RelationshipToRoles `json:"roles,omitempty"`
}

UserRelationships Relationships of the user object.

func NewUserRelationships

func NewUserRelationships() *UserRelationships

NewUserRelationships instantiates a new UserRelationships 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 NewUserRelationshipsWithDefaults

func NewUserRelationshipsWithDefaults() *UserRelationships

NewUserRelationshipsWithDefaults instantiates a new UserRelationships 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 (*UserRelationships) GetRoles

func (o *UserRelationships) GetRoles() RelationshipToRoles

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserRelationships) GetRolesOk

func (o *UserRelationships) GetRolesOk() (*RelationshipToRoles, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRelationships) HasRoles

func (o *UserRelationships) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (UserRelationships) MarshalJSON

func (o UserRelationships) MarshalJSON() ([]byte, error)

func (*UserRelationships) SetRoles

func (o *UserRelationships) SetRoles(v RelationshipToRoles)

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

type UserResponse

type UserResponse struct {
	Data *User `json:"data,omitempty"`
	// Array of objects related to the user.
	Included *[]UserResponseIncludedItem `json:"included,omitempty"`
}

UserResponse Response containing information about a single user.

func NewUserResponse

func NewUserResponse() *UserResponse

NewUserResponse instantiates a new UserResponse 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 NewUserResponseWithDefaults

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse 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 (*UserResponse) GetData

func (o *UserResponse) GetData() User

GetData returns the Data field value if set, zero value otherwise.

func (*UserResponse) GetDataOk

func (o *UserResponse) GetDataOk() (*User, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) GetIncluded

func (o *UserResponse) GetIncluded() []UserResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UserResponse) GetIncludedOk

func (o *UserResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) HasData

func (o *UserResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UserResponse) HasIncluded

func (o *UserResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (UserResponse) MarshalJSON

func (o UserResponse) MarshalJSON() ([]byte, error)

func (*UserResponse) SetData

func (o *UserResponse) SetData(v User)

SetData gets a reference to the given User and assigns it to the Data field.

func (*UserResponse) SetIncluded

func (o *UserResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

type UserResponseIncludedItem

type UserResponseIncludedItem struct {
	Organization *Organization
	Permission   *Permission
	Role         *Role
}

UserResponseIncludedItem - An object related to a user.

func OrganizationAsUserResponseIncludedItem

func OrganizationAsUserResponseIncludedItem(v *Organization) UserResponseIncludedItem

OrganizationAsUserResponseIncludedItem is a convenience function that returns Organization wrapped in UserResponseIncludedItem

func PermissionAsUserResponseIncludedItem

func PermissionAsUserResponseIncludedItem(v *Permission) UserResponseIncludedItem

PermissionAsUserResponseIncludedItem is a convenience function that returns Permission wrapped in UserResponseIncludedItem

func RoleAsUserResponseIncludedItem

func RoleAsUserResponseIncludedItem(v *Role) UserResponseIncludedItem

RoleAsUserResponseIncludedItem is a convenience function that returns Role wrapped in UserResponseIncludedItem

func (*UserResponseIncludedItem) GetActualInstance

func (obj *UserResponseIncludedItem) GetActualInstance() interface{}

Get the actual instance

func (UserResponseIncludedItem) MarshalJSON

func (src UserResponseIncludedItem) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UserResponseIncludedItem) UnmarshalJSON

func (dst *UserResponseIncludedItem) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UserResponseRelationships

type UserResponseRelationships struct {
	Org        *RelationshipToOrganization  `json:"org,omitempty"`
	OtherOrgs  *RelationshipToOrganizations `json:"other_orgs,omitempty"`
	OtherUsers *RelationshipToUsers         `json:"other_users,omitempty"`
	Roles      *RelationshipToRoles         `json:"roles,omitempty"`
}

UserResponseRelationships Relationships of the user object returned by the API.

func NewUserResponseRelationships

func NewUserResponseRelationships() *UserResponseRelationships

NewUserResponseRelationships instantiates a new UserResponseRelationships 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 NewUserResponseRelationshipsWithDefaults

func NewUserResponseRelationshipsWithDefaults() *UserResponseRelationships

NewUserResponseRelationshipsWithDefaults instantiates a new UserResponseRelationships 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 (*UserResponseRelationships) GetOrg

GetOrg returns the Org field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOrgOk

GetOrgOk returns a tuple with the Org field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetOtherOrgs

GetOtherOrgs returns the OtherOrgs field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOtherOrgsOk

GetOtherOrgsOk returns a tuple with the OtherOrgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetOtherUsers

GetOtherUsers returns the OtherUsers field value if set, zero value otherwise.

func (*UserResponseRelationships) GetOtherUsersOk

func (o *UserResponseRelationships) GetOtherUsersOk() (*RelationshipToUsers, bool)

GetOtherUsersOk returns a tuple with the OtherUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) GetRoles

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserResponseRelationships) GetRolesOk

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponseRelationships) HasOrg

func (o *UserResponseRelationships) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (*UserResponseRelationships) HasOtherOrgs

func (o *UserResponseRelationships) HasOtherOrgs() bool

HasOtherOrgs returns a boolean if a field has been set.

func (*UserResponseRelationships) HasOtherUsers

func (o *UserResponseRelationships) HasOtherUsers() bool

HasOtherUsers returns a boolean if a field has been set.

func (*UserResponseRelationships) HasRoles

func (o *UserResponseRelationships) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (UserResponseRelationships) MarshalJSON

func (o UserResponseRelationships) MarshalJSON() ([]byte, error)

func (*UserResponseRelationships) SetOrg

SetOrg gets a reference to the given RelationshipToOrganization and assigns it to the Org field.

func (*UserResponseRelationships) SetOtherOrgs

SetOtherOrgs gets a reference to the given RelationshipToOrganizations and assigns it to the OtherOrgs field.

func (*UserResponseRelationships) SetOtherUsers

func (o *UserResponseRelationships) SetOtherUsers(v RelationshipToUsers)

SetOtherUsers gets a reference to the given RelationshipToUsers and assigns it to the OtherUsers field.

func (*UserResponseRelationships) SetRoles

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

type UserUpdateAttributes

type UserUpdateAttributes struct {
	// If the user is enabled or disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// The email of the user.
	Email *string `json:"email,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
}

UserUpdateAttributes Attributes of the edited user.

func NewUserUpdateAttributes

func NewUserUpdateAttributes() *UserUpdateAttributes

NewUserUpdateAttributes instantiates a new UserUpdateAttributes 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 NewUserUpdateAttributesWithDefaults

func NewUserUpdateAttributesWithDefaults() *UserUpdateAttributes

NewUserUpdateAttributesWithDefaults instantiates a new UserUpdateAttributes 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 (*UserUpdateAttributes) GetDisabled

func (o *UserUpdateAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetDisabledOk

func (o *UserUpdateAttributes) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateAttributes) GetEmail

func (o *UserUpdateAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetEmailOk

func (o *UserUpdateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateAttributes) GetName

func (o *UserUpdateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserUpdateAttributes) GetNameOk

func (o *UserUpdateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateAttributes) HasDisabled

func (o *UserUpdateAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UserUpdateAttributes) HasEmail

func (o *UserUpdateAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserUpdateAttributes) HasName

func (o *UserUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (UserUpdateAttributes) MarshalJSON

func (o UserUpdateAttributes) MarshalJSON() ([]byte, error)

func (*UserUpdateAttributes) SetDisabled

func (o *UserUpdateAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserUpdateAttributes) SetEmail

func (o *UserUpdateAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserUpdateAttributes) SetName

func (o *UserUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type UserUpdateData

type UserUpdateData struct {
	Attributes *UserUpdateAttributes `json:"attributes,omitempty"`
	// ID of the user.
	Id   *string    `json:"id,omitempty"`
	Type *UsersType `json:"type,omitempty"`
}

UserUpdateData Object to update a user.

func NewUserUpdateData

func NewUserUpdateData() *UserUpdateData

NewUserUpdateData instantiates a new UserUpdateData 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 NewUserUpdateDataWithDefaults

func NewUserUpdateDataWithDefaults() *UserUpdateData

NewUserUpdateDataWithDefaults instantiates a new UserUpdateData 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 (*UserUpdateData) GetAttributes

func (o *UserUpdateData) GetAttributes() UserUpdateAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserUpdateData) GetAttributesOk

func (o *UserUpdateData) GetAttributesOk() (*UserUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateData) GetId

func (o *UserUpdateData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UserUpdateData) GetIdOk

func (o *UserUpdateData) 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 (*UserUpdateData) GetType

func (o *UserUpdateData) GetType() UsersType

GetType returns the Type field value if set, zero value otherwise.

func (*UserUpdateData) GetTypeOk

func (o *UserUpdateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateData) HasAttributes

func (o *UserUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserUpdateData) HasId

func (o *UserUpdateData) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserUpdateData) HasType

func (o *UserUpdateData) HasType() bool

HasType returns a boolean if a field has been set.

func (UserUpdateData) MarshalJSON

func (o UserUpdateData) MarshalJSON() ([]byte, error)

func (*UserUpdateData) SetAttributes

func (o *UserUpdateData) SetAttributes(v UserUpdateAttributes)

SetAttributes gets a reference to the given UserUpdateAttributes and assigns it to the Attributes field.

func (*UserUpdateData) SetId

func (o *UserUpdateData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserUpdateData) SetType

func (o *UserUpdateData) SetType(v UsersType)

SetType gets a reference to the given UsersType and assigns it to the Type field.

type UserUpdateRequest

type UserUpdateRequest struct {
	Data *UserUpdateData `json:"data,omitempty"`
}

UserUpdateRequest Update a user.

func NewUserUpdateRequest

func NewUserUpdateRequest() *UserUpdateRequest

NewUserUpdateRequest instantiates a new UserUpdateRequest 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 NewUserUpdateRequestWithDefaults

func NewUserUpdateRequestWithDefaults() *UserUpdateRequest

NewUserUpdateRequestWithDefaults instantiates a new UserUpdateRequest 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 (*UserUpdateRequest) GetData

func (o *UserUpdateRequest) GetData() UserUpdateData

GetData returns the Data field value if set, zero value otherwise.

func (*UserUpdateRequest) GetDataOk

func (o *UserUpdateRequest) GetDataOk() (*UserUpdateData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateRequest) HasData

func (o *UserUpdateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (UserUpdateRequest) MarshalJSON

func (o UserUpdateRequest) MarshalJSON() ([]byte, error)

func (*UserUpdateRequest) SetData

func (o *UserUpdateRequest) SetData(v UserUpdateData)

SetData gets a reference to the given UserUpdateData and assigns it to the Data field.

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) CreateUser

func (a *UsersApiService) CreateUser(ctx _context.Context) apiCreateUserRequest

CreateUser Create a user Create a user for your organization.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiCreateUserRequest

func (*UsersApiService) DisableUser

func (a *UsersApiService) DisableUser(ctx _context.Context, userId string) apiDisableUserRequest

DisableUser Disable a user Disable a user. Can only be used with an application key belonging to an administrator user.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user.

@return apiDisableUserRequest

func (*UsersApiService) GetInvitation

func (a *UsersApiService) GetInvitation(ctx _context.Context, userInvitationUuid string) apiGetInvitationRequest

GetInvitation Get a user invitation Returns a single user invitation by its UUID.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userInvitationUuid The UUID of the user invitation.

@return apiGetInvitationRequest

func (*UsersApiService) GetUser

func (a *UsersApiService) GetUser(ctx _context.Context, userId string) apiGetUserRequest

GetUser Get a user Get a user in the organization specified by the user’s `user_id`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user.

@return apiGetUserRequest

func (*UsersApiService) ListUserOrganizations

func (a *UsersApiService) ListUserOrganizations(ctx _context.Context, userId string) apiListUserOrganizationsRequest

ListUserOrganizations Get a user organization Get a user organization. Returns the user information and all organizations joined by this user.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user.

@return apiListUserOrganizationsRequest

func (*UsersApiService) ListUserPermissions

func (a *UsersApiService) ListUserPermissions(ctx _context.Context, userId string) apiListUserPermissionsRequest

ListUserPermissions Get a user permissions Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user.

@return apiListUserPermissionsRequest

func (*UsersApiService) ListUsers

func (a *UsersApiService) ListUsers(ctx _context.Context) apiListUsersRequest

ListUsers List all users Get the list of all users in the organization. This list includes all users even if they are disabled or unverified.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiListUsersRequest

func (*UsersApiService) SendInvitations

func (a *UsersApiService) SendInvitations(ctx _context.Context) apiSendInvitationsRequest

SendInvitations Send invitation emails Sends emails to one or more users inviting them to join the organization.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiSendInvitationsRequest

func (*UsersApiService) UpdateUser

func (a *UsersApiService) UpdateUser(ctx _context.Context, userId string) apiUpdateUserRequest

UpdateUser Update a user Edit a user. Can only be used with an application key belonging to an administrator user.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user.

@return apiUpdateUserRequest

type UsersResponse

type UsersResponse struct {
	// Array of returned users.
	Data *[]User `json:"data,omitempty"`
	// Array of objects related to the users.
	Included *[]UserResponseIncludedItem `json:"included,omitempty"`
	Meta     *ResponseMetaAttributes     `json:"meta,omitempty"`
}

UsersResponse Response containing information about multiple users.

func NewUsersResponse

func NewUsersResponse() *UsersResponse

NewUsersResponse instantiates a new UsersResponse 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 NewUsersResponseWithDefaults

func NewUsersResponseWithDefaults() *UsersResponse

NewUsersResponseWithDefaults instantiates a new UsersResponse 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 (*UsersResponse) GetData

func (o *UsersResponse) GetData() []User

GetData returns the Data field value if set, zero value otherwise.

func (*UsersResponse) GetDataOk

func (o *UsersResponse) GetDataOk() (*[]User, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetIncluded

func (o *UsersResponse) GetIncluded() []UserResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UsersResponse) GetIncludedOk

func (o *UsersResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UsersResponse) GetMetaOk

func (o *UsersResponse) GetMetaOk() (*ResponseMetaAttributes, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) HasData

func (o *UsersResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UsersResponse) HasIncluded

func (o *UsersResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*UsersResponse) HasMeta

func (o *UsersResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (UsersResponse) MarshalJSON

func (o UsersResponse) MarshalJSON() ([]byte, error)

func (*UsersResponse) SetData

func (o *UsersResponse) SetData(v []User)

SetData gets a reference to the given []User and assigns it to the Data field.

func (*UsersResponse) SetIncluded

func (o *UsersResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

func (*UsersResponse) SetMeta

func (o *UsersResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

type UsersType

type UsersType string

UsersType Users resource type.

const (
	USERSTYPE_USERS UsersType = "users"
)

List of UsersType

func (UsersType) Ptr

func (v UsersType) Ptr() *UsersType

Ptr returns reference to UsersType value

func (*UsersType) UnmarshalJSON

func (v *UsersType) UnmarshalJSON(src []byte) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL