datadog

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 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
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

	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 DashboardListAddItemsResponse

type DashboardListAddItemsResponse struct {
	// List of dashboards added to the dashboard list.
	AddedDashboardsToList *[]DashboardListItem `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() []DashboardListItem

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

func (*DashboardListAddItemsResponse) GetAddedDashboardsToListOk

func (o *DashboardListAddItemsResponse) GetAddedDashboardsToListOk() (*[]DashboardListItem, 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 []DashboardListItem)

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

type DashboardListDeleteItemsResponse

type DashboardListDeleteItemsResponse struct {
	// List of dashboards deleted from the dashboard list.
	DeletedDashboardsFromList *[]DashboardListItem `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() []DashboardListItem

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

func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk

func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk() (*[]DashboardListItem, 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 []DashboardListItem)

SetDeletedDashboardsFromList gets a reference to the given []DashboardListItem 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 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 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 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 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 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 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 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 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 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 NullableRoleCreatePayload

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

func NewNullableRoleCreatePayload

func NewNullableRoleCreatePayload(val *RoleCreatePayload) *NullableRoleCreatePayload

func (NullableRoleCreatePayload) Get

func (NullableRoleCreatePayload) IsSet

func (v NullableRoleCreatePayload) IsSet() bool

func (NullableRoleCreatePayload) MarshalJSON

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

func (*NullableRoleCreatePayload) Set

func (*NullableRoleCreatePayload) UnmarshalJSON

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

func (*NullableRoleCreatePayload) Unset

func (v *NullableRoleCreatePayload) 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 NullableRoleUpdatePayload

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

func NewNullableRoleUpdatePayload

func NewNullableRoleUpdatePayload(val *RoleUpdatePayload) *NullableRoleUpdatePayload

func (NullableRoleUpdatePayload) Get

func (NullableRoleUpdatePayload) IsSet

func (v NullableRoleUpdatePayload) IsSet() bool

func (NullableRoleUpdatePayload) MarshalJSON

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

func (*NullableRoleUpdatePayload) Set

func (*NullableRoleUpdatePayload) UnmarshalJSON

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

func (*NullableRoleUpdatePayload) Unset

func (v *NullableRoleUpdatePayload) 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 NullableUserCreatePayload

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

func NewNullableUserCreatePayload

func NewNullableUserCreatePayload(val *UserCreatePayload) *NullableUserCreatePayload

func (NullableUserCreatePayload) Get

func (NullableUserCreatePayload) IsSet

func (v NullableUserCreatePayload) IsSet() bool

func (NullableUserCreatePayload) MarshalJSON

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

func (*NullableUserCreatePayload) Set

func (*NullableUserCreatePayload) UnmarshalJSON

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

func (*NullableUserCreatePayload) Unset

func (v *NullableUserCreatePayload) 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 NullableUserInvitationPayload

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

func (NullableUserInvitationPayload) Get

func (NullableUserInvitationPayload) IsSet

func (NullableUserInvitationPayload) MarshalJSON

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

func (*NullableUserInvitationPayload) Set

func (*NullableUserInvitationPayload) UnmarshalJSON

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

func (*NullableUserInvitationPayload) Unset

func (v *NullableUserInvitationPayload) 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 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 NullableUserUpdatePayload

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

func NewNullableUserUpdatePayload

func NewNullableUserUpdatePayload(val *UserUpdatePayload) *NullableUserUpdatePayload

func (NullableUserUpdatePayload) Get

func (NullableUserUpdatePayload) IsSet

func (v NullableUserUpdatePayload) IsSet() bool

func (NullableUserUpdatePayload) MarshalJSON

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

func (*NullableUserUpdatePayload) Set

func (*NullableUserUpdatePayload) UnmarshalJSON

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

func (*NullableUserUpdatePayload) Unset

func (v *NullableUserUpdatePayload) 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 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"`
}

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

type RoleCreateAttributes

type RoleCreateAttributes struct {
	// The 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) 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) 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) 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 RoleCreatePayload

type RoleCreatePayload struct {
	Data *RoleCreateData `json:"data,omitempty"`
}

RoleCreatePayload Create a role.

func NewRoleCreatePayload

func NewRoleCreatePayload() *RoleCreatePayload

NewRoleCreatePayload instantiates a new RoleCreatePayload 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 NewRoleCreatePayloadWithDefaults

func NewRoleCreatePayloadWithDefaults() *RoleCreatePayload

NewRoleCreatePayloadWithDefaults instantiates a new RoleCreatePayload 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 (*RoleCreatePayload) GetData

func (o *RoleCreatePayload) GetData() RoleCreateData

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

func (*RoleCreatePayload) GetDataOk

func (o *RoleCreatePayload) 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 (*RoleCreatePayload) HasData

func (o *RoleCreatePayload) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleCreatePayload) MarshalJSON

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

func (*RoleCreatePayload) SetData

func (o *RoleCreatePayload) SetData(v RoleCreateData)

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

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 {
	Org        *RelationshipToOrganization  `json:"org,omitempty"`
	OtherOrgs  *RelationshipToOrganizations `json:"other_orgs,omitempty"`
	OtherRoles *RelationshipToRoles         `json:"other_roles,omitempty"`
	Roles      *RelationshipToRoles         `json:"roles,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) GetOrg

GetOrg returns the Org field value if set, zero value otherwise.

func (*RoleResponseRelationships) 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 (*RoleResponseRelationships) GetOtherOrgs

GetOtherOrgs returns the OtherOrgs field value if set, zero value otherwise.

func (*RoleResponseRelationships) 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 (*RoleResponseRelationships) GetOtherRoles

GetOtherRoles returns the OtherRoles field value if set, zero value otherwise.

func (*RoleResponseRelationships) GetOtherRolesOk

func (o *RoleResponseRelationships) GetOtherRolesOk() (*RelationshipToRoles, bool)

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

func (*RoleResponseRelationships) GetRoles

GetRoles returns the Roles field value if set, zero value otherwise.

func (*RoleResponseRelationships) 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 (*RoleResponseRelationships) HasOrg

func (o *RoleResponseRelationships) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (*RoleResponseRelationships) HasOtherOrgs

func (o *RoleResponseRelationships) HasOtherOrgs() bool

HasOtherOrgs returns a boolean if a field has been set.

func (*RoleResponseRelationships) HasOtherRoles

func (o *RoleResponseRelationships) HasOtherRoles() bool

HasOtherRoles returns a boolean if a field has been set.

func (*RoleResponseRelationships) HasRoles

func (o *RoleResponseRelationships) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (RoleResponseRelationships) MarshalJSON

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

func (*RoleResponseRelationships) SetOrg

SetOrg gets a reference to the given RelationshipToOrganization and assigns it to the Org field.

func (*RoleResponseRelationships) SetOtherOrgs

SetOtherOrgs gets a reference to the given RelationshipToOrganizations and assigns it to the OtherOrgs field.

func (*RoleResponseRelationships) SetOtherRoles

func (o *RoleResponseRelationships) SetOtherRoles(v RelationshipToRoles)

SetOtherRoles gets a reference to the given RelationshipToRoles and assigns it to the OtherRoles field.

func (*RoleResponseRelationships) SetRoles

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

type RoleUpdateAttributes

type RoleUpdateAttributes struct {
	// The name of the role.
	Name *string `json:"name,omitempty"`
}

RoleUpdateAttributes Attributes of the edited 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) 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) 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) 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 RoleUpdatePayload

type RoleUpdatePayload struct {
	Data *RoleUpdateData `json:"data,omitempty"`
}

RoleUpdatePayload Update a role.

func NewRoleUpdatePayload

func NewRoleUpdatePayload() *RoleUpdatePayload

NewRoleUpdatePayload instantiates a new RoleUpdatePayload 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 NewRoleUpdatePayloadWithDefaults

func NewRoleUpdatePayloadWithDefaults() *RoleUpdatePayload

NewRoleUpdatePayloadWithDefaults instantiates a new RoleUpdatePayload 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 (*RoleUpdatePayload) GetData

func (o *RoleUpdatePayload) GetData() RoleUpdateData

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

func (*RoleUpdatePayload) GetDataOk

func (o *RoleUpdatePayload) 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 (*RoleUpdatePayload) HasData

func (o *RoleUpdatePayload) HasData() bool

HasData returns a boolean if a field has been set.

func (RoleUpdatePayload) MarshalJSON

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

func (*RoleUpdatePayload) SetData

func (o *RoleUpdatePayload) SetData(v RoleUpdateData)

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

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 UserCreatePayload

type UserCreatePayload struct {
	Data *UserCreateData `json:"data,omitempty"`
}

UserCreatePayload Create a user.

func NewUserCreatePayload

func NewUserCreatePayload() *UserCreatePayload

NewUserCreatePayload instantiates a new UserCreatePayload 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 NewUserCreatePayloadWithDefaults

func NewUserCreatePayloadWithDefaults() *UserCreatePayload

NewUserCreatePayloadWithDefaults instantiates a new UserCreatePayload 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 (*UserCreatePayload) GetData

func (o *UserCreatePayload) GetData() UserCreateData

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

func (*UserCreatePayload) GetDataOk

func (o *UserCreatePayload) 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 (*UserCreatePayload) HasData

func (o *UserCreatePayload) HasData() bool

HasData returns a boolean if a field has been set.

func (UserCreatePayload) MarshalJSON

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

func (*UserCreatePayload) SetData

func (o *UserCreatePayload) 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 UserInvitationPayload

type UserInvitationPayload struct {
	// List of user invitations.
	Data *[]UserInvitationData `json:"data,omitempty"`
}

UserInvitationPayload Object to invite users to join the organization.

func NewUserInvitationPayload

func NewUserInvitationPayload() *UserInvitationPayload

NewUserInvitationPayload instantiates a new UserInvitationPayload 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 NewUserInvitationPayloadWithDefaults

func NewUserInvitationPayloadWithDefaults() *UserInvitationPayload

NewUserInvitationPayloadWithDefaults instantiates a new UserInvitationPayload 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 (*UserInvitationPayload) GetData

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

func (*UserInvitationPayload) GetDataOk

func (o *UserInvitationPayload) 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 (*UserInvitationPayload) HasData

func (o *UserInvitationPayload) HasData() bool

HasData returns a boolean if a field has been set.

func (UserInvitationPayload) MarshalJSON

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

func (*UserInvitationPayload) SetData

func (o *UserInvitationPayload) SetData(v []UserInvitationData)

SetData gets a reference to the given []UserInvitationData and assigns it to the Data 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 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

func PermissionAsUserResponseIncludedItem

func PermissionAsUserResponseIncludedItem(v *Permission) UserResponseIncludedItem

func RoleAsUserResponseIncludedItem

func RoleAsUserResponseIncludedItem(v *Role) UserResponseIncludedItem

func (*UserResponseIncludedItem) GetActualInstance

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

Get the actual instance

func (UserResponseIncludedItem) MarshalJSON

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

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

func (*UserResponseIncludedItem) UnmarshalJSON

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

Unmarshl 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 UserUpdatePayload

type UserUpdatePayload struct {
	Data *UserUpdateData `json:"data,omitempty"`
}

UserUpdatePayload Update a user.

func NewUserUpdatePayload

func NewUserUpdatePayload() *UserUpdatePayload

NewUserUpdatePayload instantiates a new UserUpdatePayload 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 NewUserUpdatePayloadWithDefaults

func NewUserUpdatePayloadWithDefaults() *UserUpdatePayload

NewUserUpdatePayloadWithDefaults instantiates a new UserUpdatePayload 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 (*UserUpdatePayload) GetData

func (o *UserUpdatePayload) GetData() UserUpdateData

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

func (*UserUpdatePayload) GetDataOk

func (o *UserUpdatePayload) 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 (*UserUpdatePayload) HasData

func (o *UserUpdatePayload) HasData() bool

HasData returns a boolean if a field has been set.

func (UserUpdatePayload) MarshalJSON

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

func (*UserUpdatePayload) SetData

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