models

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedAPIKeyOwnerTypeEnumValues = []APIKeyOwnerType{
	"pdp_config",
	"member",
	"elements",
}

All allowed values of APIKeyOwnerType enum

View Source
var AllowedAttributeTypeEnumValues = []AttributeType{
	"bool",
	"number",
	"string",
	"time",
	"array",
	"json",
}

All allowed values of AttributeType enum

View Source
var AllowedConditionSetTypeEnumValues = []ConditionSetType{
	"userset",
	"resourceset",
}

All allowed values of ConditionSetType enum

View Source
var AllowedElementsPermissionLevelEnumValues = []ElementsPermissionLevel{
	"LEVEL_1",
	"LEVEL_2",
	"LEVEL_3",
	"LEVEL_4",
	"HIDDEN",
	"UNCONFIGURED",
}

All allowed values of ElementsPermissionLevel enum

View Source
var AllowedElementsTypeEnumValues = []ElementsType{
	"user_management",
	"audit_log",
	"approval_flow",
}

All allowed values of ElementsType enum

View Source
var AllowedInviteStatusEnumValues = []InviteStatus{
	"pending",
	"accepted",
	"failed",
	"canceled",
}

All allowed values of InviteStatus enum

View Source
var AllowedMemberAccessLevelEnumValues = []MemberAccessLevel{
	"read",
	"write",
	"admin",
}

All allowed values of MemberAccessLevel enum

View Source
var AllowedMemberAccessObjEnumValues = []MemberAccessObj{
	"org",
	"project",
	"env",
}

All allowed values of MemberAccessObj enum

View Source
var AllowedOnboardingStepEnumValues = []OnboardingStep{
	"create_organization",
	"create_project",
	"create_resource",
	"create_actions",
	"assign_permissions",
	"assign_user_roles",
	"connect_sdk",
	"done",
}

All allowed values of OnboardingStep enum

View Source
var AllowedPolicyRepoStatusEnumValues = []PolicyRepoStatus{
	"invalid",
	"pending",
	"valid",
}

All allowed values of PolicyRepoStatus enum

View Source
var AllowedProgrammingLanguageEnumValues = []ProgrammingLanguage{
	"javascript",
	"python",
	"dotnet",
	"java",
	"kong_gateway",
}

All allowed values of ProgrammingLanguage enum

Functions

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIKeyCreate

type APIKeyCreate struct {
	OrganizationId string             `json:"organization_id"`
	ProjectId      *string            `json:"project_id,omitempty"`
	EnvironmentId  *string            `json:"environment_id,omitempty"`
	ObjectType     *MemberAccessObj   `json:"object_type,omitempty"`
	AccessLevel    *MemberAccessLevel `json:"access_level,omitempty"`
	OwnerType      *APIKeyOwnerType   `json:"owner_type,omitempty"`
}

APIKeyCreate struct for APIKeyCreate

func NewAPIKeyCreate

func NewAPIKeyCreate(organizationId string) *APIKeyCreate

NewAPIKeyCreate instantiates a new APIKeyCreate 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 NewAPIKeyCreateWithDefaults

func NewAPIKeyCreateWithDefaults() *APIKeyCreate

NewAPIKeyCreateWithDefaults instantiates a new APIKeyCreate 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 (*APIKeyCreate) GetAccessLevel

func (o *APIKeyCreate) GetAccessLevel() MemberAccessLevel

GetAccessLevel returns the AccessLevel field value if set, zero value otherwise.

func (*APIKeyCreate) GetAccessLevelOk

func (o *APIKeyCreate) GetAccessLevelOk() (*MemberAccessLevel, bool)

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

func (*APIKeyCreate) GetEnvironmentId

func (o *APIKeyCreate) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*APIKeyCreate) GetEnvironmentIdOk

func (o *APIKeyCreate) GetEnvironmentIdOk() (*string, bool)

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

func (*APIKeyCreate) GetObjectType

func (o *APIKeyCreate) GetObjectType() MemberAccessObj

GetObjectType returns the ObjectType field value if set, zero value otherwise.

func (*APIKeyCreate) GetObjectTypeOk

func (o *APIKeyCreate) GetObjectTypeOk() (*MemberAccessObj, bool)

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

func (*APIKeyCreate) GetOrganizationId

func (o *APIKeyCreate) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*APIKeyCreate) GetOrganizationIdOk

func (o *APIKeyCreate) GetOrganizationIdOk() (*string, bool)

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

func (*APIKeyCreate) GetOwnerType

func (o *APIKeyCreate) GetOwnerType() APIKeyOwnerType

GetOwnerType returns the OwnerType field value if set, zero value otherwise.

func (*APIKeyCreate) GetOwnerTypeOk

func (o *APIKeyCreate) GetOwnerTypeOk() (*APIKeyOwnerType, bool)

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

func (*APIKeyCreate) GetProjectId

func (o *APIKeyCreate) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*APIKeyCreate) GetProjectIdOk

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

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

func (*APIKeyCreate) HasAccessLevel

func (o *APIKeyCreate) HasAccessLevel() bool

HasAccessLevel returns a boolean if a field has been set.

func (*APIKeyCreate) HasEnvironmentId

func (o *APIKeyCreate) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*APIKeyCreate) HasObjectType

func (o *APIKeyCreate) HasObjectType() bool

HasObjectType returns a boolean if a field has been set.

func (*APIKeyCreate) HasOwnerType

func (o *APIKeyCreate) HasOwnerType() bool

HasOwnerType returns a boolean if a field has been set.

func (*APIKeyCreate) HasProjectId

func (o *APIKeyCreate) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (APIKeyCreate) MarshalJSON

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

func (*APIKeyCreate) SetAccessLevel

func (o *APIKeyCreate) SetAccessLevel(v MemberAccessLevel)

SetAccessLevel gets a reference to the given MemberAccessLevel and assigns it to the AccessLevel field.

func (*APIKeyCreate) SetEnvironmentId

func (o *APIKeyCreate) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*APIKeyCreate) SetObjectType

func (o *APIKeyCreate) SetObjectType(v MemberAccessObj)

SetObjectType gets a reference to the given MemberAccessObj and assigns it to the ObjectType field.

func (*APIKeyCreate) SetOrganizationId

func (o *APIKeyCreate) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*APIKeyCreate) SetOwnerType

func (o *APIKeyCreate) SetOwnerType(v APIKeyOwnerType)

SetOwnerType gets a reference to the given APIKeyOwnerType and assigns it to the OwnerType field.

func (*APIKeyCreate) SetProjectId

func (o *APIKeyCreate) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

type APIKeyOwnerType

type APIKeyOwnerType string

APIKeyOwnerType An enumeration.

const (
	PDP_CONFIG APIKeyOwnerType = "pdp_config"
	MEMBER     APIKeyOwnerType = "member"
	ELEMENTS   APIKeyOwnerType = "elements"
)

List of APIKeyOwnerType

func NewAPIKeyOwnerTypeFromValue

func NewAPIKeyOwnerTypeFromValue(v string) (*APIKeyOwnerType, error)

NewAPIKeyOwnerTypeFromValue returns a pointer to a valid APIKeyOwnerType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (APIKeyOwnerType) IsValid

func (v APIKeyOwnerType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (APIKeyOwnerType) Ptr

Ptr returns reference to APIKeyOwnerType value

func (*APIKeyOwnerType) UnmarshalJSON

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

type APIKeyRead

type APIKeyRead struct {
	OrganizationId  string             `json:"organization_id"`
	ProjectId       *string            `json:"project_id,omitempty"`
	EnvironmentId   *string            `json:"environment_id,omitempty"`
	ObjectType      *MemberAccessObj   `json:"object_type,omitempty"`
	AccessLevel     *MemberAccessLevel `json:"access_level,omitempty"`
	OwnerType       APIKeyOwnerType    `json:"owner_type"`
	Id              string             `json:"id"`
	Secret          *string            `json:"secret,omitempty"`
	CreatedAt       time.Time          `json:"created_at"`
	CreatedByMember OrgMemberRead      `json:"created_by_member"`
	LastUsedAt      *time.Time         `json:"last_used_at,omitempty"`
}

APIKeyRead struct for APIKeyRead

func NewAPIKeyRead

func NewAPIKeyRead(organizationId string, ownerType APIKeyOwnerType, id string, createdAt time.Time, createdByMember OrgMemberRead) *APIKeyRead

NewAPIKeyRead instantiates a new APIKeyRead 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 NewAPIKeyReadWithDefaults

func NewAPIKeyReadWithDefaults() *APIKeyRead

NewAPIKeyReadWithDefaults instantiates a new APIKeyRead 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 (*APIKeyRead) GetAccessLevel

func (o *APIKeyRead) GetAccessLevel() MemberAccessLevel

GetAccessLevel returns the AccessLevel field value if set, zero value otherwise.

func (*APIKeyRead) GetAccessLevelOk

func (o *APIKeyRead) GetAccessLevelOk() (*MemberAccessLevel, bool)

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

func (*APIKeyRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*APIKeyRead) GetCreatedAtOk

func (o *APIKeyRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*APIKeyRead) GetCreatedByMember

func (o *APIKeyRead) GetCreatedByMember() OrgMemberRead

GetCreatedByMember returns the CreatedByMember field value

func (*APIKeyRead) GetCreatedByMemberOk

func (o *APIKeyRead) GetCreatedByMemberOk() (*OrgMemberRead, bool)

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

func (*APIKeyRead) GetEnvironmentId

func (o *APIKeyRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*APIKeyRead) GetEnvironmentIdOk

func (o *APIKeyRead) GetEnvironmentIdOk() (*string, bool)

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

func (*APIKeyRead) GetId

func (o *APIKeyRead) GetId() string

GetId returns the Id field value

func (*APIKeyRead) GetIdOk

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

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

func (*APIKeyRead) GetLastUsedAt

func (o *APIKeyRead) GetLastUsedAt() time.Time

GetLastUsedAt returns the LastUsedAt field value if set, zero value otherwise.

func (*APIKeyRead) GetLastUsedAtOk

func (o *APIKeyRead) GetLastUsedAtOk() (*time.Time, bool)

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

func (*APIKeyRead) GetObjectType

func (o *APIKeyRead) GetObjectType() MemberAccessObj

GetObjectType returns the ObjectType field value if set, zero value otherwise.

func (*APIKeyRead) GetObjectTypeOk

func (o *APIKeyRead) GetObjectTypeOk() (*MemberAccessObj, bool)

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

func (*APIKeyRead) GetOrganizationId

func (o *APIKeyRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*APIKeyRead) GetOrganizationIdOk

func (o *APIKeyRead) GetOrganizationIdOk() (*string, bool)

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

func (*APIKeyRead) GetOwnerType

func (o *APIKeyRead) GetOwnerType() APIKeyOwnerType

GetOwnerType returns the OwnerType field value

func (*APIKeyRead) GetOwnerTypeOk

func (o *APIKeyRead) GetOwnerTypeOk() (*APIKeyOwnerType, bool)

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

func (*APIKeyRead) GetProjectId

func (o *APIKeyRead) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*APIKeyRead) GetProjectIdOk

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

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

func (*APIKeyRead) GetSecret

func (o *APIKeyRead) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*APIKeyRead) GetSecretOk

func (o *APIKeyRead) GetSecretOk() (*string, bool)

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

func (*APIKeyRead) HasAccessLevel

func (o *APIKeyRead) HasAccessLevel() bool

HasAccessLevel returns a boolean if a field has been set.

func (*APIKeyRead) HasEnvironmentId

func (o *APIKeyRead) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*APIKeyRead) HasLastUsedAt

func (o *APIKeyRead) HasLastUsedAt() bool

HasLastUsedAt returns a boolean if a field has been set.

func (*APIKeyRead) HasObjectType

func (o *APIKeyRead) HasObjectType() bool

HasObjectType returns a boolean if a field has been set.

func (*APIKeyRead) HasProjectId

func (o *APIKeyRead) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*APIKeyRead) HasSecret

func (o *APIKeyRead) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (APIKeyRead) MarshalJSON

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

func (*APIKeyRead) SetAccessLevel

func (o *APIKeyRead) SetAccessLevel(v MemberAccessLevel)

SetAccessLevel gets a reference to the given MemberAccessLevel and assigns it to the AccessLevel field.

func (*APIKeyRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*APIKeyRead) SetCreatedByMember

func (o *APIKeyRead) SetCreatedByMember(v OrgMemberRead)

SetCreatedByMember sets field value

func (*APIKeyRead) SetEnvironmentId

func (o *APIKeyRead) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*APIKeyRead) SetId

func (o *APIKeyRead) SetId(v string)

SetId sets field value

func (*APIKeyRead) SetLastUsedAt

func (o *APIKeyRead) SetLastUsedAt(v time.Time)

SetLastUsedAt gets a reference to the given time.Time and assigns it to the LastUsedAt field.

func (*APIKeyRead) SetObjectType

func (o *APIKeyRead) SetObjectType(v MemberAccessObj)

SetObjectType gets a reference to the given MemberAccessObj and assigns it to the ObjectType field.

func (*APIKeyRead) SetOrganizationId

func (o *APIKeyRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*APIKeyRead) SetOwnerType

func (o *APIKeyRead) SetOwnerType(v APIKeyOwnerType)

SetOwnerType sets field value

func (*APIKeyRead) SetProjectId

func (o *APIKeyRead) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*APIKeyRead) SetSecret

func (o *APIKeyRead) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

type APIKeyScopeRead

type APIKeyScopeRead struct {
	// Unique id of the organization that the api_key belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the api_key belongs to.
	ProjectId *string `json:"project_id,omitempty"`
	// Unique id of the environment that the api_key belongs to.
	EnvironmentId *string `json:"environment_id,omitempty"`
}

APIKeyScopeRead struct for APIKeyScopeRead

func NewAPIKeyScopeRead

func NewAPIKeyScopeRead(organizationId string) *APIKeyScopeRead

NewAPIKeyScopeRead instantiates a new APIKeyScopeRead 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 NewAPIKeyScopeReadWithDefaults

func NewAPIKeyScopeReadWithDefaults() *APIKeyScopeRead

NewAPIKeyScopeReadWithDefaults instantiates a new APIKeyScopeRead 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 (*APIKeyScopeRead) GetEnvironmentId

func (o *APIKeyScopeRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*APIKeyScopeRead) GetEnvironmentIdOk

func (o *APIKeyScopeRead) GetEnvironmentIdOk() (*string, bool)

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

func (*APIKeyScopeRead) GetOrganizationId

func (o *APIKeyScopeRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*APIKeyScopeRead) GetOrganizationIdOk

func (o *APIKeyScopeRead) GetOrganizationIdOk() (*string, bool)

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

func (*APIKeyScopeRead) GetProjectId

func (o *APIKeyScopeRead) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*APIKeyScopeRead) GetProjectIdOk

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

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

func (*APIKeyScopeRead) HasEnvironmentId

func (o *APIKeyScopeRead) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*APIKeyScopeRead) HasProjectId

func (o *APIKeyScopeRead) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (APIKeyScopeRead) MarshalJSON

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

func (*APIKeyScopeRead) SetEnvironmentId

func (o *APIKeyScopeRead) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*APIKeyScopeRead) SetOrganizationId

func (o *APIKeyScopeRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*APIKeyScopeRead) SetProjectId

func (o *APIKeyScopeRead) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

type ActionBlockEditable

type ActionBlockEditable struct {
	// a more descriptive name for the action
	Name *string `json:"name,omitempty"`
	// optional description string explaining what this action represents in your system
	Description *string `json:"description,omitempty"`
}

ActionBlockEditable struct for ActionBlockEditable

func NewActionBlockEditable

func NewActionBlockEditable() *ActionBlockEditable

NewActionBlockEditable instantiates a new ActionBlockEditable 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 NewActionBlockEditableWithDefaults

func NewActionBlockEditableWithDefaults() *ActionBlockEditable

NewActionBlockEditableWithDefaults instantiates a new ActionBlockEditable 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 (*ActionBlockEditable) GetDescription

func (o *ActionBlockEditable) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ActionBlockEditable) GetDescriptionOk

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

func (o *ActionBlockEditable) GetName() string

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

func (*ActionBlockEditable) GetNameOk

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

func (o *ActionBlockEditable) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ActionBlockEditable) HasName

func (o *ActionBlockEditable) HasName() bool

HasName returns a boolean if a field has been set.

func (ActionBlockEditable) MarshalJSON

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

func (*ActionBlockEditable) SetDescription

func (o *ActionBlockEditable) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ActionBlockEditable) SetName

func (o *ActionBlockEditable) SetName(v string)

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

type ActionBlockRead

type ActionBlockRead struct {
	// a more descriptive name for the action
	Name *string `json:"name,omitempty"`
	// optional description string explaining what this action represents in your system
	Description *string `json:"description,omitempty"`
	// Unique id of the action
	Id string `json:"id"`
	// action key
	Key *string `json:"key,omitempty"`
}

ActionBlockRead struct for ActionBlockRead

func NewActionBlockRead

func NewActionBlockRead(id string) *ActionBlockRead

NewActionBlockRead instantiates a new ActionBlockRead 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 NewActionBlockReadWithDefaults

func NewActionBlockReadWithDefaults() *ActionBlockRead

NewActionBlockReadWithDefaults instantiates a new ActionBlockRead 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 (*ActionBlockRead) GetDescription

func (o *ActionBlockRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ActionBlockRead) GetDescriptionOk

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

func (o *ActionBlockRead) GetId() string

GetId returns the Id field value

func (*ActionBlockRead) GetIdOk

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

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

func (*ActionBlockRead) GetKey

func (o *ActionBlockRead) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ActionBlockRead) GetKeyOk

func (o *ActionBlockRead) GetKeyOk() (*string, bool)

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

func (*ActionBlockRead) GetName

func (o *ActionBlockRead) GetName() string

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

func (*ActionBlockRead) GetNameOk

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

func (o *ActionBlockRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ActionBlockRead) HasKey

func (o *ActionBlockRead) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ActionBlockRead) HasName

func (o *ActionBlockRead) HasName() bool

HasName returns a boolean if a field has been set.

func (ActionBlockRead) MarshalJSON

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

func (*ActionBlockRead) SetDescription

func (o *ActionBlockRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ActionBlockRead) SetId

func (o *ActionBlockRead) SetId(v string)

SetId sets field value

func (*ActionBlockRead) SetKey

func (o *ActionBlockRead) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ActionBlockRead) SetName

func (o *ActionBlockRead) SetName(v string)

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

type Actor

type Actor struct {
	AuthnMeAPIKeyRead *AuthnMeAPIKeyRead
	AuthnMeMemberRead *AuthnMeMemberRead
	AuthnMeUserRead   *AuthnMeUserRead
}

Actor - struct for Actor

func AuthnMeAPIKeyReadAsActor

func AuthnMeAPIKeyReadAsActor(v *AuthnMeAPIKeyRead) Actor

AuthnMeAPIKeyReadAsActor is a convenience function that returns AuthnMeAPIKeyRead wrapped in Actor

func AuthnMeMemberReadAsActor

func AuthnMeMemberReadAsActor(v *AuthnMeMemberRead) Actor

AuthnMeMemberReadAsActor is a convenience function that returns AuthnMeMemberRead wrapped in Actor

func AuthnMeUserReadAsActor

func AuthnMeUserReadAsActor(v *AuthnMeUserRead) Actor

AuthnMeUserReadAsActor is a convenience function that returns AuthnMeUserRead wrapped in Actor

func (*Actor) GetActualInstance

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

Get the actual instance

func (Actor) MarshalJSON

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

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

func (*Actor) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type AddRolePermissions

type AddRolePermissions struct {
	// List of permissions to assign to the role. If a permission is already granted to the role it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the \"permission name\".
	Permissions []string `json:"permissions"`
}

AddRolePermissions struct for AddRolePermissions

func NewAddRolePermissions

func NewAddRolePermissions(permissions []string) *AddRolePermissions

NewAddRolePermissions instantiates a new AddRolePermissions 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 NewAddRolePermissionsWithDefaults

func NewAddRolePermissionsWithDefaults() *AddRolePermissions

NewAddRolePermissionsWithDefaults instantiates a new AddRolePermissions 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 (*AddRolePermissions) GetPermissions

func (o *AddRolePermissions) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*AddRolePermissions) GetPermissionsOk

func (o *AddRolePermissions) GetPermissionsOk() ([]string, bool)

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

func (AddRolePermissions) MarshalJSON

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

func (*AddRolePermissions) SetPermissions

func (o *AddRolePermissions) SetPermissions(v []string)

SetPermissions sets field value

type AttributeBlockEditable

type AttributeBlockEditable struct {
	// The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`.
	Type AttributeType `json:"type"`
	// optional description string explaining what data this attribute will store
	Description *string `json:"description,omitempty"`
}

AttributeBlockEditable struct for AttributeBlockEditable

func NewAttributeBlockEditable

func NewAttributeBlockEditable(type_ AttributeType) *AttributeBlockEditable

NewAttributeBlockEditable instantiates a new AttributeBlockEditable 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 NewAttributeBlockEditableWithDefaults

func NewAttributeBlockEditableWithDefaults() *AttributeBlockEditable

NewAttributeBlockEditableWithDefaults instantiates a new AttributeBlockEditable 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 (*AttributeBlockEditable) GetDescription

func (o *AttributeBlockEditable) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AttributeBlockEditable) GetDescriptionOk

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

GetType returns the Type field value

func (*AttributeBlockEditable) GetTypeOk

func (o *AttributeBlockEditable) GetTypeOk() (*AttributeType, bool)

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

func (*AttributeBlockEditable) HasDescription

func (o *AttributeBlockEditable) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (AttributeBlockEditable) MarshalJSON

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

func (*AttributeBlockEditable) SetDescription

func (o *AttributeBlockEditable) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AttributeBlockEditable) SetType

func (o *AttributeBlockEditable) SetType(v AttributeType)

SetType sets field value

type AttributeBlockRead

type AttributeBlockRead struct {
	// The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`.
	Type AttributeType `json:"type"`
	// optional description string explaining what data this attribute will store
	Description *string `json:"description,omitempty"`
	// Unique id of the attribute
	Id string `json:"id"`
	// action key
	Key *string `json:"key,omitempty"`
}

AttributeBlockRead struct for AttributeBlockRead

func NewAttributeBlockRead

func NewAttributeBlockRead(type_ AttributeType, id string) *AttributeBlockRead

NewAttributeBlockRead instantiates a new AttributeBlockRead 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 NewAttributeBlockReadWithDefaults

func NewAttributeBlockReadWithDefaults() *AttributeBlockRead

NewAttributeBlockReadWithDefaults instantiates a new AttributeBlockRead 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 (*AttributeBlockRead) GetDescription

func (o *AttributeBlockRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AttributeBlockRead) GetDescriptionOk

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

func (o *AttributeBlockRead) GetId() string

GetId returns the Id field value

func (*AttributeBlockRead) GetIdOk

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

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

func (*AttributeBlockRead) GetKey

func (o *AttributeBlockRead) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*AttributeBlockRead) GetKeyOk

func (o *AttributeBlockRead) GetKeyOk() (*string, bool)

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

func (*AttributeBlockRead) GetType

func (o *AttributeBlockRead) GetType() AttributeType

GetType returns the Type field value

func (*AttributeBlockRead) GetTypeOk

func (o *AttributeBlockRead) GetTypeOk() (*AttributeType, bool)

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

func (*AttributeBlockRead) HasDescription

func (o *AttributeBlockRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AttributeBlockRead) HasKey

func (o *AttributeBlockRead) HasKey() bool

HasKey returns a boolean if a field has been set.

func (AttributeBlockRead) MarshalJSON

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

func (*AttributeBlockRead) SetDescription

func (o *AttributeBlockRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AttributeBlockRead) SetId

func (o *AttributeBlockRead) SetId(v string)

SetId sets field value

func (*AttributeBlockRead) SetKey

func (o *AttributeBlockRead) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*AttributeBlockRead) SetType

func (o *AttributeBlockRead) SetType(v AttributeType)

SetType sets field value

type AttributeType

type AttributeType string

AttributeType supported attribute primitives

const (
	BOOL   AttributeType = "bool"
	NUMBER AttributeType = "number"
	STRING AttributeType = "string"
	TIME   AttributeType = "time"
	ARRAY  AttributeType = "array"
	JSON   AttributeType = "json"
)

List of AttributeType

func NewAttributeTypeFromValue

func NewAttributeTypeFromValue(v string) (*AttributeType, error)

NewAttributeTypeFromValue returns a pointer to a valid AttributeType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AttributeType) IsValid

func (v AttributeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AttributeType) Ptr

func (v AttributeType) Ptr() *AttributeType

Ptr returns reference to AttributeType value

func (*AttributeType) UnmarshalJSON

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

type Attributes

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

Attributes struct for Attributes

func (*Attributes) MarshalJSON

func (src *Attributes) MarshalJSON() ([]byte, error)

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

func (*Attributes) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type AuthnMeAPIKeyRead

type AuthnMeAPIKeyRead struct {
	ActorType  *string         `json:"actor_type,omitempty"`
	Id         string          `json:"id"`
	ObjectType MemberAccessObj `json:"object_type"`
	OwnerType  APIKeyOwnerType `json:"owner_type"`
	OrgId      string          `json:"org_id"`
	ProjectId  *string         `json:"project_id,omitempty"`
	EnvId      *string         `json:"env_id,omitempty"`
}

AuthnMeAPIKeyRead struct for AuthnMeAPIKeyRead

func NewAuthnMeAPIKeyRead

func NewAuthnMeAPIKeyRead(id string, objectType MemberAccessObj, ownerType APIKeyOwnerType, orgId string) *AuthnMeAPIKeyRead

NewAuthnMeAPIKeyRead instantiates a new AuthnMeAPIKeyRead 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 NewAuthnMeAPIKeyReadWithDefaults

func NewAuthnMeAPIKeyReadWithDefaults() *AuthnMeAPIKeyRead

NewAuthnMeAPIKeyReadWithDefaults instantiates a new AuthnMeAPIKeyRead 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 (*AuthnMeAPIKeyRead) GetActorType

func (o *AuthnMeAPIKeyRead) GetActorType() string

GetActorType returns the ActorType field value if set, zero value otherwise.

func (*AuthnMeAPIKeyRead) GetActorTypeOk

func (o *AuthnMeAPIKeyRead) GetActorTypeOk() (*string, bool)

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

func (*AuthnMeAPIKeyRead) GetEnvId

func (o *AuthnMeAPIKeyRead) GetEnvId() string

GetEnvId returns the EnvId field value if set, zero value otherwise.

func (*AuthnMeAPIKeyRead) GetEnvIdOk

func (o *AuthnMeAPIKeyRead) GetEnvIdOk() (*string, bool)

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

func (*AuthnMeAPIKeyRead) GetId

func (o *AuthnMeAPIKeyRead) GetId() string

GetId returns the Id field value

func (*AuthnMeAPIKeyRead) GetIdOk

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

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

func (*AuthnMeAPIKeyRead) GetObjectType

func (o *AuthnMeAPIKeyRead) GetObjectType() MemberAccessObj

GetObjectType returns the ObjectType field value

func (*AuthnMeAPIKeyRead) GetObjectTypeOk

func (o *AuthnMeAPIKeyRead) GetObjectTypeOk() (*MemberAccessObj, bool)

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

func (*AuthnMeAPIKeyRead) GetOrgId

func (o *AuthnMeAPIKeyRead) GetOrgId() string

GetOrgId returns the OrgId field value

func (*AuthnMeAPIKeyRead) GetOrgIdOk

func (o *AuthnMeAPIKeyRead) GetOrgIdOk() (*string, bool)

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

func (*AuthnMeAPIKeyRead) GetOwnerType

func (o *AuthnMeAPIKeyRead) GetOwnerType() APIKeyOwnerType

GetOwnerType returns the OwnerType field value

func (*AuthnMeAPIKeyRead) GetOwnerTypeOk

func (o *AuthnMeAPIKeyRead) GetOwnerTypeOk() (*APIKeyOwnerType, bool)

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

func (*AuthnMeAPIKeyRead) GetProjectId

func (o *AuthnMeAPIKeyRead) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*AuthnMeAPIKeyRead) GetProjectIdOk

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

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

func (*AuthnMeAPIKeyRead) HasActorType

func (o *AuthnMeAPIKeyRead) HasActorType() bool

HasActorType returns a boolean if a field has been set.

func (*AuthnMeAPIKeyRead) HasEnvId

func (o *AuthnMeAPIKeyRead) HasEnvId() bool

HasEnvId returns a boolean if a field has been set.

func (*AuthnMeAPIKeyRead) HasProjectId

func (o *AuthnMeAPIKeyRead) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (AuthnMeAPIKeyRead) MarshalJSON

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

func (*AuthnMeAPIKeyRead) SetActorType

func (o *AuthnMeAPIKeyRead) SetActorType(v string)

SetActorType gets a reference to the given string and assigns it to the ActorType field.

func (*AuthnMeAPIKeyRead) SetEnvId

func (o *AuthnMeAPIKeyRead) SetEnvId(v string)

SetEnvId gets a reference to the given string and assigns it to the EnvId field.

func (*AuthnMeAPIKeyRead) SetId

func (o *AuthnMeAPIKeyRead) SetId(v string)

SetId sets field value

func (*AuthnMeAPIKeyRead) SetObjectType

func (o *AuthnMeAPIKeyRead) SetObjectType(v MemberAccessObj)

SetObjectType sets field value

func (*AuthnMeAPIKeyRead) SetOrgId

func (o *AuthnMeAPIKeyRead) SetOrgId(v string)

SetOrgId sets field value

func (*AuthnMeAPIKeyRead) SetOwnerType

func (o *AuthnMeAPIKeyRead) SetOwnerType(v APIKeyOwnerType)

SetOwnerType sets field value

func (*AuthnMeAPIKeyRead) SetProjectId

func (o *AuthnMeAPIKeyRead) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

type AuthnMeMemberRead

type AuthnMeMemberRead struct {
	ActorType *string `json:"actor_type,omitempty"`
	Id        string  `json:"id"`
	// Email of the user controlling this account
	Email string `json:"email"`
	// Name of this user
	Name *string `json:"name,omitempty"`
	// Given name of the user
	GivenName *string `json:"given_name,omitempty"`
	// Family name of the user
	FamilyName *string `json:"family_name,omitempty"`
	// URL to picture, photo, or avatar of the user that controls this account.
	Picture        *string        `json:"picture,omitempty"`
	IsOnboarding   bool           `json:"is_onboarding"`
	OnboardingStep OnboardingStep `json:"onboarding_step"`
}

AuthnMeMemberRead struct for AuthnMeMemberRead

func NewAuthnMeMemberRead

func NewAuthnMeMemberRead(id string, email string, isOnboarding bool, onboardingStep OnboardingStep) *AuthnMeMemberRead

NewAuthnMeMemberRead instantiates a new AuthnMeMemberRead 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 NewAuthnMeMemberReadWithDefaults

func NewAuthnMeMemberReadWithDefaults() *AuthnMeMemberRead

NewAuthnMeMemberReadWithDefaults instantiates a new AuthnMeMemberRead 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 (*AuthnMeMemberRead) GetActorType

func (o *AuthnMeMemberRead) GetActorType() string

GetActorType returns the ActorType field value if set, zero value otherwise.

func (*AuthnMeMemberRead) GetActorTypeOk

func (o *AuthnMeMemberRead) GetActorTypeOk() (*string, bool)

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

func (*AuthnMeMemberRead) GetEmail

func (o *AuthnMeMemberRead) GetEmail() string

GetEmail returns the Email field value

func (*AuthnMeMemberRead) GetEmailOk

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

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

func (*AuthnMeMemberRead) GetFamilyName

func (o *AuthnMeMemberRead) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*AuthnMeMemberRead) GetFamilyNameOk

func (o *AuthnMeMemberRead) GetFamilyNameOk() (*string, bool)

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

func (*AuthnMeMemberRead) GetGivenName

func (o *AuthnMeMemberRead) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*AuthnMeMemberRead) GetGivenNameOk

func (o *AuthnMeMemberRead) GetGivenNameOk() (*string, bool)

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

func (*AuthnMeMemberRead) GetId

func (o *AuthnMeMemberRead) GetId() string

GetId returns the Id field value

func (*AuthnMeMemberRead) GetIdOk

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

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

func (*AuthnMeMemberRead) GetIsOnboarding

func (o *AuthnMeMemberRead) GetIsOnboarding() bool

GetIsOnboarding returns the IsOnboarding field value

func (*AuthnMeMemberRead) GetIsOnboardingOk

func (o *AuthnMeMemberRead) GetIsOnboardingOk() (*bool, bool)

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

func (*AuthnMeMemberRead) GetName

func (o *AuthnMeMemberRead) GetName() string

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

func (*AuthnMeMemberRead) GetNameOk

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

func (o *AuthnMeMemberRead) GetOnboardingStep() OnboardingStep

GetOnboardingStep returns the OnboardingStep field value

func (*AuthnMeMemberRead) GetOnboardingStepOk

func (o *AuthnMeMemberRead) GetOnboardingStepOk() (*OnboardingStep, bool)

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

func (*AuthnMeMemberRead) GetPicture

func (o *AuthnMeMemberRead) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*AuthnMeMemberRead) GetPictureOk

func (o *AuthnMeMemberRead) GetPictureOk() (*string, bool)

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

func (*AuthnMeMemberRead) HasActorType

func (o *AuthnMeMemberRead) HasActorType() bool

HasActorType returns a boolean if a field has been set.

func (*AuthnMeMemberRead) HasFamilyName

func (o *AuthnMeMemberRead) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*AuthnMeMemberRead) HasGivenName

func (o *AuthnMeMemberRead) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*AuthnMeMemberRead) HasName

func (o *AuthnMeMemberRead) HasName() bool

HasName returns a boolean if a field has been set.

func (*AuthnMeMemberRead) HasPicture

func (o *AuthnMeMemberRead) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (AuthnMeMemberRead) MarshalJSON

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

func (*AuthnMeMemberRead) SetActorType

func (o *AuthnMeMemberRead) SetActorType(v string)

SetActorType gets a reference to the given string and assigns it to the ActorType field.

func (*AuthnMeMemberRead) SetEmail

func (o *AuthnMeMemberRead) SetEmail(v string)

SetEmail sets field value

func (*AuthnMeMemberRead) SetFamilyName

func (o *AuthnMeMemberRead) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*AuthnMeMemberRead) SetGivenName

func (o *AuthnMeMemberRead) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*AuthnMeMemberRead) SetId

func (o *AuthnMeMemberRead) SetId(v string)

SetId sets field value

func (*AuthnMeMemberRead) SetIsOnboarding

func (o *AuthnMeMemberRead) SetIsOnboarding(v bool)

SetIsOnboarding sets field value

func (*AuthnMeMemberRead) SetName

func (o *AuthnMeMemberRead) SetName(v string)

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

func (*AuthnMeMemberRead) SetOnboardingStep

func (o *AuthnMeMemberRead) SetOnboardingStep(v OnboardingStep)

SetOnboardingStep sets field value

func (*AuthnMeMemberRead) SetPicture

func (o *AuthnMeMemberRead) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

type AuthnMeRead

type AuthnMeRead struct {
	Actor Actor `json:"actor"`
}

AuthnMeRead struct for AuthnMeRead

func NewAuthnMeRead

func NewAuthnMeRead(actor Actor) *AuthnMeRead

NewAuthnMeRead instantiates a new AuthnMeRead 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 NewAuthnMeReadWithDefaults

func NewAuthnMeReadWithDefaults() *AuthnMeRead

NewAuthnMeReadWithDefaults instantiates a new AuthnMeRead 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 (*AuthnMeRead) GetActor

func (o *AuthnMeRead) GetActor() Actor

GetActor returns the Actor field value

func (*AuthnMeRead) GetActorOk

func (o *AuthnMeRead) GetActorOk() (*Actor, bool)

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

func (AuthnMeRead) MarshalJSON

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

func (*AuthnMeRead) SetActor

func (o *AuthnMeRead) SetActor(v Actor)

SetActor sets field value

type AuthnMeUserRead

type AuthnMeUserRead struct {
	ActorType *string `json:"actor_type,omitempty"`
	Id        string  `json:"id"`
	Key       string  `json:"key"`
	OrgId     string  `json:"org_id"`
	ProjectId string  `json:"project_id"`
	EnvId     string  `json:"env_id"`
	TenantId  string  `json:"tenant_id"`
	// Email of the user controlling this account
	Email string `json:"email"`
	// Name of this user
	Name *string `json:"name,omitempty"`
	// Given name of the user
	GivenName *string `json:"given_name,omitempty"`
	// Family name of the user
	FamilyName *string `json:"family_name,omitempty"`
	// URL to picture, photo, or avatar of the user that controls this account.
	Picture         *string                 `json:"picture,omitempty"`
	PermissionLevel ElementsPermissionLevel `json:"permission_level"`
	IsOnboarding    *bool                   `json:"is_onboarding,omitempty"`
	OnboardingStep  *string                 `json:"onboarding_step,omitempty"`
}

AuthnMeUserRead struct for AuthnMeUserRead

func NewAuthnMeUserRead

func NewAuthnMeUserRead(id string, key string, orgId string, projectId string, envId string, tenantId string, email string, permissionLevel ElementsPermissionLevel) *AuthnMeUserRead

NewAuthnMeUserRead instantiates a new AuthnMeUserRead 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 NewAuthnMeUserReadWithDefaults

func NewAuthnMeUserReadWithDefaults() *AuthnMeUserRead

NewAuthnMeUserReadWithDefaults instantiates a new AuthnMeUserRead 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 (*AuthnMeUserRead) GetActorType

func (o *AuthnMeUserRead) GetActorType() string

GetActorType returns the ActorType field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetActorTypeOk

func (o *AuthnMeUserRead) GetActorTypeOk() (*string, bool)

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

func (*AuthnMeUserRead) GetEmail

func (o *AuthnMeUserRead) GetEmail() string

GetEmail returns the Email field value

func (*AuthnMeUserRead) GetEmailOk

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

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

func (*AuthnMeUserRead) GetEnvId

func (o *AuthnMeUserRead) GetEnvId() string

GetEnvId returns the EnvId field value

func (*AuthnMeUserRead) GetEnvIdOk

func (o *AuthnMeUserRead) GetEnvIdOk() (*string, bool)

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

func (*AuthnMeUserRead) GetFamilyName

func (o *AuthnMeUserRead) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetFamilyNameOk

func (o *AuthnMeUserRead) GetFamilyNameOk() (*string, bool)

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

func (*AuthnMeUserRead) GetGivenName

func (o *AuthnMeUserRead) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetGivenNameOk

func (o *AuthnMeUserRead) GetGivenNameOk() (*string, bool)

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

func (*AuthnMeUserRead) GetId

func (o *AuthnMeUserRead) GetId() string

GetId returns the Id field value

func (*AuthnMeUserRead) GetIdOk

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

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

func (*AuthnMeUserRead) GetIsOnboarding

func (o *AuthnMeUserRead) GetIsOnboarding() bool

GetIsOnboarding returns the IsOnboarding field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetIsOnboardingOk

func (o *AuthnMeUserRead) GetIsOnboardingOk() (*bool, bool)

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

func (*AuthnMeUserRead) GetKey

func (o *AuthnMeUserRead) GetKey() string

GetKey returns the Key field value

func (*AuthnMeUserRead) GetKeyOk

func (o *AuthnMeUserRead) GetKeyOk() (*string, bool)

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

func (*AuthnMeUserRead) GetName

func (o *AuthnMeUserRead) GetName() string

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

func (*AuthnMeUserRead) GetNameOk

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

func (o *AuthnMeUserRead) GetOnboardingStep() string

GetOnboardingStep returns the OnboardingStep field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetOnboardingStepOk

func (o *AuthnMeUserRead) GetOnboardingStepOk() (*string, bool)

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

func (*AuthnMeUserRead) GetOrgId

func (o *AuthnMeUserRead) GetOrgId() string

GetOrgId returns the OrgId field value

func (*AuthnMeUserRead) GetOrgIdOk

func (o *AuthnMeUserRead) GetOrgIdOk() (*string, bool)

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

func (*AuthnMeUserRead) GetPermissionLevel

func (o *AuthnMeUserRead) GetPermissionLevel() ElementsPermissionLevel

GetPermissionLevel returns the PermissionLevel field value

func (*AuthnMeUserRead) GetPermissionLevelOk

func (o *AuthnMeUserRead) GetPermissionLevelOk() (*ElementsPermissionLevel, bool)

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

func (*AuthnMeUserRead) GetPicture

func (o *AuthnMeUserRead) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*AuthnMeUserRead) GetPictureOk

func (o *AuthnMeUserRead) GetPictureOk() (*string, bool)

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

func (*AuthnMeUserRead) GetProjectId

func (o *AuthnMeUserRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*AuthnMeUserRead) GetProjectIdOk

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

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

func (*AuthnMeUserRead) GetTenantId

func (o *AuthnMeUserRead) GetTenantId() string

GetTenantId returns the TenantId field value

func (*AuthnMeUserRead) GetTenantIdOk

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

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

func (*AuthnMeUserRead) HasActorType

func (o *AuthnMeUserRead) HasActorType() bool

HasActorType returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasFamilyName

func (o *AuthnMeUserRead) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasGivenName

func (o *AuthnMeUserRead) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasIsOnboarding

func (o *AuthnMeUserRead) HasIsOnboarding() bool

HasIsOnboarding returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasName

func (o *AuthnMeUserRead) HasName() bool

HasName returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasOnboardingStep

func (o *AuthnMeUserRead) HasOnboardingStep() bool

HasOnboardingStep returns a boolean if a field has been set.

func (*AuthnMeUserRead) HasPicture

func (o *AuthnMeUserRead) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (AuthnMeUserRead) MarshalJSON

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

func (*AuthnMeUserRead) SetActorType

func (o *AuthnMeUserRead) SetActorType(v string)

SetActorType gets a reference to the given string and assigns it to the ActorType field.

func (*AuthnMeUserRead) SetEmail

func (o *AuthnMeUserRead) SetEmail(v string)

SetEmail sets field value

func (*AuthnMeUserRead) SetEnvId

func (o *AuthnMeUserRead) SetEnvId(v string)

SetEnvId sets field value

func (*AuthnMeUserRead) SetFamilyName

func (o *AuthnMeUserRead) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*AuthnMeUserRead) SetGivenName

func (o *AuthnMeUserRead) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*AuthnMeUserRead) SetId

func (o *AuthnMeUserRead) SetId(v string)

SetId sets field value

func (*AuthnMeUserRead) SetIsOnboarding

func (o *AuthnMeUserRead) SetIsOnboarding(v bool)

SetIsOnboarding gets a reference to the given bool and assigns it to the IsOnboarding field.

func (*AuthnMeUserRead) SetKey

func (o *AuthnMeUserRead) SetKey(v string)

SetKey sets field value

func (*AuthnMeUserRead) SetName

func (o *AuthnMeUserRead) SetName(v string)

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

func (*AuthnMeUserRead) SetOnboardingStep

func (o *AuthnMeUserRead) SetOnboardingStep(v string)

SetOnboardingStep gets a reference to the given string and assigns it to the OnboardingStep field.

func (*AuthnMeUserRead) SetOrgId

func (o *AuthnMeUserRead) SetOrgId(v string)

SetOrgId sets field value

func (*AuthnMeUserRead) SetPermissionLevel

func (o *AuthnMeUserRead) SetPermissionLevel(v ElementsPermissionLevel)

SetPermissionLevel sets field value

func (*AuthnMeUserRead) SetPicture

func (o *AuthnMeUserRead) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

func (*AuthnMeUserRead) SetProjectId

func (o *AuthnMeUserRead) SetProjectId(v string)

SetProjectId sets field value

func (*AuthnMeUserRead) SetTenantId

func (o *AuthnMeUserRead) SetTenantId(v string)

SetTenantId sets field value

type ConditionSetCreate

type ConditionSetCreate struct {
	// A unique id by which Permit will identify the condition set. The key will be used as the generated rego rule name.
	Key string `json:"key"`
	// the type of the set: UserSet or ResourceSet
	Type *ConditionSetType `json:"type,omitempty"`
	// whether the set was autogenerated by the system.
	Autogenerated *bool       `json:"autogenerated,omitempty"`
	ResourceId    *ResourceId `json:"resource_id,omitempty"`
	// A descriptive name for the set, i.e: 'US based employees' or 'Users behind VPN'
	Name string `json:"name"`
	// an optional longer description of the set
	Description *string `json:"description,omitempty"`
	// a boolean expression that consists of multiple conditions, with and/or logic.
	Conditions map[string]interface{} `json:"conditions,omitempty"`
}

ConditionSetCreate struct for ConditionSetCreate

func NewConditionSetCreate

func NewConditionSetCreate(key string, name string) *ConditionSetCreate

NewConditionSetCreate instantiates a new ConditionSetCreate 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 NewConditionSetCreateWithDefaults

func NewConditionSetCreateWithDefaults() *ConditionSetCreate

NewConditionSetCreateWithDefaults instantiates a new ConditionSetCreate 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 (*ConditionSetCreate) GetAutogenerated

func (o *ConditionSetCreate) GetAutogenerated() bool

GetAutogenerated returns the Autogenerated field value if set, zero value otherwise.

func (*ConditionSetCreate) GetAutogeneratedOk

func (o *ConditionSetCreate) GetAutogeneratedOk() (*bool, bool)

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

func (*ConditionSetCreate) GetConditions

func (o *ConditionSetCreate) GetConditions() map[string]interface{}

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*ConditionSetCreate) GetConditionsOk

func (o *ConditionSetCreate) GetConditionsOk() (map[string]interface{}, bool)

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

func (*ConditionSetCreate) GetDescription

func (o *ConditionSetCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ConditionSetCreate) GetDescriptionOk

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

func (o *ConditionSetCreate) GetKey() string

GetKey returns the Key field value

func (*ConditionSetCreate) GetKeyOk

func (o *ConditionSetCreate) GetKeyOk() (*string, bool)

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

func (*ConditionSetCreate) GetName

func (o *ConditionSetCreate) GetName() string

GetName returns the Name field value

func (*ConditionSetCreate) GetNameOk

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

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

func (*ConditionSetCreate) GetResourceId

func (o *ConditionSetCreate) GetResourceId() ResourceId

GetResourceId returns the ResourceId field value if set, zero value otherwise.

func (*ConditionSetCreate) GetResourceIdOk

func (o *ConditionSetCreate) GetResourceIdOk() (*ResourceId, bool)

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

func (*ConditionSetCreate) GetType

func (o *ConditionSetCreate) GetType() ConditionSetType

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

func (*ConditionSetCreate) GetTypeOk

func (o *ConditionSetCreate) GetTypeOk() (*ConditionSetType, 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 (*ConditionSetCreate) HasAutogenerated

func (o *ConditionSetCreate) HasAutogenerated() bool

HasAutogenerated returns a boolean if a field has been set.

func (*ConditionSetCreate) HasConditions

func (o *ConditionSetCreate) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*ConditionSetCreate) HasDescription

func (o *ConditionSetCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ConditionSetCreate) HasResourceId

func (o *ConditionSetCreate) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*ConditionSetCreate) HasType

func (o *ConditionSetCreate) HasType() bool

HasType returns a boolean if a field has been set.

func (ConditionSetCreate) MarshalJSON

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

func (*ConditionSetCreate) SetAutogenerated

func (o *ConditionSetCreate) SetAutogenerated(v bool)

SetAutogenerated gets a reference to the given bool and assigns it to the Autogenerated field.

func (*ConditionSetCreate) SetConditions

func (o *ConditionSetCreate) SetConditions(v map[string]interface{})

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

func (*ConditionSetCreate) SetDescription

func (o *ConditionSetCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ConditionSetCreate) SetKey

func (o *ConditionSetCreate) SetKey(v string)

SetKey sets field value

func (*ConditionSetCreate) SetName

func (o *ConditionSetCreate) SetName(v string)

SetName sets field value

func (*ConditionSetCreate) SetResourceId

func (o *ConditionSetCreate) SetResourceId(v ResourceId)

SetResourceId gets a reference to the given ResourceId and assigns it to the ResourceId field.

func (*ConditionSetCreate) SetType

func (o *ConditionSetCreate) SetType(v ConditionSetType)

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

type ConditionSetRead

type ConditionSetRead struct {
	// A unique id by which Permit will identify the condition set. The key will be used as the generated rego rule name.
	Key string `json:"key"`
	// the type of the set: UserSet or ResourceSet
	Type *ConditionSetType `json:"type,omitempty"`
	// whether the set was autogenerated by the system.
	Autogenerated *bool       `json:"autogenerated,omitempty"`
	ResourceId    *ResourceId `json:"resource_id,omitempty"`
	// Unique id of the condition set
	Id string `json:"id"`
	// Unique id of the organization that the condition set belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the condition set belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the condition set belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the condition set was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the condition set was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time     `json:"updated_at"`
	Resource  *ResourceRead `json:"resource,omitempty"`
	// A descriptive name for the set, i.e: 'US based employees' or 'Users behind VPN'
	Name string `json:"name"`
	// an optional longer description of the set
	Description *string `json:"description,omitempty"`
	// a boolean expression that consists of multiple conditions, with and/or logic.
	Conditions map[string]interface{} `json:"conditions,omitempty"`
}

ConditionSetRead struct for ConditionSetRead

func NewConditionSetRead

func NewConditionSetRead(key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, name string) *ConditionSetRead

NewConditionSetRead instantiates a new ConditionSetRead 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 NewConditionSetReadWithDefaults

func NewConditionSetReadWithDefaults() *ConditionSetRead

NewConditionSetReadWithDefaults instantiates a new ConditionSetRead 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 (*ConditionSetRead) GetAutogenerated

func (o *ConditionSetRead) GetAutogenerated() bool

GetAutogenerated returns the Autogenerated field value if set, zero value otherwise.

func (*ConditionSetRead) GetAutogeneratedOk

func (o *ConditionSetRead) GetAutogeneratedOk() (*bool, bool)

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

func (*ConditionSetRead) GetConditions

func (o *ConditionSetRead) GetConditions() map[string]interface{}

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*ConditionSetRead) GetConditionsOk

func (o *ConditionSetRead) GetConditionsOk() (map[string]interface{}, bool)

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

func (*ConditionSetRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ConditionSetRead) GetCreatedAtOk

func (o *ConditionSetRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*ConditionSetRead) GetDescription

func (o *ConditionSetRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ConditionSetRead) GetDescriptionOk

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

func (o *ConditionSetRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ConditionSetRead) GetEnvironmentIdOk

func (o *ConditionSetRead) GetEnvironmentIdOk() (*string, bool)

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

func (*ConditionSetRead) GetId

func (o *ConditionSetRead) GetId() string

GetId returns the Id field value

func (*ConditionSetRead) GetIdOk

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

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

func (*ConditionSetRead) GetKey

func (o *ConditionSetRead) GetKey() string

GetKey returns the Key field value

func (*ConditionSetRead) GetKeyOk

func (o *ConditionSetRead) GetKeyOk() (*string, bool)

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

func (*ConditionSetRead) GetName

func (o *ConditionSetRead) GetName() string

GetName returns the Name field value

func (*ConditionSetRead) GetNameOk

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

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

func (*ConditionSetRead) GetOrganizationId

func (o *ConditionSetRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ConditionSetRead) GetOrganizationIdOk

func (o *ConditionSetRead) GetOrganizationIdOk() (*string, bool)

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

func (*ConditionSetRead) GetProjectId

func (o *ConditionSetRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ConditionSetRead) GetProjectIdOk

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

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

func (*ConditionSetRead) GetResource

func (o *ConditionSetRead) GetResource() ResourceRead

GetResource returns the Resource field value if set, zero value otherwise.

func (*ConditionSetRead) GetResourceId

func (o *ConditionSetRead) GetResourceId() ResourceId

GetResourceId returns the ResourceId field value if set, zero value otherwise.

func (*ConditionSetRead) GetResourceIdOk

func (o *ConditionSetRead) GetResourceIdOk() (*ResourceId, bool)

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

func (*ConditionSetRead) GetResourceOk

func (o *ConditionSetRead) GetResourceOk() (*ResourceRead, bool)

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

func (*ConditionSetRead) GetType

func (o *ConditionSetRead) GetType() ConditionSetType

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

func (*ConditionSetRead) GetTypeOk

func (o *ConditionSetRead) GetTypeOk() (*ConditionSetType, 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 (*ConditionSetRead) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*ConditionSetRead) GetUpdatedAtOk

func (o *ConditionSetRead) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ConditionSetRead) HasAutogenerated

func (o *ConditionSetRead) HasAutogenerated() bool

HasAutogenerated returns a boolean if a field has been set.

func (*ConditionSetRead) HasConditions

func (o *ConditionSetRead) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*ConditionSetRead) HasDescription

func (o *ConditionSetRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ConditionSetRead) HasResource

func (o *ConditionSetRead) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*ConditionSetRead) HasResourceId

func (o *ConditionSetRead) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*ConditionSetRead) HasType

func (o *ConditionSetRead) HasType() bool

HasType returns a boolean if a field has been set.

func (ConditionSetRead) MarshalJSON

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

func (*ConditionSetRead) SetAutogenerated

func (o *ConditionSetRead) SetAutogenerated(v bool)

SetAutogenerated gets a reference to the given bool and assigns it to the Autogenerated field.

func (*ConditionSetRead) SetConditions

func (o *ConditionSetRead) SetConditions(v map[string]interface{})

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

func (*ConditionSetRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*ConditionSetRead) SetDescription

func (o *ConditionSetRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ConditionSetRead) SetEnvironmentId

func (o *ConditionSetRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ConditionSetRead) SetId

func (o *ConditionSetRead) SetId(v string)

SetId sets field value

func (*ConditionSetRead) SetKey

func (o *ConditionSetRead) SetKey(v string)

SetKey sets field value

func (*ConditionSetRead) SetName

func (o *ConditionSetRead) SetName(v string)

SetName sets field value

func (*ConditionSetRead) SetOrganizationId

func (o *ConditionSetRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ConditionSetRead) SetProjectId

func (o *ConditionSetRead) SetProjectId(v string)

SetProjectId sets field value

func (*ConditionSetRead) SetResource

func (o *ConditionSetRead) SetResource(v ResourceRead)

SetResource gets a reference to the given ResourceRead and assigns it to the Resource field.

func (*ConditionSetRead) SetResourceId

func (o *ConditionSetRead) SetResourceId(v ResourceId)

SetResourceId gets a reference to the given ResourceId and assigns it to the ResourceId field.

func (*ConditionSetRead) SetType

func (o *ConditionSetRead) SetType(v ConditionSetType)

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

func (*ConditionSetRead) SetUpdatedAt

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

SetUpdatedAt sets field value

type ConditionSetRuleCreate

type ConditionSetRuleCreate struct {
	// The userset that will be given permission, i.e: all the users matching this rule will be given the specified permission
	UserSet string `json:"user_set"`
	// The permission that will be granted to the userset *on* the resourceset. The permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the \"permission name\".
	Permission string `json:"permission"`
	// The resourceset that represents the resources that are granted for access, i.e: all the resources matching this rule can be accessed by the userset to perform the granted *permission*
	ResourceSet string `json:"resource_set"`
	// if True, will set the condition set rule to the role's autogen user-set.
	IsRole *bool `json:"is_role,omitempty"`
	// if True, will set the condition set rule to the resource's autogen resource-set.
	IsResource *bool `json:"is_resource,omitempty"`
}

ConditionSetRuleCreate struct for ConditionSetRuleCreate

func NewConditionSetRuleCreate

func NewConditionSetRuleCreate(userSet string, permission string, resourceSet string) *ConditionSetRuleCreate

NewConditionSetRuleCreate instantiates a new ConditionSetRuleCreate 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 NewConditionSetRuleCreateWithDefaults

func NewConditionSetRuleCreateWithDefaults() *ConditionSetRuleCreate

NewConditionSetRuleCreateWithDefaults instantiates a new ConditionSetRuleCreate 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 (*ConditionSetRuleCreate) GetIsResource

func (o *ConditionSetRuleCreate) GetIsResource() bool

GetIsResource returns the IsResource field value if set, zero value otherwise.

func (*ConditionSetRuleCreate) GetIsResourceOk

func (o *ConditionSetRuleCreate) GetIsResourceOk() (*bool, bool)

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

func (*ConditionSetRuleCreate) GetIsRole

func (o *ConditionSetRuleCreate) GetIsRole() bool

GetIsRole returns the IsRole field value if set, zero value otherwise.

func (*ConditionSetRuleCreate) GetIsRoleOk

func (o *ConditionSetRuleCreate) GetIsRoleOk() (*bool, bool)

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

func (*ConditionSetRuleCreate) GetPermission

func (o *ConditionSetRuleCreate) GetPermission() string

GetPermission returns the Permission field value

func (*ConditionSetRuleCreate) GetPermissionOk

func (o *ConditionSetRuleCreate) GetPermissionOk() (*string, bool)

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

func (*ConditionSetRuleCreate) GetResourceSet

func (o *ConditionSetRuleCreate) GetResourceSet() string

GetResourceSet returns the ResourceSet field value

func (*ConditionSetRuleCreate) GetResourceSetOk

func (o *ConditionSetRuleCreate) GetResourceSetOk() (*string, bool)

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

func (*ConditionSetRuleCreate) GetUserSet

func (o *ConditionSetRuleCreate) GetUserSet() string

GetUserSet returns the UserSet field value

func (*ConditionSetRuleCreate) GetUserSetOk

func (o *ConditionSetRuleCreate) GetUserSetOk() (*string, bool)

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

func (*ConditionSetRuleCreate) HasIsResource

func (o *ConditionSetRuleCreate) HasIsResource() bool

HasIsResource returns a boolean if a field has been set.

func (*ConditionSetRuleCreate) HasIsRole

func (o *ConditionSetRuleCreate) HasIsRole() bool

HasIsRole returns a boolean if a field has been set.

func (ConditionSetRuleCreate) MarshalJSON

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

func (*ConditionSetRuleCreate) SetIsResource

func (o *ConditionSetRuleCreate) SetIsResource(v bool)

SetIsResource gets a reference to the given bool and assigns it to the IsResource field.

func (*ConditionSetRuleCreate) SetIsRole

func (o *ConditionSetRuleCreate) SetIsRole(v bool)

SetIsRole gets a reference to the given bool and assigns it to the IsRole field.

func (*ConditionSetRuleCreate) SetPermission

func (o *ConditionSetRuleCreate) SetPermission(v string)

SetPermission sets field value

func (*ConditionSetRuleCreate) SetResourceSet

func (o *ConditionSetRuleCreate) SetResourceSet(v string)

SetResourceSet sets field value

func (*ConditionSetRuleCreate) SetUserSet

func (o *ConditionSetRuleCreate) SetUserSet(v string)

SetUserSet sets field value

type ConditionSetRuleRead

type ConditionSetRuleRead struct {
	// Unique id of the condition set rule
	Id string `json:"id"`
	// A unique id by which Permit will identify this condition set rule.
	Key string `json:"key"`
	// the userset that is currently granted permissions, i.e: all the users matching this rule are granted the permission on the resourceset
	UserSet string `json:"user_set"`
	// a permission that is currently granted to the userset *on* the resourceset.
	Permission string `json:"permission"`
	// the resourceset that represents the resources that are currently granted for access, i.e: all the resources matching this rule can be accessed by the userset to perform the granted *permission*
	ResourceSet string `json:"resource_set"`
	// Unique id of the organization that the condition set rule belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the condition set rule belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the condition set rule belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the condition set rule was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the condition set rule was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
}

ConditionSetRuleRead struct for ConditionSetRuleRead

func NewConditionSetRuleRead

func NewConditionSetRuleRead(id string, key string, userSet string, permission string, resourceSet string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time) *ConditionSetRuleRead

NewConditionSetRuleRead instantiates a new ConditionSetRuleRead 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 NewConditionSetRuleReadWithDefaults

func NewConditionSetRuleReadWithDefaults() *ConditionSetRuleRead

NewConditionSetRuleReadWithDefaults instantiates a new ConditionSetRuleRead 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 (*ConditionSetRuleRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ConditionSetRuleRead) GetCreatedAtOk

func (o *ConditionSetRuleRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*ConditionSetRuleRead) GetEnvironmentId

func (o *ConditionSetRuleRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ConditionSetRuleRead) GetEnvironmentIdOk

func (o *ConditionSetRuleRead) GetEnvironmentIdOk() (*string, bool)

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

func (*ConditionSetRuleRead) GetId

func (o *ConditionSetRuleRead) GetId() string

GetId returns the Id field value

func (*ConditionSetRuleRead) GetIdOk

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

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

func (*ConditionSetRuleRead) GetKey

func (o *ConditionSetRuleRead) GetKey() string

GetKey returns the Key field value

func (*ConditionSetRuleRead) GetKeyOk

func (o *ConditionSetRuleRead) GetKeyOk() (*string, bool)

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

func (*ConditionSetRuleRead) GetOrganizationId

func (o *ConditionSetRuleRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ConditionSetRuleRead) GetOrganizationIdOk

func (o *ConditionSetRuleRead) GetOrganizationIdOk() (*string, bool)

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

func (*ConditionSetRuleRead) GetPermission

func (o *ConditionSetRuleRead) GetPermission() string

GetPermission returns the Permission field value

func (*ConditionSetRuleRead) GetPermissionOk

func (o *ConditionSetRuleRead) GetPermissionOk() (*string, bool)

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

func (*ConditionSetRuleRead) GetProjectId

func (o *ConditionSetRuleRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ConditionSetRuleRead) GetProjectIdOk

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

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

func (*ConditionSetRuleRead) GetResourceSet

func (o *ConditionSetRuleRead) GetResourceSet() string

GetResourceSet returns the ResourceSet field value

func (*ConditionSetRuleRead) GetResourceSetOk

func (o *ConditionSetRuleRead) GetResourceSetOk() (*string, bool)

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

func (*ConditionSetRuleRead) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*ConditionSetRuleRead) GetUpdatedAtOk

func (o *ConditionSetRuleRead) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ConditionSetRuleRead) GetUserSet

func (o *ConditionSetRuleRead) GetUserSet() string

GetUserSet returns the UserSet field value

func (*ConditionSetRuleRead) GetUserSetOk

func (o *ConditionSetRuleRead) GetUserSetOk() (*string, bool)

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

func (ConditionSetRuleRead) MarshalJSON

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

func (*ConditionSetRuleRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*ConditionSetRuleRead) SetEnvironmentId

func (o *ConditionSetRuleRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ConditionSetRuleRead) SetId

func (o *ConditionSetRuleRead) SetId(v string)

SetId sets field value

func (*ConditionSetRuleRead) SetKey

func (o *ConditionSetRuleRead) SetKey(v string)

SetKey sets field value

func (*ConditionSetRuleRead) SetOrganizationId

func (o *ConditionSetRuleRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ConditionSetRuleRead) SetPermission

func (o *ConditionSetRuleRead) SetPermission(v string)

SetPermission sets field value

func (*ConditionSetRuleRead) SetProjectId

func (o *ConditionSetRuleRead) SetProjectId(v string)

SetProjectId sets field value

func (*ConditionSetRuleRead) SetResourceSet

func (o *ConditionSetRuleRead) SetResourceSet(v string)

SetResourceSet sets field value

func (*ConditionSetRuleRead) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*ConditionSetRuleRead) SetUserSet

func (o *ConditionSetRuleRead) SetUserSet(v string)

SetUserSet sets field value

type ConditionSetRuleRemove

type ConditionSetRuleRemove struct {
	// The userset that will be unassigned these permission, i.e: all the users matching this rule will lose the specified permission
	UserSet string `json:"user_set"`
	// The permission that will be removed from the userset *on* the resourceset. The permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the \"permission name\".
	Permission string `json:"permission"`
	// The resourceset that represents the resources that are no longer granted for access, i.e: all the resources matching this rule can no longer be accessed by the userset, and will be revoked the specified *permission*
	ResourceSet string `json:"resource_set"`
	// if True, will set the condition set rule to the role's autogen user-set.
	IsRole *bool `json:"is_role,omitempty"`
	// if True, will set the condition set rule to the resource's autogen resource-set.
	IsResource *bool `json:"is_resource,omitempty"`
}

ConditionSetRuleRemove struct for ConditionSetRuleRemove

func NewConditionSetRuleRemove

func NewConditionSetRuleRemove(userSet string, permission string, resourceSet string) *ConditionSetRuleRemove

NewConditionSetRuleRemove instantiates a new ConditionSetRuleRemove 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 NewConditionSetRuleRemoveWithDefaults

func NewConditionSetRuleRemoveWithDefaults() *ConditionSetRuleRemove

NewConditionSetRuleRemoveWithDefaults instantiates a new ConditionSetRuleRemove 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 (*ConditionSetRuleRemove) GetIsResource

func (o *ConditionSetRuleRemove) GetIsResource() bool

GetIsResource returns the IsResource field value if set, zero value otherwise.

func (*ConditionSetRuleRemove) GetIsResourceOk

func (o *ConditionSetRuleRemove) GetIsResourceOk() (*bool, bool)

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

func (*ConditionSetRuleRemove) GetIsRole

func (o *ConditionSetRuleRemove) GetIsRole() bool

GetIsRole returns the IsRole field value if set, zero value otherwise.

func (*ConditionSetRuleRemove) GetIsRoleOk

func (o *ConditionSetRuleRemove) GetIsRoleOk() (*bool, bool)

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

func (*ConditionSetRuleRemove) GetPermission

func (o *ConditionSetRuleRemove) GetPermission() string

GetPermission returns the Permission field value

func (*ConditionSetRuleRemove) GetPermissionOk

func (o *ConditionSetRuleRemove) GetPermissionOk() (*string, bool)

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

func (*ConditionSetRuleRemove) GetResourceSet

func (o *ConditionSetRuleRemove) GetResourceSet() string

GetResourceSet returns the ResourceSet field value

func (*ConditionSetRuleRemove) GetResourceSetOk

func (o *ConditionSetRuleRemove) GetResourceSetOk() (*string, bool)

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

func (*ConditionSetRuleRemove) GetUserSet

func (o *ConditionSetRuleRemove) GetUserSet() string

GetUserSet returns the UserSet field value

func (*ConditionSetRuleRemove) GetUserSetOk

func (o *ConditionSetRuleRemove) GetUserSetOk() (*string, bool)

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

func (*ConditionSetRuleRemove) HasIsResource

func (o *ConditionSetRuleRemove) HasIsResource() bool

HasIsResource returns a boolean if a field has been set.

func (*ConditionSetRuleRemove) HasIsRole

func (o *ConditionSetRuleRemove) HasIsRole() bool

HasIsRole returns a boolean if a field has been set.

func (ConditionSetRuleRemove) MarshalJSON

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

func (*ConditionSetRuleRemove) SetIsResource

func (o *ConditionSetRuleRemove) SetIsResource(v bool)

SetIsResource gets a reference to the given bool and assigns it to the IsResource field.

func (*ConditionSetRuleRemove) SetIsRole

func (o *ConditionSetRuleRemove) SetIsRole(v bool)

SetIsRole gets a reference to the given bool and assigns it to the IsRole field.

func (*ConditionSetRuleRemove) SetPermission

func (o *ConditionSetRuleRemove) SetPermission(v string)

SetPermission sets field value

func (*ConditionSetRuleRemove) SetResourceSet

func (o *ConditionSetRuleRemove) SetResourceSet(v string)

SetResourceSet sets field value

func (*ConditionSetRuleRemove) SetUserSet

func (o *ConditionSetRuleRemove) SetUserSet(v string)

SetUserSet sets field value

type ConditionSetType

type ConditionSetType string

ConditionSetType An enumeration.

const (
	USERSET     ConditionSetType = "userset"
	RESOURCESET ConditionSetType = "resourceset"
)

List of ConditionSetType

func NewConditionSetTypeFromValue

func NewConditionSetTypeFromValue(v string) (*ConditionSetType, error)

NewConditionSetTypeFromValue returns a pointer to a valid ConditionSetType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ConditionSetType) IsValid

func (v ConditionSetType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ConditionSetType) Ptr

Ptr returns reference to ConditionSetType value

func (*ConditionSetType) UnmarshalJSON

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

type ConditionSetUpdate

type ConditionSetUpdate struct {
	// A descriptive name for the set, i.e: 'US based employees' or 'Users behind VPN'
	Name *string `json:"name,omitempty"`
	// an optional longer description of the set
	Description *string `json:"description,omitempty"`
	// a boolean expression that consists of multiple conditions, with and/or logic.
	Conditions map[string]interface{} `json:"conditions,omitempty"`
}

ConditionSetUpdate struct for ConditionSetUpdate

func NewConditionSetUpdate

func NewConditionSetUpdate() *ConditionSetUpdate

NewConditionSetUpdate instantiates a new ConditionSetUpdate 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 NewConditionSetUpdateWithDefaults

func NewConditionSetUpdateWithDefaults() *ConditionSetUpdate

NewConditionSetUpdateWithDefaults instantiates a new ConditionSetUpdate 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 (*ConditionSetUpdate) GetConditions

func (o *ConditionSetUpdate) GetConditions() map[string]interface{}

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*ConditionSetUpdate) GetConditionsOk

func (o *ConditionSetUpdate) GetConditionsOk() (map[string]interface{}, bool)

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

func (*ConditionSetUpdate) GetDescription

func (o *ConditionSetUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ConditionSetUpdate) GetDescriptionOk

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

func (o *ConditionSetUpdate) GetName() string

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

func (*ConditionSetUpdate) GetNameOk

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

func (o *ConditionSetUpdate) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*ConditionSetUpdate) HasDescription

func (o *ConditionSetUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ConditionSetUpdate) HasName

func (o *ConditionSetUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (ConditionSetUpdate) MarshalJSON

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

func (*ConditionSetUpdate) SetConditions

func (o *ConditionSetUpdate) SetConditions(v map[string]interface{})

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

func (*ConditionSetUpdate) SetDescription

func (o *ConditionSetUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ConditionSetUpdate) SetName

func (o *ConditionSetUpdate) SetName(v string)

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

type DataSourceConfig

type DataSourceConfig struct {
	// list of data sources and how to fetch from them
	Entries []DataSourceEntry `json:"entries"`
}

DataSourceConfig Static list of Data Source Entries returned to client. Answers this question for the client: from where should i get the full picture of data i need? (as opposed to incremental data updates)

func NewDataSourceConfig

func NewDataSourceConfig(entries []DataSourceEntry) *DataSourceConfig

NewDataSourceConfig instantiates a new DataSourceConfig 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 NewDataSourceConfigWithDefaults

func NewDataSourceConfigWithDefaults() *DataSourceConfig

NewDataSourceConfigWithDefaults instantiates a new DataSourceConfig 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 (*DataSourceConfig) GetEntries

func (o *DataSourceConfig) GetEntries() []DataSourceEntry

GetEntries returns the Entries field value

func (*DataSourceConfig) GetEntriesOk

func (o *DataSourceConfig) GetEntriesOk() ([]DataSourceEntry, bool)

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

func (DataSourceConfig) MarshalJSON

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

func (*DataSourceConfig) SetEntries

func (o *DataSourceConfig) SetEntries(v []DataSourceEntry)

SetEntries sets field value

type DataSourceEntry

type DataSourceEntry struct {
	// Url source to query for data
	Url string `json:"url"`
	// Suggested fetcher configuration (e.g. auth or method) to fetch data with
	Config map[string]interface{} `json:"config,omitempty"`
	// topics the data applies to
	Topics []string `json:"topics,omitempty"`
	// OPA data api path to store the document at
	DstPath *string `json:"dst_path,omitempty"`
	// Method used to write into OPA - PUT/PATCH
	SaveMethod *string `json:"save_method,omitempty"`
}

DataSourceEntry Data source configuration - where client's should retrive data from and how they should store it

func NewDataSourceEntry

func NewDataSourceEntry(url string) *DataSourceEntry

NewDataSourceEntry instantiates a new DataSourceEntry 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 NewDataSourceEntryWithDefaults

func NewDataSourceEntryWithDefaults() *DataSourceEntry

NewDataSourceEntryWithDefaults instantiates a new DataSourceEntry 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 (*DataSourceEntry) GetConfig

func (o *DataSourceEntry) GetConfig() map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*DataSourceEntry) GetConfigOk

func (o *DataSourceEntry) GetConfigOk() (map[string]interface{}, bool)

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

func (*DataSourceEntry) GetDstPath

func (o *DataSourceEntry) GetDstPath() string

GetDstPath returns the DstPath field value if set, zero value otherwise.

func (*DataSourceEntry) GetDstPathOk

func (o *DataSourceEntry) GetDstPathOk() (*string, bool)

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

func (*DataSourceEntry) GetSaveMethod

func (o *DataSourceEntry) GetSaveMethod() string

GetSaveMethod returns the SaveMethod field value if set, zero value otherwise.

func (*DataSourceEntry) GetSaveMethodOk

func (o *DataSourceEntry) GetSaveMethodOk() (*string, bool)

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

func (*DataSourceEntry) GetTopics

func (o *DataSourceEntry) GetTopics() []string

GetTopics returns the Topics field value if set, zero value otherwise.

func (*DataSourceEntry) GetTopicsOk

func (o *DataSourceEntry) GetTopicsOk() ([]string, bool)

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

func (*DataSourceEntry) GetUrl

func (o *DataSourceEntry) GetUrl() string

GetUrl returns the Url field value

func (*DataSourceEntry) GetUrlOk

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

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

func (*DataSourceEntry) HasConfig

func (o *DataSourceEntry) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*DataSourceEntry) HasDstPath

func (o *DataSourceEntry) HasDstPath() bool

HasDstPath returns a boolean if a field has been set.

func (*DataSourceEntry) HasSaveMethod

func (o *DataSourceEntry) HasSaveMethod() bool

HasSaveMethod returns a boolean if a field has been set.

func (*DataSourceEntry) HasTopics

func (o *DataSourceEntry) HasTopics() bool

HasTopics returns a boolean if a field has been set.

func (DataSourceEntry) MarshalJSON

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

func (*DataSourceEntry) SetConfig

func (o *DataSourceEntry) SetConfig(v map[string]interface{})

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

func (*DataSourceEntry) SetDstPath

func (o *DataSourceEntry) SetDstPath(v string)

SetDstPath gets a reference to the given string and assigns it to the DstPath field.

func (*DataSourceEntry) SetSaveMethod

func (o *DataSourceEntry) SetSaveMethod(v string)

SetSaveMethod gets a reference to the given string and assigns it to the SaveMethod field.

func (*DataSourceEntry) SetTopics

func (o *DataSourceEntry) SetTopics(v []string)

SetTopics gets a reference to the given []string and assigns it to the Topics field.

func (*DataSourceEntry) SetUrl

func (o *DataSourceEntry) SetUrl(v string)

SetUrl sets field value

type DevLogin

type DevLogin struct {
	// an email address from which to create a DEV MODE session
	Username string `json:"username"`
}

DevLogin struct for DevLogin

func NewDevLogin

func NewDevLogin(username string) *DevLogin

NewDevLogin instantiates a new DevLogin 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 NewDevLoginWithDefaults

func NewDevLoginWithDefaults() *DevLogin

NewDevLoginWithDefaults instantiates a new DevLogin 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 (*DevLogin) GetUsername

func (o *DevLogin) GetUsername() string

GetUsername returns the Username field value

func (*DevLogin) GetUsernameOk

func (o *DevLogin) GetUsernameOk() (*string, bool)

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

func (DevLogin) MarshalJSON

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

func (*DevLogin) SetUsername

func (o *DevLogin) SetUsername(v string)

SetUsername sets field value

type ElementsConfigCreate

type ElementsConfigCreate struct {
	// A URL-friendly name of the elements_config (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the elements_config.
	Key string `json:"key"`
	// The name of the elements_config
	Name string `json:"name"`
	// The type of the elements interface, e.g: user management
	ElementsType ElementsType `json:"elements_type"`
	// Obj with the options of the elements interface, e.g: primary color
	Settings map[string]Settings `json:"settings"`
	// Obj with levels as keys and role ids as values
	RolesToLevels map[string][]string `json:"roles_to_levels"`
	Webhook       *WebhookCreate      `json:"webhook,omitempty"`
}

ElementsConfigCreate struct for ElementsConfigCreate

func NewElementsConfigCreate

func NewElementsConfigCreate(key string, name string, elementsType ElementsType, settings map[string]Settings, rolesToLevels map[string][]string) *ElementsConfigCreate

NewElementsConfigCreate instantiates a new ElementsConfigCreate 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 NewElementsConfigCreateWithDefaults

func NewElementsConfigCreateWithDefaults() *ElementsConfigCreate

NewElementsConfigCreateWithDefaults instantiates a new ElementsConfigCreate 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 (*ElementsConfigCreate) GetElementsType

func (o *ElementsConfigCreate) GetElementsType() ElementsType

GetElementsType returns the ElementsType field value

func (*ElementsConfigCreate) GetElementsTypeOk

func (o *ElementsConfigCreate) GetElementsTypeOk() (*ElementsType, bool)

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

func (*ElementsConfigCreate) GetKey

func (o *ElementsConfigCreate) GetKey() string

GetKey returns the Key field value

func (*ElementsConfigCreate) GetKeyOk

func (o *ElementsConfigCreate) GetKeyOk() (*string, bool)

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

func (*ElementsConfigCreate) GetName

func (o *ElementsConfigCreate) GetName() string

GetName returns the Name field value

func (*ElementsConfigCreate) GetNameOk

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

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

func (*ElementsConfigCreate) GetRolesToLevels

func (o *ElementsConfigCreate) GetRolesToLevels() map[string][]string

GetRolesToLevels returns the RolesToLevels field value

func (*ElementsConfigCreate) GetRolesToLevelsOk

func (o *ElementsConfigCreate) GetRolesToLevelsOk() (*map[string][]string, bool)

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

func (*ElementsConfigCreate) GetSettings

func (o *ElementsConfigCreate) GetSettings() map[string]Settings

GetSettings returns the Settings field value

func (*ElementsConfigCreate) GetSettingsOk

func (o *ElementsConfigCreate) GetSettingsOk() (*map[string]Settings, bool)

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

func (*ElementsConfigCreate) GetWebhook

func (o *ElementsConfigCreate) GetWebhook() WebhookCreate

GetWebhook returns the Webhook field value if set, zero value otherwise.

func (*ElementsConfigCreate) GetWebhookOk

func (o *ElementsConfigCreate) GetWebhookOk() (*WebhookCreate, bool)

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

func (*ElementsConfigCreate) HasWebhook

func (o *ElementsConfigCreate) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

func (ElementsConfigCreate) MarshalJSON

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

func (*ElementsConfigCreate) SetElementsType

func (o *ElementsConfigCreate) SetElementsType(v ElementsType)

SetElementsType sets field value

func (*ElementsConfigCreate) SetKey

func (o *ElementsConfigCreate) SetKey(v string)

SetKey sets field value

func (*ElementsConfigCreate) SetName

func (o *ElementsConfigCreate) SetName(v string)

SetName sets field value

func (*ElementsConfigCreate) SetRolesToLevels

func (o *ElementsConfigCreate) SetRolesToLevels(v map[string][]string)

SetRolesToLevels sets field value

func (*ElementsConfigCreate) SetSettings

func (o *ElementsConfigCreate) SetSettings(v map[string]Settings)

SetSettings sets field value

func (*ElementsConfigCreate) SetWebhook

func (o *ElementsConfigCreate) SetWebhook(v WebhookCreate)

SetWebhook gets a reference to the given WebhookCreate and assigns it to the Webhook field.

type ElementsConfigRead

type ElementsConfigRead struct {
	// A URL-friendly name of the elements_config (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the elements_config.
	Key string `json:"key"`
	// Unique id of the elements_config
	Id string `json:"id"`
	// Unique id of the organization that the elements_config belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the elements_config belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the elements_config belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the elements_config was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the elements_config was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	IsActive  bool      `json:"is_active"`
	// The name of the elements_config
	Name string `json:"name"`
	// The type of the elements interface, e.g: user management
	ElementsType ElementsType `json:"elements_type"`
	// Obj with the options of the elements interface, e.g: primary color
	Settings map[string]Settings `json:"settings"`
	// Obj with levels as keys and role ids as values
	RolesToLevels map[string][]PermissionLevelRoleRead `json:"roles_to_levels"`
	Webhook       *WebhookRead                         `json:"webhook,omitempty"`
}

ElementsConfigRead struct for ElementsConfigRead

func NewElementsConfigRead

func NewElementsConfigRead(key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, isActive bool, name string, elementsType ElementsType, settings map[string]Settings, rolesToLevels map[string][]PermissionLevelRoleRead) *ElementsConfigRead

NewElementsConfigRead instantiates a new ElementsConfigRead 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 NewElementsConfigReadWithDefaults

func NewElementsConfigReadWithDefaults() *ElementsConfigRead

NewElementsConfigReadWithDefaults instantiates a new ElementsConfigRead 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 (*ElementsConfigRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ElementsConfigRead) GetCreatedAtOk

func (o *ElementsConfigRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*ElementsConfigRead) GetElementsType

func (o *ElementsConfigRead) GetElementsType() ElementsType

GetElementsType returns the ElementsType field value

func (*ElementsConfigRead) GetElementsTypeOk

func (o *ElementsConfigRead) GetElementsTypeOk() (*ElementsType, bool)

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

func (*ElementsConfigRead) GetEnvironmentId

func (o *ElementsConfigRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ElementsConfigRead) GetEnvironmentIdOk

func (o *ElementsConfigRead) GetEnvironmentIdOk() (*string, bool)

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

func (*ElementsConfigRead) GetId

func (o *ElementsConfigRead) GetId() string

GetId returns the Id field value

func (*ElementsConfigRead) GetIdOk

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

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

func (*ElementsConfigRead) GetIsActive

func (o *ElementsConfigRead) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*ElementsConfigRead) GetIsActiveOk

func (o *ElementsConfigRead) GetIsActiveOk() (*bool, bool)

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

func (*ElementsConfigRead) GetKey

func (o *ElementsConfigRead) GetKey() string

GetKey returns the Key field value

func (*ElementsConfigRead) GetKeyOk

func (o *ElementsConfigRead) GetKeyOk() (*string, bool)

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

func (*ElementsConfigRead) GetName

func (o *ElementsConfigRead) GetName() string

GetName returns the Name field value

func (*ElementsConfigRead) GetNameOk

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

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

func (*ElementsConfigRead) GetOrganizationId

func (o *ElementsConfigRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ElementsConfigRead) GetOrganizationIdOk

func (o *ElementsConfigRead) GetOrganizationIdOk() (*string, bool)

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

func (*ElementsConfigRead) GetProjectId

func (o *ElementsConfigRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ElementsConfigRead) GetProjectIdOk

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

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

func (*ElementsConfigRead) GetRolesToLevels

func (o *ElementsConfigRead) GetRolesToLevels() map[string][]PermissionLevelRoleRead

GetRolesToLevels returns the RolesToLevels field value

func (*ElementsConfigRead) GetRolesToLevelsOk

func (o *ElementsConfigRead) GetRolesToLevelsOk() (*map[string][]PermissionLevelRoleRead, bool)

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

func (*ElementsConfigRead) GetSettings

func (o *ElementsConfigRead) GetSettings() map[string]Settings

GetSettings returns the Settings field value

func (*ElementsConfigRead) GetSettingsOk

func (o *ElementsConfigRead) GetSettingsOk() (*map[string]Settings, bool)

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

func (*ElementsConfigRead) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*ElementsConfigRead) GetUpdatedAtOk

func (o *ElementsConfigRead) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ElementsConfigRead) GetWebhook

func (o *ElementsConfigRead) GetWebhook() WebhookRead

GetWebhook returns the Webhook field value if set, zero value otherwise.

func (*ElementsConfigRead) GetWebhookOk

func (o *ElementsConfigRead) GetWebhookOk() (*WebhookRead, bool)

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

func (*ElementsConfigRead) HasWebhook

func (o *ElementsConfigRead) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

func (ElementsConfigRead) MarshalJSON

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

func (*ElementsConfigRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*ElementsConfigRead) SetElementsType

func (o *ElementsConfigRead) SetElementsType(v ElementsType)

SetElementsType sets field value

func (*ElementsConfigRead) SetEnvironmentId

func (o *ElementsConfigRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ElementsConfigRead) SetId

func (o *ElementsConfigRead) SetId(v string)

SetId sets field value

func (*ElementsConfigRead) SetIsActive

func (o *ElementsConfigRead) SetIsActive(v bool)

SetIsActive sets field value

func (*ElementsConfigRead) SetKey

func (o *ElementsConfigRead) SetKey(v string)

SetKey sets field value

func (*ElementsConfigRead) SetName

func (o *ElementsConfigRead) SetName(v string)

SetName sets field value

func (*ElementsConfigRead) SetOrganizationId

func (o *ElementsConfigRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ElementsConfigRead) SetProjectId

func (o *ElementsConfigRead) SetProjectId(v string)

SetProjectId sets field value

func (*ElementsConfigRead) SetRolesToLevels

func (o *ElementsConfigRead) SetRolesToLevels(v map[string][]PermissionLevelRoleRead)

SetRolesToLevels sets field value

func (*ElementsConfigRead) SetSettings

func (o *ElementsConfigRead) SetSettings(v map[string]Settings)

SetSettings sets field value

func (*ElementsConfigRead) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*ElementsConfigRead) SetWebhook

func (o *ElementsConfigRead) SetWebhook(v WebhookRead)

SetWebhook gets a reference to the given WebhookRead and assigns it to the Webhook field.

type ElementsConfigUpdate

type ElementsConfigUpdate struct {
	// The name of the elements_config
	Name *string `json:"name,omitempty"`
	// The type of the elements interface, e.g: user management
	ElementsType *ElementsType `json:"elements_type,omitempty"`
	// Obj with the options of the elements interface, e.g: primary color
	Settings *map[string]Settings `json:"settings,omitempty"`
	// Obj with levels as keys and role ids as values
	RolesToLevels map[string][]string `json:"roles_to_levels"`
	Webhook       *WebhookUpdate      `json:"webhook,omitempty"`
}

ElementsConfigUpdate struct for ElementsConfigUpdate

func NewElementsConfigUpdate

func NewElementsConfigUpdate(rolesToLevels map[string][]string) *ElementsConfigUpdate

NewElementsConfigUpdate instantiates a new ElementsConfigUpdate 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 NewElementsConfigUpdateWithDefaults

func NewElementsConfigUpdateWithDefaults() *ElementsConfigUpdate

NewElementsConfigUpdateWithDefaults instantiates a new ElementsConfigUpdate 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 (*ElementsConfigUpdate) GetElementsType

func (o *ElementsConfigUpdate) GetElementsType() ElementsType

GetElementsType returns the ElementsType field value if set, zero value otherwise.

func (*ElementsConfigUpdate) GetElementsTypeOk

func (o *ElementsConfigUpdate) GetElementsTypeOk() (*ElementsType, bool)

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

func (*ElementsConfigUpdate) GetName

func (o *ElementsConfigUpdate) GetName() string

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

func (*ElementsConfigUpdate) GetNameOk

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

func (o *ElementsConfigUpdate) GetRolesToLevels() map[string][]string

GetRolesToLevels returns the RolesToLevels field value

func (*ElementsConfigUpdate) GetRolesToLevelsOk

func (o *ElementsConfigUpdate) GetRolesToLevelsOk() (*map[string][]string, bool)

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

func (*ElementsConfigUpdate) GetSettings

func (o *ElementsConfigUpdate) GetSettings() map[string]Settings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ElementsConfigUpdate) GetSettingsOk

func (o *ElementsConfigUpdate) GetSettingsOk() (*map[string]Settings, bool)

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

func (*ElementsConfigUpdate) GetWebhook

func (o *ElementsConfigUpdate) GetWebhook() WebhookUpdate

GetWebhook returns the Webhook field value if set, zero value otherwise.

func (*ElementsConfigUpdate) GetWebhookOk

func (o *ElementsConfigUpdate) GetWebhookOk() (*WebhookUpdate, bool)

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

func (*ElementsConfigUpdate) HasElementsType

func (o *ElementsConfigUpdate) HasElementsType() bool

HasElementsType returns a boolean if a field has been set.

func (*ElementsConfigUpdate) HasName

func (o *ElementsConfigUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ElementsConfigUpdate) HasSettings

func (o *ElementsConfigUpdate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*ElementsConfigUpdate) HasWebhook

func (o *ElementsConfigUpdate) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

func (ElementsConfigUpdate) MarshalJSON

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

func (*ElementsConfigUpdate) SetElementsType

func (o *ElementsConfigUpdate) SetElementsType(v ElementsType)

SetElementsType gets a reference to the given ElementsType and assigns it to the ElementsType field.

func (*ElementsConfigUpdate) SetName

func (o *ElementsConfigUpdate) SetName(v string)

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

func (*ElementsConfigUpdate) SetRolesToLevels

func (o *ElementsConfigUpdate) SetRolesToLevels(v map[string][]string)

SetRolesToLevels sets field value

func (*ElementsConfigUpdate) SetSettings

func (o *ElementsConfigUpdate) SetSettings(v map[string]Settings)

SetSettings gets a reference to the given map[string]Settings and assigns it to the Settings field.

func (*ElementsConfigUpdate) SetWebhook

func (o *ElementsConfigUpdate) SetWebhook(v WebhookUpdate)

SetWebhook gets a reference to the given WebhookUpdate and assigns it to the Webhook field.

type ElementsEnvRead

type ElementsEnvRead struct {
	// Obj with levels as keys and role ids as values
	RolesToLevels map[string][]PermissionLevelRoleRead `json:"roles_to_levels"`
}

ElementsEnvRead struct for ElementsEnvRead

func NewElementsEnvRead

func NewElementsEnvRead(rolesToLevels map[string][]PermissionLevelRoleRead) *ElementsEnvRead

NewElementsEnvRead instantiates a new ElementsEnvRead 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 NewElementsEnvReadWithDefaults

func NewElementsEnvReadWithDefaults() *ElementsEnvRead

NewElementsEnvReadWithDefaults instantiates a new ElementsEnvRead 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 (*ElementsEnvRead) GetRolesToLevels

func (o *ElementsEnvRead) GetRolesToLevels() map[string][]PermissionLevelRoleRead

GetRolesToLevels returns the RolesToLevels field value

func (*ElementsEnvRead) GetRolesToLevelsOk

func (o *ElementsEnvRead) GetRolesToLevelsOk() (*map[string][]PermissionLevelRoleRead, bool)

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

func (ElementsEnvRead) MarshalJSON

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

func (*ElementsEnvRead) SetRolesToLevels

func (o *ElementsEnvRead) SetRolesToLevels(v map[string][]PermissionLevelRoleRead)

SetRolesToLevels sets field value

type ElementsEnvUpdate

type ElementsEnvUpdate struct {
	// Obj with levels as keys and role ids as values
	RolesToLevels *map[string][]string `json:"roles_to_levels,omitempty"`
}

ElementsEnvUpdate struct for ElementsEnvUpdate

func NewElementsEnvUpdate

func NewElementsEnvUpdate() *ElementsEnvUpdate

NewElementsEnvUpdate instantiates a new ElementsEnvUpdate 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 NewElementsEnvUpdateWithDefaults

func NewElementsEnvUpdateWithDefaults() *ElementsEnvUpdate

NewElementsEnvUpdateWithDefaults instantiates a new ElementsEnvUpdate 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 (*ElementsEnvUpdate) GetRolesToLevels

func (o *ElementsEnvUpdate) GetRolesToLevels() map[string][]string

GetRolesToLevels returns the RolesToLevels field value if set, zero value otherwise.

func (*ElementsEnvUpdate) GetRolesToLevelsOk

func (o *ElementsEnvUpdate) GetRolesToLevelsOk() (*map[string][]string, bool)

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

func (*ElementsEnvUpdate) HasRolesToLevels

func (o *ElementsEnvUpdate) HasRolesToLevels() bool

HasRolesToLevels returns a boolean if a field has been set.

func (ElementsEnvUpdate) MarshalJSON

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

func (*ElementsEnvUpdate) SetRolesToLevels

func (o *ElementsEnvUpdate) SetRolesToLevels(v map[string][]string)

SetRolesToLevels gets a reference to the given map[string][]string and assigns it to the RolesToLevels field.

type ElementsPermissionLevel

type ElementsPermissionLevel string

ElementsPermissionLevel An enumeration.

const (
	LEVEL_1      ElementsPermissionLevel = "LEVEL_1"
	LEVEL_2      ElementsPermissionLevel = "LEVEL_2"
	LEVEL_3      ElementsPermissionLevel = "LEVEL_3"
	LEVEL_4      ElementsPermissionLevel = "LEVEL_4"
	HIDDEN       ElementsPermissionLevel = "HIDDEN"
	UNCONFIGURED ElementsPermissionLevel = "UNCONFIGURED"
)

List of ElementsPermissionLevel

func NewElementsPermissionLevelFromValue

func NewElementsPermissionLevelFromValue(v string) (*ElementsPermissionLevel, error)

NewElementsPermissionLevelFromValue returns a pointer to a valid ElementsPermissionLevel for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ElementsPermissionLevel) IsValid

func (v ElementsPermissionLevel) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ElementsPermissionLevel) Ptr

Ptr returns reference to ElementsPermissionLevel value

func (*ElementsPermissionLevel) UnmarshalJSON

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

type ElementsRoleRead

type ElementsRoleRead struct {
	// The name of the role
	Name string `json:"name"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
	// A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
	Key string `json:"key"`
	// Unique id of the role
	Id string `json:"id"`
	// Unique id of the organization that the role belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the role belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the role belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the role was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the role was last updated/modified (ISO_8601 format).
	UpdatedAt       time.Time               `json:"updated_at"`
	PermissionLevel ElementsPermissionLevel `json:"permission_level"`
}

ElementsRoleRead struct for ElementsRoleRead

func NewElementsRoleRead

func NewElementsRoleRead(name string, key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, permissionLevel ElementsPermissionLevel) *ElementsRoleRead

NewElementsRoleRead instantiates a new ElementsRoleRead 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 NewElementsRoleReadWithDefaults

func NewElementsRoleReadWithDefaults() *ElementsRoleRead

NewElementsRoleReadWithDefaults instantiates a new ElementsRoleRead 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 (*ElementsRoleRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ElementsRoleRead) GetCreatedAtOk

func (o *ElementsRoleRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*ElementsRoleRead) GetDescription

func (o *ElementsRoleRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ElementsRoleRead) GetDescriptionOk

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

func (o *ElementsRoleRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ElementsRoleRead) GetEnvironmentIdOk

func (o *ElementsRoleRead) GetEnvironmentIdOk() (*string, bool)

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

func (*ElementsRoleRead) GetExtends

func (o *ElementsRoleRead) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*ElementsRoleRead) GetExtendsOk

func (o *ElementsRoleRead) GetExtendsOk() ([]string, bool)

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

func (*ElementsRoleRead) GetId

func (o *ElementsRoleRead) GetId() string

GetId returns the Id field value

func (*ElementsRoleRead) GetIdOk

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

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

func (*ElementsRoleRead) GetKey

func (o *ElementsRoleRead) GetKey() string

GetKey returns the Key field value

func (*ElementsRoleRead) GetKeyOk

func (o *ElementsRoleRead) GetKeyOk() (*string, bool)

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

func (*ElementsRoleRead) GetName

func (o *ElementsRoleRead) GetName() string

GetName returns the Name field value

func (*ElementsRoleRead) GetNameOk

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

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

func (*ElementsRoleRead) GetOrganizationId

func (o *ElementsRoleRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ElementsRoleRead) GetOrganizationIdOk

func (o *ElementsRoleRead) GetOrganizationIdOk() (*string, bool)

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

func (*ElementsRoleRead) GetPermissionLevel

func (o *ElementsRoleRead) GetPermissionLevel() ElementsPermissionLevel

GetPermissionLevel returns the PermissionLevel field value

func (*ElementsRoleRead) GetPermissionLevelOk

func (o *ElementsRoleRead) GetPermissionLevelOk() (*ElementsPermissionLevel, bool)

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

func (*ElementsRoleRead) GetPermissions

func (o *ElementsRoleRead) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*ElementsRoleRead) GetPermissionsOk

func (o *ElementsRoleRead) GetPermissionsOk() ([]string, 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 (*ElementsRoleRead) GetProjectId

func (o *ElementsRoleRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ElementsRoleRead) GetProjectIdOk

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

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

func (*ElementsRoleRead) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*ElementsRoleRead) GetUpdatedAtOk

func (o *ElementsRoleRead) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ElementsRoleRead) HasDescription

func (o *ElementsRoleRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ElementsRoleRead) HasExtends

func (o *ElementsRoleRead) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*ElementsRoleRead) HasPermissions

func (o *ElementsRoleRead) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (ElementsRoleRead) MarshalJSON

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

func (*ElementsRoleRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*ElementsRoleRead) SetDescription

func (o *ElementsRoleRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ElementsRoleRead) SetEnvironmentId

func (o *ElementsRoleRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ElementsRoleRead) SetExtends

func (o *ElementsRoleRead) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*ElementsRoleRead) SetId

func (o *ElementsRoleRead) SetId(v string)

SetId sets field value

func (*ElementsRoleRead) SetKey

func (o *ElementsRoleRead) SetKey(v string)

SetKey sets field value

func (*ElementsRoleRead) SetName

func (o *ElementsRoleRead) SetName(v string)

SetName sets field value

func (*ElementsRoleRead) SetOrganizationId

func (o *ElementsRoleRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ElementsRoleRead) SetPermissionLevel

func (o *ElementsRoleRead) SetPermissionLevel(v ElementsPermissionLevel)

SetPermissionLevel sets field value

func (*ElementsRoleRead) SetPermissions

func (o *ElementsRoleRead) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

func (*ElementsRoleRead) SetProjectId

func (o *ElementsRoleRead) SetProjectId(v string)

SetProjectId sets field value

func (*ElementsRoleRead) SetUpdatedAt

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

SetUpdatedAt sets field value

type ElementsType

type ElementsType string

ElementsType An enumeration.

const (
	USER_MANAGEMENT ElementsType = "user_management"
	AUDIT_LOG       ElementsType = "audit_log"
	APPROVAL_FLOW   ElementsType = "approval_flow"
)

List of ElementsType

func NewElementsTypeFromValue

func NewElementsTypeFromValue(v string) (*ElementsType, error)

NewElementsTypeFromValue returns a pointer to a valid ElementsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ElementsType) IsValid

func (v ElementsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ElementsType) Ptr

func (v ElementsType) Ptr() *ElementsType

Ptr returns reference to ElementsType value

func (*ElementsType) UnmarshalJSON

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

type ElementsUserCreate

type ElementsUserCreate struct {
	// A unique id by which Permit will identify the user for permission checks.
	Key string `json:"key"`
	// The email of the user. If synced, will be unique inside the environment.
	Email *string `json:"email,omitempty"`
	// First name of the user.
	FirstName *string `json:"first_name,omitempty"`
	// Last name of the user.
	LastName *string `json:"last_name,omitempty"`
	// Arbitraty user attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	Role       *string                `json:"role,omitempty"`
}

ElementsUserCreate struct for ElementsUserCreate

func NewElementsUserCreate

func NewElementsUserCreate(key string) *ElementsUserCreate

NewElementsUserCreate instantiates a new ElementsUserCreate 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 NewElementsUserCreateWithDefaults

func NewElementsUserCreateWithDefaults() *ElementsUserCreate

NewElementsUserCreateWithDefaults instantiates a new ElementsUserCreate 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 (*ElementsUserCreate) GetAttributes

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

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

func (*ElementsUserCreate) GetAttributesOk

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

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

func (*ElementsUserCreate) GetEmail

func (o *ElementsUserCreate) GetEmail() string

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

func (*ElementsUserCreate) GetEmailOk

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

func (o *ElementsUserCreate) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*ElementsUserCreate) GetFirstNameOk

func (o *ElementsUserCreate) GetFirstNameOk() (*string, bool)

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

func (*ElementsUserCreate) GetKey

func (o *ElementsUserCreate) GetKey() string

GetKey returns the Key field value

func (*ElementsUserCreate) GetKeyOk

func (o *ElementsUserCreate) GetKeyOk() (*string, bool)

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

func (*ElementsUserCreate) GetLastName

func (o *ElementsUserCreate) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*ElementsUserCreate) GetLastNameOk

func (o *ElementsUserCreate) GetLastNameOk() (*string, bool)

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

func (*ElementsUserCreate) GetRole

func (o *ElementsUserCreate) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*ElementsUserCreate) GetRoleOk

func (o *ElementsUserCreate) GetRoleOk() (*string, bool)

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

func (*ElementsUserCreate) HasAttributes

func (o *ElementsUserCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ElementsUserCreate) HasEmail

func (o *ElementsUserCreate) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ElementsUserCreate) HasFirstName

func (o *ElementsUserCreate) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*ElementsUserCreate) HasLastName

func (o *ElementsUserCreate) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*ElementsUserCreate) HasRole

func (o *ElementsUserCreate) HasRole() bool

HasRole returns a boolean if a field has been set.

func (ElementsUserCreate) MarshalJSON

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

func (*ElementsUserCreate) SetAttributes

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

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

func (*ElementsUserCreate) SetEmail

func (o *ElementsUserCreate) SetEmail(v string)

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

func (*ElementsUserCreate) SetFirstName

func (o *ElementsUserCreate) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*ElementsUserCreate) SetKey

func (o *ElementsUserCreate) SetKey(v string)

SetKey sets field value

func (*ElementsUserCreate) SetLastName

func (o *ElementsUserCreate) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*ElementsUserCreate) SetRole

func (o *ElementsUserCreate) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

type ElementsUserRoleCreate

type ElementsUserRoleCreate struct {
	// the role that will be assigned (accepts either the role id or the role key)
	Role string `json:"role"`
}

ElementsUserRoleCreate struct for ElementsUserRoleCreate

func NewElementsUserRoleCreate

func NewElementsUserRoleCreate(role string) *ElementsUserRoleCreate

NewElementsUserRoleCreate instantiates a new ElementsUserRoleCreate 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 NewElementsUserRoleCreateWithDefaults

func NewElementsUserRoleCreateWithDefaults() *ElementsUserRoleCreate

NewElementsUserRoleCreateWithDefaults instantiates a new ElementsUserRoleCreate 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 (*ElementsUserRoleCreate) GetRole

func (o *ElementsUserRoleCreate) GetRole() string

GetRole returns the Role field value

func (*ElementsUserRoleCreate) GetRoleOk

func (o *ElementsUserRoleCreate) GetRoleOk() (*string, bool)

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

func (ElementsUserRoleCreate) MarshalJSON

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

func (*ElementsUserRoleCreate) SetRole

func (o *ElementsUserRoleCreate) SetRole(v string)

SetRole sets field value

type ElementsUserRoleRemove

type ElementsUserRoleRemove struct {
	// the role that will be unassigned (accepts either the role id or the role key)
	Role string `json:"role"`
}

ElementsUserRoleRemove struct for ElementsUserRoleRemove

func NewElementsUserRoleRemove

func NewElementsUserRoleRemove(role string) *ElementsUserRoleRemove

NewElementsUserRoleRemove instantiates a new ElementsUserRoleRemove 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 NewElementsUserRoleRemoveWithDefaults

func NewElementsUserRoleRemoveWithDefaults() *ElementsUserRoleRemove

NewElementsUserRoleRemoveWithDefaults instantiates a new ElementsUserRoleRemove 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 (*ElementsUserRoleRemove) GetRole

func (o *ElementsUserRoleRemove) GetRole() string

GetRole returns the Role field value

func (*ElementsUserRoleRemove) GetRoleOk

func (o *ElementsUserRoleRemove) GetRoleOk() (*string, bool)

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

func (ElementsUserRoleRemove) MarshalJSON

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

func (*ElementsUserRoleRemove) SetRole

func (o *ElementsUserRoleRemove) SetRole(v string)

SetRole sets field value

type EmbeddedLoginRequestOutput

type EmbeddedLoginRequestOutput struct {
	// If the login request failed, this field will contain the error message
	Error *string `json:"error,omitempty"`
	// If the login request failed, this field will contain the error code
	ErrorCode *int32 `json:"error_code,omitempty"`
	// The auth token that lets your users login into permit elements
	Token *string `json:"token,omitempty"`
	// Extra data that you can pass to the login request
	Extra *string `json:"extra,omitempty"`
	// The full URL to which the user should be redirected in order to complete the login process
	RedirectUrl string `json:"redirect_url"`
}

EmbeddedLoginRequestOutput struct for EmbeddedLoginRequestOutput

func NewEmbeddedLoginRequestOutput

func NewEmbeddedLoginRequestOutput(redirectUrl string) *EmbeddedLoginRequestOutput

NewEmbeddedLoginRequestOutput instantiates a new EmbeddedLoginRequestOutput 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 NewEmbeddedLoginRequestOutputWithDefaults

func NewEmbeddedLoginRequestOutputWithDefaults() *EmbeddedLoginRequestOutput

NewEmbeddedLoginRequestOutputWithDefaults instantiates a new EmbeddedLoginRequestOutput 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 (*EmbeddedLoginRequestOutput) GetError

func (o *EmbeddedLoginRequestOutput) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*EmbeddedLoginRequestOutput) GetErrorCode

func (o *EmbeddedLoginRequestOutput) GetErrorCode() int32

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*EmbeddedLoginRequestOutput) GetErrorCodeOk

func (o *EmbeddedLoginRequestOutput) GetErrorCodeOk() (*int32, bool)

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

func (*EmbeddedLoginRequestOutput) GetErrorOk

func (o *EmbeddedLoginRequestOutput) GetErrorOk() (*string, bool)

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

func (*EmbeddedLoginRequestOutput) GetExtra

func (o *EmbeddedLoginRequestOutput) GetExtra() string

GetExtra returns the Extra field value if set, zero value otherwise.

func (*EmbeddedLoginRequestOutput) GetExtraOk

func (o *EmbeddedLoginRequestOutput) GetExtraOk() (*string, bool)

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

func (*EmbeddedLoginRequestOutput) GetRedirectUrl

func (o *EmbeddedLoginRequestOutput) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value

func (*EmbeddedLoginRequestOutput) GetRedirectUrlOk

func (o *EmbeddedLoginRequestOutput) GetRedirectUrlOk() (*string, bool)

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

func (*EmbeddedLoginRequestOutput) GetToken

func (o *EmbeddedLoginRequestOutput) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*EmbeddedLoginRequestOutput) GetTokenOk

func (o *EmbeddedLoginRequestOutput) GetTokenOk() (*string, bool)

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

func (*EmbeddedLoginRequestOutput) HasError

func (o *EmbeddedLoginRequestOutput) HasError() bool

HasError returns a boolean if a field has been set.

func (*EmbeddedLoginRequestOutput) HasErrorCode

func (o *EmbeddedLoginRequestOutput) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*EmbeddedLoginRequestOutput) HasExtra

func (o *EmbeddedLoginRequestOutput) HasExtra() bool

HasExtra returns a boolean if a field has been set.

func (*EmbeddedLoginRequestOutput) HasToken

func (o *EmbeddedLoginRequestOutput) HasToken() bool

HasToken returns a boolean if a field has been set.

func (EmbeddedLoginRequestOutput) MarshalJSON

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

func (*EmbeddedLoginRequestOutput) SetError

func (o *EmbeddedLoginRequestOutput) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*EmbeddedLoginRequestOutput) SetErrorCode

func (o *EmbeddedLoginRequestOutput) SetErrorCode(v int32)

SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.

func (*EmbeddedLoginRequestOutput) SetExtra

func (o *EmbeddedLoginRequestOutput) SetExtra(v string)

SetExtra gets a reference to the given string and assigns it to the Extra field.

func (*EmbeddedLoginRequestOutput) SetRedirectUrl

func (o *EmbeddedLoginRequestOutput) SetRedirectUrl(v string)

SetRedirectUrl sets field value

func (*EmbeddedLoginRequestOutput) SetToken

func (o *EmbeddedLoginRequestOutput) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

type EnvironmentCreate

type EnvironmentCreate struct {
	// A URL-friendly name of the environment (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the environment.
	Key string `json:"key"`
	// The name of the environment
	Name string `json:"name"`
	// an optional longer description of the environment
	Description *string `json:"description,omitempty"`
	// when using gitops feature, an optional branch name for the environment
	CustomBranchName *string `json:"custom_branch_name,omitempty"`
}

EnvironmentCreate struct for EnvironmentCreate

func NewEnvironmentCreate

func NewEnvironmentCreate(key string, name string) *EnvironmentCreate

NewEnvironmentCreate instantiates a new EnvironmentCreate 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 NewEnvironmentCreateWithDefaults

func NewEnvironmentCreateWithDefaults() *EnvironmentCreate

NewEnvironmentCreateWithDefaults instantiates a new EnvironmentCreate 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 (*EnvironmentCreate) GetCustomBranchName

func (o *EnvironmentCreate) GetCustomBranchName() string

GetCustomBranchName returns the CustomBranchName field value if set, zero value otherwise.

func (*EnvironmentCreate) GetCustomBranchNameOk

func (o *EnvironmentCreate) GetCustomBranchNameOk() (*string, bool)

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

func (*EnvironmentCreate) GetDescription

func (o *EnvironmentCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EnvironmentCreate) GetDescriptionOk

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

func (o *EnvironmentCreate) GetKey() string

GetKey returns the Key field value

func (*EnvironmentCreate) GetKeyOk

func (o *EnvironmentCreate) GetKeyOk() (*string, bool)

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

func (*EnvironmentCreate) GetName

func (o *EnvironmentCreate) GetName() string

GetName returns the Name field value

func (*EnvironmentCreate) GetNameOk

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

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

func (*EnvironmentCreate) HasCustomBranchName

func (o *EnvironmentCreate) HasCustomBranchName() bool

HasCustomBranchName returns a boolean if a field has been set.

func (*EnvironmentCreate) HasDescription

func (o *EnvironmentCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (EnvironmentCreate) MarshalJSON

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

func (*EnvironmentCreate) SetCustomBranchName

func (o *EnvironmentCreate) SetCustomBranchName(v string)

SetCustomBranchName gets a reference to the given string and assigns it to the CustomBranchName field.

func (*EnvironmentCreate) SetDescription

func (o *EnvironmentCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EnvironmentCreate) SetKey

func (o *EnvironmentCreate) SetKey(v string)

SetKey sets field value

func (*EnvironmentCreate) SetName

func (o *EnvironmentCreate) SetName(v string)

SetName sets field value

type EnvironmentRead

type EnvironmentRead struct {
	// A URL-friendly name of the environment (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the environment.
	Key string `json:"key"`
	// Unique id of the environment
	Id string `json:"id"`
	// Unique id of the organization that the environment belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the environment belongs to.
	ProjectId string `json:"project_id"`
	// Date and time when the environment was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the environment was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the environment
	Name string `json:"name"`
	// an optional longer description of the environment
	Description *string `json:"description,omitempty"`
	// when using gitops feature, an optional branch name for the environment
	CustomBranchName *string `json:"custom_branch_name,omitempty"`
}

EnvironmentRead struct for EnvironmentRead

func NewEnvironmentRead

func NewEnvironmentRead(key string, id string, organizationId string, projectId string, createdAt time.Time, updatedAt time.Time, name string) *EnvironmentRead

NewEnvironmentRead instantiates a new EnvironmentRead 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 NewEnvironmentReadWithDefaults

func NewEnvironmentReadWithDefaults() *EnvironmentRead

NewEnvironmentReadWithDefaults instantiates a new EnvironmentRead 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 (*EnvironmentRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*EnvironmentRead) GetCreatedAtOk

func (o *EnvironmentRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*EnvironmentRead) GetCustomBranchName

func (o *EnvironmentRead) GetCustomBranchName() string

GetCustomBranchName returns the CustomBranchName field value if set, zero value otherwise.

func (*EnvironmentRead) GetCustomBranchNameOk

func (o *EnvironmentRead) GetCustomBranchNameOk() (*string, bool)

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

func (*EnvironmentRead) GetDescription

func (o *EnvironmentRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EnvironmentRead) GetDescriptionOk

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

func (o *EnvironmentRead) GetId() string

GetId returns the Id field value

func (*EnvironmentRead) GetIdOk

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

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

func (*EnvironmentRead) GetKey

func (o *EnvironmentRead) GetKey() string

GetKey returns the Key field value

func (*EnvironmentRead) GetKeyOk

func (o *EnvironmentRead) GetKeyOk() (*string, bool)

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

func (*EnvironmentRead) GetName

func (o *EnvironmentRead) GetName() string

GetName returns the Name field value

func (*EnvironmentRead) GetNameOk

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

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

func (*EnvironmentRead) GetOrganizationId

func (o *EnvironmentRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*EnvironmentRead) GetOrganizationIdOk

func (o *EnvironmentRead) GetOrganizationIdOk() (*string, bool)

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

func (*EnvironmentRead) GetProjectId

func (o *EnvironmentRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*EnvironmentRead) GetProjectIdOk

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

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

func (*EnvironmentRead) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*EnvironmentRead) GetUpdatedAtOk

func (o *EnvironmentRead) GetUpdatedAtOk() (*time.Time, bool)

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

func (*EnvironmentRead) HasCustomBranchName

func (o *EnvironmentRead) HasCustomBranchName() bool

HasCustomBranchName returns a boolean if a field has been set.

func (*EnvironmentRead) HasDescription

func (o *EnvironmentRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (EnvironmentRead) MarshalJSON

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

func (*EnvironmentRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*EnvironmentRead) SetCustomBranchName

func (o *EnvironmentRead) SetCustomBranchName(v string)

SetCustomBranchName gets a reference to the given string and assigns it to the CustomBranchName field.

func (*EnvironmentRead) SetDescription

func (o *EnvironmentRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EnvironmentRead) SetId

func (o *EnvironmentRead) SetId(v string)

SetId sets field value

func (*EnvironmentRead) SetKey

func (o *EnvironmentRead) SetKey(v string)

SetKey sets field value

func (*EnvironmentRead) SetName

func (o *EnvironmentRead) SetName(v string)

SetName sets field value

func (*EnvironmentRead) SetOrganizationId

func (o *EnvironmentRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*EnvironmentRead) SetProjectId

func (o *EnvironmentRead) SetProjectId(v string)

SetProjectId sets field value

func (*EnvironmentRead) SetUpdatedAt

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

SetUpdatedAt sets field value

type EnvironmentStats

type EnvironmentStats struct {
	// A URL-friendly name of the environment (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the environment.
	Key string `json:"key"`
	// Unique id of the environment
	Id string `json:"id"`
	// Unique id of the organization that the environment belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the environment belongs to.
	ProjectId string `json:"project_id"`
	// Date and time when the environment was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the environment was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the environment
	Name string `json:"name"`
	// an optional longer description of the environment
	Description *string `json:"description,omitempty"`
	// when using gitops feature, an optional branch name for the environment
	CustomBranchName *string         `json:"custom_branch_name,omitempty"`
	PdpConfigs       []PDPConfigRead `json:"pdp_configs"`
	Stats            Statistics      `json:"stats"`
}

EnvironmentStats struct for EnvironmentStats

func NewEnvironmentStats

func NewEnvironmentStats(key string, id string, organizationId string, projectId string, createdAt time.Time, updatedAt time.Time, name string, pdpConfigs []PDPConfigRead, stats Statistics) *EnvironmentStats

NewEnvironmentStats instantiates a new EnvironmentStats 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 NewEnvironmentStatsWithDefaults

func NewEnvironmentStatsWithDefaults() *EnvironmentStats

NewEnvironmentStatsWithDefaults instantiates a new EnvironmentStats 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 (*EnvironmentStats) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*EnvironmentStats) GetCreatedAtOk

func (o *EnvironmentStats) GetCreatedAtOk() (*time.Time, bool)

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

func (*EnvironmentStats) GetCustomBranchName

func (o *EnvironmentStats) GetCustomBranchName() string

GetCustomBranchName returns the CustomBranchName field value if set, zero value otherwise.

func (*EnvironmentStats) GetCustomBranchNameOk

func (o *EnvironmentStats) GetCustomBranchNameOk() (*string, bool)

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

func (*EnvironmentStats) GetDescription

func (o *EnvironmentStats) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EnvironmentStats) GetDescriptionOk

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

func (o *EnvironmentStats) GetId() string

GetId returns the Id field value

func (*EnvironmentStats) GetIdOk

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

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

func (*EnvironmentStats) GetKey

func (o *EnvironmentStats) GetKey() string

GetKey returns the Key field value

func (*EnvironmentStats) GetKeyOk

func (o *EnvironmentStats) GetKeyOk() (*string, bool)

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

func (*EnvironmentStats) GetName

func (o *EnvironmentStats) GetName() string

GetName returns the Name field value

func (*EnvironmentStats) GetNameOk

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

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

func (*EnvironmentStats) GetOrganizationId

func (o *EnvironmentStats) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*EnvironmentStats) GetOrganizationIdOk

func (o *EnvironmentStats) GetOrganizationIdOk() (*string, bool)

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

func (*EnvironmentStats) GetPdpConfigs

func (o *EnvironmentStats) GetPdpConfigs() []PDPConfigRead

GetPdpConfigs returns the PdpConfigs field value

func (*EnvironmentStats) GetPdpConfigsOk

func (o *EnvironmentStats) GetPdpConfigsOk() ([]PDPConfigRead, bool)

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

func (*EnvironmentStats) GetProjectId

func (o *EnvironmentStats) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*EnvironmentStats) GetProjectIdOk

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

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

func (*EnvironmentStats) GetStats

func (o *EnvironmentStats) GetStats() Statistics

GetStats returns the Stats field value

func (*EnvironmentStats) GetStatsOk

func (o *EnvironmentStats) GetStatsOk() (*Statistics, bool)

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

func (*EnvironmentStats) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*EnvironmentStats) GetUpdatedAtOk

func (o *EnvironmentStats) GetUpdatedAtOk() (*time.Time, bool)

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

func (*EnvironmentStats) HasCustomBranchName

func (o *EnvironmentStats) HasCustomBranchName() bool

HasCustomBranchName returns a boolean if a field has been set.

func (*EnvironmentStats) HasDescription

func (o *EnvironmentStats) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (EnvironmentStats) MarshalJSON

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

func (*EnvironmentStats) SetCreatedAt

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

SetCreatedAt sets field value

func (*EnvironmentStats) SetCustomBranchName

func (o *EnvironmentStats) SetCustomBranchName(v string)

SetCustomBranchName gets a reference to the given string and assigns it to the CustomBranchName field.

func (*EnvironmentStats) SetDescription

func (o *EnvironmentStats) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EnvironmentStats) SetId

func (o *EnvironmentStats) SetId(v string)

SetId sets field value

func (*EnvironmentStats) SetKey

func (o *EnvironmentStats) SetKey(v string)

SetKey sets field value

func (*EnvironmentStats) SetName

func (o *EnvironmentStats) SetName(v string)

SetName sets field value

func (*EnvironmentStats) SetOrganizationId

func (o *EnvironmentStats) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*EnvironmentStats) SetPdpConfigs

func (o *EnvironmentStats) SetPdpConfigs(v []PDPConfigRead)

SetPdpConfigs sets field value

func (*EnvironmentStats) SetProjectId

func (o *EnvironmentStats) SetProjectId(v string)

SetProjectId sets field value

func (*EnvironmentStats) SetStats

func (o *EnvironmentStats) SetStats(v Statistics)

SetStats sets field value

func (*EnvironmentStats) SetUpdatedAt

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

SetUpdatedAt sets field value

type EnvironmentUpdate

type EnvironmentUpdate struct {
	// The name of the environment
	Name *string `json:"name,omitempty"`
	// an optional longer description of the environment
	Description *string `json:"description,omitempty"`
	// when using gitops feature, an optional branch name for the environment
	CustomBranchName *string `json:"custom_branch_name,omitempty"`
}

EnvironmentUpdate struct for EnvironmentUpdate

func NewEnvironmentUpdate

func NewEnvironmentUpdate() *EnvironmentUpdate

NewEnvironmentUpdate instantiates a new EnvironmentUpdate 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 NewEnvironmentUpdateWithDefaults

func NewEnvironmentUpdateWithDefaults() *EnvironmentUpdate

NewEnvironmentUpdateWithDefaults instantiates a new EnvironmentUpdate 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 (*EnvironmentUpdate) GetCustomBranchName

func (o *EnvironmentUpdate) GetCustomBranchName() string

GetCustomBranchName returns the CustomBranchName field value if set, zero value otherwise.

func (*EnvironmentUpdate) GetCustomBranchNameOk

func (o *EnvironmentUpdate) GetCustomBranchNameOk() (*string, bool)

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

func (*EnvironmentUpdate) GetDescription

func (o *EnvironmentUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EnvironmentUpdate) GetDescriptionOk

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

func (o *EnvironmentUpdate) GetName() string

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

func (*EnvironmentUpdate) GetNameOk

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

func (o *EnvironmentUpdate) HasCustomBranchName() bool

HasCustomBranchName returns a boolean if a field has been set.

func (*EnvironmentUpdate) HasDescription

func (o *EnvironmentUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*EnvironmentUpdate) HasName

func (o *EnvironmentUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (EnvironmentUpdate) MarshalJSON

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

func (*EnvironmentUpdate) SetCustomBranchName

func (o *EnvironmentUpdate) SetCustomBranchName(v string)

SetCustomBranchName gets a reference to the given string and assigns it to the CustomBranchName field.

func (*EnvironmentUpdate) SetDescription

func (o *EnvironmentUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EnvironmentUpdate) SetName

func (o *EnvironmentUpdate) SetName(v string)

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

type FailedInvite

type FailedInvite struct {
	Email  string `json:"email"`
	Reason string `json:"reason"`
}

FailedInvite struct for FailedInvite

func NewFailedInvite

func NewFailedInvite(email string, reason string) *FailedInvite

NewFailedInvite instantiates a new FailedInvite 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 NewFailedInviteWithDefaults

func NewFailedInviteWithDefaults() *FailedInvite

NewFailedInviteWithDefaults instantiates a new FailedInvite 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 (*FailedInvite) GetEmail

func (o *FailedInvite) GetEmail() string

GetEmail returns the Email field value

func (*FailedInvite) GetEmailOk

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

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

func (*FailedInvite) GetReason

func (o *FailedInvite) GetReason() string

GetReason returns the Reason field value

func (*FailedInvite) GetReasonOk

func (o *FailedInvite) GetReasonOk() (*string, bool)

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

func (FailedInvite) MarshalJSON

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

func (*FailedInvite) SetEmail

func (o *FailedInvite) SetEmail(v string)

SetEmail sets field value

func (*FailedInvite) SetReason

func (o *FailedInvite) SetReason(v string)

SetReason sets field value

type FullData

type FullData struct {
	Users             map[string]UserData                       `json:"users"`
	Roles             map[string]RoleData                       `json:"roles"`
	ConditionSetRules map[string]map[string]map[string][]string `json:"condition_set_rules"`
}

FullData struct for FullData

func NewFullData

func NewFullData(users map[string]UserData, roles map[string]RoleData, conditionSetRules map[string]map[string]map[string][]string) *FullData

NewFullData instantiates a new FullData 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 NewFullDataWithDefaults

func NewFullDataWithDefaults() *FullData

NewFullDataWithDefaults instantiates a new FullData 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 (*FullData) GetConditionSetRules

func (o *FullData) GetConditionSetRules() map[string]map[string]map[string][]string

GetConditionSetRules returns the ConditionSetRules field value

func (*FullData) GetConditionSetRulesOk

func (o *FullData) GetConditionSetRulesOk() (*map[string]map[string]map[string][]string, bool)

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

func (*FullData) GetRoles

func (o *FullData) GetRoles() map[string]RoleData

GetRoles returns the Roles field value

func (*FullData) GetRolesOk

func (o *FullData) GetRolesOk() (*map[string]RoleData, bool)

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

func (*FullData) GetUsers

func (o *FullData) GetUsers() map[string]UserData

GetUsers returns the Users field value

func (*FullData) GetUsersOk

func (o *FullData) GetUsersOk() (*map[string]UserData, bool)

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

func (FullData) MarshalJSON

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

func (*FullData) SetConditionSetRules

func (o *FullData) SetConditionSetRules(v map[string]map[string]map[string][]string)

SetConditionSetRules sets field value

func (*FullData) SetRoles

func (o *FullData) SetRoles(v map[string]RoleData)

SetRoles sets field value

func (*FullData) SetUsers

func (o *FullData) SetUsers(v map[string]UserData)

SetUsers sets field value

type HTTPValidationError

type HTTPValidationError struct {
	Detail []ValidationError `json:"detail,omitempty"`
}

HTTPValidationError struct for HTTPValidationError

func NewHTTPValidationError

func NewHTTPValidationError() *HTTPValidationError

NewHTTPValidationError instantiates a new HTTPValidationError 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 NewHTTPValidationErrorWithDefaults

func NewHTTPValidationErrorWithDefaults() *HTTPValidationError

NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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 (*HTTPValidationError) GetDetail

func (o *HTTPValidationError) GetDetail() []ValidationError

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPValidationError) GetDetailOk

func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)

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

func (*HTTPValidationError) HasDetail

func (o *HTTPValidationError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (HTTPValidationError) MarshalJSON

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

func (*HTTPValidationError) SetDetail

func (o *HTTPValidationError) SetDetail(v []ValidationError)

SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.

type IdentityRead

type IdentityRead struct {
	// Unique User Id of this identity in the identity provider (including the provider type)
	UserId string `json:"user_id"`
	// The identity provider type this identity came from
	Provider string `json:"provider"`
	// Unique User Id of this identity in the identity provider (NOT including the provider type)
	Sub string `json:"sub"`
	// Email connected to this account identity
	Email string `json:"email"`
	// Whether this email address connected to this account identity is verified or not. For social providers like 'Login with Google' this is done automatically, otherwise we will send the user a verification link in email.
	EmailVerified bool `json:"email_verified"`
	// Raw user info json coming from our identity provider and matching a specific account identity
	Auth0Info map[string]interface{} `json:"auth0_info"`
}

IdentityRead struct for IdentityRead

func NewIdentityRead

func NewIdentityRead(userId string, provider string, sub string, email string, emailVerified bool, auth0Info map[string]interface{}) *IdentityRead

NewIdentityRead instantiates a new IdentityRead 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 NewIdentityReadWithDefaults

func NewIdentityReadWithDefaults() *IdentityRead

NewIdentityReadWithDefaults instantiates a new IdentityRead 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 (*IdentityRead) GetAuth0Info

func (o *IdentityRead) GetAuth0Info() map[string]interface{}

GetAuth0Info returns the Auth0Info field value

func (*IdentityRead) GetAuth0InfoOk

func (o *IdentityRead) GetAuth0InfoOk() (map[string]interface{}, bool)

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

func (*IdentityRead) GetEmail

func (o *IdentityRead) GetEmail() string

GetEmail returns the Email field value

func (*IdentityRead) GetEmailOk

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

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

func (*IdentityRead) GetEmailVerified

func (o *IdentityRead) GetEmailVerified() bool

GetEmailVerified returns the EmailVerified field value

func (*IdentityRead) GetEmailVerifiedOk

func (o *IdentityRead) GetEmailVerifiedOk() (*bool, bool)

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

func (*IdentityRead) GetProvider

func (o *IdentityRead) GetProvider() string

GetProvider returns the Provider field value

func (*IdentityRead) GetProviderOk

func (o *IdentityRead) GetProviderOk() (*string, bool)

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

func (*IdentityRead) GetSub

func (o *IdentityRead) GetSub() string

GetSub returns the Sub field value

func (*IdentityRead) GetSubOk

func (o *IdentityRead) GetSubOk() (*string, bool)

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

func (*IdentityRead) GetUserId

func (o *IdentityRead) GetUserId() string

GetUserId returns the UserId field value

func (*IdentityRead) GetUserIdOk

func (o *IdentityRead) GetUserIdOk() (*string, bool)

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

func (IdentityRead) MarshalJSON

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

func (*IdentityRead) SetAuth0Info

func (o *IdentityRead) SetAuth0Info(v map[string]interface{})

SetAuth0Info sets field value

func (*IdentityRead) SetEmail

func (o *IdentityRead) SetEmail(v string)

SetEmail sets field value

func (*IdentityRead) SetEmailVerified

func (o *IdentityRead) SetEmailVerified(v bool)

SetEmailVerified sets field value

func (*IdentityRead) SetProvider

func (o *IdentityRead) SetProvider(v string)

SetProvider sets field value

func (*IdentityRead) SetSub

func (o *IdentityRead) SetSub(v string)

SetSub sets field value

func (*IdentityRead) SetUserId

func (o *IdentityRead) SetUserId(v string)

SetUserId sets field value

type InviteAttemptResult

type InviteAttemptResult struct {
	// the invite code was accepted
	InviteSuccessful *bool `json:"invite_successful,omitempty"`
	// if the invite failed, the reason it failed
	InviteFailedReason *string `json:"invite_failed_reason,omitempty"`
}

InviteAttemptResult struct for InviteAttemptResult

func NewInviteAttemptResult

func NewInviteAttemptResult() *InviteAttemptResult

NewInviteAttemptResult instantiates a new InviteAttemptResult 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 NewInviteAttemptResultWithDefaults

func NewInviteAttemptResultWithDefaults() *InviteAttemptResult

NewInviteAttemptResultWithDefaults instantiates a new InviteAttemptResult 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 (*InviteAttemptResult) GetInviteFailedReason

func (o *InviteAttemptResult) GetInviteFailedReason() string

GetInviteFailedReason returns the InviteFailedReason field value if set, zero value otherwise.

func (*InviteAttemptResult) GetInviteFailedReasonOk

func (o *InviteAttemptResult) GetInviteFailedReasonOk() (*string, bool)

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

func (*InviteAttemptResult) GetInviteSuccessful

func (o *InviteAttemptResult) GetInviteSuccessful() bool

GetInviteSuccessful returns the InviteSuccessful field value if set, zero value otherwise.

func (*InviteAttemptResult) GetInviteSuccessfulOk

func (o *InviteAttemptResult) GetInviteSuccessfulOk() (*bool, bool)

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

func (*InviteAttemptResult) HasInviteFailedReason

func (o *InviteAttemptResult) HasInviteFailedReason() bool

HasInviteFailedReason returns a boolean if a field has been set.

func (*InviteAttemptResult) HasInviteSuccessful

func (o *InviteAttemptResult) HasInviteSuccessful() bool

HasInviteSuccessful returns a boolean if a field has been set.

func (InviteAttemptResult) MarshalJSON

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

func (*InviteAttemptResult) SetInviteFailedReason

func (o *InviteAttemptResult) SetInviteFailedReason(v string)

SetInviteFailedReason gets a reference to the given string and assigns it to the InviteFailedReason field.

func (*InviteAttemptResult) SetInviteSuccessful

func (o *InviteAttemptResult) SetInviteSuccessful(v bool)

SetInviteSuccessful gets a reference to the given bool and assigns it to the InviteSuccessful field.

type InviteCreate

type InviteCreate struct {
	// The invited member's email address
	Email string `json:"email"`
	// The role the member will be assigned with
	Role string `json:"role"`
}

InviteCreate struct for InviteCreate

func NewInviteCreate

func NewInviteCreate(email string, role string) *InviteCreate

NewInviteCreate instantiates a new InviteCreate 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 NewInviteCreateWithDefaults

func NewInviteCreateWithDefaults() *InviteCreate

NewInviteCreateWithDefaults instantiates a new InviteCreate 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 (*InviteCreate) GetEmail

func (o *InviteCreate) GetEmail() string

GetEmail returns the Email field value

func (*InviteCreate) GetEmailOk

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

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

func (*InviteCreate) GetRole

func (o *InviteCreate) GetRole() string

GetRole returns the Role field value

func (*InviteCreate) GetRoleOk

func (o *InviteCreate) GetRoleOk() (*string, bool)

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

func (InviteCreate) MarshalJSON

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

func (*InviteCreate) SetEmail

func (o *InviteCreate) SetEmail(v string)

SetEmail sets field value

func (*InviteCreate) SetRole

func (o *InviteCreate) SetRole(v string)

SetRole sets field value

type InviteRead

type InviteRead struct {
	// The invited member's email address
	Email string `json:"email"`
	// The role the member will be assigned with
	Role string `json:"role"`
	// Unique id of the invite
	Id string `json:"id"`
	// Unique id of the organization that the invite belongs to.
	OrganizationId string `json:"organization_id"`
	// The invite code that is sent to the member's email
	InviteCode string `json:"invite_code"`
	// Date and time when the invite was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// The status of the invite (pending, failed, etc)
	Status InviteStatus `json:"status"`
	// if failed, the reason the invitation failed
	FailedReason *string `json:"failed_reason,omitempty"`
}

InviteRead struct for InviteRead

func NewInviteRead

func NewInviteRead(email string, role string, id string, organizationId string, inviteCode string, createdAt time.Time, status InviteStatus) *InviteRead

NewInviteRead instantiates a new InviteRead 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 NewInviteReadWithDefaults

func NewInviteReadWithDefaults() *InviteRead

NewInviteReadWithDefaults instantiates a new InviteRead 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 (*InviteRead) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*InviteRead) GetCreatedAtOk

func (o *InviteRead) GetCreatedAtOk() (*time.Time, bool)

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

func (*InviteRead) GetEmail

func (o *InviteRead) GetEmail() string

GetEmail returns the Email field value

func (*InviteRead) GetEmailOk

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

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

func (*InviteRead) GetFailedReason

func (o *InviteRead) GetFailedReason() string

GetFailedReason returns the FailedReason field value if set, zero value otherwise.

func (*InviteRead) GetFailedReasonOk

func (o *InviteRead) GetFailedReasonOk() (*string, bool)

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

func (*InviteRead) GetId

func (o *InviteRead) GetId() string

GetId returns the Id field value

func (*InviteRead) GetIdOk

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

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

func (*InviteRead) GetInviteCode

func (o *InviteRead) GetInviteCode() string

GetInviteCode returns the InviteCode field value

func (*InviteRead) GetInviteCodeOk

func (o *InviteRead) GetInviteCodeOk() (*string, bool)

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

func (*InviteRead) GetOrganizationId

func (o *InviteRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*InviteRead) GetOrganizationIdOk

func (o *InviteRead) GetOrganizationIdOk() (*string, bool)

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

func (*InviteRead) GetRole

func (o *InviteRead) GetRole() string

GetRole returns the Role field value

func (*InviteRead) GetRoleOk

func (o *InviteRead) GetRoleOk() (*string, bool)

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

func (*InviteRead) GetStatus

func (o *InviteRead) GetStatus() InviteStatus

GetStatus returns the Status field value

func (*InviteRead) GetStatusOk

func (o *InviteRead) GetStatusOk() (*InviteStatus, bool)

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

func (*InviteRead) HasFailedReason

func (o *InviteRead) HasFailedReason() bool

HasFailedReason returns a boolean if a field has been set.

func (InviteRead) MarshalJSON

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

func (*InviteRead) SetCreatedAt

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

SetCreatedAt sets field value

func (*InviteRead) SetEmail

func (o *InviteRead) SetEmail(v string)

SetEmail sets field value

func (*InviteRead) SetFailedReason

func (o *InviteRead) SetFailedReason(v string)

SetFailedReason gets a reference to the given string and assigns it to the FailedReason field.

func (*InviteRead) SetId

func (o *InviteRead) SetId(v string)

SetId sets field value

func (*InviteRead) SetInviteCode

func (o *InviteRead) SetInviteCode(v string)

SetInviteCode sets field value

func (*InviteRead) SetOrganizationId

func (o *InviteRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*InviteRead) SetRole

func (o *InviteRead) SetRole(v string)

SetRole sets field value

func (*InviteRead) SetStatus

func (o *InviteRead) SetStatus(v InviteStatus)

SetStatus sets field value

type InviteStatus

type InviteStatus string

InviteStatus An enumeration.

const (
	INVITE_PENDING  InviteStatus = "pending"
	INVITE_ACCEPTED InviteStatus = "accepted"
	INVITE_FAILED   InviteStatus = "failed"
	INVITE_CANCELED InviteStatus = "canceled"
)

List of InviteStatus

func NewInviteStatusFromValue

func NewInviteStatusFromValue(v string) (*InviteStatus, error)

NewInviteStatusFromValue returns a pointer to a valid InviteStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InviteStatus) IsValid

func (v InviteStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InviteStatus) Ptr

func (v InviteStatus) Ptr() *InviteStatus

Ptr returns reference to InviteStatus value

func (*InviteStatus) UnmarshalJSON

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

type Labels

type Labels struct {
	Id      string `json:"id"`
	Version string `json:"version"`
}

Labels struct for Labels

func NewLabels

func NewLabels(id string, version string) *Labels

NewLabels instantiates a new Labels 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 NewLabelsWithDefaults

func NewLabelsWithDefaults() *Labels

NewLabelsWithDefaults instantiates a new Labels 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 (*Labels) GetId

func (o *Labels) GetId() string

GetId returns the Id field value

func (*Labels) GetIdOk

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

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

func (*Labels) GetVersion

func (o *Labels) GetVersion() string

GetVersion returns the Version field value

func (*Labels) GetVersionOk

func (o *Labels) GetVersionOk() (*string, bool)

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

func (Labels) MarshalJSON

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

func (*Labels) SetId

func (o *Labels) SetId(v string)

SetId sets field value

func (*Labels) SetVersion

func (o *Labels) SetVersion(v string)

SetVersion sets field value

type LanguageInstructions

type LanguageInstructions struct {
	Language     ProgrammingLanguage `json:"language"`
	Label        string              `json:"label"`
	Instructions string              `json:"instructions"`
}

LanguageInstructions struct for LanguageInstructions

func NewLanguageInstructions

func NewLanguageInstructions(language ProgrammingLanguage, label string, instructions string) *LanguageInstructions

NewLanguageInstructions instantiates a new LanguageInstructions 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 NewLanguageInstructionsWithDefaults

func NewLanguageInstructionsWithDefaults() *LanguageInstructions

NewLanguageInstructionsWithDefaults instantiates a new LanguageInstructions 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 (*LanguageInstructions) GetInstructions

func (o *LanguageInstructions) GetInstructions() string

GetInstructions returns the Instructions field value

func (*LanguageInstructions) GetInstructionsOk

func (o *LanguageInstructions) GetInstructionsOk() (*string, bool)

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

func (*LanguageInstructions) GetLabel

func (o *LanguageInstructions) GetLabel() string

GetLabel returns the Label field value

func (*LanguageInstructions) GetLabelOk

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

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

func (*LanguageInstructions) GetLanguage

func (o *LanguageInstructions) GetLanguage() ProgrammingLanguage

GetLanguage returns the Language field value

func (*LanguageInstructions) GetLanguageOk

func (o *LanguageInstructions) GetLanguageOk() (*ProgrammingLanguage, bool)

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

func (LanguageInstructions) MarshalJSON

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

func (*LanguageInstructions) SetInstructions

func (o *LanguageInstructions) SetInstructions(v string)

SetInstructions sets field value

func (*LanguageInstructions) SetLabel

func (o *LanguageInstructions) SetLabel(v string)

SetLabel sets field value

func (*LanguageInstructions) SetLanguage

func (o *LanguageInstructions) SetLanguage(v ProgrammingLanguage)

SetLanguage sets field value

type LocationInner

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

LocationInner struct for LocationInner

func (*LocationInner) MarshalJSON

func (src *LocationInner) MarshalJSON() ([]byte, error)

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

func (*LocationInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type LoginResult

type LoginResult struct {
	// whether login was successful
	LoggedIn bool `json:"logged_in"`
	// when will the login session expire (the unix timestamp in seconds)
	ExpiresAt int32 `json:"expires_at"`
	// the active organization on the session after the login
	ActiveOrgId   *string              `json:"active_org_id,omitempty"`
	InviteAttempt *InviteAttemptResult `json:"invite_attempt,omitempty"`
}

LoginResult struct for LoginResult

func NewLoginResult

func NewLoginResult(loggedIn bool, expiresAt int32) *LoginResult

NewLoginResult instantiates a new LoginResult 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 NewLoginResultWithDefaults

func NewLoginResultWithDefaults() *LoginResult

NewLoginResultWithDefaults instantiates a new LoginResult 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 (*LoginResult) GetActiveOrgId

func (o *LoginResult) GetActiveOrgId() string

GetActiveOrgId returns the ActiveOrgId field value if set, zero value otherwise.

func (*LoginResult) GetActiveOrgIdOk

func (o *LoginResult) GetActiveOrgIdOk() (*string, bool)

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

func (*LoginResult) GetExpiresAt

func (o *LoginResult) GetExpiresAt() int32

GetExpiresAt returns the ExpiresAt field value

func (*LoginResult) GetExpiresAtOk

func (o *LoginResult) GetExpiresAtOk() (*int32, bool)

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

func (*LoginResult) GetInviteAttempt

func (o *LoginResult) GetInviteAttempt() InviteAttemptResult

GetInviteAttempt returns the InviteAttempt field value if set, zero value otherwise.

func (*LoginResult) GetInviteAttemptOk

func (o *LoginResult) GetInviteAttemptOk() (*InviteAttemptResult, bool)

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

func (*LoginResult) GetLoggedIn

func (o *LoginResult) GetLoggedIn() bool

GetLoggedIn returns the LoggedIn field value

func (*LoginResult) GetLoggedInOk

func (o *LoginResult) GetLoggedInOk() (*bool, bool)

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

func (*LoginResult) HasActiveOrgId

func (o *LoginResult) HasActiveOrgId() bool

HasActiveOrgId returns a boolean if a field has been set.

func (*LoginResult) HasInviteAttempt

func (o *LoginResult) HasInviteAttempt() bool

HasInviteAttempt returns a boolean if a field has been set.

func (LoginResult) MarshalJSON

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

func (*LoginResult) SetActiveOrgId

func (o *LoginResult) SetActiveOrgId(v string)

SetActiveOrgId gets a reference to the given string and assigns it to the ActiveOrgId field.

func (*LoginResult) SetExpiresAt

func (o *LoginResult) SetExpiresAt(v int32)

SetExpiresAt sets field value

func (*LoginResult) SetInviteAttempt

func (o *LoginResult) SetInviteAttempt(v InviteAttemptResult)

SetInviteAttempt gets a reference to the given InviteAttemptResult and assigns it to the InviteAttempt field.

func (*LoginResult) SetLoggedIn

func (o *LoginResult) SetLoggedIn(v bool)

SetLoggedIn sets field value

type MemberAccessLevel

type MemberAccessLevel string

MemberAccessLevel An enumeration.

const (
	READ  MemberAccessLevel = "read"
	WRITE MemberAccessLevel = "write"
	ADMIN MemberAccessLevel = "admin"
)

List of MemberAccessLevel

func NewMemberAccessLevelFromValue

func NewMemberAccessLevelFromValue(v string) (*MemberAccessLevel, error)

NewMemberAccessLevelFromValue returns a pointer to a valid MemberAccessLevel for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MemberAccessLevel) IsValid

func (v MemberAccessLevel) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MemberAccessLevel) Ptr

Ptr returns reference to MemberAccessLevel value

func (*MemberAccessLevel) UnmarshalJSON

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

type MemberAccessObj

type MemberAccessObj string

MemberAccessObj An enumeration.

const (
	ORG     MemberAccessObj = "org"
	PROJECT MemberAccessObj = "project"
	ENV     MemberAccessObj = "env"
)

List of MemberAccessObj

func NewMemberAccessObjFromValue

func NewMemberAccessObjFromValue(v string) (*MemberAccessObj, error)

NewMemberAccessObjFromValue returns a pointer to a valid MemberAccessObj for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MemberAccessObj) IsValid

func (v MemberAccessObj) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MemberAccessObj) Ptr

Ptr returns reference to MemberAccessObj value

func (*MemberAccessObj) UnmarshalJSON

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

type MultiInviteResult

type MultiInviteResult struct {
	Success []InviteRead `json:"success"`
	// invites that were not even attempted, and the reason why
	Failed []FailedInvite `json:"failed,omitempty"`
}

MultiInviteResult struct for MultiInviteResult

func NewMultiInviteResult

func NewMultiInviteResult(success []InviteRead) *MultiInviteResult

NewMultiInviteResult instantiates a new MultiInviteResult 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 NewMultiInviteResultWithDefaults

func NewMultiInviteResultWithDefaults() *MultiInviteResult

NewMultiInviteResultWithDefaults instantiates a new MultiInviteResult 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 (*MultiInviteResult) GetFailed

func (o *MultiInviteResult) GetFailed() []FailedInvite

GetFailed returns the Failed field value if set, zero value otherwise.

func (*MultiInviteResult) GetFailedOk

func (o *MultiInviteResult) GetFailedOk() ([]FailedInvite, bool)

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

func (*MultiInviteResult) GetSuccess

func (o *MultiInviteResult) GetSuccess() []InviteRead

GetSuccess returns the Success field value

func (*MultiInviteResult) GetSuccessOk

func (o *MultiInviteResult) GetSuccessOk() ([]InviteRead, bool)

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

func (*MultiInviteResult) HasFailed

func (o *MultiInviteResult) HasFailed() bool

HasFailed returns a boolean if a field has been set.

func (MultiInviteResult) MarshalJSON

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

func (*MultiInviteResult) SetFailed

func (o *MultiInviteResult) SetFailed(v []FailedInvite)

SetFailed gets a reference to the given []FailedInvite and assigns it to the Failed field.

func (*MultiInviteResult) SetSuccess

func (o *MultiInviteResult) SetSuccess(v []InviteRead)

SetSuccess sets field value

type NullableAPIKeyCreate

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

func NewNullableAPIKeyCreate

func NewNullableAPIKeyCreate(val *APIKeyCreate) *NullableAPIKeyCreate

func (NullableAPIKeyCreate) Get

func (NullableAPIKeyCreate) IsSet

func (v NullableAPIKeyCreate) IsSet() bool

func (NullableAPIKeyCreate) MarshalJSON

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

func (*NullableAPIKeyCreate) Set

func (v *NullableAPIKeyCreate) Set(val *APIKeyCreate)

func (*NullableAPIKeyCreate) UnmarshalJSON

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

func (*NullableAPIKeyCreate) Unset

func (v *NullableAPIKeyCreate) Unset()

type NullableAPIKeyOwnerType

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

func NewNullableAPIKeyOwnerType

func NewNullableAPIKeyOwnerType(val *APIKeyOwnerType) *NullableAPIKeyOwnerType

func (NullableAPIKeyOwnerType) Get

func (NullableAPIKeyOwnerType) IsSet

func (v NullableAPIKeyOwnerType) IsSet() bool

func (NullableAPIKeyOwnerType) MarshalJSON

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

func (*NullableAPIKeyOwnerType) Set

func (*NullableAPIKeyOwnerType) UnmarshalJSON

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

func (*NullableAPIKeyOwnerType) Unset

func (v *NullableAPIKeyOwnerType) Unset()

type NullableAPIKeyRead

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

func NewNullableAPIKeyRead

func NewNullableAPIKeyRead(val *APIKeyRead) *NullableAPIKeyRead

func (NullableAPIKeyRead) Get

func (v NullableAPIKeyRead) Get() *APIKeyRead

func (NullableAPIKeyRead) IsSet

func (v NullableAPIKeyRead) IsSet() bool

func (NullableAPIKeyRead) MarshalJSON

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

func (*NullableAPIKeyRead) Set

func (v *NullableAPIKeyRead) Set(val *APIKeyRead)

func (*NullableAPIKeyRead) UnmarshalJSON

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

func (*NullableAPIKeyRead) Unset

func (v *NullableAPIKeyRead) Unset()

type NullableAPIKeyScopeRead

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

func NewNullableAPIKeyScopeRead

func NewNullableAPIKeyScopeRead(val *APIKeyScopeRead) *NullableAPIKeyScopeRead

func (NullableAPIKeyScopeRead) Get

func (NullableAPIKeyScopeRead) IsSet

func (v NullableAPIKeyScopeRead) IsSet() bool

func (NullableAPIKeyScopeRead) MarshalJSON

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

func (*NullableAPIKeyScopeRead) Set

func (*NullableAPIKeyScopeRead) UnmarshalJSON

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

func (*NullableAPIKeyScopeRead) Unset

func (v *NullableAPIKeyScopeRead) Unset()

type NullableActionBlockEditable

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

func NewNullableActionBlockEditable

func NewNullableActionBlockEditable(val *ActionBlockEditable) *NullableActionBlockEditable

func (NullableActionBlockEditable) Get

func (NullableActionBlockEditable) IsSet

func (NullableActionBlockEditable) MarshalJSON

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

func (*NullableActionBlockEditable) Set

func (*NullableActionBlockEditable) UnmarshalJSON

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

func (*NullableActionBlockEditable) Unset

func (v *NullableActionBlockEditable) Unset()

type NullableActionBlockRead

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

func NewNullableActionBlockRead

func NewNullableActionBlockRead(val *ActionBlockRead) *NullableActionBlockRead

func (NullableActionBlockRead) Get

func (NullableActionBlockRead) IsSet

func (v NullableActionBlockRead) IsSet() bool

func (NullableActionBlockRead) MarshalJSON

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

func (*NullableActionBlockRead) Set

func (*NullableActionBlockRead) UnmarshalJSON

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

func (*NullableActionBlockRead) Unset

func (v *NullableActionBlockRead) Unset()

type NullableActor

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

func NewNullableActor

func NewNullableActor(val *Actor) *NullableActor

func (NullableActor) Get

func (v NullableActor) Get() *Actor

func (NullableActor) IsSet

func (v NullableActor) IsSet() bool

func (NullableActor) MarshalJSON

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

func (*NullableActor) Set

func (v *NullableActor) Set(val *Actor)

func (*NullableActor) UnmarshalJSON

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

func (*NullableActor) Unset

func (v *NullableActor) Unset()

type NullableAddRolePermissions

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

func NewNullableAddRolePermissions

func NewNullableAddRolePermissions(val *AddRolePermissions) *NullableAddRolePermissions

func (NullableAddRolePermissions) Get

func (NullableAddRolePermissions) IsSet

func (v NullableAddRolePermissions) IsSet() bool

func (NullableAddRolePermissions) MarshalJSON

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

func (*NullableAddRolePermissions) Set

func (*NullableAddRolePermissions) UnmarshalJSON

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

func (*NullableAddRolePermissions) Unset

func (v *NullableAddRolePermissions) Unset()

type NullableAttributeBlockEditable

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

func (NullableAttributeBlockEditable) Get

func (NullableAttributeBlockEditable) IsSet

func (NullableAttributeBlockEditable) MarshalJSON

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

func (*NullableAttributeBlockEditable) Set

func (*NullableAttributeBlockEditable) UnmarshalJSON

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

func (*NullableAttributeBlockEditable) Unset

func (v *NullableAttributeBlockEditable) Unset()

type NullableAttributeBlockRead

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

func NewNullableAttributeBlockRead

func NewNullableAttributeBlockRead(val *AttributeBlockRead) *NullableAttributeBlockRead

func (NullableAttributeBlockRead) Get

func (NullableAttributeBlockRead) IsSet

func (v NullableAttributeBlockRead) IsSet() bool

func (NullableAttributeBlockRead) MarshalJSON

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

func (*NullableAttributeBlockRead) Set

func (*NullableAttributeBlockRead) UnmarshalJSON

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

func (*NullableAttributeBlockRead) Unset

func (v *NullableAttributeBlockRead) Unset()

type NullableAttributeType

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

func NewNullableAttributeType

func NewNullableAttributeType(val *AttributeType) *NullableAttributeType

func (NullableAttributeType) Get

func (NullableAttributeType) IsSet

func (v NullableAttributeType) IsSet() bool

func (NullableAttributeType) MarshalJSON

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

func (*NullableAttributeType) Set

func (v *NullableAttributeType) Set(val *AttributeType)

func (*NullableAttributeType) UnmarshalJSON

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

func (*NullableAttributeType) Unset

func (v *NullableAttributeType) Unset()

type NullableAttributes

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

func NewNullableAttributes

func NewNullableAttributes(val *Attributes) *NullableAttributes

func (NullableAttributes) Get

func (v NullableAttributes) Get() *Attributes

func (NullableAttributes) IsSet

func (v NullableAttributes) IsSet() bool

func (NullableAttributes) MarshalJSON

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

func (*NullableAttributes) Set

func (v *NullableAttributes) Set(val *Attributes)

func (*NullableAttributes) UnmarshalJSON

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

func (*NullableAttributes) Unset

func (v *NullableAttributes) Unset()

type NullableAuthnMeAPIKeyRead

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

func NewNullableAuthnMeAPIKeyRead

func NewNullableAuthnMeAPIKeyRead(val *AuthnMeAPIKeyRead) *NullableAuthnMeAPIKeyRead

func (NullableAuthnMeAPIKeyRead) Get

func (NullableAuthnMeAPIKeyRead) IsSet

func (v NullableAuthnMeAPIKeyRead) IsSet() bool

func (NullableAuthnMeAPIKeyRead) MarshalJSON

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

func (*NullableAuthnMeAPIKeyRead) Set

func (*NullableAuthnMeAPIKeyRead) UnmarshalJSON

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

func (*NullableAuthnMeAPIKeyRead) Unset

func (v *NullableAuthnMeAPIKeyRead) Unset()

type NullableAuthnMeMemberRead

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

func NewNullableAuthnMeMemberRead

func NewNullableAuthnMeMemberRead(val *AuthnMeMemberRead) *NullableAuthnMeMemberRead

func (NullableAuthnMeMemberRead) Get

func (NullableAuthnMeMemberRead) IsSet

func (v NullableAuthnMeMemberRead) IsSet() bool

func (NullableAuthnMeMemberRead) MarshalJSON

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

func (*NullableAuthnMeMemberRead) Set

func (*NullableAuthnMeMemberRead) UnmarshalJSON

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

func (*NullableAuthnMeMemberRead) Unset

func (v *NullableAuthnMeMemberRead) Unset()

type NullableAuthnMeRead

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

func NewNullableAuthnMeRead

func NewNullableAuthnMeRead(val *AuthnMeRead) *NullableAuthnMeRead

func (NullableAuthnMeRead) Get

func (NullableAuthnMeRead) IsSet

func (v NullableAuthnMeRead) IsSet() bool

func (NullableAuthnMeRead) MarshalJSON

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

func (*NullableAuthnMeRead) Set

func (v *NullableAuthnMeRead) Set(val *AuthnMeRead)

func (*NullableAuthnMeRead) UnmarshalJSON

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

func (*NullableAuthnMeRead) Unset

func (v *NullableAuthnMeRead) Unset()

type NullableAuthnMeUserRead

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

func NewNullableAuthnMeUserRead

func NewNullableAuthnMeUserRead(val *AuthnMeUserRead) *NullableAuthnMeUserRead

func (NullableAuthnMeUserRead) Get

func (NullableAuthnMeUserRead) IsSet

func (v NullableAuthnMeUserRead) IsSet() bool

func (NullableAuthnMeUserRead) MarshalJSON

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

func (*NullableAuthnMeUserRead) Set

func (*NullableAuthnMeUserRead) UnmarshalJSON

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

func (*NullableAuthnMeUserRead) Unset

func (v *NullableAuthnMeUserRead) 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 NullableConditionSetCreate

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

func NewNullableConditionSetCreate

func NewNullableConditionSetCreate(val *ConditionSetCreate) *NullableConditionSetCreate

func (NullableConditionSetCreate) Get

func (NullableConditionSetCreate) IsSet

func (v NullableConditionSetCreate) IsSet() bool

func (NullableConditionSetCreate) MarshalJSON

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

func (*NullableConditionSetCreate) Set

func (*NullableConditionSetCreate) UnmarshalJSON

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

func (*NullableConditionSetCreate) Unset

func (v *NullableConditionSetCreate) Unset()

type NullableConditionSetRead

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

func NewNullableConditionSetRead

func NewNullableConditionSetRead(val *ConditionSetRead) *NullableConditionSetRead

func (NullableConditionSetRead) Get

func (NullableConditionSetRead) IsSet

func (v NullableConditionSetRead) IsSet() bool

func (NullableConditionSetRead) MarshalJSON

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

func (*NullableConditionSetRead) Set

func (*NullableConditionSetRead) UnmarshalJSON

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

func (*NullableConditionSetRead) Unset

func (v *NullableConditionSetRead) Unset()

type NullableConditionSetRuleCreate

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

func (NullableConditionSetRuleCreate) Get

func (NullableConditionSetRuleCreate) IsSet

func (NullableConditionSetRuleCreate) MarshalJSON

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

func (*NullableConditionSetRuleCreate) Set

func (*NullableConditionSetRuleCreate) UnmarshalJSON

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

func (*NullableConditionSetRuleCreate) Unset

func (v *NullableConditionSetRuleCreate) Unset()

type NullableConditionSetRuleRead

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

func NewNullableConditionSetRuleRead

func NewNullableConditionSetRuleRead(val *ConditionSetRuleRead) *NullableConditionSetRuleRead

func (NullableConditionSetRuleRead) Get

func (NullableConditionSetRuleRead) IsSet

func (NullableConditionSetRuleRead) MarshalJSON

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

func (*NullableConditionSetRuleRead) Set

func (*NullableConditionSetRuleRead) UnmarshalJSON

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

func (*NullableConditionSetRuleRead) Unset

func (v *NullableConditionSetRuleRead) Unset()

type NullableConditionSetRuleRemove

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

func (NullableConditionSetRuleRemove) Get

func (NullableConditionSetRuleRemove) IsSet

func (NullableConditionSetRuleRemove) MarshalJSON

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

func (*NullableConditionSetRuleRemove) Set

func (*NullableConditionSetRuleRemove) UnmarshalJSON

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

func (*NullableConditionSetRuleRemove) Unset

func (v *NullableConditionSetRuleRemove) Unset()

type NullableConditionSetType

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

func NewNullableConditionSetType

func NewNullableConditionSetType(val *ConditionSetType) *NullableConditionSetType

func (NullableConditionSetType) Get

func (NullableConditionSetType) IsSet

func (v NullableConditionSetType) IsSet() bool

func (NullableConditionSetType) MarshalJSON

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

func (*NullableConditionSetType) Set

func (*NullableConditionSetType) UnmarshalJSON

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

func (*NullableConditionSetType) Unset

func (v *NullableConditionSetType) Unset()

type NullableConditionSetUpdate

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

func NewNullableConditionSetUpdate

func NewNullableConditionSetUpdate(val *ConditionSetUpdate) *NullableConditionSetUpdate

func (NullableConditionSetUpdate) Get

func (NullableConditionSetUpdate) IsSet

func (v NullableConditionSetUpdate) IsSet() bool

func (NullableConditionSetUpdate) MarshalJSON

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

func (*NullableConditionSetUpdate) Set

func (*NullableConditionSetUpdate) UnmarshalJSON

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

func (*NullableConditionSetUpdate) Unset

func (v *NullableConditionSetUpdate) Unset()

type NullableDataSourceConfig

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

func NewNullableDataSourceConfig

func NewNullableDataSourceConfig(val *DataSourceConfig) *NullableDataSourceConfig

func (NullableDataSourceConfig) Get

func (NullableDataSourceConfig) IsSet

func (v NullableDataSourceConfig) IsSet() bool

func (NullableDataSourceConfig) MarshalJSON

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

func (*NullableDataSourceConfig) Set

func (*NullableDataSourceConfig) UnmarshalJSON

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

func (*NullableDataSourceConfig) Unset

func (v *NullableDataSourceConfig) Unset()

type NullableDataSourceEntry

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

func NewNullableDataSourceEntry

func NewNullableDataSourceEntry(val *DataSourceEntry) *NullableDataSourceEntry

func (NullableDataSourceEntry) Get

func (NullableDataSourceEntry) IsSet

func (v NullableDataSourceEntry) IsSet() bool

func (NullableDataSourceEntry) MarshalJSON

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

func (*NullableDataSourceEntry) Set

func (*NullableDataSourceEntry) UnmarshalJSON

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

func (*NullableDataSourceEntry) Unset

func (v *NullableDataSourceEntry) Unset()

type NullableDevLogin

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

func NewNullableDevLogin

func NewNullableDevLogin(val *DevLogin) *NullableDevLogin

func (NullableDevLogin) Get

func (v NullableDevLogin) Get() *DevLogin

func (NullableDevLogin) IsSet

func (v NullableDevLogin) IsSet() bool

func (NullableDevLogin) MarshalJSON

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

func (*NullableDevLogin) Set

func (v *NullableDevLogin) Set(val *DevLogin)

func (*NullableDevLogin) UnmarshalJSON

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

func (*NullableDevLogin) Unset

func (v *NullableDevLogin) Unset()

type NullableElementsConfigCreate

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

func NewNullableElementsConfigCreate

func NewNullableElementsConfigCreate(val *ElementsConfigCreate) *NullableElementsConfigCreate

func (NullableElementsConfigCreate) Get

func (NullableElementsConfigCreate) IsSet

func (NullableElementsConfigCreate) MarshalJSON

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

func (*NullableElementsConfigCreate) Set

func (*NullableElementsConfigCreate) UnmarshalJSON

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

func (*NullableElementsConfigCreate) Unset

func (v *NullableElementsConfigCreate) Unset()

type NullableElementsConfigRead

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

func NewNullableElementsConfigRead

func NewNullableElementsConfigRead(val *ElementsConfigRead) *NullableElementsConfigRead

func (NullableElementsConfigRead) Get

func (NullableElementsConfigRead) IsSet

func (v NullableElementsConfigRead) IsSet() bool

func (NullableElementsConfigRead) MarshalJSON

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

func (*NullableElementsConfigRead) Set

func (*NullableElementsConfigRead) UnmarshalJSON

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

func (*NullableElementsConfigRead) Unset

func (v *NullableElementsConfigRead) Unset()

type NullableElementsConfigUpdate

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

func NewNullableElementsConfigUpdate

func NewNullableElementsConfigUpdate(val *ElementsConfigUpdate) *NullableElementsConfigUpdate

func (NullableElementsConfigUpdate) Get

func (NullableElementsConfigUpdate) IsSet

func (NullableElementsConfigUpdate) MarshalJSON

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

func (*NullableElementsConfigUpdate) Set

func (*NullableElementsConfigUpdate) UnmarshalJSON

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

func (*NullableElementsConfigUpdate) Unset

func (v *NullableElementsConfigUpdate) Unset()

type NullableElementsEnvRead

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

func NewNullableElementsEnvRead

func NewNullableElementsEnvRead(val *ElementsEnvRead) *NullableElementsEnvRead

func (NullableElementsEnvRead) Get

func (NullableElementsEnvRead) IsSet

func (v NullableElementsEnvRead) IsSet() bool

func (NullableElementsEnvRead) MarshalJSON

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

func (*NullableElementsEnvRead) Set

func (*NullableElementsEnvRead) UnmarshalJSON

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

func (*NullableElementsEnvRead) Unset

func (v *NullableElementsEnvRead) Unset()

type NullableElementsEnvUpdate

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

func NewNullableElementsEnvUpdate

func NewNullableElementsEnvUpdate(val *ElementsEnvUpdate) *NullableElementsEnvUpdate

func (NullableElementsEnvUpdate) Get

func (NullableElementsEnvUpdate) IsSet

func (v NullableElementsEnvUpdate) IsSet() bool

func (NullableElementsEnvUpdate) MarshalJSON

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

func (*NullableElementsEnvUpdate) Set

func (*NullableElementsEnvUpdate) UnmarshalJSON

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

func (*NullableElementsEnvUpdate) Unset

func (v *NullableElementsEnvUpdate) Unset()

type NullableElementsPermissionLevel

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

func (NullableElementsPermissionLevel) Get

func (NullableElementsPermissionLevel) IsSet

func (NullableElementsPermissionLevel) MarshalJSON

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

func (*NullableElementsPermissionLevel) Set

func (*NullableElementsPermissionLevel) UnmarshalJSON

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

func (*NullableElementsPermissionLevel) Unset

type NullableElementsRoleRead

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

func NewNullableElementsRoleRead

func NewNullableElementsRoleRead(val *ElementsRoleRead) *NullableElementsRoleRead

func (NullableElementsRoleRead) Get

func (NullableElementsRoleRead) IsSet

func (v NullableElementsRoleRead) IsSet() bool

func (NullableElementsRoleRead) MarshalJSON

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

func (*NullableElementsRoleRead) Set

func (*NullableElementsRoleRead) UnmarshalJSON

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

func (*NullableElementsRoleRead) Unset

func (v *NullableElementsRoleRead) Unset()

type NullableElementsType

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

func NewNullableElementsType

func NewNullableElementsType(val *ElementsType) *NullableElementsType

func (NullableElementsType) Get

func (NullableElementsType) IsSet

func (v NullableElementsType) IsSet() bool

func (NullableElementsType) MarshalJSON

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

func (*NullableElementsType) Set

func (v *NullableElementsType) Set(val *ElementsType)

func (*NullableElementsType) UnmarshalJSON

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

func (*NullableElementsType) Unset

func (v *NullableElementsType) Unset()

type NullableElementsUserCreate

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

func NewNullableElementsUserCreate

func NewNullableElementsUserCreate(val *ElementsUserCreate) *NullableElementsUserCreate

func (NullableElementsUserCreate) Get

func (NullableElementsUserCreate) IsSet

func (v NullableElementsUserCreate) IsSet() bool

func (NullableElementsUserCreate) MarshalJSON

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

func (*NullableElementsUserCreate) Set

func (*NullableElementsUserCreate) UnmarshalJSON

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

func (*NullableElementsUserCreate) Unset

func (v *NullableElementsUserCreate) Unset()

type NullableElementsUserRoleCreate

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

func (NullableElementsUserRoleCreate) Get

func (NullableElementsUserRoleCreate) IsSet

func (NullableElementsUserRoleCreate) MarshalJSON

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

func (*NullableElementsUserRoleCreate) Set

func (*NullableElementsUserRoleCreate) UnmarshalJSON

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

func (*NullableElementsUserRoleCreate) Unset

func (v *NullableElementsUserRoleCreate) Unset()

type NullableElementsUserRoleRemove

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

func (NullableElementsUserRoleRemove) Get

func (NullableElementsUserRoleRemove) IsSet

func (NullableElementsUserRoleRemove) MarshalJSON

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

func (*NullableElementsUserRoleRemove) Set

func (*NullableElementsUserRoleRemove) UnmarshalJSON

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

func (*NullableElementsUserRoleRemove) Unset

func (v *NullableElementsUserRoleRemove) Unset()

type NullableEmbeddedLoginRequestOutput

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

func (NullableEmbeddedLoginRequestOutput) Get

func (NullableEmbeddedLoginRequestOutput) IsSet

func (NullableEmbeddedLoginRequestOutput) MarshalJSON

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

func (*NullableEmbeddedLoginRequestOutput) Set

func (*NullableEmbeddedLoginRequestOutput) UnmarshalJSON

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

func (*NullableEmbeddedLoginRequestOutput) Unset

type NullableEnvironmentCreate

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

func NewNullableEnvironmentCreate

func NewNullableEnvironmentCreate(val *EnvironmentCreate) *NullableEnvironmentCreate

func (NullableEnvironmentCreate) Get

func (NullableEnvironmentCreate) IsSet

func (v NullableEnvironmentCreate) IsSet() bool

func (NullableEnvironmentCreate) MarshalJSON

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

func (*NullableEnvironmentCreate) Set

func (*NullableEnvironmentCreate) UnmarshalJSON

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

func (*NullableEnvironmentCreate) Unset

func (v *NullableEnvironmentCreate) Unset()

type NullableEnvironmentRead

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

func NewNullableEnvironmentRead

func NewNullableEnvironmentRead(val *EnvironmentRead) *NullableEnvironmentRead

func (NullableEnvironmentRead) Get

func (NullableEnvironmentRead) IsSet

func (v NullableEnvironmentRead) IsSet() bool

func (NullableEnvironmentRead) MarshalJSON

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

func (*NullableEnvironmentRead) Set

func (*NullableEnvironmentRead) UnmarshalJSON

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

func (*NullableEnvironmentRead) Unset

func (v *NullableEnvironmentRead) Unset()

type NullableEnvironmentStats

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

func NewNullableEnvironmentStats

func NewNullableEnvironmentStats(val *EnvironmentStats) *NullableEnvironmentStats

func (NullableEnvironmentStats) Get

func (NullableEnvironmentStats) IsSet

func (v NullableEnvironmentStats) IsSet() bool

func (NullableEnvironmentStats) MarshalJSON

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

func (*NullableEnvironmentStats) Set

func (*NullableEnvironmentStats) UnmarshalJSON

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

func (*NullableEnvironmentStats) Unset

func (v *NullableEnvironmentStats) Unset()

type NullableEnvironmentUpdate

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

func NewNullableEnvironmentUpdate

func NewNullableEnvironmentUpdate(val *EnvironmentUpdate) *NullableEnvironmentUpdate

func (NullableEnvironmentUpdate) Get

func (NullableEnvironmentUpdate) IsSet

func (v NullableEnvironmentUpdate) IsSet() bool

func (NullableEnvironmentUpdate) MarshalJSON

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

func (*NullableEnvironmentUpdate) Set

func (*NullableEnvironmentUpdate) UnmarshalJSON

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

func (*NullableEnvironmentUpdate) Unset

func (v *NullableEnvironmentUpdate) Unset()

type NullableFailedInvite

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

func NewNullableFailedInvite

func NewNullableFailedInvite(val *FailedInvite) *NullableFailedInvite

func (NullableFailedInvite) Get

func (NullableFailedInvite) IsSet

func (v NullableFailedInvite) IsSet() bool

func (NullableFailedInvite) MarshalJSON

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

func (*NullableFailedInvite) Set

func (v *NullableFailedInvite) Set(val *FailedInvite)

func (*NullableFailedInvite) UnmarshalJSON

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

func (*NullableFailedInvite) Unset

func (v *NullableFailedInvite) 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 NullableFullData

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

func NewNullableFullData

func NewNullableFullData(val *FullData) *NullableFullData

func (NullableFullData) Get

func (v NullableFullData) Get() *FullData

func (NullableFullData) IsSet

func (v NullableFullData) IsSet() bool

func (NullableFullData) MarshalJSON

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

func (*NullableFullData) Set

func (v *NullableFullData) Set(val *FullData)

func (*NullableFullData) UnmarshalJSON

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

func (*NullableFullData) Unset

func (v *NullableFullData) Unset()

type NullableHTTPValidationError

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

func NewNullableHTTPValidationError

func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError

func (NullableHTTPValidationError) Get

func (NullableHTTPValidationError) IsSet

func (NullableHTTPValidationError) MarshalJSON

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

func (*NullableHTTPValidationError) Set

func (*NullableHTTPValidationError) UnmarshalJSON

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

func (*NullableHTTPValidationError) Unset

func (v *NullableHTTPValidationError) Unset()

type NullableIdentityRead

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

func NewNullableIdentityRead

func NewNullableIdentityRead(val *IdentityRead) *NullableIdentityRead

func (NullableIdentityRead) Get

func (NullableIdentityRead) IsSet

func (v NullableIdentityRead) IsSet() bool

func (NullableIdentityRead) MarshalJSON

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

func (*NullableIdentityRead) Set

func (v *NullableIdentityRead) Set(val *IdentityRead)

func (*NullableIdentityRead) UnmarshalJSON

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

func (*NullableIdentityRead) Unset

func (v *NullableIdentityRead) 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 NullableInviteAttemptResult

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

func NewNullableInviteAttemptResult

func NewNullableInviteAttemptResult(val *InviteAttemptResult) *NullableInviteAttemptResult

func (NullableInviteAttemptResult) Get

func (NullableInviteAttemptResult) IsSet

func (NullableInviteAttemptResult) MarshalJSON

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

func (*NullableInviteAttemptResult) Set

func (*NullableInviteAttemptResult) UnmarshalJSON

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

func (*NullableInviteAttemptResult) Unset

func (v *NullableInviteAttemptResult) Unset()

type NullableInviteCreate

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

func NewNullableInviteCreate

func NewNullableInviteCreate(val *InviteCreate) *NullableInviteCreate

func (NullableInviteCreate) Get

func (NullableInviteCreate) IsSet

func (v NullableInviteCreate) IsSet() bool

func (NullableInviteCreate) MarshalJSON

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

func (*NullableInviteCreate) Set

func (v *NullableInviteCreate) Set(val *InviteCreate)

func (*NullableInviteCreate) UnmarshalJSON

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

func (*NullableInviteCreate) Unset

func (v *NullableInviteCreate) Unset()

type NullableInviteRead

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

func NewNullableInviteRead

func NewNullableInviteRead(val *InviteRead) *NullableInviteRead

func (NullableInviteRead) Get

func (v NullableInviteRead) Get() *InviteRead

func (NullableInviteRead) IsSet

func (v NullableInviteRead) IsSet() bool

func (NullableInviteRead) MarshalJSON

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

func (*NullableInviteRead) Set

func (v *NullableInviteRead) Set(val *InviteRead)

func (*NullableInviteRead) UnmarshalJSON

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

func (*NullableInviteRead) Unset

func (v *NullableInviteRead) Unset()

type NullableInviteStatus

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

func NewNullableInviteStatus

func NewNullableInviteStatus(val *InviteStatus) *NullableInviteStatus

func (NullableInviteStatus) Get

func (NullableInviteStatus) IsSet

func (v NullableInviteStatus) IsSet() bool

func (NullableInviteStatus) MarshalJSON

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

func (*NullableInviteStatus) Set

func (v *NullableInviteStatus) Set(val *InviteStatus)

func (*NullableInviteStatus) UnmarshalJSON

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

func (*NullableInviteStatus) Unset

func (v *NullableInviteStatus) Unset()

type NullableLabels

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

func NewNullableLabels

func NewNullableLabels(val *Labels) *NullableLabels

func (NullableLabels) Get

func (v NullableLabels) Get() *Labels

func (NullableLabels) IsSet

func (v NullableLabels) IsSet() bool

func (NullableLabels) MarshalJSON

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

func (*NullableLabels) Set

func (v *NullableLabels) Set(val *Labels)

func (*NullableLabels) UnmarshalJSON

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

func (*NullableLabels) Unset

func (v *NullableLabels) Unset()

type NullableLanguageInstructions

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

func NewNullableLanguageInstructions

func NewNullableLanguageInstructions(val *LanguageInstructions) *NullableLanguageInstructions

func (NullableLanguageInstructions) Get

func (NullableLanguageInstructions) IsSet

func (NullableLanguageInstructions) MarshalJSON

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

func (*NullableLanguageInstructions) Set

func (*NullableLanguageInstructions) UnmarshalJSON

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

func (*NullableLanguageInstructions) Unset

func (v *NullableLanguageInstructions) Unset()

type NullableLocationInner

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

func NewNullableLocationInner

func NewNullableLocationInner(val *LocationInner) *NullableLocationInner

func (NullableLocationInner) Get

func (NullableLocationInner) IsSet

func (v NullableLocationInner) IsSet() bool

func (NullableLocationInner) MarshalJSON

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

func (*NullableLocationInner) Set

func (v *NullableLocationInner) Set(val *LocationInner)

func (*NullableLocationInner) UnmarshalJSON

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

func (*NullableLocationInner) Unset

func (v *NullableLocationInner) Unset()

type NullableLoginResult

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

func NewNullableLoginResult

func NewNullableLoginResult(val *LoginResult) *NullableLoginResult

func (NullableLoginResult) Get

func (NullableLoginResult) IsSet

func (v NullableLoginResult) IsSet() bool

func (NullableLoginResult) MarshalJSON

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

func (*NullableLoginResult) Set

func (v *NullableLoginResult) Set(val *LoginResult)

func (*NullableLoginResult) UnmarshalJSON

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

func (*NullableLoginResult) Unset

func (v *NullableLoginResult) Unset()

type NullableMemberAccessLevel

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

func NewNullableMemberAccessLevel

func NewNullableMemberAccessLevel(val *MemberAccessLevel) *NullableMemberAccessLevel

func (NullableMemberAccessLevel) Get

func (NullableMemberAccessLevel) IsSet

func (v NullableMemberAccessLevel) IsSet() bool

func (NullableMemberAccessLevel) MarshalJSON

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

func (*NullableMemberAccessLevel) Set

func (*NullableMemberAccessLevel) UnmarshalJSON

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

func (*NullableMemberAccessLevel) Unset

func (v *NullableMemberAccessLevel) Unset()

type NullableMemberAccessObj

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

func NewNullableMemberAccessObj

func NewNullableMemberAccessObj(val *MemberAccessObj) *NullableMemberAccessObj

func (NullableMemberAccessObj) Get

func (NullableMemberAccessObj) IsSet

func (v NullableMemberAccessObj) IsSet() bool

func (NullableMemberAccessObj) MarshalJSON

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

func (*NullableMemberAccessObj) Set

func (*NullableMemberAccessObj) UnmarshalJSON

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

func (*NullableMemberAccessObj) Unset

func (v *NullableMemberAccessObj) Unset()

type NullableMultiInviteResult

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

func NewNullableMultiInviteResult

func NewNullableMultiInviteResult(val *MultiInviteResult) *NullableMultiInviteResult

func (NullableMultiInviteResult) Get

func (NullableMultiInviteResult) IsSet

func (v NullableMultiInviteResult) IsSet() bool

func (NullableMultiInviteResult) MarshalJSON

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

func (*NullableMultiInviteResult) Set

func (*NullableMultiInviteResult) UnmarshalJSON

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

func (*NullableMultiInviteResult) Unset

func (v *NullableMultiInviteResult) Unset()

type NullableOPADecisionLog

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

func NewNullableOPADecisionLog

func NewNullableOPADecisionLog(val *OPADecisionLog) *NullableOPADecisionLog

func (NullableOPADecisionLog) Get

func (NullableOPADecisionLog) IsSet

func (v NullableOPADecisionLog) IsSet() bool

func (NullableOPADecisionLog) MarshalJSON

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

func (*NullableOPADecisionLog) Set

func (*NullableOPADecisionLog) UnmarshalJSON

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

func (*NullableOPADecisionLog) Unset

func (v *NullableOPADecisionLog) Unset()

type NullableOPALClient

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

func NewNullableOPALClient

func NewNullableOPALClient(val *OPALClient) *NullableOPALClient

func (NullableOPALClient) Get

func (v NullableOPALClient) Get() *OPALClient

func (NullableOPALClient) IsSet

func (v NullableOPALClient) IsSet() bool

func (NullableOPALClient) MarshalJSON

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

func (*NullableOPALClient) Set

func (v *NullableOPALClient) Set(val *OPALClient)

func (*NullableOPALClient) UnmarshalJSON

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

func (*NullableOPALClient) Unset

func (v *NullableOPALClient) Unset()

type NullableOnboardingStep

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

func NewNullableOnboardingStep

func NewNullableOnboardingStep(val *OnboardingStep) *NullableOnboardingStep

func (NullableOnboardingStep) Get

func (NullableOnboardingStep) IsSet

func (v NullableOnboardingStep) IsSet() bool

func (NullableOnboardingStep) MarshalJSON

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

func (*NullableOnboardingStep) Set

func (*NullableOnboardingStep) UnmarshalJSON

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

func (*NullableOnboardingStep) Unset

func (v *NullableOnboardingStep) Unset()

type NullableOrgMemberRead

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

func NewNullableOrgMemberRead

func NewNullableOrgMemberRead(val *OrgMemberRead) *NullableOrgMemberRead

func (NullableOrgMemberRead) Get

func (NullableOrgMemberRead) IsSet

func (v NullableOrgMemberRead) IsSet() bool

func (NullableOrgMemberRead) MarshalJSON

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

func (*NullableOrgMemberRead) Set

func (v *NullableOrgMemberRead) Set(val *OrgMemberRead)

func (*NullableOrgMemberRead) UnmarshalJSON

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

func (*NullableOrgMemberRead) Unset

func (v *NullableOrgMemberRead) Unset()

type NullableOrgMemberUpdate

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

func NewNullableOrgMemberUpdate

func NewNullableOrgMemberUpdate(val *OrgMemberUpdate) *NullableOrgMemberUpdate

func (NullableOrgMemberUpdate) Get

func (NullableOrgMemberUpdate) IsSet

func (v NullableOrgMemberUpdate) IsSet() bool

func (NullableOrgMemberUpdate) MarshalJSON

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

func (*NullableOrgMemberUpdate) Set

func (*NullableOrgMemberUpdate) UnmarshalJSON

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

func (*NullableOrgMemberUpdate) Unset

func (v *NullableOrgMemberUpdate) Unset()

type NullableOrganizationCreate

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

func NewNullableOrganizationCreate

func NewNullableOrganizationCreate(val *OrganizationCreate) *NullableOrganizationCreate

func (NullableOrganizationCreate) Get

func (NullableOrganizationCreate) IsSet

func (v NullableOrganizationCreate) IsSet() bool

func (NullableOrganizationCreate) MarshalJSON

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

func (*NullableOrganizationCreate) Set

func (*NullableOrganizationCreate) UnmarshalJSON

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

func (*NullableOrganizationCreate) Unset

func (v *NullableOrganizationCreate) Unset()

type NullableOrganizationRead

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

func NewNullableOrganizationRead

func NewNullableOrganizationRead(val *OrganizationRead) *NullableOrganizationRead

func (NullableOrganizationRead) Get

func (NullableOrganizationRead) IsSet

func (v NullableOrganizationRead) IsSet() bool

func (NullableOrganizationRead) MarshalJSON

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

func (*NullableOrganizationRead) Set

func (*NullableOrganizationRead) UnmarshalJSON

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

func (*NullableOrganizationRead) Unset

func (v *NullableOrganizationRead) Unset()

type NullableOrganizationReadWithAPIKey

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

func (NullableOrganizationReadWithAPIKey) Get

func (NullableOrganizationReadWithAPIKey) IsSet

func (NullableOrganizationReadWithAPIKey) MarshalJSON

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

func (*NullableOrganizationReadWithAPIKey) Set

func (*NullableOrganizationReadWithAPIKey) UnmarshalJSON

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

func (*NullableOrganizationReadWithAPIKey) Unset

type NullableOrganizationUpdate

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

func NewNullableOrganizationUpdate

func NewNullableOrganizationUpdate(val *OrganizationUpdate) *NullableOrganizationUpdate

func (NullableOrganizationUpdate) Get

func (NullableOrganizationUpdate) IsSet

func (v NullableOrganizationUpdate) IsSet() bool

func (NullableOrganizationUpdate) MarshalJSON

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

func (*NullableOrganizationUpdate) Set

func (*NullableOrganizationUpdate) UnmarshalJSON

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

func (*NullableOrganizationUpdate) Unset

func (v *NullableOrganizationUpdate) Unset()

type NullablePDPConfigRead

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

func NewNullablePDPConfigRead

func NewNullablePDPConfigRead(val *PDPConfigRead) *NullablePDPConfigRead

func (NullablePDPConfigRead) Get

func (NullablePDPConfigRead) IsSet

func (v NullablePDPConfigRead) IsSet() bool

func (NullablePDPConfigRead) MarshalJSON

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

func (*NullablePDPConfigRead) Set

func (v *NullablePDPConfigRead) Set(val *PDPConfigRead)

func (*NullablePDPConfigRead) UnmarshalJSON

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

func (*NullablePDPConfigRead) Unset

func (v *NullablePDPConfigRead) Unset()

type NullablePDPContext

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

func NewNullablePDPContext

func NewNullablePDPContext(val *PDPContext) *NullablePDPContext

func (NullablePDPContext) Get

func (v NullablePDPContext) Get() *PDPContext

func (NullablePDPContext) IsSet

func (v NullablePDPContext) IsSet() bool

func (NullablePDPContext) MarshalJSON

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

func (*NullablePDPContext) Set

func (v *NullablePDPContext) Set(val *PDPContext)

func (*NullablePDPContext) UnmarshalJSON

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

func (*NullablePDPContext) Unset

func (v *NullablePDPContext) Unset()

type NullablePDPState

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

func NewNullablePDPState

func NewNullablePDPState(val *PDPState) *NullablePDPState

func (NullablePDPState) Get

func (v NullablePDPState) Get() *PDPState

func (NullablePDPState) IsSet

func (v NullablePDPState) IsSet() bool

func (NullablePDPState) MarshalJSON

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

func (*NullablePDPState) Set

func (v *NullablePDPState) Set(val *PDPState)

func (*NullablePDPState) UnmarshalJSON

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

func (*NullablePDPState) Unset

func (v *NullablePDPState) Unset()

type NullablePDPStateUpdate

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

func NewNullablePDPStateUpdate

func NewNullablePDPStateUpdate(val *PDPStateUpdate) *NullablePDPStateUpdate

func (NullablePDPStateUpdate) Get

func (NullablePDPStateUpdate) IsSet

func (v NullablePDPStateUpdate) IsSet() bool

func (NullablePDPStateUpdate) MarshalJSON

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

func (*NullablePDPStateUpdate) Set

func (*NullablePDPStateUpdate) UnmarshalJSON

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

func (*NullablePDPStateUpdate) Unset

func (v *NullablePDPStateUpdate) Unset()

type NullablePaginatedResultAPIKeyRead

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

func (NullablePaginatedResultAPIKeyRead) Get

func (NullablePaginatedResultAPIKeyRead) IsSet

func (NullablePaginatedResultAPIKeyRead) MarshalJSON

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

func (*NullablePaginatedResultAPIKeyRead) Set

func (*NullablePaginatedResultAPIKeyRead) UnmarshalJSON

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

func (*NullablePaginatedResultAPIKeyRead) Unset

type NullablePaginatedResultElementsConfigRead

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

func (NullablePaginatedResultElementsConfigRead) Get

func (NullablePaginatedResultElementsConfigRead) IsSet

func (NullablePaginatedResultElementsConfigRead) MarshalJSON

func (*NullablePaginatedResultElementsConfigRead) Set

func (*NullablePaginatedResultElementsConfigRead) UnmarshalJSON

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

func (*NullablePaginatedResultElementsConfigRead) Unset

type NullablePaginatedResultOPADecisionLog

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

func (NullablePaginatedResultOPADecisionLog) Get

func (NullablePaginatedResultOPADecisionLog) IsSet

func (NullablePaginatedResultOPADecisionLog) MarshalJSON

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

func (*NullablePaginatedResultOPADecisionLog) Set

func (*NullablePaginatedResultOPADecisionLog) UnmarshalJSON

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

func (*NullablePaginatedResultOPADecisionLog) Unset

type NullablePaginatedResultUserRead

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

func (NullablePaginatedResultUserRead) Get

func (NullablePaginatedResultUserRead) IsSet

func (NullablePaginatedResultUserRead) MarshalJSON

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

func (*NullablePaginatedResultUserRead) Set

func (*NullablePaginatedResultUserRead) UnmarshalJSON

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

func (*NullablePaginatedResultUserRead) Unset

type NullablePdp

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

func NewNullablePdp

func NewNullablePdp(val *Pdp) *NullablePdp

func (NullablePdp) Get

func (v NullablePdp) Get() *Pdp

func (NullablePdp) IsSet

func (v NullablePdp) IsSet() bool

func (NullablePdp) MarshalJSON

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

func (*NullablePdp) Set

func (v *NullablePdp) Set(val *Pdp)

func (*NullablePdp) UnmarshalJSON

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

func (*NullablePdp) Unset

func (v *NullablePdp) Unset()

type NullablePdpValues

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

func NewNullablePdpValues

func NewNullablePdpValues(val *PdpValues) *NullablePdpValues

func (NullablePdpValues) Get

func (v NullablePdpValues) Get() *PdpValues

func (NullablePdpValues) IsSet

func (v NullablePdpValues) IsSet() bool

func (NullablePdpValues) MarshalJSON

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

func (*NullablePdpValues) Set

func (v *NullablePdpValues) Set(val *PdpValues)

func (*NullablePdpValues) UnmarshalJSON

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

func (*NullablePdpValues) Unset

func (v *NullablePdpValues) Unset()

type NullablePermissionLevelRoleRead

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

func (NullablePermissionLevelRoleRead) Get

func (NullablePermissionLevelRoleRead) IsSet

func (NullablePermissionLevelRoleRead) MarshalJSON

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

func (*NullablePermissionLevelRoleRead) Set

func (*NullablePermissionLevelRoleRead) UnmarshalJSON

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

func (*NullablePermissionLevelRoleRead) Unset

type NullablePolicyRepoCreate

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

func NewNullablePolicyRepoCreate

func NewNullablePolicyRepoCreate(val *PolicyRepoCreate) *NullablePolicyRepoCreate

func (NullablePolicyRepoCreate) Get

func (NullablePolicyRepoCreate) IsSet

func (v NullablePolicyRepoCreate) IsSet() bool

func (NullablePolicyRepoCreate) MarshalJSON

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

func (*NullablePolicyRepoCreate) Set

func (*NullablePolicyRepoCreate) UnmarshalJSON

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

func (*NullablePolicyRepoCreate) Unset

func (v *NullablePolicyRepoCreate) Unset()

type NullablePolicyRepoRead

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

func NewNullablePolicyRepoRead

func NewNullablePolicyRepoRead(val *PolicyRepoRead) *NullablePolicyRepoRead

func (NullablePolicyRepoRead) Get

func (NullablePolicyRepoRead) IsSet

func (v NullablePolicyRepoRead) IsSet() bool

func (NullablePolicyRepoRead) MarshalJSON

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

func (*NullablePolicyRepoRead) Set

func (*NullablePolicyRepoRead) UnmarshalJSON

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

func (*NullablePolicyRepoRead) Unset

func (v *NullablePolicyRepoRead) Unset()

type NullablePolicyRepoStatus

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

func NewNullablePolicyRepoStatus

func NewNullablePolicyRepoStatus(val *PolicyRepoStatus) *NullablePolicyRepoStatus

func (NullablePolicyRepoStatus) Get

func (NullablePolicyRepoStatus) IsSet

func (v NullablePolicyRepoStatus) IsSet() bool

func (NullablePolicyRepoStatus) MarshalJSON

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

func (*NullablePolicyRepoStatus) Set

func (*NullablePolicyRepoStatus) UnmarshalJSON

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

func (*NullablePolicyRepoStatus) Unset

func (v *NullablePolicyRepoStatus) Unset()

type NullableProgrammingLanguage

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

func NewNullableProgrammingLanguage

func NewNullableProgrammingLanguage(val *ProgrammingLanguage) *NullableProgrammingLanguage

func (NullableProgrammingLanguage) Get

func (NullableProgrammingLanguage) IsSet

func (NullableProgrammingLanguage) MarshalJSON

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

func (*NullableProgrammingLanguage) Set

func (*NullableProgrammingLanguage) UnmarshalJSON

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

func (*NullableProgrammingLanguage) Unset

func (v *NullableProgrammingLanguage) Unset()

type NullableProjectCreate

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

func NewNullableProjectCreate

func NewNullableProjectCreate(val *ProjectCreate) *NullableProjectCreate

func (NullableProjectCreate) Get

func (NullableProjectCreate) IsSet

func (v NullableProjectCreate) IsSet() bool

func (NullableProjectCreate) MarshalJSON

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

func (*NullableProjectCreate) Set

func (v *NullableProjectCreate) Set(val *ProjectCreate)

func (*NullableProjectCreate) UnmarshalJSON

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

func (*NullableProjectCreate) Unset

func (v *NullableProjectCreate) Unset()

type NullableProjectRead

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

func NewNullableProjectRead

func NewNullableProjectRead(val *ProjectRead) *NullableProjectRead

func (NullableProjectRead) Get

func (NullableProjectRead) IsSet

func (v NullableProjectRead) IsSet() bool

func (NullableProjectRead) MarshalJSON

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

func (*NullableProjectRead) Set

func (v *NullableProjectRead) Set(val *ProjectRead)

func (*NullableProjectRead) UnmarshalJSON

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

func (*NullableProjectRead) Unset

func (v *NullableProjectRead) Unset()

type NullableProjectUpdate

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

func NewNullableProjectUpdate

func NewNullableProjectUpdate(val *ProjectUpdate) *NullableProjectUpdate

func (NullableProjectUpdate) Get

func (NullableProjectUpdate) IsSet

func (v NullableProjectUpdate) IsSet() bool

func (NullableProjectUpdate) MarshalJSON

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

func (*NullableProjectUpdate) Set

func (v *NullableProjectUpdate) Set(val *ProjectUpdate)

func (*NullableProjectUpdate) UnmarshalJSON

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

func (*NullableProjectUpdate) Unset

func (v *NullableProjectUpdate) Unset()

type NullableRemoteConfig

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

func NewNullableRemoteConfig

func NewNullableRemoteConfig(val *RemoteConfig) *NullableRemoteConfig

func (NullableRemoteConfig) Get

func (NullableRemoteConfig) IsSet

func (v NullableRemoteConfig) IsSet() bool

func (NullableRemoteConfig) MarshalJSON

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

func (*NullableRemoteConfig) Set

func (v *NullableRemoteConfig) Set(val *RemoteConfig)

func (*NullableRemoteConfig) UnmarshalJSON

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

func (*NullableRemoteConfig) Unset

func (v *NullableRemoteConfig) Unset()

type NullableRemoveRolePermissions

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

func (NullableRemoveRolePermissions) Get

func (NullableRemoveRolePermissions) IsSet

func (NullableRemoveRolePermissions) MarshalJSON

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

func (*NullableRemoveRolePermissions) Set

func (*NullableRemoveRolePermissions) UnmarshalJSON

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

func (*NullableRemoveRolePermissions) Unset

func (v *NullableRemoveRolePermissions) Unset()

type NullableResourceActionCreate

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

func NewNullableResourceActionCreate

func NewNullableResourceActionCreate(val *ResourceActionCreate) *NullableResourceActionCreate

func (NullableResourceActionCreate) Get

func (NullableResourceActionCreate) IsSet

func (NullableResourceActionCreate) MarshalJSON

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

func (*NullableResourceActionCreate) Set

func (*NullableResourceActionCreate) UnmarshalJSON

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

func (*NullableResourceActionCreate) Unset

func (v *NullableResourceActionCreate) Unset()

type NullableResourceActionRead

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

func NewNullableResourceActionRead

func NewNullableResourceActionRead(val *ResourceActionRead) *NullableResourceActionRead

func (NullableResourceActionRead) Get

func (NullableResourceActionRead) IsSet

func (v NullableResourceActionRead) IsSet() bool

func (NullableResourceActionRead) MarshalJSON

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

func (*NullableResourceActionRead) Set

func (*NullableResourceActionRead) UnmarshalJSON

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

func (*NullableResourceActionRead) Unset

func (v *NullableResourceActionRead) Unset()

type NullableResourceActionUpdate

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

func NewNullableResourceActionUpdate

func NewNullableResourceActionUpdate(val *ResourceActionUpdate) *NullableResourceActionUpdate

func (NullableResourceActionUpdate) Get

func (NullableResourceActionUpdate) IsSet

func (NullableResourceActionUpdate) MarshalJSON

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

func (*NullableResourceActionUpdate) Set

func (*NullableResourceActionUpdate) UnmarshalJSON

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

func (*NullableResourceActionUpdate) Unset

func (v *NullableResourceActionUpdate) Unset()

type NullableResourceAttributeCreate

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

func (NullableResourceAttributeCreate) Get

func (NullableResourceAttributeCreate) IsSet

func (NullableResourceAttributeCreate) MarshalJSON

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

func (*NullableResourceAttributeCreate) Set

func (*NullableResourceAttributeCreate) UnmarshalJSON

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

func (*NullableResourceAttributeCreate) Unset

type NullableResourceAttributeRead

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

func (NullableResourceAttributeRead) Get

func (NullableResourceAttributeRead) IsSet

func (NullableResourceAttributeRead) MarshalJSON

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

func (*NullableResourceAttributeRead) Set

func (*NullableResourceAttributeRead) UnmarshalJSON

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

func (*NullableResourceAttributeRead) Unset

func (v *NullableResourceAttributeRead) Unset()

type NullableResourceAttributeUpdate

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

func (NullableResourceAttributeUpdate) Get

func (NullableResourceAttributeUpdate) IsSet

func (NullableResourceAttributeUpdate) MarshalJSON

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

func (*NullableResourceAttributeUpdate) Set

func (*NullableResourceAttributeUpdate) UnmarshalJSON

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

func (*NullableResourceAttributeUpdate) Unset

type NullableResourceCreate

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

func NewNullableResourceCreate

func NewNullableResourceCreate(val *ResourceCreate) *NullableResourceCreate

func (NullableResourceCreate) Get

func (NullableResourceCreate) IsSet

func (v NullableResourceCreate) IsSet() bool

func (NullableResourceCreate) MarshalJSON

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

func (*NullableResourceCreate) Set

func (*NullableResourceCreate) UnmarshalJSON

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

func (*NullableResourceCreate) Unset

func (v *NullableResourceCreate) Unset()

type NullableResourceId

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

func NewNullableResourceId

func NewNullableResourceId(val *ResourceId) *NullableResourceId

func (NullableResourceId) Get

func (v NullableResourceId) Get() *ResourceId

func (NullableResourceId) IsSet

func (v NullableResourceId) IsSet() bool

func (NullableResourceId) MarshalJSON

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

func (*NullableResourceId) Set

func (v *NullableResourceId) Set(val *ResourceId)

func (*NullableResourceId) UnmarshalJSON

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

func (*NullableResourceId) Unset

func (v *NullableResourceId) Unset()

type NullableResourceInstanceCreate

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

func (NullableResourceInstanceCreate) Get

func (NullableResourceInstanceCreate) IsSet

func (NullableResourceInstanceCreate) MarshalJSON

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

func (*NullableResourceInstanceCreate) Set

func (*NullableResourceInstanceCreate) UnmarshalJSON

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

func (*NullableResourceInstanceCreate) Unset

func (v *NullableResourceInstanceCreate) Unset()

type NullableResourceInstanceRead

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

func NewNullableResourceInstanceRead

func NewNullableResourceInstanceRead(val *ResourceInstanceRead) *NullableResourceInstanceRead

func (NullableResourceInstanceRead) Get

func (NullableResourceInstanceRead) IsSet

func (NullableResourceInstanceRead) MarshalJSON

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

func (*NullableResourceInstanceRead) Set

func (*NullableResourceInstanceRead) UnmarshalJSON

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

func (*NullableResourceInstanceRead) Unset

func (v *NullableResourceInstanceRead) Unset()

type NullableResourceInstanceUpdate

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

func (NullableResourceInstanceUpdate) Get

func (NullableResourceInstanceUpdate) IsSet

func (NullableResourceInstanceUpdate) MarshalJSON

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

func (*NullableResourceInstanceUpdate) Set

func (*NullableResourceInstanceUpdate) UnmarshalJSON

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

func (*NullableResourceInstanceUpdate) Unset

func (v *NullableResourceInstanceUpdate) Unset()

type NullableResourceRead

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

func NewNullableResourceRead

func NewNullableResourceRead(val *ResourceRead) *NullableResourceRead

func (NullableResourceRead) Get

func (NullableResourceRead) IsSet

func (v NullableResourceRead) IsSet() bool

func (NullableResourceRead) MarshalJSON

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

func (*NullableResourceRead) Set

func (v *NullableResourceRead) Set(val *ResourceRead)

func (*NullableResourceRead) UnmarshalJSON

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

func (*NullableResourceRead) Unset

func (v *NullableResourceRead) Unset()

type NullableResourceReplace

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

func NewNullableResourceReplace

func NewNullableResourceReplace(val *ResourceReplace) *NullableResourceReplace

func (NullableResourceReplace) Get

func (NullableResourceReplace) IsSet

func (v NullableResourceReplace) IsSet() bool

func (NullableResourceReplace) MarshalJSON

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

func (*NullableResourceReplace) Set

func (*NullableResourceReplace) UnmarshalJSON

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

func (*NullableResourceReplace) Unset

func (v *NullableResourceReplace) Unset()

type NullableResourceRoleCreate

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

func NewNullableResourceRoleCreate

func NewNullableResourceRoleCreate(val *ResourceRoleCreate) *NullableResourceRoleCreate

func (NullableResourceRoleCreate) Get

func (NullableResourceRoleCreate) IsSet

func (v NullableResourceRoleCreate) IsSet() bool

func (NullableResourceRoleCreate) MarshalJSON

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

func (*NullableResourceRoleCreate) Set

func (*NullableResourceRoleCreate) UnmarshalJSON

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

func (*NullableResourceRoleCreate) Unset

func (v *NullableResourceRoleCreate) Unset()

type NullableResourceRoleRead

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

func NewNullableResourceRoleRead

func NewNullableResourceRoleRead(val *ResourceRoleRead) *NullableResourceRoleRead

func (NullableResourceRoleRead) Get

func (NullableResourceRoleRead) IsSet

func (v NullableResourceRoleRead) IsSet() bool

func (NullableResourceRoleRead) MarshalJSON

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

func (*NullableResourceRoleRead) Set

func (*NullableResourceRoleRead) UnmarshalJSON

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

func (*NullableResourceRoleRead) Unset

func (v *NullableResourceRoleRead) Unset()

type NullableResourceRoleUpdate

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

func NewNullableResourceRoleUpdate

func NewNullableResourceRoleUpdate(val *ResourceRoleUpdate) *NullableResourceRoleUpdate

func (NullableResourceRoleUpdate) Get

func (NullableResourceRoleUpdate) IsSet

func (v NullableResourceRoleUpdate) IsSet() bool

func (NullableResourceRoleUpdate) MarshalJSON

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

func (*NullableResourceRoleUpdate) Set

func (*NullableResourceRoleUpdate) UnmarshalJSON

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

func (*NullableResourceRoleUpdate) Unset

func (v *NullableResourceRoleUpdate) Unset()

type NullableResourceUpdate

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

func NewNullableResourceUpdate

func NewNullableResourceUpdate(val *ResourceUpdate) *NullableResourceUpdate

func (NullableResourceUpdate) Get

func (NullableResourceUpdate) IsSet

func (v NullableResourceUpdate) IsSet() bool

func (NullableResourceUpdate) MarshalJSON

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

func (*NullableResourceUpdate) Set

func (*NullableResourceUpdate) UnmarshalJSON

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

func (*NullableResourceUpdate) Unset

func (v *NullableResourceUpdate) Unset()

type NullableRoleAssignmentCreate

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

func NewNullableRoleAssignmentCreate

func NewNullableRoleAssignmentCreate(val *RoleAssignmentCreate) *NullableRoleAssignmentCreate

func (NullableRoleAssignmentCreate) Get

func (NullableRoleAssignmentCreate) IsSet

func (NullableRoleAssignmentCreate) MarshalJSON

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

func (*NullableRoleAssignmentCreate) Set

func (*NullableRoleAssignmentCreate) UnmarshalJSON

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

func (*NullableRoleAssignmentCreate) Unset

func (v *NullableRoleAssignmentCreate) Unset()

type NullableRoleAssignmentRead

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

func NewNullableRoleAssignmentRead

func NewNullableRoleAssignmentRead(val *RoleAssignmentRead) *NullableRoleAssignmentRead

func (NullableRoleAssignmentRead) Get

func (NullableRoleAssignmentRead) IsSet

func (v NullableRoleAssignmentRead) IsSet() bool

func (NullableRoleAssignmentRead) MarshalJSON

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

func (*NullableRoleAssignmentRead) Set

func (*NullableRoleAssignmentRead) UnmarshalJSON

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

func (*NullableRoleAssignmentRead) Unset

func (v *NullableRoleAssignmentRead) Unset()

type NullableRoleAssignmentRemove

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

func NewNullableRoleAssignmentRemove

func NewNullableRoleAssignmentRemove(val *RoleAssignmentRemove) *NullableRoleAssignmentRemove

func (NullableRoleAssignmentRemove) Get

func (NullableRoleAssignmentRemove) IsSet

func (NullableRoleAssignmentRemove) MarshalJSON

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

func (*NullableRoleAssignmentRemove) Set

func (*NullableRoleAssignmentRemove) UnmarshalJSON

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

func (*NullableRoleAssignmentRemove) Unset

func (v *NullableRoleAssignmentRemove) Unset()

type NullableRoleBlock

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

func NewNullableRoleBlock

func NewNullableRoleBlock(val *RoleBlock) *NullableRoleBlock

func (NullableRoleBlock) Get

func (v NullableRoleBlock) Get() *RoleBlock

func (NullableRoleBlock) IsSet

func (v NullableRoleBlock) IsSet() bool

func (NullableRoleBlock) MarshalJSON

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

func (*NullableRoleBlock) Set

func (v *NullableRoleBlock) Set(val *RoleBlock)

func (*NullableRoleBlock) UnmarshalJSON

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

func (*NullableRoleBlock) Unset

func (v *NullableRoleBlock) Unset()

type NullableRoleCreate

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

func NewNullableRoleCreate

func NewNullableRoleCreate(val *RoleCreate) *NullableRoleCreate

func (NullableRoleCreate) Get

func (v NullableRoleCreate) Get() *RoleCreate

func (NullableRoleCreate) IsSet

func (v NullableRoleCreate) IsSet() bool

func (NullableRoleCreate) MarshalJSON

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

func (*NullableRoleCreate) Set

func (v *NullableRoleCreate) Set(val *RoleCreate)

func (*NullableRoleCreate) UnmarshalJSON

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

func (*NullableRoleCreate) Unset

func (v *NullableRoleCreate) Unset()

type NullableRoleData

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

func NewNullableRoleData

func NewNullableRoleData(val *RoleData) *NullableRoleData

func (NullableRoleData) Get

func (v NullableRoleData) Get() *RoleData

func (NullableRoleData) IsSet

func (v NullableRoleData) IsSet() bool

func (NullableRoleData) MarshalJSON

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

func (*NullableRoleData) Set

func (v *NullableRoleData) Set(val *RoleData)

func (*NullableRoleData) UnmarshalJSON

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

func (*NullableRoleData) Unset

func (v *NullableRoleData) Unset()

type NullableRoleRead

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

func NewNullableRoleRead

func NewNullableRoleRead(val *RoleRead) *NullableRoleRead

func (NullableRoleRead) Get

func (v NullableRoleRead) Get() *RoleRead

func (NullableRoleRead) IsSet

func (v NullableRoleRead) IsSet() bool

func (NullableRoleRead) MarshalJSON

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

func (*NullableRoleRead) Set

func (v *NullableRoleRead) Set(val *RoleRead)

func (*NullableRoleRead) UnmarshalJSON

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

func (*NullableRoleRead) Unset

func (v *NullableRoleRead) Unset()

type NullableRoleUpdate

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

func NewNullableRoleUpdate

func NewNullableRoleUpdate(val *RoleUpdate) *NullableRoleUpdate

func (NullableRoleUpdate) Get

func (v NullableRoleUpdate) Get() *RoleUpdate

func (NullableRoleUpdate) IsSet

func (v NullableRoleUpdate) IsSet() bool

func (NullableRoleUpdate) MarshalJSON

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

func (*NullableRoleUpdate) Set

func (v *NullableRoleUpdate) Set(val *RoleUpdate)

func (*NullableRoleUpdate) UnmarshalJSON

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

func (*NullableRoleUpdate) Unset

func (v *NullableRoleUpdate) Unset()

type NullableSSHAuthData

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

func NewNullableSSHAuthData

func NewNullableSSHAuthData(val *SSHAuthData) *NullableSSHAuthData

func (NullableSSHAuthData) Get

func (NullableSSHAuthData) IsSet

func (v NullableSSHAuthData) IsSet() bool

func (NullableSSHAuthData) MarshalJSON

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

func (*NullableSSHAuthData) Set

func (v *NullableSSHAuthData) Set(val *SSHAuthData)

func (*NullableSSHAuthData) UnmarshalJSON

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

func (*NullableSSHAuthData) Unset

func (v *NullableSSHAuthData) Unset()

type NullableSettings

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

func NewNullableSettings

func NewNullableSettings(val *Settings) *NullableSettings

func (NullableSettings) Get

func (v NullableSettings) Get() *Settings

func (NullableSettings) IsSet

func (v NullableSettings) IsSet() bool

func (NullableSettings) MarshalJSON

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

func (*NullableSettings) Set

func (v *NullableSettings) Set(val *Settings)

func (*NullableSettings) UnmarshalJSON

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

func (*NullableSettings) Unset

func (v *NullableSettings) Unset()

type NullableStatistics

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

func NewNullableStatistics

func NewNullableStatistics(val *Statistics) *NullableStatistics

func (NullableStatistics) Get

func (v NullableStatistics) Get() *Statistics

func (NullableStatistics) IsSet

func (v NullableStatistics) IsSet() bool

func (NullableStatistics) MarshalJSON

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

func (*NullableStatistics) Set

func (v *NullableStatistics) Set(val *Statistics)

func (*NullableStatistics) UnmarshalJSON

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

func (*NullableStatistics) Unset

func (v *NullableStatistics) 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 NullableTenantCreate

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

func NewNullableTenantCreate

func NewNullableTenantCreate(val *TenantCreate) *NullableTenantCreate

func (NullableTenantCreate) Get

func (NullableTenantCreate) IsSet

func (v NullableTenantCreate) IsSet() bool

func (NullableTenantCreate) MarshalJSON

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

func (*NullableTenantCreate) Set

func (v *NullableTenantCreate) Set(val *TenantCreate)

func (*NullableTenantCreate) UnmarshalJSON

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

func (*NullableTenantCreate) Unset

func (v *NullableTenantCreate) Unset()

type NullableTenantRead

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

func NewNullableTenantRead

func NewNullableTenantRead(val *TenantRead) *NullableTenantRead

func (NullableTenantRead) Get

func (v NullableTenantRead) Get() *TenantRead

func (NullableTenantRead) IsSet

func (v NullableTenantRead) IsSet() bool

func (NullableTenantRead) MarshalJSON

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

func (*NullableTenantRead) Set

func (v *NullableTenantRead) Set(val *TenantRead)

func (*NullableTenantRead) UnmarshalJSON

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

func (*NullableTenantRead) Unset

func (v *NullableTenantRead) Unset()

type NullableTenantUpdate

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

func NewNullableTenantUpdate

func NewNullableTenantUpdate(val *TenantUpdate) *NullableTenantUpdate

func (NullableTenantUpdate) Get

func (NullableTenantUpdate) IsSet

func (v NullableTenantUpdate) IsSet() bool

func (NullableTenantUpdate) MarshalJSON

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

func (*NullableTenantUpdate) Set

func (v *NullableTenantUpdate) Set(val *TenantUpdate)

func (*NullableTenantUpdate) UnmarshalJSON

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

func (*NullableTenantUpdate) Unset

func (v *NullableTenantUpdate) 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 NullableUserCreate

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

func NewNullableUserCreate

func NewNullableUserCreate(val *UserCreate) *NullableUserCreate

func (NullableUserCreate) Get

func (v NullableUserCreate) Get() *UserCreate

func (NullableUserCreate) IsSet

func (v NullableUserCreate) IsSet() bool

func (NullableUserCreate) MarshalJSON

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

func (*NullableUserCreate) Set

func (v *NullableUserCreate) Set(val *UserCreate)

func (*NullableUserCreate) UnmarshalJSON

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

func (*NullableUserCreate) Unset

func (v *NullableUserCreate) Unset()

type NullableUserData

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

func NewNullableUserData

func NewNullableUserData(val *UserData) *NullableUserData

func (NullableUserData) Get

func (v NullableUserData) Get() *UserData

func (NullableUserData) IsSet

func (v NullableUserData) IsSet() bool

func (NullableUserData) MarshalJSON

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

func (*NullableUserData) Set

func (v *NullableUserData) Set(val *UserData)

func (*NullableUserData) UnmarshalJSON

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

func (*NullableUserData) Unset

func (v *NullableUserData) Unset()

type NullableUserLoginRequestInput

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

func (NullableUserLoginRequestInput) Get

func (NullableUserLoginRequestInput) IsSet

func (NullableUserLoginRequestInput) MarshalJSON

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

func (*NullableUserLoginRequestInput) Set

func (*NullableUserLoginRequestInput) UnmarshalJSON

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

func (*NullableUserLoginRequestInput) Unset

func (v *NullableUserLoginRequestInput) Unset()

type NullableUserRead

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

func NewNullableUserRead

func NewNullableUserRead(val *UserRead) *NullableUserRead

func (NullableUserRead) Get

func (v NullableUserRead) Get() *UserRead

func (NullableUserRead) IsSet

func (v NullableUserRead) IsSet() bool

func (NullableUserRead) MarshalJSON

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

func (*NullableUserRead) Set

func (v *NullableUserRead) Set(val *UserRead)

func (*NullableUserRead) UnmarshalJSON

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

func (*NullableUserRead) Unset

func (v *NullableUserRead) Unset()

type NullableUserRole

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

func NewNullableUserRole

func NewNullableUserRole(val *UserRole) *NullableUserRole

func (NullableUserRole) Get

func (v NullableUserRole) Get() *UserRole

func (NullableUserRole) IsSet

func (v NullableUserRole) IsSet() bool

func (NullableUserRole) MarshalJSON

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

func (*NullableUserRole) Set

func (v *NullableUserRole) Set(val *UserRole)

func (*NullableUserRole) UnmarshalJSON

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

func (*NullableUserRole) Unset

func (v *NullableUserRole) Unset()

type NullableUserRoleCreate

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

func NewNullableUserRoleCreate

func NewNullableUserRoleCreate(val *UserRoleCreate) *NullableUserRoleCreate

func (NullableUserRoleCreate) Get

func (NullableUserRoleCreate) IsSet

func (v NullableUserRoleCreate) IsSet() bool

func (NullableUserRoleCreate) MarshalJSON

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

func (*NullableUserRoleCreate) Set

func (*NullableUserRoleCreate) UnmarshalJSON

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

func (*NullableUserRoleCreate) Unset

func (v *NullableUserRoleCreate) Unset()

type NullableUserRoleRemove

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

func NewNullableUserRoleRemove

func NewNullableUserRoleRemove(val *UserRoleRemove) *NullableUserRoleRemove

func (NullableUserRoleRemove) Get

func (NullableUserRoleRemove) IsSet

func (v NullableUserRoleRemove) IsSet() bool

func (NullableUserRoleRemove) MarshalJSON

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

func (*NullableUserRoleRemove) Set

func (*NullableUserRoleRemove) UnmarshalJSON

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

func (*NullableUserRoleRemove) Unset

func (v *NullableUserRoleRemove) Unset()

type NullableUserUpdate

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

func NewNullableUserUpdate

func NewNullableUserUpdate(val *UserUpdate) *NullableUserUpdate

func (NullableUserUpdate) Get

func (v NullableUserUpdate) Get() *UserUpdate

func (NullableUserUpdate) IsSet

func (v NullableUserUpdate) IsSet() bool

func (NullableUserUpdate) MarshalJSON

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

func (*NullableUserUpdate) Set

func (v *NullableUserUpdate) Set(val *UserUpdate)

func (*NullableUserUpdate) UnmarshalJSON

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

func (*NullableUserUpdate) Unset

func (v *NullableUserUpdate) Unset()

type NullableValidationError

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

func NewNullableValidationError

func NewNullableValidationError(val *ValidationError) *NullableValidationError

func (NullableValidationError) Get

func (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

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

func (*NullableValidationError) Set

func (*NullableValidationError) UnmarshalJSON

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

func (*NullableValidationError) Unset

func (v *NullableValidationError) Unset()

type NullableWebhookCreate

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

func NewNullableWebhookCreate

func NewNullableWebhookCreate(val *WebhookCreate) *NullableWebhookCreate

func (NullableWebhookCreate) Get

func (NullableWebhookCreate) IsSet

func (v NullableWebhookCreate) IsSet() bool

func (NullableWebhookCreate) MarshalJSON

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

func (*NullableWebhookCreate) Set

func (v *NullableWebhookCreate) Set(val *WebhookCreate)

func (*NullableWebhookCreate) UnmarshalJSON

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

func (*NullableWebhookCreate) Unset

func (v *NullableWebhookCreate) Unset()

type NullableWebhookRead

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

func NewNullableWebhookRead

func NewNullableWebhookRead(val *WebhookRead) *NullableWebhookRead

func (NullableWebhookRead) Get

func (NullableWebhookRead) IsSet

func (v NullableWebhookRead) IsSet() bool

func (NullableWebhookRead) MarshalJSON

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

func (*NullableWebhookRead) Set

func (v *NullableWebhookRead) Set(val *WebhookRead)

func (*NullableWebhookRead) UnmarshalJSON

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

func (*NullableWebhookRead) Unset

func (v *NullableWebhookRead) Unset()

type NullableWebhookUpdate

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

func NewNullableWebhookUpdate

func NewNullableWebhookUpdate(val *WebhookUpdate) *NullableWebhookUpdate

func (NullableWebhookUpdate) Get

func (NullableWebhookUpdate) IsSet

func (v NullableWebhookUpdate) IsSet() bool

func (NullableWebhookUpdate) MarshalJSON

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

func (*NullableWebhookUpdate) Set

func (v *NullableWebhookUpdate) Set(val *WebhookUpdate)

func (*NullableWebhookUpdate) UnmarshalJSON

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

func (*NullableWebhookUpdate) Unset

func (v *NullableWebhookUpdate) Unset()

type OPADecisionLog

type OPADecisionLog struct {
	DecisionId string                 `json:"decision_id"`
	Labels     Labels                 `json:"labels"`
	RunId      *string                `json:"run_id,omitempty"`
	Timestamp  time.Time              `json:"timestamp"`
	Path       *string                `json:"path,omitempty"`
	Input      map[string]interface{} `json:"input,omitempty"`
	Result     map[string]interface{} `json:"result,omitempty"`
}

OPADecisionLog struct for OPADecisionLog

func NewOPADecisionLog

func NewOPADecisionLog(decisionId string, labels Labels, timestamp time.Time) *OPADecisionLog

NewOPADecisionLog instantiates a new OPADecisionLog 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 NewOPADecisionLogWithDefaults

func NewOPADecisionLogWithDefaults() *OPADecisionLog

NewOPADecisionLogWithDefaults instantiates a new OPADecisionLog 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 (*OPADecisionLog) GetDecisionId

func (o *OPADecisionLog) GetDecisionId() string

GetDecisionId returns the DecisionId field value

func (*OPADecisionLog) GetDecisionIdOk

func (o *OPADecisionLog) GetDecisionIdOk() (*string, bool)

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

func (*OPADecisionLog) GetInput

func (o *OPADecisionLog) GetInput() map[string]interface{}

GetInput returns the Input field value if set, zero value otherwise.

func (*OPADecisionLog) GetInputOk

func (o *OPADecisionLog) GetInputOk() (map[string]interface{}, bool)

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

func (*OPADecisionLog) GetLabels

func (o *OPADecisionLog) GetLabels() Labels

GetLabels returns the Labels field value

func (*OPADecisionLog) GetLabelsOk

func (o *OPADecisionLog) GetLabelsOk() (*Labels, bool)

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

func (*OPADecisionLog) GetPath

func (o *OPADecisionLog) GetPath() string

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

func (*OPADecisionLog) GetPathOk

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

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

func (*OPADecisionLog) GetResult

func (o *OPADecisionLog) GetResult() map[string]interface{}

GetResult returns the Result field value if set, zero value otherwise.

func (*OPADecisionLog) GetResultOk

func (o *OPADecisionLog) GetResultOk() (map[string]interface{}, bool)

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

func (*OPADecisionLog) GetRunId

func (o *OPADecisionLog) GetRunId() string

GetRunId returns the RunId field value if set, zero value otherwise.

func (*OPADecisionLog) GetRunIdOk

func (o *OPADecisionLog) GetRunIdOk() (*string, bool)

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

func (*OPADecisionLog) GetTimestamp

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

GetTimestamp returns the Timestamp field value

func (*OPADecisionLog) GetTimestampOk

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

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

func (*OPADecisionLog) HasInput

func (o *OPADecisionLog) HasInput() bool

HasInput returns a boolean if a field has been set.

func (*OPADecisionLog) HasPath

func (o *OPADecisionLog) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*OPADecisionLog) HasResult

func (o *OPADecisionLog) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*OPADecisionLog) HasRunId

func (o *OPADecisionLog) HasRunId() bool

HasRunId returns a boolean if a field has been set.

func (OPADecisionLog) MarshalJSON

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

func (*OPADecisionLog) SetDecisionId

func (o *OPADecisionLog) SetDecisionId(v string)

SetDecisionId sets field value

func (*OPADecisionLog) SetInput

func (o *OPADecisionLog) SetInput(v map[string]interface{})

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

func (*OPADecisionLog) SetLabels

func (o *OPADecisionLog) SetLabels(v Labels)

SetLabels sets field value

func (*OPADecisionLog) SetPath

func (o *OPADecisionLog) SetPath(v string)

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

func (*OPADecisionLog) SetResult

func (o *OPADecisionLog) SetResult(v map[string]interface{})

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

func (*OPADecisionLog) SetRunId

func (o *OPADecisionLog) SetRunId(v string)

SetRunId gets a reference to the given string and assigns it to the RunId field.

func (*OPADecisionLog) SetTimestamp

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

SetTimestamp sets field value

type OPALClient

type OPALClient struct {
	DATA_TOPICS                     []string `json:"DATA_TOPICS"`
	CLIENT_TOKEN                    string   `json:"CLIENT_TOKEN"`
	SERVER_URL                      string   `json:"SERVER_URL"`
	SERVER_WS_URL                   string   `json:"SERVER_WS_URL"`
	SERVER_PUBSUB_URL               string   `json:"SERVER_PUBSUB_URL"`
	DEFAULT_DATA_SOURCES_CONFIG_URL string   `json:"DEFAULT_DATA_SOURCES_CONFIG_URL"`
	SCOPE_ID                        *string  `json:"SCOPE_ID,omitempty"`
}

OPALClient struct for OPALClient

func NewOPALClient

func NewOPALClient(dATATOPICS []string, cLIENTTOKEN string, sERVERURL string, sERVERWSURL string, sERVERPUBSUBURL string, dEFAULTDATASOURCESCONFIGURL string) *OPALClient

NewOPALClient instantiates a new OPALClient 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 NewOPALClientWithDefaults

func NewOPALClientWithDefaults() *OPALClient

NewOPALClientWithDefaults instantiates a new OPALClient 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 (*OPALClient) GetCLIENT_TOKEN

func (o *OPALClient) GetCLIENT_TOKEN() string

GetCLIENT_TOKEN returns the CLIENT_TOKEN field value

func (*OPALClient) GetCLIENT_TOKENOk

func (o *OPALClient) GetCLIENT_TOKENOk() (*string, bool)

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

func (*OPALClient) GetDATA_TOPICS

func (o *OPALClient) GetDATA_TOPICS() []string

GetDATA_TOPICS returns the DATA_TOPICS field value

func (*OPALClient) GetDATA_TOPICSOk

func (o *OPALClient) GetDATA_TOPICSOk() ([]string, bool)

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

func (*OPALClient) GetDEFAULT_DATA_SOURCES_CONFIG_URL

func (o *OPALClient) GetDEFAULT_DATA_SOURCES_CONFIG_URL() string

GetDEFAULT_DATA_SOURCES_CONFIG_URL returns the DEFAULT_DATA_SOURCES_CONFIG_URL field value

func (*OPALClient) GetDEFAULT_DATA_SOURCES_CONFIG_URLOk

func (o *OPALClient) GetDEFAULT_DATA_SOURCES_CONFIG_URLOk() (*string, bool)

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

func (*OPALClient) GetSCOPE_ID

func (o *OPALClient) GetSCOPE_ID() string

GetSCOPE_ID returns the SCOPE_ID field value if set, zero value otherwise.

func (*OPALClient) GetSCOPE_IDOk

func (o *OPALClient) GetSCOPE_IDOk() (*string, bool)

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

func (*OPALClient) GetSERVER_PUBSUB_URL

func (o *OPALClient) GetSERVER_PUBSUB_URL() string

GetSERVER_PUBSUB_URL returns the SERVER_PUBSUB_URL field value

func (*OPALClient) GetSERVER_PUBSUB_URLOk

func (o *OPALClient) GetSERVER_PUBSUB_URLOk() (*string, bool)

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

func (*OPALClient) GetSERVER_URL

func (o *OPALClient) GetSERVER_URL() string

GetSERVER_URL returns the SERVER_URL field value

func (*OPALClient) GetSERVER_URLOk

func (o *OPALClient) GetSERVER_URLOk() (*string, bool)

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

func (*OPALClient) GetSERVER_WS_URL

func (o *OPALClient) GetSERVER_WS_URL() string

GetSERVER_WS_URL returns the SERVER_WS_URL field value

func (*OPALClient) GetSERVER_WS_URLOk

func (o *OPALClient) GetSERVER_WS_URLOk() (*string, bool)

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

func (*OPALClient) HasSCOPE_ID

func (o *OPALClient) HasSCOPE_ID() bool

HasSCOPE_ID returns a boolean if a field has been set.

func (OPALClient) MarshalJSON

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

func (*OPALClient) SetCLIENT_TOKEN

func (o *OPALClient) SetCLIENT_TOKEN(v string)

SetCLIENT_TOKEN sets field value

func (*OPALClient) SetDATA_TOPICS

func (o *OPALClient) SetDATA_TOPICS(v []string)

SetDATA_TOPICS sets field value

func (*OPALClient) SetDEFAULT_DATA_SOURCES_CONFIG_URL

func (o *OPALClient) SetDEFAULT_DATA_SOURCES_CONFIG_URL(v string)

SetDEFAULT_DATA_SOURCES_CONFIG_URL sets field value

func (*OPALClient) SetSCOPE_ID

func (o *OPALClient) SetSCOPE_ID(v string)

SetSCOPE_ID gets a reference to the given string and assigns it to the SCOPE_ID field.

func (*OPALClient) SetSERVER_PUBSUB_URL

func (o *OPALClient) SetSERVER_PUBSUB_URL(v string)

SetSERVER_PUBSUB_URL sets field value

func (*OPALClient) SetSERVER_URL

func (o *OPALClient) SetSERVER_URL(v string)

SetSERVER_URL sets field value

func (*OPALClient) SetSERVER_WS_URL

func (o *OPALClient) SetSERVER_WS_URL(v string)

SetSERVER_WS_URL sets field value

type OnboardingStep

type OnboardingStep string

OnboardingStep An enumeration.

const (
	CREATE_ORGANIZATION OnboardingStep = "create_organization"
	CREATE_PROJECT      OnboardingStep = "create_project"
	CREATE_RESOURCE     OnboardingStep = "create_resource"
	CREATE_ACTIONS      OnboardingStep = "create_actions"
	ASSIGN_PERMISSIONS  OnboardingStep = "assign_permissions"
	ASSIGN_USER_ROLES   OnboardingStep = "assign_user_roles"
	CONNECT_SDK         OnboardingStep = "connect_sdk"
	DONE                OnboardingStep = "done"
)

List of OnboardingStep

func NewOnboardingStepFromValue

func NewOnboardingStepFromValue(v string) (*OnboardingStep, error)

NewOnboardingStepFromValue returns a pointer to a valid OnboardingStep for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OnboardingStep) IsValid

func (v OnboardingStep) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OnboardingStep) Ptr

func (v OnboardingStep) Ptr() *OnboardingStep

Ptr returns reference to OnboardingStep value

func (*OnboardingStep) UnmarshalJSON

func (v *OnboardingStep) UnmarshalJSON(src []byte) error

type OrgMemberRead

type OrgMemberRead struct {
	// Unique id of the account member
	Id string `json:"id"`
	// Email of the user controlling this account
	Email string `json:"email"`
	// Whether this email address is verified or not. For social providers like 'Login with Google' this is done automatically, otherwise we will send the user a verification link in email.
	EmailVerified bool `json:"email_verified"`
	// Name of this user
	Name *string `json:"name,omitempty"`
	// First name of the user
	GivenName *string `json:"given_name,omitempty"`
	// Last name of the user
	FamilyName *string `json:"family_name,omitempty"`
	// URL to picture, photo, or avatar of the user that controls this account.
	Picture *string `json:"picture,omitempty"`
	// Whether or not this user has special access to permit.io organizations
	IsSuperuser bool `json:"is_superuser"`
	// Whether or not this user is currently onboarding, needs to be replaced by a user journey object
	IsOnboarding bool `json:"is_onboarding"`
	// the step the user is currently going through in onboarding
	OnboardingStep OnboardingStep `json:"onboarding_step"`
	// Date and time when the account member was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Last date and time this user logged in (ISO_8601 format).
	LastLogin *time.Time `json:"last_login,omitempty"`
	// Last IP address from which this user logged in.
	LastIp *string `json:"last_ip,omitempty"`
	// Total number of logins this user has performed.
	LoginsCount *int32         `json:"logins_count,omitempty"`
	Identities  []IdentityRead `json:"identities"`
	// Custom permit.io dashboard settings, such as preferred theme, etc.
	Settings map[string]interface{} `json:"settings"`
}

OrgMemberRead struct for OrgMemberRead

func NewOrgMemberRead

func NewOrgMemberRead(id string, email string, emailVerified bool, isSuperuser bool, isOnboarding bool, onboardingStep OnboardingStep, createdAt time.Time, identities []IdentityRead, settings map[string]interface{}) *OrgMemberRead

NewOrgMemberRead instantiates a new OrgMemberRead 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 NewOrgMemberReadWithDefaults

func NewOrgMemberReadWithDefaults() *OrgMemberRead

NewOrgMemberReadWithDefaults instantiates a new OrgMemberRead 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 (*OrgMemberRead) GetCreatedAt

func (o *OrgMemberRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*OrgMemberRead) GetCreatedAtOk

func (o *OrgMemberRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetEmail

func (o *OrgMemberRead) GetEmail() string

GetEmail returns the Email field value

func (*OrgMemberRead) GetEmailOk

func (o *OrgMemberRead) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetEmailVerified

func (o *OrgMemberRead) GetEmailVerified() bool

GetEmailVerified returns the EmailVerified field value

func (*OrgMemberRead) GetEmailVerifiedOk

func (o *OrgMemberRead) GetEmailVerifiedOk() (*bool, bool)

GetEmailVerifiedOk returns a tuple with the EmailVerified field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetFamilyName

func (o *OrgMemberRead) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*OrgMemberRead) GetFamilyNameOk

func (o *OrgMemberRead) GetFamilyNameOk() (*string, bool)

GetFamilyNameOk returns a tuple with the FamilyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetGivenName

func (o *OrgMemberRead) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*OrgMemberRead) GetGivenNameOk

func (o *OrgMemberRead) GetGivenNameOk() (*string, bool)

GetGivenNameOk returns a tuple with the GivenName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetId

func (o *OrgMemberRead) GetId() string

GetId returns the Id field value

func (*OrgMemberRead) GetIdOk

func (o *OrgMemberRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetIdentities

func (o *OrgMemberRead) GetIdentities() []IdentityRead

GetIdentities returns the Identities field value

func (*OrgMemberRead) GetIdentitiesOk

func (o *OrgMemberRead) GetIdentitiesOk() ([]IdentityRead, bool)

GetIdentitiesOk returns a tuple with the Identities field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetIsOnboarding

func (o *OrgMemberRead) GetIsOnboarding() bool

GetIsOnboarding returns the IsOnboarding field value

func (*OrgMemberRead) GetIsOnboardingOk

func (o *OrgMemberRead) GetIsOnboardingOk() (*bool, bool)

GetIsOnboardingOk returns a tuple with the IsOnboarding field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetIsSuperuser

func (o *OrgMemberRead) GetIsSuperuser() bool

GetIsSuperuser returns the IsSuperuser field value

func (*OrgMemberRead) GetIsSuperuserOk

func (o *OrgMemberRead) GetIsSuperuserOk() (*bool, bool)

GetIsSuperuserOk returns a tuple with the IsSuperuser field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetLastIp

func (o *OrgMemberRead) GetLastIp() string

GetLastIp returns the LastIp field value if set, zero value otherwise.

func (*OrgMemberRead) GetLastIpOk

func (o *OrgMemberRead) GetLastIpOk() (*string, bool)

GetLastIpOk returns a tuple with the LastIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetLastLogin

func (o *OrgMemberRead) GetLastLogin() time.Time

GetLastLogin returns the LastLogin field value if set, zero value otherwise.

func (*OrgMemberRead) GetLastLoginOk

func (o *OrgMemberRead) GetLastLoginOk() (*time.Time, bool)

GetLastLoginOk returns a tuple with the LastLogin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetLoginsCount

func (o *OrgMemberRead) GetLoginsCount() int32

GetLoginsCount returns the LoginsCount field value if set, zero value otherwise.

func (*OrgMemberRead) GetLoginsCountOk

func (o *OrgMemberRead) GetLoginsCountOk() (*int32, bool)

GetLoginsCountOk returns a tuple with the LoginsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetName

func (o *OrgMemberRead) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OrgMemberRead) GetNameOk

func (o *OrgMemberRead) 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 (*OrgMemberRead) GetOnboardingStep

func (o *OrgMemberRead) GetOnboardingStep() OnboardingStep

GetOnboardingStep returns the OnboardingStep field value

func (*OrgMemberRead) GetOnboardingStepOk

func (o *OrgMemberRead) GetOnboardingStepOk() (*OnboardingStep, bool)

GetOnboardingStepOk returns a tuple with the OnboardingStep field value and a boolean to check if the value has been set.

func (*OrgMemberRead) GetPicture

func (o *OrgMemberRead) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*OrgMemberRead) GetPictureOk

func (o *OrgMemberRead) GetPictureOk() (*string, bool)

GetPictureOk returns a tuple with the Picture field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberRead) GetSettings

func (o *OrgMemberRead) GetSettings() map[string]interface{}

GetSettings returns the Settings field value

func (*OrgMemberRead) GetSettingsOk

func (o *OrgMemberRead) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.

func (*OrgMemberRead) HasFamilyName

func (o *OrgMemberRead) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*OrgMemberRead) HasGivenName

func (o *OrgMemberRead) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*OrgMemberRead) HasLastIp

func (o *OrgMemberRead) HasLastIp() bool

HasLastIp returns a boolean if a field has been set.

func (*OrgMemberRead) HasLastLogin

func (o *OrgMemberRead) HasLastLogin() bool

HasLastLogin returns a boolean if a field has been set.

func (*OrgMemberRead) HasLoginsCount

func (o *OrgMemberRead) HasLoginsCount() bool

HasLoginsCount returns a boolean if a field has been set.

func (*OrgMemberRead) HasName

func (o *OrgMemberRead) HasName() bool

HasName returns a boolean if a field has been set.

func (*OrgMemberRead) HasPicture

func (o *OrgMemberRead) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (OrgMemberRead) MarshalJSON

func (o OrgMemberRead) MarshalJSON() ([]byte, error)

func (*OrgMemberRead) SetCreatedAt

func (o *OrgMemberRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*OrgMemberRead) SetEmail

func (o *OrgMemberRead) SetEmail(v string)

SetEmail sets field value

func (*OrgMemberRead) SetEmailVerified

func (o *OrgMemberRead) SetEmailVerified(v bool)

SetEmailVerified sets field value

func (*OrgMemberRead) SetFamilyName

func (o *OrgMemberRead) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*OrgMemberRead) SetGivenName

func (o *OrgMemberRead) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*OrgMemberRead) SetId

func (o *OrgMemberRead) SetId(v string)

SetId sets field value

func (*OrgMemberRead) SetIdentities

func (o *OrgMemberRead) SetIdentities(v []IdentityRead)

SetIdentities sets field value

func (*OrgMemberRead) SetIsOnboarding

func (o *OrgMemberRead) SetIsOnboarding(v bool)

SetIsOnboarding sets field value

func (*OrgMemberRead) SetIsSuperuser

func (o *OrgMemberRead) SetIsSuperuser(v bool)

SetIsSuperuser sets field value

func (*OrgMemberRead) SetLastIp

func (o *OrgMemberRead) SetLastIp(v string)

SetLastIp gets a reference to the given string and assigns it to the LastIp field.

func (*OrgMemberRead) SetLastLogin

func (o *OrgMemberRead) SetLastLogin(v time.Time)

SetLastLogin gets a reference to the given time.Time and assigns it to the LastLogin field.

func (*OrgMemberRead) SetLoginsCount

func (o *OrgMemberRead) SetLoginsCount(v int32)

SetLoginsCount gets a reference to the given int32 and assigns it to the LoginsCount field.

func (*OrgMemberRead) SetName

func (o *OrgMemberRead) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OrgMemberRead) SetOnboardingStep

func (o *OrgMemberRead) SetOnboardingStep(v OnboardingStep)

SetOnboardingStep sets field value

func (*OrgMemberRead) SetPicture

func (o *OrgMemberRead) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

func (*OrgMemberRead) SetSettings

func (o *OrgMemberRead) SetSettings(v map[string]interface{})

SetSettings sets field value

type OrgMemberUpdate

type OrgMemberUpdate struct {
	// Custom permit.io dashboard settings, such as preferred theme, etc.
	Settings map[string]interface{} `json:"settings,omitempty"`
	// updates the onboarding step (optional)
	OnboardingStep *OnboardingStep `json:"onboarding_step,omitempty"`
}

OrgMemberUpdate struct for OrgMemberUpdate

func NewOrgMemberUpdate

func NewOrgMemberUpdate() *OrgMemberUpdate

NewOrgMemberUpdate instantiates a new OrgMemberUpdate 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 NewOrgMemberUpdateWithDefaults

func NewOrgMemberUpdateWithDefaults() *OrgMemberUpdate

NewOrgMemberUpdateWithDefaults instantiates a new OrgMemberUpdate 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 (*OrgMemberUpdate) GetOnboardingStep

func (o *OrgMemberUpdate) GetOnboardingStep() OnboardingStep

GetOnboardingStep returns the OnboardingStep field value if set, zero value otherwise.

func (*OrgMemberUpdate) GetOnboardingStepOk

func (o *OrgMemberUpdate) GetOnboardingStepOk() (*OnboardingStep, bool)

GetOnboardingStepOk returns a tuple with the OnboardingStep field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberUpdate) GetSettings

func (o *OrgMemberUpdate) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*OrgMemberUpdate) GetSettingsOk

func (o *OrgMemberUpdate) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgMemberUpdate) HasOnboardingStep

func (o *OrgMemberUpdate) HasOnboardingStep() bool

HasOnboardingStep returns a boolean if a field has been set.

func (*OrgMemberUpdate) HasSettings

func (o *OrgMemberUpdate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (OrgMemberUpdate) MarshalJSON

func (o OrgMemberUpdate) MarshalJSON() ([]byte, error)

func (*OrgMemberUpdate) SetOnboardingStep

func (o *OrgMemberUpdate) SetOnboardingStep(v OnboardingStep)

SetOnboardingStep gets a reference to the given OnboardingStep and assigns it to the OnboardingStep field.

func (*OrgMemberUpdate) SetSettings

func (o *OrgMemberUpdate) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

type OrganizationCreate

type OrganizationCreate struct {
	// A URL-friendly name of the organization (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the organization.
	Key string `json:"key"`
	// The name of the organization, usually it's your company's name.
	Name string `json:"name"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
}

OrganizationCreate struct for OrganizationCreate

func NewOrganizationCreate

func NewOrganizationCreate(key string, name string) *OrganizationCreate

NewOrganizationCreate instantiates a new OrganizationCreate 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 NewOrganizationCreateWithDefaults

func NewOrganizationCreateWithDefaults() *OrganizationCreate

NewOrganizationCreateWithDefaults instantiates a new OrganizationCreate 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 (*OrganizationCreate) GetKey

func (o *OrganizationCreate) GetKey() string

GetKey returns the Key field value

func (*OrganizationCreate) GetKeyOk

func (o *OrganizationCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*OrganizationCreate) GetName

func (o *OrganizationCreate) GetName() string

GetName returns the Name field value

func (*OrganizationCreate) GetNameOk

func (o *OrganizationCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OrganizationCreate) GetSettings

func (o *OrganizationCreate) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*OrganizationCreate) GetSettingsOk

func (o *OrganizationCreate) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationCreate) HasSettings

func (o *OrganizationCreate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (OrganizationCreate) MarshalJSON

func (o OrganizationCreate) MarshalJSON() ([]byte, error)

func (*OrganizationCreate) SetKey

func (o *OrganizationCreate) SetKey(v string)

SetKey sets field value

func (*OrganizationCreate) SetName

func (o *OrganizationCreate) SetName(v string)

SetName sets field value

func (*OrganizationCreate) SetSettings

func (o *OrganizationCreate) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

type OrganizationRead

type OrganizationRead struct {
	// A URL-friendly name of the organization (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the organization.
	Key string `json:"key"`
	// Unique id of the organization
	Id string `json:"id"`
	// Date and time when the organization was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the organization was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the organization, usually it's your company's name.
	Name string `json:"name"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
}

OrganizationRead struct for OrganizationRead

func NewOrganizationRead

func NewOrganizationRead(key string, id string, createdAt time.Time, updatedAt time.Time, name string) *OrganizationRead

NewOrganizationRead instantiates a new OrganizationRead 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 NewOrganizationReadWithDefaults

func NewOrganizationReadWithDefaults() *OrganizationRead

NewOrganizationReadWithDefaults instantiates a new OrganizationRead 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 (*OrganizationRead) GetCreatedAt

func (o *OrganizationRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*OrganizationRead) GetCreatedAtOk

func (o *OrganizationRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*OrganizationRead) GetId

func (o *OrganizationRead) GetId() string

GetId returns the Id field value

func (*OrganizationRead) GetIdOk

func (o *OrganizationRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OrganizationRead) GetKey

func (o *OrganizationRead) GetKey() string

GetKey returns the Key field value

func (*OrganizationRead) GetKeyOk

func (o *OrganizationRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*OrganizationRead) GetName

func (o *OrganizationRead) GetName() string

GetName returns the Name field value

func (*OrganizationRead) GetNameOk

func (o *OrganizationRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OrganizationRead) GetSettings

func (o *OrganizationRead) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*OrganizationRead) GetSettingsOk

func (o *OrganizationRead) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationRead) GetUpdatedAt

func (o *OrganizationRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*OrganizationRead) GetUpdatedAtOk

func (o *OrganizationRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*OrganizationRead) HasSettings

func (o *OrganizationRead) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (OrganizationRead) MarshalJSON

func (o OrganizationRead) MarshalJSON() ([]byte, error)

func (*OrganizationRead) SetCreatedAt

func (o *OrganizationRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*OrganizationRead) SetId

func (o *OrganizationRead) SetId(v string)

SetId sets field value

func (*OrganizationRead) SetKey

func (o *OrganizationRead) SetKey(v string)

SetKey sets field value

func (*OrganizationRead) SetName

func (o *OrganizationRead) SetName(v string)

SetName sets field value

func (*OrganizationRead) SetSettings

func (o *OrganizationRead) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*OrganizationRead) SetUpdatedAt

func (o *OrganizationRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type OrganizationReadWithAPIKey

type OrganizationReadWithAPIKey struct {
	// A URL-friendly name of the organization (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the organization.
	Key string `json:"key"`
	// Unique id of the organization
	Id string `json:"id"`
	// Date and time when the organization was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the organization was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the organization, usually it's your company's name.
	Name string `json:"name"`
	// the settings for this project
	Settings     map[string]interface{} `json:"settings,omitempty"`
	ApiKeyId     *string                `json:"api_key_id,omitempty"`
	ApiKeySecret *string                `json:"api_key_secret,omitempty"`
}

OrganizationReadWithAPIKey struct for OrganizationReadWithAPIKey

func NewOrganizationReadWithAPIKey

func NewOrganizationReadWithAPIKey(key string, id string, createdAt time.Time, updatedAt time.Time, name string) *OrganizationReadWithAPIKey

NewOrganizationReadWithAPIKey instantiates a new OrganizationReadWithAPIKey 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 NewOrganizationReadWithAPIKeyWithDefaults

func NewOrganizationReadWithAPIKeyWithDefaults() *OrganizationReadWithAPIKey

NewOrganizationReadWithAPIKeyWithDefaults instantiates a new OrganizationReadWithAPIKey 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 (*OrganizationReadWithAPIKey) GetApiKeyId

func (o *OrganizationReadWithAPIKey) GetApiKeyId() string

GetApiKeyId returns the ApiKeyId field value if set, zero value otherwise.

func (*OrganizationReadWithAPIKey) GetApiKeyIdOk

func (o *OrganizationReadWithAPIKey) GetApiKeyIdOk() (*string, bool)

GetApiKeyIdOk returns a tuple with the ApiKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetApiKeySecret

func (o *OrganizationReadWithAPIKey) GetApiKeySecret() string

GetApiKeySecret returns the ApiKeySecret field value if set, zero value otherwise.

func (*OrganizationReadWithAPIKey) GetApiKeySecretOk

func (o *OrganizationReadWithAPIKey) GetApiKeySecretOk() (*string, bool)

GetApiKeySecretOk returns a tuple with the ApiKeySecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetCreatedAt

func (o *OrganizationReadWithAPIKey) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*OrganizationReadWithAPIKey) GetCreatedAtOk

func (o *OrganizationReadWithAPIKey) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetId

GetId returns the Id field value

func (*OrganizationReadWithAPIKey) GetIdOk

func (o *OrganizationReadWithAPIKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetKey

func (o *OrganizationReadWithAPIKey) GetKey() string

GetKey returns the Key field value

func (*OrganizationReadWithAPIKey) GetKeyOk

func (o *OrganizationReadWithAPIKey) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetName

func (o *OrganizationReadWithAPIKey) GetName() string

GetName returns the Name field value

func (*OrganizationReadWithAPIKey) GetNameOk

func (o *OrganizationReadWithAPIKey) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetSettings

func (o *OrganizationReadWithAPIKey) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*OrganizationReadWithAPIKey) GetSettingsOk

func (o *OrganizationReadWithAPIKey) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) GetUpdatedAt

func (o *OrganizationReadWithAPIKey) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*OrganizationReadWithAPIKey) GetUpdatedAtOk

func (o *OrganizationReadWithAPIKey) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*OrganizationReadWithAPIKey) HasApiKeyId

func (o *OrganizationReadWithAPIKey) HasApiKeyId() bool

HasApiKeyId returns a boolean if a field has been set.

func (*OrganizationReadWithAPIKey) HasApiKeySecret

func (o *OrganizationReadWithAPIKey) HasApiKeySecret() bool

HasApiKeySecret returns a boolean if a field has been set.

func (*OrganizationReadWithAPIKey) HasSettings

func (o *OrganizationReadWithAPIKey) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (OrganizationReadWithAPIKey) MarshalJSON

func (o OrganizationReadWithAPIKey) MarshalJSON() ([]byte, error)

func (*OrganizationReadWithAPIKey) SetApiKeyId

func (o *OrganizationReadWithAPIKey) SetApiKeyId(v string)

SetApiKeyId gets a reference to the given string and assigns it to the ApiKeyId field.

func (*OrganizationReadWithAPIKey) SetApiKeySecret

func (o *OrganizationReadWithAPIKey) SetApiKeySecret(v string)

SetApiKeySecret gets a reference to the given string and assigns it to the ApiKeySecret field.

func (*OrganizationReadWithAPIKey) SetCreatedAt

func (o *OrganizationReadWithAPIKey) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*OrganizationReadWithAPIKey) SetId

func (o *OrganizationReadWithAPIKey) SetId(v string)

SetId sets field value

func (*OrganizationReadWithAPIKey) SetKey

func (o *OrganizationReadWithAPIKey) SetKey(v string)

SetKey sets field value

func (*OrganizationReadWithAPIKey) SetName

func (o *OrganizationReadWithAPIKey) SetName(v string)

SetName sets field value

func (*OrganizationReadWithAPIKey) SetSettings

func (o *OrganizationReadWithAPIKey) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*OrganizationReadWithAPIKey) SetUpdatedAt

func (o *OrganizationReadWithAPIKey) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type OrganizationUpdate

type OrganizationUpdate struct {
	// The name of the organization, usually it's your company's name.
	Name *string `json:"name,omitempty"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
}

OrganizationUpdate struct for OrganizationUpdate

func NewOrganizationUpdate

func NewOrganizationUpdate() *OrganizationUpdate

NewOrganizationUpdate instantiates a new OrganizationUpdate 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 NewOrganizationUpdateWithDefaults

func NewOrganizationUpdateWithDefaults() *OrganizationUpdate

NewOrganizationUpdateWithDefaults instantiates a new OrganizationUpdate 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 (*OrganizationUpdate) GetName

func (o *OrganizationUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OrganizationUpdate) GetNameOk

func (o *OrganizationUpdate) 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 (*OrganizationUpdate) GetSettings

func (o *OrganizationUpdate) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*OrganizationUpdate) GetSettingsOk

func (o *OrganizationUpdate) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationUpdate) HasName

func (o *OrganizationUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*OrganizationUpdate) HasSettings

func (o *OrganizationUpdate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (OrganizationUpdate) MarshalJSON

func (o OrganizationUpdate) MarshalJSON() ([]byte, error)

func (*OrganizationUpdate) SetName

func (o *OrganizationUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OrganizationUpdate) SetSettings

func (o *OrganizationUpdate) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

type PDPConfigRead

type PDPConfigRead struct {
	Id   string  `json:"id"`
	Name *string `json:"name,omitempty"`
	// Unique id of the organization that the pdp_config belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the pdp_config belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the pdp_config belongs to.
	EnvironmentId string `json:"environment_id"`
	ClientSecret  string `json:"client_secret"`
}

PDPConfigRead struct for PDPConfigRead

func NewPDPConfigRead

func NewPDPConfigRead(id string, organizationId string, projectId string, environmentId string, clientSecret string) *PDPConfigRead

NewPDPConfigRead instantiates a new PDPConfigRead 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 NewPDPConfigReadWithDefaults

func NewPDPConfigReadWithDefaults() *PDPConfigRead

NewPDPConfigReadWithDefaults instantiates a new PDPConfigRead 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 (*PDPConfigRead) GetClientSecret

func (o *PDPConfigRead) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*PDPConfigRead) GetClientSecretOk

func (o *PDPConfigRead) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.

func (*PDPConfigRead) GetEnvironmentId

func (o *PDPConfigRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*PDPConfigRead) GetEnvironmentIdOk

func (o *PDPConfigRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*PDPConfigRead) GetId

func (o *PDPConfigRead) GetId() string

GetId returns the Id field value

func (*PDPConfigRead) GetIdOk

func (o *PDPConfigRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PDPConfigRead) GetName

func (o *PDPConfigRead) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PDPConfigRead) GetNameOk

func (o *PDPConfigRead) 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 (*PDPConfigRead) GetOrganizationId

func (o *PDPConfigRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*PDPConfigRead) GetOrganizationIdOk

func (o *PDPConfigRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*PDPConfigRead) GetProjectId

func (o *PDPConfigRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*PDPConfigRead) GetProjectIdOk

func (o *PDPConfigRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*PDPConfigRead) HasName

func (o *PDPConfigRead) HasName() bool

HasName returns a boolean if a field has been set.

func (PDPConfigRead) MarshalJSON

func (o PDPConfigRead) MarshalJSON() ([]byte, error)

func (*PDPConfigRead) SetClientSecret

func (o *PDPConfigRead) SetClientSecret(v string)

SetClientSecret sets field value

func (*PDPConfigRead) SetEnvironmentId

func (o *PDPConfigRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*PDPConfigRead) SetId

func (o *PDPConfigRead) SetId(v string)

SetId sets field value

func (*PDPConfigRead) SetName

func (o *PDPConfigRead) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PDPConfigRead) SetOrganizationId

func (o *PDPConfigRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*PDPConfigRead) SetProjectId

func (o *PDPConfigRead) SetProjectId(v string)

SetProjectId sets field value

type PDPContext

type PDPContext struct {
	CustomerId  string  `json:"customer_id"`
	ClientId    string  `json:"client_id"`
	BackendTier string  `json:"backend_tier"`
	Component   *string `json:"component,omitempty"`
}

PDPContext struct for PDPContext

func NewPDPContext

func NewPDPContext(customerId string, clientId string, backendTier string) *PDPContext

NewPDPContext instantiates a new PDPContext 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 NewPDPContextWithDefaults

func NewPDPContextWithDefaults() *PDPContext

NewPDPContextWithDefaults instantiates a new PDPContext 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 (*PDPContext) GetBackendTier

func (o *PDPContext) GetBackendTier() string

GetBackendTier returns the BackendTier field value

func (*PDPContext) GetBackendTierOk

func (o *PDPContext) GetBackendTierOk() (*string, bool)

GetBackendTierOk returns a tuple with the BackendTier field value and a boolean to check if the value has been set.

func (*PDPContext) GetClientId

func (o *PDPContext) GetClientId() string

GetClientId returns the ClientId field value

func (*PDPContext) GetClientIdOk

func (o *PDPContext) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*PDPContext) GetComponent

func (o *PDPContext) GetComponent() string

GetComponent returns the Component field value if set, zero value otherwise.

func (*PDPContext) GetComponentOk

func (o *PDPContext) GetComponentOk() (*string, bool)

GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PDPContext) GetCustomerId

func (o *PDPContext) GetCustomerId() string

GetCustomerId returns the CustomerId field value

func (*PDPContext) GetCustomerIdOk

func (o *PDPContext) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field value and a boolean to check if the value has been set.

func (*PDPContext) HasComponent

func (o *PDPContext) HasComponent() bool

HasComponent returns a boolean if a field has been set.

func (PDPContext) MarshalJSON

func (o PDPContext) MarshalJSON() ([]byte, error)

func (*PDPContext) SetBackendTier

func (o *PDPContext) SetBackendTier(v string)

SetBackendTier sets field value

func (*PDPContext) SetClientId

func (o *PDPContext) SetClientId(v string)

SetClientId sets field value

func (*PDPContext) SetComponent

func (o *PDPContext) SetComponent(v string)

SetComponent gets a reference to the given string and assigns it to the Component field.

func (*PDPContext) SetCustomerId

func (o *PDPContext) SetCustomerId(v string)

SetCustomerId sets field value

type PDPState

type PDPState struct {
	ApiVersion int32 `json:"api_version"`
}

PDPState struct for PDPState

func NewPDPState

func NewPDPState(apiVersion int32) *PDPState

NewPDPState instantiates a new PDPState 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 NewPDPStateWithDefaults

func NewPDPStateWithDefaults() *PDPState

NewPDPStateWithDefaults instantiates a new PDPState 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 (*PDPState) GetApiVersion

func (o *PDPState) GetApiVersion() int32

GetApiVersion returns the ApiVersion field value

func (*PDPState) GetApiVersionOk

func (o *PDPState) GetApiVersionOk() (*int32, bool)

GetApiVersionOk returns a tuple with the ApiVersion field value and a boolean to check if the value has been set.

func (PDPState) MarshalJSON

func (o PDPState) MarshalJSON() ([]byte, error)

func (*PDPState) SetApiVersion

func (o *PDPState) SetApiVersion(v int32)

SetApiVersion sets field value

type PDPStateUpdate

type PDPStateUpdate struct {
	PdpInstanceId string   `json:"pdp_instance_id"`
	State         PDPState `json:"state"`
}

PDPStateUpdate struct for PDPStateUpdate

func NewPDPStateUpdate

func NewPDPStateUpdate(pdpInstanceId string, state PDPState) *PDPStateUpdate

NewPDPStateUpdate instantiates a new PDPStateUpdate 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 NewPDPStateUpdateWithDefaults

func NewPDPStateUpdateWithDefaults() *PDPStateUpdate

NewPDPStateUpdateWithDefaults instantiates a new PDPStateUpdate 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 (*PDPStateUpdate) GetPdpInstanceId

func (o *PDPStateUpdate) GetPdpInstanceId() string

GetPdpInstanceId returns the PdpInstanceId field value

func (*PDPStateUpdate) GetPdpInstanceIdOk

func (o *PDPStateUpdate) GetPdpInstanceIdOk() (*string, bool)

GetPdpInstanceIdOk returns a tuple with the PdpInstanceId field value and a boolean to check if the value has been set.

func (*PDPStateUpdate) GetState

func (o *PDPStateUpdate) GetState() PDPState

GetState returns the State field value

func (*PDPStateUpdate) GetStateOk

func (o *PDPStateUpdate) GetStateOk() (*PDPState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (PDPStateUpdate) MarshalJSON

func (o PDPStateUpdate) MarshalJSON() ([]byte, error)

func (*PDPStateUpdate) SetPdpInstanceId

func (o *PDPStateUpdate) SetPdpInstanceId(v string)

SetPdpInstanceId sets field value

func (*PDPStateUpdate) SetState

func (o *PDPStateUpdate) SetState(v PDPState)

SetState sets field value

type PaginatedResultAPIKeyRead

type PaginatedResultAPIKeyRead struct {
	Data       []APIKeyRead `json:"data"`
	TotalCount int32        `json:"total_count"`
	PageCount  *int32       `json:"page_count,omitempty"`
}

PaginatedResultAPIKeyRead struct for PaginatedResultAPIKeyRead

func NewPaginatedResultAPIKeyRead

func NewPaginatedResultAPIKeyRead(data []APIKeyRead, totalCount int32) *PaginatedResultAPIKeyRead

NewPaginatedResultAPIKeyRead instantiates a new PaginatedResultAPIKeyRead 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 NewPaginatedResultAPIKeyReadWithDefaults

func NewPaginatedResultAPIKeyReadWithDefaults() *PaginatedResultAPIKeyRead

NewPaginatedResultAPIKeyReadWithDefaults instantiates a new PaginatedResultAPIKeyRead 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 (*PaginatedResultAPIKeyRead) GetData

func (o *PaginatedResultAPIKeyRead) GetData() []APIKeyRead

GetData returns the Data field value

func (*PaginatedResultAPIKeyRead) GetDataOk

func (o *PaginatedResultAPIKeyRead) GetDataOk() ([]APIKeyRead, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PaginatedResultAPIKeyRead) GetPageCount

func (o *PaginatedResultAPIKeyRead) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*PaginatedResultAPIKeyRead) GetPageCountOk

func (o *PaginatedResultAPIKeyRead) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedResultAPIKeyRead) GetTotalCount

func (o *PaginatedResultAPIKeyRead) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*PaginatedResultAPIKeyRead) GetTotalCountOk

func (o *PaginatedResultAPIKeyRead) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (*PaginatedResultAPIKeyRead) HasPageCount

func (o *PaginatedResultAPIKeyRead) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (PaginatedResultAPIKeyRead) MarshalJSON

func (o PaginatedResultAPIKeyRead) MarshalJSON() ([]byte, error)

func (*PaginatedResultAPIKeyRead) SetData

func (o *PaginatedResultAPIKeyRead) SetData(v []APIKeyRead)

SetData sets field value

func (*PaginatedResultAPIKeyRead) SetPageCount

func (o *PaginatedResultAPIKeyRead) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*PaginatedResultAPIKeyRead) SetTotalCount

func (o *PaginatedResultAPIKeyRead) SetTotalCount(v int32)

SetTotalCount sets field value

type PaginatedResultElementsConfigRead

type PaginatedResultElementsConfigRead struct {
	Data       []ElementsConfigRead `json:"data"`
	TotalCount int32                `json:"total_count"`
	PageCount  *int32               `json:"page_count,omitempty"`
}

PaginatedResultElementsConfigRead struct for PaginatedResultElementsConfigRead

func NewPaginatedResultElementsConfigRead

func NewPaginatedResultElementsConfigRead(data []ElementsConfigRead, totalCount int32) *PaginatedResultElementsConfigRead

NewPaginatedResultElementsConfigRead instantiates a new PaginatedResultElementsConfigRead 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 NewPaginatedResultElementsConfigReadWithDefaults

func NewPaginatedResultElementsConfigReadWithDefaults() *PaginatedResultElementsConfigRead

NewPaginatedResultElementsConfigReadWithDefaults instantiates a new PaginatedResultElementsConfigRead 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 (*PaginatedResultElementsConfigRead) GetData

GetData returns the Data field value

func (*PaginatedResultElementsConfigRead) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PaginatedResultElementsConfigRead) GetPageCount

func (o *PaginatedResultElementsConfigRead) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*PaginatedResultElementsConfigRead) GetPageCountOk

func (o *PaginatedResultElementsConfigRead) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedResultElementsConfigRead) GetTotalCount

func (o *PaginatedResultElementsConfigRead) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*PaginatedResultElementsConfigRead) GetTotalCountOk

func (o *PaginatedResultElementsConfigRead) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (*PaginatedResultElementsConfigRead) HasPageCount

func (o *PaginatedResultElementsConfigRead) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (PaginatedResultElementsConfigRead) MarshalJSON

func (o PaginatedResultElementsConfigRead) MarshalJSON() ([]byte, error)

func (*PaginatedResultElementsConfigRead) SetData

SetData sets field value

func (*PaginatedResultElementsConfigRead) SetPageCount

func (o *PaginatedResultElementsConfigRead) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*PaginatedResultElementsConfigRead) SetTotalCount

func (o *PaginatedResultElementsConfigRead) SetTotalCount(v int32)

SetTotalCount sets field value

type PaginatedResultOPADecisionLog

type PaginatedResultOPADecisionLog struct {
	Data       []OPADecisionLog `json:"data"`
	TotalCount int32            `json:"total_count"`
	PageCount  *int32           `json:"page_count,omitempty"`
}

PaginatedResultOPADecisionLog struct for PaginatedResultOPADecisionLog

func NewPaginatedResultOPADecisionLog

func NewPaginatedResultOPADecisionLog(data []OPADecisionLog, totalCount int32) *PaginatedResultOPADecisionLog

NewPaginatedResultOPADecisionLog instantiates a new PaginatedResultOPADecisionLog 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 NewPaginatedResultOPADecisionLogWithDefaults

func NewPaginatedResultOPADecisionLogWithDefaults() *PaginatedResultOPADecisionLog

NewPaginatedResultOPADecisionLogWithDefaults instantiates a new PaginatedResultOPADecisionLog 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 (*PaginatedResultOPADecisionLog) GetData

GetData returns the Data field value

func (*PaginatedResultOPADecisionLog) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PaginatedResultOPADecisionLog) GetPageCount

func (o *PaginatedResultOPADecisionLog) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*PaginatedResultOPADecisionLog) GetPageCountOk

func (o *PaginatedResultOPADecisionLog) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedResultOPADecisionLog) GetTotalCount

func (o *PaginatedResultOPADecisionLog) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*PaginatedResultOPADecisionLog) GetTotalCountOk

func (o *PaginatedResultOPADecisionLog) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (*PaginatedResultOPADecisionLog) HasPageCount

func (o *PaginatedResultOPADecisionLog) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (PaginatedResultOPADecisionLog) MarshalJSON

func (o PaginatedResultOPADecisionLog) MarshalJSON() ([]byte, error)

func (*PaginatedResultOPADecisionLog) SetData

SetData sets field value

func (*PaginatedResultOPADecisionLog) SetPageCount

func (o *PaginatedResultOPADecisionLog) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*PaginatedResultOPADecisionLog) SetTotalCount

func (o *PaginatedResultOPADecisionLog) SetTotalCount(v int32)

SetTotalCount sets field value

type PaginatedResultUserRead

type PaginatedResultUserRead struct {
	Data       []UserRead `json:"data"`
	TotalCount int32      `json:"total_count"`
	PageCount  *int32     `json:"page_count,omitempty"`
}

PaginatedResultUserRead struct for PaginatedResultUserRead

func NewPaginatedResultUserRead

func NewPaginatedResultUserRead(data []UserRead, totalCount int32) *PaginatedResultUserRead

NewPaginatedResultUserRead instantiates a new PaginatedResultUserRead 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 NewPaginatedResultUserReadWithDefaults

func NewPaginatedResultUserReadWithDefaults() *PaginatedResultUserRead

NewPaginatedResultUserReadWithDefaults instantiates a new PaginatedResultUserRead 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 (*PaginatedResultUserRead) GetData

func (o *PaginatedResultUserRead) GetData() []UserRead

GetData returns the Data field value

func (*PaginatedResultUserRead) GetDataOk

func (o *PaginatedResultUserRead) GetDataOk() ([]UserRead, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PaginatedResultUserRead) GetPageCount

func (o *PaginatedResultUserRead) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*PaginatedResultUserRead) GetPageCountOk

func (o *PaginatedResultUserRead) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedResultUserRead) GetTotalCount

func (o *PaginatedResultUserRead) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*PaginatedResultUserRead) GetTotalCountOk

func (o *PaginatedResultUserRead) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.

func (*PaginatedResultUserRead) HasPageCount

func (o *PaginatedResultUserRead) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (PaginatedResultUserRead) MarshalJSON

func (o PaginatedResultUserRead) MarshalJSON() ([]byte, error)

func (*PaginatedResultUserRead) SetData

func (o *PaginatedResultUserRead) SetData(v []UserRead)

SetData sets field value

func (*PaginatedResultUserRead) SetPageCount

func (o *PaginatedResultUserRead) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*PaginatedResultUserRead) SetTotalCount

func (o *PaginatedResultUserRead) SetTotalCount(v int32)

SetTotalCount sets field value

type Pdp

type Pdp struct {
	BACKEND_SERVICE_URL                       string `json:"BACKEND_SERVICE_URL"`
	OPA_DECISION_LOG_INGRESS_ROUTE            string `json:"OPA_DECISION_LOG_INGRESS_ROUTE"`
	OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL string `json:"OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL"`
}

Pdp struct for Pdp

func NewPdp

func NewPdp(bACKENDSERVICEURL string, oPADECISIONLOGINGRESSROUTE string, oPADECISIONLOGINGRESSBACKENDTIERURL string) *Pdp

NewPdp instantiates a new Pdp 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 NewPdpWithDefaults

func NewPdpWithDefaults() *Pdp

NewPdpWithDefaults instantiates a new Pdp 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 (*Pdp) GetBACKEND_SERVICE_URL

func (o *Pdp) GetBACKEND_SERVICE_URL() string

GetBACKEND_SERVICE_URL returns the BACKEND_SERVICE_URL field value

func (*Pdp) GetBACKEND_SERVICE_URLOk

func (o *Pdp) GetBACKEND_SERVICE_URLOk() (*string, bool)

GetBACKEND_SERVICE_URLOk returns a tuple with the BACKEND_SERVICE_URL field value and a boolean to check if the value has been set.

func (*Pdp) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL

func (o *Pdp) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL() string

GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL returns the OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL field value

func (*Pdp) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk

func (o *Pdp) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk() (*string, bool)

GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk returns a tuple with the OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL field value and a boolean to check if the value has been set.

func (*Pdp) GetOPA_DECISION_LOG_INGRESS_ROUTE

func (o *Pdp) GetOPA_DECISION_LOG_INGRESS_ROUTE() string

GetOPA_DECISION_LOG_INGRESS_ROUTE returns the OPA_DECISION_LOG_INGRESS_ROUTE field value

func (*Pdp) GetOPA_DECISION_LOG_INGRESS_ROUTEOk

func (o *Pdp) GetOPA_DECISION_LOG_INGRESS_ROUTEOk() (*string, bool)

GetOPA_DECISION_LOG_INGRESS_ROUTEOk returns a tuple with the OPA_DECISION_LOG_INGRESS_ROUTE field value and a boolean to check if the value has been set.

func (Pdp) MarshalJSON

func (o Pdp) MarshalJSON() ([]byte, error)

func (*Pdp) SetBACKEND_SERVICE_URL

func (o *Pdp) SetBACKEND_SERVICE_URL(v string)

SetBACKEND_SERVICE_URL sets field value

func (*Pdp) SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL

func (o *Pdp) SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL(v string)

SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL sets field value

func (*Pdp) SetOPA_DECISION_LOG_INGRESS_ROUTE

func (o *Pdp) SetOPA_DECISION_LOG_INGRESS_ROUTE(v string)

SetOPA_DECISION_LOG_INGRESS_ROUTE sets field value

type PdpValues

type PdpValues struct {
	BACKEND_SERVICE_URL                       string `json:"BACKEND_SERVICE_URL"`
	OPA_DECISION_LOG_INGRESS_ROUTE            string `json:"OPA_DECISION_LOG_INGRESS_ROUTE"`
	OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL string `json:"OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL"`
}

PdpValues struct for PdpValues

func NewPdpValues

func NewPdpValues(bACKENDSERVICEURL string, oPADECISIONLOGINGRESSROUTE string, oPADECISIONLOGINGRESSBACKENDTIERURL string) *PdpValues

NewPdpValues instantiates a new PdpValues 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 NewPdpValuesWithDefaults

func NewPdpValuesWithDefaults() *PdpValues

NewPdpValuesWithDefaults instantiates a new PdpValues 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 (*PdpValues) GetBACKEND_SERVICE_URL

func (o *PdpValues) GetBACKEND_SERVICE_URL() string

GetBACKEND_SERVICE_URL returns the BACKEND_SERVICE_URL field value

func (*PdpValues) GetBACKEND_SERVICE_URLOk

func (o *PdpValues) GetBACKEND_SERVICE_URLOk() (*string, bool)

GetBACKEND_SERVICE_URLOk returns a tuple with the BACKEND_SERVICE_URL field value and a boolean to check if the value has been set.

func (*PdpValues) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL

func (o *PdpValues) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL() string

GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL returns the OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL field value

func (*PdpValues) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk

func (o *PdpValues) GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk() (*string, bool)

GetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URLOk returns a tuple with the OPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL field value and a boolean to check if the value has been set.

func (*PdpValues) GetOPA_DECISION_LOG_INGRESS_ROUTE

func (o *PdpValues) GetOPA_DECISION_LOG_INGRESS_ROUTE() string

GetOPA_DECISION_LOG_INGRESS_ROUTE returns the OPA_DECISION_LOG_INGRESS_ROUTE field value

func (*PdpValues) GetOPA_DECISION_LOG_INGRESS_ROUTEOk

func (o *PdpValues) GetOPA_DECISION_LOG_INGRESS_ROUTEOk() (*string, bool)

GetOPA_DECISION_LOG_INGRESS_ROUTEOk returns a tuple with the OPA_DECISION_LOG_INGRESS_ROUTE field value and a boolean to check if the value has been set.

func (PdpValues) MarshalJSON

func (o PdpValues) MarshalJSON() ([]byte, error)

func (*PdpValues) SetBACKEND_SERVICE_URL

func (o *PdpValues) SetBACKEND_SERVICE_URL(v string)

SetBACKEND_SERVICE_URL sets field value

func (*PdpValues) SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL

func (o *PdpValues) SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL(v string)

SetOPA_DECISION_LOG_INGRESS_BACKEND_TIER_URL sets field value

func (*PdpValues) SetOPA_DECISION_LOG_INGRESS_ROUTE

func (o *PdpValues) SetOPA_DECISION_LOG_INGRESS_ROUTE(v string)

SetOPA_DECISION_LOG_INGRESS_ROUTE sets field value

type PermissionLevelRoleRead

type PermissionLevelRoleRead struct {
	// Unique id of the elements_env
	Id string `json:"id"`
	// A URL-friendly name of the elements_env (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the elements_env.
	Key  string `json:"key"`
	Name string `json:"name"`
}

PermissionLevelRoleRead struct for PermissionLevelRoleRead

func NewPermissionLevelRoleRead

func NewPermissionLevelRoleRead(id string, key string, name string) *PermissionLevelRoleRead

NewPermissionLevelRoleRead instantiates a new PermissionLevelRoleRead 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 NewPermissionLevelRoleReadWithDefaults

func NewPermissionLevelRoleReadWithDefaults() *PermissionLevelRoleRead

NewPermissionLevelRoleReadWithDefaults instantiates a new PermissionLevelRoleRead 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 (*PermissionLevelRoleRead) GetId

func (o *PermissionLevelRoleRead) GetId() string

GetId returns the Id field value

func (*PermissionLevelRoleRead) GetIdOk

func (o *PermissionLevelRoleRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PermissionLevelRoleRead) GetKey

func (o *PermissionLevelRoleRead) GetKey() string

GetKey returns the Key field value

func (*PermissionLevelRoleRead) GetKeyOk

func (o *PermissionLevelRoleRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*PermissionLevelRoleRead) GetName

func (o *PermissionLevelRoleRead) GetName() string

GetName returns the Name field value

func (*PermissionLevelRoleRead) GetNameOk

func (o *PermissionLevelRoleRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (PermissionLevelRoleRead) MarshalJSON

func (o PermissionLevelRoleRead) MarshalJSON() ([]byte, error)

func (*PermissionLevelRoleRead) SetId

func (o *PermissionLevelRoleRead) SetId(v string)

SetId sets field value

func (*PermissionLevelRoleRead) SetKey

func (o *PermissionLevelRoleRead) SetKey(v string)

SetKey sets field value

func (*PermissionLevelRoleRead) SetName

func (o *PermissionLevelRoleRead) SetName(v string)

SetName sets field value

type PolicyRepoCreate

type PolicyRepoCreate struct {
	// A URL-friendly name of the policy repo (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the policy repo.
	Key            string      `json:"key"`
	Url            string      `json:"url"`
	MainBranchName *string     `json:"main_branch_name,omitempty"`
	Credentials    SSHAuthData `json:"credentials"`
	// if you want to change your policy repository to this repo right after it is validated
	ActivateWhenValidated *bool `json:"activate_when_validated,omitempty"`
}

PolicyRepoCreate struct for PolicyRepoCreate

func NewPolicyRepoCreate

func NewPolicyRepoCreate(key string, url string, credentials SSHAuthData) *PolicyRepoCreate

NewPolicyRepoCreate instantiates a new PolicyRepoCreate 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 NewPolicyRepoCreateWithDefaults

func NewPolicyRepoCreateWithDefaults() *PolicyRepoCreate

NewPolicyRepoCreateWithDefaults instantiates a new PolicyRepoCreate 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 (*PolicyRepoCreate) GetActivateWhenValidated

func (o *PolicyRepoCreate) GetActivateWhenValidated() bool

GetActivateWhenValidated returns the ActivateWhenValidated field value if set, zero value otherwise.

func (*PolicyRepoCreate) GetActivateWhenValidatedOk

func (o *PolicyRepoCreate) GetActivateWhenValidatedOk() (*bool, bool)

GetActivateWhenValidatedOk returns a tuple with the ActivateWhenValidated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyRepoCreate) GetCredentials

func (o *PolicyRepoCreate) GetCredentials() SSHAuthData

GetCredentials returns the Credentials field value

func (*PolicyRepoCreate) GetCredentialsOk

func (o *PolicyRepoCreate) GetCredentialsOk() (*SSHAuthData, bool)

GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.

func (*PolicyRepoCreate) GetKey

func (o *PolicyRepoCreate) GetKey() string

GetKey returns the Key field value

func (*PolicyRepoCreate) GetKeyOk

func (o *PolicyRepoCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*PolicyRepoCreate) GetMainBranchName

func (o *PolicyRepoCreate) GetMainBranchName() string

GetMainBranchName returns the MainBranchName field value if set, zero value otherwise.

func (*PolicyRepoCreate) GetMainBranchNameOk

func (o *PolicyRepoCreate) GetMainBranchNameOk() (*string, bool)

GetMainBranchNameOk returns a tuple with the MainBranchName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyRepoCreate) GetUrl

func (o *PolicyRepoCreate) GetUrl() string

GetUrl returns the Url field value

func (*PolicyRepoCreate) GetUrlOk

func (o *PolicyRepoCreate) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*PolicyRepoCreate) HasActivateWhenValidated

func (o *PolicyRepoCreate) HasActivateWhenValidated() bool

HasActivateWhenValidated returns a boolean if a field has been set.

func (*PolicyRepoCreate) HasMainBranchName

func (o *PolicyRepoCreate) HasMainBranchName() bool

HasMainBranchName returns a boolean if a field has been set.

func (PolicyRepoCreate) MarshalJSON

func (o PolicyRepoCreate) MarshalJSON() ([]byte, error)

func (*PolicyRepoCreate) SetActivateWhenValidated

func (o *PolicyRepoCreate) SetActivateWhenValidated(v bool)

SetActivateWhenValidated gets a reference to the given bool and assigns it to the ActivateWhenValidated field.

func (*PolicyRepoCreate) SetCredentials

func (o *PolicyRepoCreate) SetCredentials(v SSHAuthData)

SetCredentials sets field value

func (*PolicyRepoCreate) SetKey

func (o *PolicyRepoCreate) SetKey(v string)

SetKey sets field value

func (*PolicyRepoCreate) SetMainBranchName

func (o *PolicyRepoCreate) SetMainBranchName(v string)

SetMainBranchName gets a reference to the given string and assigns it to the MainBranchName field.

func (*PolicyRepoCreate) SetUrl

func (o *PolicyRepoCreate) SetUrl(v string)

SetUrl sets field value

type PolicyRepoRead

type PolicyRepoRead struct {
	// Unique id of the policy repo
	Id     string           `json:"id"`
	Status PolicyRepoStatus `json:"status"`
	// A URL-friendly name of the policy repo (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the policy repo.
	Key            string      `json:"key"`
	Url            string      `json:"url"`
	MainBranchName *string     `json:"main_branch_name,omitempty"`
	Credentials    SSHAuthData `json:"credentials"`
	// if you want to change your policy repository to this repo right after it is validated
	ActivateWhenValidated *bool `json:"activate_when_validated,omitempty"`
}

PolicyRepoRead struct for PolicyRepoRead

func NewPolicyRepoRead

func NewPolicyRepoRead(id string, status PolicyRepoStatus, key string, url string, credentials SSHAuthData) *PolicyRepoRead

NewPolicyRepoRead instantiates a new PolicyRepoRead 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 NewPolicyRepoReadWithDefaults

func NewPolicyRepoReadWithDefaults() *PolicyRepoRead

NewPolicyRepoReadWithDefaults instantiates a new PolicyRepoRead 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 (*PolicyRepoRead) GetActivateWhenValidated

func (o *PolicyRepoRead) GetActivateWhenValidated() bool

GetActivateWhenValidated returns the ActivateWhenValidated field value if set, zero value otherwise.

func (*PolicyRepoRead) GetActivateWhenValidatedOk

func (o *PolicyRepoRead) GetActivateWhenValidatedOk() (*bool, bool)

GetActivateWhenValidatedOk returns a tuple with the ActivateWhenValidated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetCredentials

func (o *PolicyRepoRead) GetCredentials() SSHAuthData

GetCredentials returns the Credentials field value

func (*PolicyRepoRead) GetCredentialsOk

func (o *PolicyRepoRead) GetCredentialsOk() (*SSHAuthData, bool)

GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetId

func (o *PolicyRepoRead) GetId() string

GetId returns the Id field value

func (*PolicyRepoRead) GetIdOk

func (o *PolicyRepoRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetKey

func (o *PolicyRepoRead) GetKey() string

GetKey returns the Key field value

func (*PolicyRepoRead) GetKeyOk

func (o *PolicyRepoRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetMainBranchName

func (o *PolicyRepoRead) GetMainBranchName() string

GetMainBranchName returns the MainBranchName field value if set, zero value otherwise.

func (*PolicyRepoRead) GetMainBranchNameOk

func (o *PolicyRepoRead) GetMainBranchNameOk() (*string, bool)

GetMainBranchNameOk returns a tuple with the MainBranchName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetStatus

func (o *PolicyRepoRead) GetStatus() PolicyRepoStatus

GetStatus returns the Status field value

func (*PolicyRepoRead) GetStatusOk

func (o *PolicyRepoRead) GetStatusOk() (*PolicyRepoStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*PolicyRepoRead) GetUrl

func (o *PolicyRepoRead) GetUrl() string

GetUrl returns the Url field value

func (*PolicyRepoRead) GetUrlOk

func (o *PolicyRepoRead) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*PolicyRepoRead) HasActivateWhenValidated

func (o *PolicyRepoRead) HasActivateWhenValidated() bool

HasActivateWhenValidated returns a boolean if a field has been set.

func (*PolicyRepoRead) HasMainBranchName

func (o *PolicyRepoRead) HasMainBranchName() bool

HasMainBranchName returns a boolean if a field has been set.

func (PolicyRepoRead) MarshalJSON

func (o PolicyRepoRead) MarshalJSON() ([]byte, error)

func (*PolicyRepoRead) SetActivateWhenValidated

func (o *PolicyRepoRead) SetActivateWhenValidated(v bool)

SetActivateWhenValidated gets a reference to the given bool and assigns it to the ActivateWhenValidated field.

func (*PolicyRepoRead) SetCredentials

func (o *PolicyRepoRead) SetCredentials(v SSHAuthData)

SetCredentials sets field value

func (*PolicyRepoRead) SetId

func (o *PolicyRepoRead) SetId(v string)

SetId sets field value

func (*PolicyRepoRead) SetKey

func (o *PolicyRepoRead) SetKey(v string)

SetKey sets field value

func (*PolicyRepoRead) SetMainBranchName

func (o *PolicyRepoRead) SetMainBranchName(v string)

SetMainBranchName gets a reference to the given string and assigns it to the MainBranchName field.

func (*PolicyRepoRead) SetStatus

func (o *PolicyRepoRead) SetStatus(v PolicyRepoStatus)

SetStatus sets field value

func (*PolicyRepoRead) SetUrl

func (o *PolicyRepoRead) SetUrl(v string)

SetUrl sets field value

type PolicyRepoStatus

type PolicyRepoStatus string

PolicyRepoStatus An enumeration.

const (
	INVALID PolicyRepoStatus = "invalid"
	PENDING PolicyRepoStatus = "pending"
	VALID   PolicyRepoStatus = "valid"
)

List of PolicyRepoStatus

func NewPolicyRepoStatusFromValue

func NewPolicyRepoStatusFromValue(v string) (*PolicyRepoStatus, error)

NewPolicyRepoStatusFromValue returns a pointer to a valid PolicyRepoStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PolicyRepoStatus) IsValid

func (v PolicyRepoStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PolicyRepoStatus) Ptr

Ptr returns reference to PolicyRepoStatus value

func (*PolicyRepoStatus) UnmarshalJSON

func (v *PolicyRepoStatus) UnmarshalJSON(src []byte) error

type ProgrammingLanguage

type ProgrammingLanguage string

ProgrammingLanguage An enumeration.

const (
	JAVASCRIPT   ProgrammingLanguage = "javascript"
	PYTHON       ProgrammingLanguage = "python"
	DOTNET       ProgrammingLanguage = "dotnet"
	JAVA         ProgrammingLanguage = "java"
	KONG_GATEWAY ProgrammingLanguage = "kong_gateway"
)

List of ProgrammingLanguage

func NewProgrammingLanguageFromValue

func NewProgrammingLanguageFromValue(v string) (*ProgrammingLanguage, error)

NewProgrammingLanguageFromValue returns a pointer to a valid ProgrammingLanguage for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProgrammingLanguage) IsValid

func (v ProgrammingLanguage) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProgrammingLanguage) Ptr

Ptr returns reference to ProgrammingLanguage value

func (*ProgrammingLanguage) UnmarshalJSON

func (v *ProgrammingLanguage) UnmarshalJSON(src []byte) error

type ProjectCreate

type ProjectCreate struct {
	// A URL-friendly name of the project (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the project.
	Key string `json:"key"`
	// Optional namespace for URNs. If empty, URNs will be generated from project key.
	UrnNamespace *string `json:"urn_namespace,omitempty"`
	// The name of the project
	Name string `json:"name"`
	// a longer description outlining the project objectives
	Description *string `json:"description,omitempty"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
	// the id of the policy repo to use for this project
	ActivePolicyRepoId *string `json:"active_policy_repo_id,omitempty"`
}

ProjectCreate struct for ProjectCreate

func NewProjectCreate

func NewProjectCreate(key string, name string) *ProjectCreate

NewProjectCreate instantiates a new ProjectCreate 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 NewProjectCreateWithDefaults

func NewProjectCreateWithDefaults() *ProjectCreate

NewProjectCreateWithDefaults instantiates a new ProjectCreate 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 (*ProjectCreate) GetActivePolicyRepoId

func (o *ProjectCreate) GetActivePolicyRepoId() string

GetActivePolicyRepoId returns the ActivePolicyRepoId field value if set, zero value otherwise.

func (*ProjectCreate) GetActivePolicyRepoIdOk

func (o *ProjectCreate) GetActivePolicyRepoIdOk() (*string, bool)

GetActivePolicyRepoIdOk returns a tuple with the ActivePolicyRepoId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreate) GetDescription

func (o *ProjectCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProjectCreate) GetDescriptionOk

func (o *ProjectCreate) 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 (*ProjectCreate) GetKey

func (o *ProjectCreate) GetKey() string

GetKey returns the Key field value

func (*ProjectCreate) GetKeyOk

func (o *ProjectCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ProjectCreate) GetName

func (o *ProjectCreate) GetName() string

GetName returns the Name field value

func (*ProjectCreate) GetNameOk

func (o *ProjectCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectCreate) GetSettings

func (o *ProjectCreate) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ProjectCreate) GetSettingsOk

func (o *ProjectCreate) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreate) GetUrnNamespace

func (o *ProjectCreate) GetUrnNamespace() string

GetUrnNamespace returns the UrnNamespace field value if set, zero value otherwise.

func (*ProjectCreate) GetUrnNamespaceOk

func (o *ProjectCreate) GetUrnNamespaceOk() (*string, bool)

GetUrnNamespaceOk returns a tuple with the UrnNamespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreate) HasActivePolicyRepoId

func (o *ProjectCreate) HasActivePolicyRepoId() bool

HasActivePolicyRepoId returns a boolean if a field has been set.

func (*ProjectCreate) HasDescription

func (o *ProjectCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectCreate) HasSettings

func (o *ProjectCreate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*ProjectCreate) HasUrnNamespace

func (o *ProjectCreate) HasUrnNamespace() bool

HasUrnNamespace returns a boolean if a field has been set.

func (ProjectCreate) MarshalJSON

func (o ProjectCreate) MarshalJSON() ([]byte, error)

func (*ProjectCreate) SetActivePolicyRepoId

func (o *ProjectCreate) SetActivePolicyRepoId(v string)

SetActivePolicyRepoId gets a reference to the given string and assigns it to the ActivePolicyRepoId field.

func (*ProjectCreate) SetDescription

func (o *ProjectCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProjectCreate) SetKey

func (o *ProjectCreate) SetKey(v string)

SetKey sets field value

func (*ProjectCreate) SetName

func (o *ProjectCreate) SetName(v string)

SetName sets field value

func (*ProjectCreate) SetSettings

func (o *ProjectCreate) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*ProjectCreate) SetUrnNamespace

func (o *ProjectCreate) SetUrnNamespace(v string)

SetUrnNamespace gets a reference to the given string and assigns it to the UrnNamespace field.

type ProjectRead

type ProjectRead struct {
	// A URL-friendly name of the project (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the project.
	Key string `json:"key"`
	// Optional namespace for URNs. If empty, URNs will be generated from project key.
	UrnNamespace *string `json:"urn_namespace,omitempty"`
	// Unique id of the project
	Id string `json:"id"`
	// Unique id of the organization that the project belongs to.
	OrganizationId string `json:"organization_id"`
	// Date and time when the project was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the project was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the project
	Name string `json:"name"`
	// a longer description outlining the project objectives
	Description *string `json:"description,omitempty"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
	// the id of the policy repo to use for this project
	ActivePolicyRepoId *string `json:"active_policy_repo_id,omitempty"`
}

ProjectRead struct for ProjectRead

func NewProjectRead

func NewProjectRead(key string, id string, organizationId string, createdAt time.Time, updatedAt time.Time, name string) *ProjectRead

NewProjectRead instantiates a new ProjectRead 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 NewProjectReadWithDefaults

func NewProjectReadWithDefaults() *ProjectRead

NewProjectReadWithDefaults instantiates a new ProjectRead 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 (*ProjectRead) GetActivePolicyRepoId

func (o *ProjectRead) GetActivePolicyRepoId() string

GetActivePolicyRepoId returns the ActivePolicyRepoId field value if set, zero value otherwise.

func (*ProjectRead) GetActivePolicyRepoIdOk

func (o *ProjectRead) GetActivePolicyRepoIdOk() (*string, bool)

GetActivePolicyRepoIdOk returns a tuple with the ActivePolicyRepoId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRead) GetCreatedAt

func (o *ProjectRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ProjectRead) GetCreatedAtOk

func (o *ProjectRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ProjectRead) GetDescription

func (o *ProjectRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProjectRead) GetDescriptionOk

func (o *ProjectRead) 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 (*ProjectRead) GetId

func (o *ProjectRead) GetId() string

GetId returns the Id field value

func (*ProjectRead) GetIdOk

func (o *ProjectRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProjectRead) GetKey

func (o *ProjectRead) GetKey() string

GetKey returns the Key field value

func (*ProjectRead) GetKeyOk

func (o *ProjectRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ProjectRead) GetName

func (o *ProjectRead) GetName() string

GetName returns the Name field value

func (*ProjectRead) GetNameOk

func (o *ProjectRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectRead) GetOrganizationId

func (o *ProjectRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ProjectRead) GetOrganizationIdOk

func (o *ProjectRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ProjectRead) GetSettings

func (o *ProjectRead) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ProjectRead) GetSettingsOk

func (o *ProjectRead) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRead) GetUpdatedAt

func (o *ProjectRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ProjectRead) GetUpdatedAtOk

func (o *ProjectRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ProjectRead) GetUrnNamespace

func (o *ProjectRead) GetUrnNamespace() string

GetUrnNamespace returns the UrnNamespace field value if set, zero value otherwise.

func (*ProjectRead) GetUrnNamespaceOk

func (o *ProjectRead) GetUrnNamespaceOk() (*string, bool)

GetUrnNamespaceOk returns a tuple with the UrnNamespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectRead) HasActivePolicyRepoId

func (o *ProjectRead) HasActivePolicyRepoId() bool

HasActivePolicyRepoId returns a boolean if a field has been set.

func (*ProjectRead) HasDescription

func (o *ProjectRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectRead) HasSettings

func (o *ProjectRead) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*ProjectRead) HasUrnNamespace

func (o *ProjectRead) HasUrnNamespace() bool

HasUrnNamespace returns a boolean if a field has been set.

func (ProjectRead) MarshalJSON

func (o ProjectRead) MarshalJSON() ([]byte, error)

func (*ProjectRead) SetActivePolicyRepoId

func (o *ProjectRead) SetActivePolicyRepoId(v string)

SetActivePolicyRepoId gets a reference to the given string and assigns it to the ActivePolicyRepoId field.

func (*ProjectRead) SetCreatedAt

func (o *ProjectRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ProjectRead) SetDescription

func (o *ProjectRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProjectRead) SetId

func (o *ProjectRead) SetId(v string)

SetId sets field value

func (*ProjectRead) SetKey

func (o *ProjectRead) SetKey(v string)

SetKey sets field value

func (*ProjectRead) SetName

func (o *ProjectRead) SetName(v string)

SetName sets field value

func (*ProjectRead) SetOrganizationId

func (o *ProjectRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ProjectRead) SetSettings

func (o *ProjectRead) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*ProjectRead) SetUpdatedAt

func (o *ProjectRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ProjectRead) SetUrnNamespace

func (o *ProjectRead) SetUrnNamespace(v string)

SetUrnNamespace gets a reference to the given string and assigns it to the UrnNamespace field.

type ProjectUpdate

type ProjectUpdate struct {
	// The name of the project
	Name *string `json:"name,omitempty"`
	// a longer description outlining the project objectives
	Description *string `json:"description,omitempty"`
	// the settings for this project
	Settings map[string]interface{} `json:"settings,omitempty"`
	// the id of the policy repo to use for this project
	ActivePolicyRepoId *string `json:"active_policy_repo_id,omitempty"`
}

ProjectUpdate struct for ProjectUpdate

func NewProjectUpdate

func NewProjectUpdate() *ProjectUpdate

NewProjectUpdate instantiates a new ProjectUpdate 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 NewProjectUpdateWithDefaults

func NewProjectUpdateWithDefaults() *ProjectUpdate

NewProjectUpdateWithDefaults instantiates a new ProjectUpdate 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 (*ProjectUpdate) GetActivePolicyRepoId

func (o *ProjectUpdate) GetActivePolicyRepoId() string

GetActivePolicyRepoId returns the ActivePolicyRepoId field value if set, zero value otherwise.

func (*ProjectUpdate) GetActivePolicyRepoIdOk

func (o *ProjectUpdate) GetActivePolicyRepoIdOk() (*string, bool)

GetActivePolicyRepoIdOk returns a tuple with the ActivePolicyRepoId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdate) GetDescription

func (o *ProjectUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProjectUpdate) GetDescriptionOk

func (o *ProjectUpdate) 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 (*ProjectUpdate) GetName

func (o *ProjectUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ProjectUpdate) GetNameOk

func (o *ProjectUpdate) 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 (*ProjectUpdate) GetSettings

func (o *ProjectUpdate) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ProjectUpdate) GetSettingsOk

func (o *ProjectUpdate) GetSettingsOk() (map[string]interface{}, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdate) HasActivePolicyRepoId

func (o *ProjectUpdate) HasActivePolicyRepoId() bool

HasActivePolicyRepoId returns a boolean if a field has been set.

func (*ProjectUpdate) HasDescription

func (o *ProjectUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectUpdate) HasName

func (o *ProjectUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProjectUpdate) HasSettings

func (o *ProjectUpdate) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (ProjectUpdate) MarshalJSON

func (o ProjectUpdate) MarshalJSON() ([]byte, error)

func (*ProjectUpdate) SetActivePolicyRepoId

func (o *ProjectUpdate) SetActivePolicyRepoId(v string)

SetActivePolicyRepoId gets a reference to the given string and assigns it to the ActivePolicyRepoId field.

func (*ProjectUpdate) SetDescription

func (o *ProjectUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProjectUpdate) SetName

func (o *ProjectUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ProjectUpdate) SetSettings

func (o *ProjectUpdate) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

type RemoteConfig

type RemoteConfig struct {
	OpalCommon map[string]interface{} `json:"opal_common,omitempty"`
	OpalClient OPALClient             `json:"opal_client"`
	Pdp        *Pdp                   `json:"pdp,omitempty"`
	Context    PDPContext             `json:"context"`
}

RemoteConfig struct for RemoteConfig

func (*RemoteConfig) GetContext

func (o *RemoteConfig) GetContext() PDPContext

GetContext returns the Context field value

func (*RemoteConfig) GetContextOk

func (o *RemoteConfig) GetContextOk() (*PDPContext, bool)

GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.

func (*RemoteConfig) GetOpalClient

func (o *RemoteConfig) GetOpalClient() OPALClient

GetOpalClient returns the OpalClient field value

func (*RemoteConfig) GetOpalClientOk

func (o *RemoteConfig) GetOpalClientOk() (*OPALClient, bool)

GetOpalClientOk returns a tuple with the OpalClient field value and a boolean to check if the value has been set.

func (*RemoteConfig) GetOpalCommon

func (o *RemoteConfig) GetOpalCommon() map[string]interface{}

GetOpalCommon returns the OpalCommon field value if set, zero value otherwise.

func (*RemoteConfig) GetOpalCommonOk

func (o *RemoteConfig) GetOpalCommonOk() (map[string]interface{}, bool)

GetOpalCommonOk returns a tuple with the OpalCommon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteConfig) GetPdp

func (o *RemoteConfig) GetPdp() Pdp

GetPdp returns the Pdp field value if set, zero value otherwise.

func (*RemoteConfig) GetPdpOk

func (o *RemoteConfig) GetPdpOk() (*Pdp, bool)

GetPdpOk returns a tuple with the Pdp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteConfig) HasOpalCommon

func (o *RemoteConfig) HasOpalCommon() bool

HasOpalCommon returns a boolean if a field has been set.

func (*RemoteConfig) HasPdp

func (o *RemoteConfig) HasPdp() bool

HasPdp returns a boolean if a field has been set.

func (RemoteConfig) MarshalJSON

func (o RemoteConfig) MarshalJSON() ([]byte, error)

func (*RemoteConfig) SetContext

func (o *RemoteConfig) SetContext(v PDPContext)

SetContext sets field value

func (*RemoteConfig) SetOpalClient

func (o *RemoteConfig) SetOpalClient(v OPALClient)

SetOpalClient sets field value

func (*RemoteConfig) SetOpalCommon

func (o *RemoteConfig) SetOpalCommon(v map[string]interface{})

SetOpalCommon gets a reference to the given map[string]interface{} and assigns it to the OpalCommon field.

func (*RemoteConfig) SetPdp

func (o *RemoteConfig) SetPdp(v Pdp)

SetPdp gets a reference to the given Pdp and assigns it to the Pdp field.

type RemoveRolePermissions

type RemoveRolePermissions struct {
	// List of permissions to remove from the role. If a permission is not found it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`,i.e: the \"permission name\".
	Permissions []string `json:"permissions"`
}

RemoveRolePermissions struct for RemoveRolePermissions

func NewRemoveRolePermissions

func NewRemoveRolePermissions(permissions []string) *RemoveRolePermissions

NewRemoveRolePermissions instantiates a new RemoveRolePermissions 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 NewRemoveRolePermissionsWithDefaults

func NewRemoveRolePermissionsWithDefaults() *RemoveRolePermissions

NewRemoveRolePermissionsWithDefaults instantiates a new RemoveRolePermissions 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 (*RemoveRolePermissions) GetPermissions

func (o *RemoveRolePermissions) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*RemoveRolePermissions) GetPermissionsOk

func (o *RemoveRolePermissions) GetPermissionsOk() ([]string, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (RemoveRolePermissions) MarshalJSON

func (o RemoveRolePermissions) MarshalJSON() ([]byte, error)

func (*RemoveRolePermissions) SetPermissions

func (o *RemoveRolePermissions) SetPermissions(v []string)

SetPermissions sets field value

type ResourceActionCreate

type ResourceActionCreate struct {
	// A URL-friendly name of the action (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the action.
	Key string `json:"key"`
	// The name of the action
	Name string `json:"name"`
	// An optional longer description of what this action respresents in your system
	Description *string `json:"description,omitempty"`
}

ResourceActionCreate struct for ResourceActionCreate

func NewResourceActionCreate

func NewResourceActionCreate(key string, name string) *ResourceActionCreate

NewResourceActionCreate instantiates a new ResourceActionCreate 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 NewResourceActionCreateWithDefaults

func NewResourceActionCreateWithDefaults() *ResourceActionCreate

NewResourceActionCreateWithDefaults instantiates a new ResourceActionCreate 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 (*ResourceActionCreate) GetDescription

func (o *ResourceActionCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceActionCreate) GetDescriptionOk

func (o *ResourceActionCreate) 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 (*ResourceActionCreate) GetKey

func (o *ResourceActionCreate) GetKey() string

GetKey returns the Key field value

func (*ResourceActionCreate) GetKeyOk

func (o *ResourceActionCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceActionCreate) GetName

func (o *ResourceActionCreate) GetName() string

GetName returns the Name field value

func (*ResourceActionCreate) GetNameOk

func (o *ResourceActionCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceActionCreate) HasDescription

func (o *ResourceActionCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ResourceActionCreate) MarshalJSON

func (o ResourceActionCreate) MarshalJSON() ([]byte, error)

func (*ResourceActionCreate) SetDescription

func (o *ResourceActionCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceActionCreate) SetKey

func (o *ResourceActionCreate) SetKey(v string)

SetKey sets field value

func (*ResourceActionCreate) SetName

func (o *ResourceActionCreate) SetName(v string)

SetName sets field value

type ResourceActionRead

type ResourceActionRead struct {
	// The name of the action
	Name string `json:"name"`
	// An optional longer description of what this action respresents in your system
	Description *string `json:"description,omitempty"`
	// A URL-friendly name of the action (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the action.
	Key string `json:"key"`
	// Unique id of the action
	Id string `json:"id"`
	// The name of the action, prefixed by the resource the action is acting upon.
	PermissionName string `json:"permission_name"`
	// Unique id of the organization that the action belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the action belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the action belongs to.
	EnvironmentId string `json:"environment_id"`
	// Unique id of the resource that the action belongs to.
	ResourceId string `json:"resource_id"`
	// Date and time when the action was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the action was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
}

ResourceActionRead struct for ResourceActionRead

func NewResourceActionRead

func NewResourceActionRead(name string, key string, id string, permissionName string, organizationId string, projectId string, environmentId string, resourceId string, createdAt time.Time, updatedAt time.Time) *ResourceActionRead

NewResourceActionRead instantiates a new ResourceActionRead 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 NewResourceActionReadWithDefaults

func NewResourceActionReadWithDefaults() *ResourceActionRead

NewResourceActionReadWithDefaults instantiates a new ResourceActionRead 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 (*ResourceActionRead) GetCreatedAt

func (o *ResourceActionRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ResourceActionRead) GetCreatedAtOk

func (o *ResourceActionRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetDescription

func (o *ResourceActionRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceActionRead) GetDescriptionOk

func (o *ResourceActionRead) 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 (*ResourceActionRead) GetEnvironmentId

func (o *ResourceActionRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ResourceActionRead) GetEnvironmentIdOk

func (o *ResourceActionRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetId

func (o *ResourceActionRead) GetId() string

GetId returns the Id field value

func (*ResourceActionRead) GetIdOk

func (o *ResourceActionRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetKey

func (o *ResourceActionRead) GetKey() string

GetKey returns the Key field value

func (*ResourceActionRead) GetKeyOk

func (o *ResourceActionRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetName

func (o *ResourceActionRead) GetName() string

GetName returns the Name field value

func (*ResourceActionRead) GetNameOk

func (o *ResourceActionRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetOrganizationId

func (o *ResourceActionRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ResourceActionRead) GetOrganizationIdOk

func (o *ResourceActionRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetPermissionName

func (o *ResourceActionRead) GetPermissionName() string

GetPermissionName returns the PermissionName field value

func (*ResourceActionRead) GetPermissionNameOk

func (o *ResourceActionRead) GetPermissionNameOk() (*string, bool)

GetPermissionNameOk returns a tuple with the PermissionName field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetProjectId

func (o *ResourceActionRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ResourceActionRead) GetProjectIdOk

func (o *ResourceActionRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetResourceId

func (o *ResourceActionRead) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*ResourceActionRead) GetResourceIdOk

func (o *ResourceActionRead) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ResourceActionRead) GetUpdatedAt

func (o *ResourceActionRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ResourceActionRead) GetUpdatedAtOk

func (o *ResourceActionRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ResourceActionRead) HasDescription

func (o *ResourceActionRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ResourceActionRead) MarshalJSON

func (o ResourceActionRead) MarshalJSON() ([]byte, error)

func (*ResourceActionRead) SetCreatedAt

func (o *ResourceActionRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ResourceActionRead) SetDescription

func (o *ResourceActionRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceActionRead) SetEnvironmentId

func (o *ResourceActionRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ResourceActionRead) SetId

func (o *ResourceActionRead) SetId(v string)

SetId sets field value

func (*ResourceActionRead) SetKey

func (o *ResourceActionRead) SetKey(v string)

SetKey sets field value

func (*ResourceActionRead) SetName

func (o *ResourceActionRead) SetName(v string)

SetName sets field value

func (*ResourceActionRead) SetOrganizationId

func (o *ResourceActionRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ResourceActionRead) SetPermissionName

func (o *ResourceActionRead) SetPermissionName(v string)

SetPermissionName sets field value

func (*ResourceActionRead) SetProjectId

func (o *ResourceActionRead) SetProjectId(v string)

SetProjectId sets field value

func (*ResourceActionRead) SetResourceId

func (o *ResourceActionRead) SetResourceId(v string)

SetResourceId sets field value

func (*ResourceActionRead) SetUpdatedAt

func (o *ResourceActionRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type ResourceActionUpdate

type ResourceActionUpdate struct {
	// The name of the action
	Name *string `json:"name,omitempty"`
	// An optional longer description of what this action respresents in your system
	Description *string `json:"description,omitempty"`
}

ResourceActionUpdate struct for ResourceActionUpdate

func NewResourceActionUpdate

func NewResourceActionUpdate() *ResourceActionUpdate

NewResourceActionUpdate instantiates a new ResourceActionUpdate 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 NewResourceActionUpdateWithDefaults

func NewResourceActionUpdateWithDefaults() *ResourceActionUpdate

NewResourceActionUpdateWithDefaults instantiates a new ResourceActionUpdate 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 (*ResourceActionUpdate) GetDescription

func (o *ResourceActionUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceActionUpdate) GetDescriptionOk

func (o *ResourceActionUpdate) 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 (*ResourceActionUpdate) GetName

func (o *ResourceActionUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ResourceActionUpdate) GetNameOk

func (o *ResourceActionUpdate) 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 (*ResourceActionUpdate) HasDescription

func (o *ResourceActionUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceActionUpdate) HasName

func (o *ResourceActionUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (ResourceActionUpdate) MarshalJSON

func (o ResourceActionUpdate) MarshalJSON() ([]byte, error)

func (*ResourceActionUpdate) SetDescription

func (o *ResourceActionUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceActionUpdate) SetName

func (o *ResourceActionUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type ResourceAttributeCreate

type ResourceAttributeCreate struct {
	// A URL-friendly name of the attribute (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the attribute.
	Key string `json:"key"`
	// The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`.
	Type AttributeType `json:"type"`
	// An optional longer description of what this attribute respresents in your system
	Description *string `json:"description,omitempty"`
}

ResourceAttributeCreate struct for ResourceAttributeCreate

func NewResourceAttributeCreate

func NewResourceAttributeCreate(key string, type_ AttributeType) *ResourceAttributeCreate

NewResourceAttributeCreate instantiates a new ResourceAttributeCreate 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 NewResourceAttributeCreateWithDefaults

func NewResourceAttributeCreateWithDefaults() *ResourceAttributeCreate

NewResourceAttributeCreateWithDefaults instantiates a new ResourceAttributeCreate 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 (*ResourceAttributeCreate) GetDescription

func (o *ResourceAttributeCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceAttributeCreate) GetDescriptionOk

func (o *ResourceAttributeCreate) 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 (*ResourceAttributeCreate) GetKey

func (o *ResourceAttributeCreate) GetKey() string

GetKey returns the Key field value

func (*ResourceAttributeCreate) GetKeyOk

func (o *ResourceAttributeCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceAttributeCreate) GetType

GetType returns the Type field value

func (*ResourceAttributeCreate) GetTypeOk

func (o *ResourceAttributeCreate) GetTypeOk() (*AttributeType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ResourceAttributeCreate) HasDescription

func (o *ResourceAttributeCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ResourceAttributeCreate) MarshalJSON

func (o ResourceAttributeCreate) MarshalJSON() ([]byte, error)

func (*ResourceAttributeCreate) SetDescription

func (o *ResourceAttributeCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceAttributeCreate) SetKey

func (o *ResourceAttributeCreate) SetKey(v string)

SetKey sets field value

func (*ResourceAttributeCreate) SetType

func (o *ResourceAttributeCreate) SetType(v AttributeType)

SetType sets field value

type ResourceAttributeRead

type ResourceAttributeRead struct {
	// The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`.
	Type AttributeType `json:"type"`
	// An optional longer description of what this attribute respresents in your system
	Description *string `json:"description,omitempty"`
	// A URL-friendly name of the attribute (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the attribute.
	Key string `json:"key"`
	// Unique id of the attribute
	Id string `json:"id"`
	// Unique id of the resource that the attribute belongs to.
	ResourceId string `json:"resource_id"`
	// A URL-friendly name of the resource (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the resource.
	ResourceKey string `json:"resource_key"`
	// Unique id of the organization that the attribute belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the attribute belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the attribute belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the attribute was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the attribute was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
}

ResourceAttributeRead struct for ResourceAttributeRead

func NewResourceAttributeRead

func NewResourceAttributeRead(type_ AttributeType, key string, id string, resourceId string, resourceKey string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time) *ResourceAttributeRead

NewResourceAttributeRead instantiates a new ResourceAttributeRead 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 NewResourceAttributeReadWithDefaults

func NewResourceAttributeReadWithDefaults() *ResourceAttributeRead

NewResourceAttributeReadWithDefaults instantiates a new ResourceAttributeRead 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 (*ResourceAttributeRead) GetCreatedAt

func (o *ResourceAttributeRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ResourceAttributeRead) GetCreatedAtOk

func (o *ResourceAttributeRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetDescription

func (o *ResourceAttributeRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceAttributeRead) GetDescriptionOk

func (o *ResourceAttributeRead) 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 (*ResourceAttributeRead) GetEnvironmentId

func (o *ResourceAttributeRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ResourceAttributeRead) GetEnvironmentIdOk

func (o *ResourceAttributeRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetId

func (o *ResourceAttributeRead) GetId() string

GetId returns the Id field value

func (*ResourceAttributeRead) GetIdOk

func (o *ResourceAttributeRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetKey

func (o *ResourceAttributeRead) GetKey() string

GetKey returns the Key field value

func (*ResourceAttributeRead) GetKeyOk

func (o *ResourceAttributeRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetOrganizationId

func (o *ResourceAttributeRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ResourceAttributeRead) GetOrganizationIdOk

func (o *ResourceAttributeRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetProjectId

func (o *ResourceAttributeRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ResourceAttributeRead) GetProjectIdOk

func (o *ResourceAttributeRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetResourceId

func (o *ResourceAttributeRead) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*ResourceAttributeRead) GetResourceIdOk

func (o *ResourceAttributeRead) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetResourceKey

func (o *ResourceAttributeRead) GetResourceKey() string

GetResourceKey returns the ResourceKey field value

func (*ResourceAttributeRead) GetResourceKeyOk

func (o *ResourceAttributeRead) GetResourceKeyOk() (*string, bool)

GetResourceKeyOk returns a tuple with the ResourceKey field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetType

func (o *ResourceAttributeRead) GetType() AttributeType

GetType returns the Type field value

func (*ResourceAttributeRead) GetTypeOk

func (o *ResourceAttributeRead) GetTypeOk() (*AttributeType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) GetUpdatedAt

func (o *ResourceAttributeRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ResourceAttributeRead) GetUpdatedAtOk

func (o *ResourceAttributeRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ResourceAttributeRead) HasDescription

func (o *ResourceAttributeRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ResourceAttributeRead) MarshalJSON

func (o ResourceAttributeRead) MarshalJSON() ([]byte, error)

func (*ResourceAttributeRead) SetCreatedAt

func (o *ResourceAttributeRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ResourceAttributeRead) SetDescription

func (o *ResourceAttributeRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceAttributeRead) SetEnvironmentId

func (o *ResourceAttributeRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ResourceAttributeRead) SetId

func (o *ResourceAttributeRead) SetId(v string)

SetId sets field value

func (*ResourceAttributeRead) SetKey

func (o *ResourceAttributeRead) SetKey(v string)

SetKey sets field value

func (*ResourceAttributeRead) SetOrganizationId

func (o *ResourceAttributeRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ResourceAttributeRead) SetProjectId

func (o *ResourceAttributeRead) SetProjectId(v string)

SetProjectId sets field value

func (*ResourceAttributeRead) SetResourceId

func (o *ResourceAttributeRead) SetResourceId(v string)

SetResourceId sets field value

func (*ResourceAttributeRead) SetResourceKey

func (o *ResourceAttributeRead) SetResourceKey(v string)

SetResourceKey sets field value

func (*ResourceAttributeRead) SetType

func (o *ResourceAttributeRead) SetType(v AttributeType)

SetType sets field value

func (*ResourceAttributeRead) SetUpdatedAt

func (o *ResourceAttributeRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type ResourceAttributeUpdate

type ResourceAttributeUpdate struct {
	// The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`.
	Type *AttributeType `json:"type,omitempty"`
	// An optional longer description of what this attribute respresents in your system
	Description *string `json:"description,omitempty"`
}

ResourceAttributeUpdate struct for ResourceAttributeUpdate

func NewResourceAttributeUpdate

func NewResourceAttributeUpdate() *ResourceAttributeUpdate

NewResourceAttributeUpdate instantiates a new ResourceAttributeUpdate 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 NewResourceAttributeUpdateWithDefaults

func NewResourceAttributeUpdateWithDefaults() *ResourceAttributeUpdate

NewResourceAttributeUpdateWithDefaults instantiates a new ResourceAttributeUpdate 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 (*ResourceAttributeUpdate) GetDescription

func (o *ResourceAttributeUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceAttributeUpdate) GetDescriptionOk

func (o *ResourceAttributeUpdate) 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 (*ResourceAttributeUpdate) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*ResourceAttributeUpdate) GetTypeOk

func (o *ResourceAttributeUpdate) GetTypeOk() (*AttributeType, 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 (*ResourceAttributeUpdate) HasDescription

func (o *ResourceAttributeUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceAttributeUpdate) HasType

func (o *ResourceAttributeUpdate) HasType() bool

HasType returns a boolean if a field has been set.

func (ResourceAttributeUpdate) MarshalJSON

func (o ResourceAttributeUpdate) MarshalJSON() ([]byte, error)

func (*ResourceAttributeUpdate) SetDescription

func (o *ResourceAttributeUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceAttributeUpdate) SetType

func (o *ResourceAttributeUpdate) SetType(v AttributeType)

SetType gets a reference to the given AttributeType and assigns it to the Type field.

type ResourceCreate

type ResourceCreate struct {
	// A URL-friendly name of the resource (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the resource.
	Key string `json:"key"`
	// The name of the resource
	Name string `json:"name"`
	// The [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name) (Uniform Resource Name) of the resource
	Urn *string `json:"urn,omitempty"`
	// An optional longer description of what this resource respresents in your system
	Description *string `json:"description,omitempty"`
	//          A actions definition block, typically contained within a resource type definition block.         The actions represents the ways you can interact with a protected resource.
	Actions map[string]ActionBlockEditable `json:"actions"`
	// Attributes that each resource of this type defines, and can be used in your ABAC policies.
	Attributes *map[string]AttributeBlockEditable `json:"attributes,omitempty"`
}

ResourceCreate struct for ResourceCreate

func NewResourceCreate

func NewResourceCreate(key string, name string, actions map[string]ActionBlockEditable) *ResourceCreate

NewResourceCreate instantiates a new ResourceCreate 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 NewResourceCreateWithDefaults

func NewResourceCreateWithDefaults() *ResourceCreate

NewResourceCreateWithDefaults instantiates a new ResourceCreate 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 (*ResourceCreate) GetActions

func (o *ResourceCreate) GetActions() map[string]ActionBlockEditable

GetActions returns the Actions field value

func (*ResourceCreate) GetActionsOk

func (o *ResourceCreate) GetActionsOk() (*map[string]ActionBlockEditable, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*ResourceCreate) GetAttributes

func (o *ResourceCreate) GetAttributes() map[string]AttributeBlockEditable

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceCreate) GetAttributesOk

func (o *ResourceCreate) GetAttributesOk() (*map[string]AttributeBlockEditable, 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 (*ResourceCreate) GetDescription

func (o *ResourceCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceCreate) GetDescriptionOk

func (o *ResourceCreate) 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 (*ResourceCreate) GetKey

func (o *ResourceCreate) GetKey() string

GetKey returns the Key field value

func (*ResourceCreate) GetKeyOk

func (o *ResourceCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceCreate) GetName

func (o *ResourceCreate) GetName() string

GetName returns the Name field value

func (*ResourceCreate) GetNameOk

func (o *ResourceCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceCreate) GetUrn

func (o *ResourceCreate) GetUrn() string

GetUrn returns the Urn field value if set, zero value otherwise.

func (*ResourceCreate) GetUrnOk

func (o *ResourceCreate) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceCreate) HasAttributes

func (o *ResourceCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceCreate) HasDescription

func (o *ResourceCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceCreate) HasUrn

func (o *ResourceCreate) HasUrn() bool

HasUrn returns a boolean if a field has been set.

func (ResourceCreate) MarshalJSON

func (o ResourceCreate) MarshalJSON() ([]byte, error)

func (*ResourceCreate) SetActions

func (o *ResourceCreate) SetActions(v map[string]ActionBlockEditable)

SetActions sets field value

func (*ResourceCreate) SetAttributes

func (o *ResourceCreate) SetAttributes(v map[string]AttributeBlockEditable)

SetAttributes gets a reference to the given map[string]AttributeBlockEditable and assigns it to the Attributes field.

func (*ResourceCreate) SetDescription

func (o *ResourceCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceCreate) SetKey

func (o *ResourceCreate) SetKey(v string)

SetKey sets field value

func (*ResourceCreate) SetName

func (o *ResourceCreate) SetName(v string)

SetName sets field value

func (*ResourceCreate) SetUrn

func (o *ResourceCreate) SetUrn(v string)

SetUrn gets a reference to the given string and assigns it to the Urn field.

type ResourceId

type ResourceId struct {
	// contains filtered or unexported fields
}

ResourceId For ResourceSets, the id of the base resource.

func (*ResourceId) MarshalJSON

func (src *ResourceId) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ResourceId) UnmarshalJSON

func (dst *ResourceId) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type ResourceInstanceCreate

type ResourceInstanceCreate struct {
	// A unique identifier by which Permit will identify the resource instance for permission checks. You will later pass this identifier to the `permit.check()` API. A key can be anything: for example the resource db id, a url slug, a UUID or anything else as long as it's unique on your end. The resource instance key must be url-friendly.
	Key string `json:"key"`
	// the *key* of the tenant that this resource belongs to, used to enforce tenant boundaries in multi-tenant apps.
	Tenant *string `json:"tenant,omitempty"`
	// the *key* of the resource (type) of this resource instance. For example: if this resource instance is the annual budget document, the key of the resource might be `document`.
	Resource string `json:"resource"`
	// Arbitraty resource attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

ResourceInstanceCreate struct for ResourceInstanceCreate

func NewResourceInstanceCreate

func NewResourceInstanceCreate(key string, resource string) *ResourceInstanceCreate

NewResourceInstanceCreate instantiates a new ResourceInstanceCreate 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 NewResourceInstanceCreateWithDefaults

func NewResourceInstanceCreateWithDefaults() *ResourceInstanceCreate

NewResourceInstanceCreateWithDefaults instantiates a new ResourceInstanceCreate 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 (*ResourceInstanceCreate) GetAttributes

func (o *ResourceInstanceCreate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceInstanceCreate) GetAttributesOk

func (o *ResourceInstanceCreate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceCreate) GetKey

func (o *ResourceInstanceCreate) GetKey() string

GetKey returns the Key field value

func (*ResourceInstanceCreate) GetKeyOk

func (o *ResourceInstanceCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceInstanceCreate) GetResource

func (o *ResourceInstanceCreate) GetResource() string

GetResource returns the Resource field value

func (*ResourceInstanceCreate) GetResourceOk

func (o *ResourceInstanceCreate) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (*ResourceInstanceCreate) GetTenant

func (o *ResourceInstanceCreate) GetTenant() string

GetTenant returns the Tenant field value if set, zero value otherwise.

func (*ResourceInstanceCreate) GetTenantOk

func (o *ResourceInstanceCreate) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceCreate) HasAttributes

func (o *ResourceInstanceCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceInstanceCreate) HasTenant

func (o *ResourceInstanceCreate) HasTenant() bool

HasTenant returns a boolean if a field has been set.

func (ResourceInstanceCreate) MarshalJSON

func (o ResourceInstanceCreate) MarshalJSON() ([]byte, error)

func (*ResourceInstanceCreate) SetAttributes

func (o *ResourceInstanceCreate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*ResourceInstanceCreate) SetKey

func (o *ResourceInstanceCreate) SetKey(v string)

SetKey sets field value

func (*ResourceInstanceCreate) SetResource

func (o *ResourceInstanceCreate) SetResource(v string)

SetResource sets field value

func (*ResourceInstanceCreate) SetTenant

func (o *ResourceInstanceCreate) SetTenant(v string)

SetTenant gets a reference to the given string and assigns it to the Tenant field.

type ResourceInstanceRead

type ResourceInstanceRead struct {
	// A unique identifier by which Permit will identify the resource instance for permission checks. You will later pass this identifier to the `permit.check()` API. A key can be anything: for example the resource db id, a url slug, a UUID or anything else as long as it's unique on your end. The resource instance key must be url-friendly.
	Key string `json:"key"`
	// the *key* of the tenant that this resource belongs to, used to enforce tenant boundaries in multi-tenant apps.
	Tenant *string `json:"tenant,omitempty"`
	// the *key* of the resource (type) of this resource instance. For example: if this resource instance is the annual budget document, the key of the resource might be `document`.
	Resource string `json:"resource"`
	// Unique id of the resource instance
	Id string `json:"id"`
	// Unique id of the organization that the resource instance belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the resource instance belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the resource instance belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the resource instance was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the resource instance was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// the id of the resource (type) of this resource instance.
	ResourceId string `json:"resource_id"`
	// the id of the tenant of this resource instance.
	TenantId *string `json:"tenant_id,omitempty"`
	// Arbitraty resource attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

ResourceInstanceRead struct for ResourceInstanceRead

func NewResourceInstanceRead

func NewResourceInstanceRead(key string, resource string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, resourceId string) *ResourceInstanceRead

NewResourceInstanceRead instantiates a new ResourceInstanceRead 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 NewResourceInstanceReadWithDefaults

func NewResourceInstanceReadWithDefaults() *ResourceInstanceRead

NewResourceInstanceReadWithDefaults instantiates a new ResourceInstanceRead 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 (*ResourceInstanceRead) GetAttributes

func (o *ResourceInstanceRead) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceInstanceRead) GetAttributesOk

func (o *ResourceInstanceRead) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetCreatedAt

func (o *ResourceInstanceRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ResourceInstanceRead) GetCreatedAtOk

func (o *ResourceInstanceRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetEnvironmentId

func (o *ResourceInstanceRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ResourceInstanceRead) GetEnvironmentIdOk

func (o *ResourceInstanceRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetId

func (o *ResourceInstanceRead) GetId() string

GetId returns the Id field value

func (*ResourceInstanceRead) GetIdOk

func (o *ResourceInstanceRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetKey

func (o *ResourceInstanceRead) GetKey() string

GetKey returns the Key field value

func (*ResourceInstanceRead) GetKeyOk

func (o *ResourceInstanceRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetOrganizationId

func (o *ResourceInstanceRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ResourceInstanceRead) GetOrganizationIdOk

func (o *ResourceInstanceRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetProjectId

func (o *ResourceInstanceRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ResourceInstanceRead) GetProjectIdOk

func (o *ResourceInstanceRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetResource

func (o *ResourceInstanceRead) GetResource() string

GetResource returns the Resource field value

func (*ResourceInstanceRead) GetResourceId

func (o *ResourceInstanceRead) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*ResourceInstanceRead) GetResourceIdOk

func (o *ResourceInstanceRead) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetResourceOk

func (o *ResourceInstanceRead) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetTenant

func (o *ResourceInstanceRead) GetTenant() string

GetTenant returns the Tenant field value if set, zero value otherwise.

func (*ResourceInstanceRead) GetTenantId

func (o *ResourceInstanceRead) GetTenantId() string

GetTenantId returns the TenantId field value if set, zero value otherwise.

func (*ResourceInstanceRead) GetTenantIdOk

func (o *ResourceInstanceRead) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetTenantOk

func (o *ResourceInstanceRead) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceRead) GetUpdatedAt

func (o *ResourceInstanceRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ResourceInstanceRead) GetUpdatedAtOk

func (o *ResourceInstanceRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ResourceInstanceRead) HasAttributes

func (o *ResourceInstanceRead) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceInstanceRead) HasTenant

func (o *ResourceInstanceRead) HasTenant() bool

HasTenant returns a boolean if a field has been set.

func (*ResourceInstanceRead) HasTenantId

func (o *ResourceInstanceRead) HasTenantId() bool

HasTenantId returns a boolean if a field has been set.

func (ResourceInstanceRead) MarshalJSON

func (o ResourceInstanceRead) MarshalJSON() ([]byte, error)

func (*ResourceInstanceRead) SetAttributes

func (o *ResourceInstanceRead) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*ResourceInstanceRead) SetCreatedAt

func (o *ResourceInstanceRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ResourceInstanceRead) SetEnvironmentId

func (o *ResourceInstanceRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ResourceInstanceRead) SetId

func (o *ResourceInstanceRead) SetId(v string)

SetId sets field value

func (*ResourceInstanceRead) SetKey

func (o *ResourceInstanceRead) SetKey(v string)

SetKey sets field value

func (*ResourceInstanceRead) SetOrganizationId

func (o *ResourceInstanceRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ResourceInstanceRead) SetProjectId

func (o *ResourceInstanceRead) SetProjectId(v string)

SetProjectId sets field value

func (*ResourceInstanceRead) SetResource

func (o *ResourceInstanceRead) SetResource(v string)

SetResource sets field value

func (*ResourceInstanceRead) SetResourceId

func (o *ResourceInstanceRead) SetResourceId(v string)

SetResourceId sets field value

func (*ResourceInstanceRead) SetTenant

func (o *ResourceInstanceRead) SetTenant(v string)

SetTenant gets a reference to the given string and assigns it to the Tenant field.

func (*ResourceInstanceRead) SetTenantId

func (o *ResourceInstanceRead) SetTenantId(v string)

SetTenantId gets a reference to the given string and assigns it to the TenantId field.

func (*ResourceInstanceRead) SetUpdatedAt

func (o *ResourceInstanceRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type ResourceInstanceUpdate

type ResourceInstanceUpdate struct {
	// Arbitraty resource attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

ResourceInstanceUpdate struct for ResourceInstanceUpdate

func NewResourceInstanceUpdate

func NewResourceInstanceUpdate() *ResourceInstanceUpdate

NewResourceInstanceUpdate instantiates a new ResourceInstanceUpdate 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 NewResourceInstanceUpdateWithDefaults

func NewResourceInstanceUpdateWithDefaults() *ResourceInstanceUpdate

NewResourceInstanceUpdateWithDefaults instantiates a new ResourceInstanceUpdate 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 (*ResourceInstanceUpdate) GetAttributes

func (o *ResourceInstanceUpdate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceInstanceUpdate) GetAttributesOk

func (o *ResourceInstanceUpdate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceInstanceUpdate) HasAttributes

func (o *ResourceInstanceUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (ResourceInstanceUpdate) MarshalJSON

func (o ResourceInstanceUpdate) MarshalJSON() ([]byte, error)

func (*ResourceInstanceUpdate) SetAttributes

func (o *ResourceInstanceUpdate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

type ResourceRead

type ResourceRead struct {
	// A URL-friendly name of the resource (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the resource.
	Key string `json:"key"`
	// Unique id of the resource
	Id string `json:"id"`
	// Unique id of the organization that the resource belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the resource belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the resource belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the resource was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the resource was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The name of the resource
	Name string `json:"name"`
	// The [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name) (Uniform Resource Name) of the resource
	Urn *string `json:"urn,omitempty"`
	// An optional longer description of what this resource respresents in your system
	Description *string `json:"description,omitempty"`
	//          A actions definition block, typically contained within a resource type definition block.         The actions represents the ways you can interact with a protected resource.
	Actions *map[string]ActionBlockRead `json:"actions,omitempty"`
	// Attributes that each resource of this type defines, and can be used in your ABAC policies.
	Attributes *map[string]AttributeBlockRead `json:"attributes,omitempty"`
}

ResourceRead struct for ResourceRead

func NewResourceRead

func NewResourceRead(key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, name string) *ResourceRead

NewResourceRead instantiates a new ResourceRead 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 NewResourceReadWithDefaults

func NewResourceReadWithDefaults() *ResourceRead

NewResourceReadWithDefaults instantiates a new ResourceRead 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 (*ResourceRead) GetActions

func (o *ResourceRead) GetActions() map[string]ActionBlockRead

GetActions returns the Actions field value if set, zero value otherwise.

func (*ResourceRead) GetActionsOk

func (o *ResourceRead) GetActionsOk() (*map[string]ActionBlockRead, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRead) GetAttributes

func (o *ResourceRead) GetAttributes() map[string]AttributeBlockRead

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceRead) GetAttributesOk

func (o *ResourceRead) GetAttributesOk() (*map[string]AttributeBlockRead, 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 (*ResourceRead) GetCreatedAt

func (o *ResourceRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ResourceRead) GetCreatedAtOk

func (o *ResourceRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ResourceRead) GetDescription

func (o *ResourceRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceRead) GetDescriptionOk

func (o *ResourceRead) 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 (*ResourceRead) GetEnvironmentId

func (o *ResourceRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ResourceRead) GetEnvironmentIdOk

func (o *ResourceRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*ResourceRead) GetId

func (o *ResourceRead) GetId() string

GetId returns the Id field value

func (*ResourceRead) GetIdOk

func (o *ResourceRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceRead) GetKey

func (o *ResourceRead) GetKey() string

GetKey returns the Key field value

func (*ResourceRead) GetKeyOk

func (o *ResourceRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceRead) GetName

func (o *ResourceRead) GetName() string

GetName returns the Name field value

func (*ResourceRead) GetNameOk

func (o *ResourceRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceRead) GetOrganizationId

func (o *ResourceRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ResourceRead) GetOrganizationIdOk

func (o *ResourceRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ResourceRead) GetProjectId

func (o *ResourceRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ResourceRead) GetProjectIdOk

func (o *ResourceRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*ResourceRead) GetUpdatedAt

func (o *ResourceRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ResourceRead) GetUpdatedAtOk

func (o *ResourceRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ResourceRead) GetUrn

func (o *ResourceRead) GetUrn() string

GetUrn returns the Urn field value if set, zero value otherwise.

func (*ResourceRead) GetUrnOk

func (o *ResourceRead) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRead) HasActions

func (o *ResourceRead) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ResourceRead) HasAttributes

func (o *ResourceRead) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceRead) HasDescription

func (o *ResourceRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceRead) HasUrn

func (o *ResourceRead) HasUrn() bool

HasUrn returns a boolean if a field has been set.

func (ResourceRead) MarshalJSON

func (o ResourceRead) MarshalJSON() ([]byte, error)

func (*ResourceRead) SetActions

func (o *ResourceRead) SetActions(v map[string]ActionBlockRead)

SetActions gets a reference to the given map[string]ActionBlockRead and assigns it to the Actions field.

func (*ResourceRead) SetAttributes

func (o *ResourceRead) SetAttributes(v map[string]AttributeBlockRead)

SetAttributes gets a reference to the given map[string]AttributeBlockRead and assigns it to the Attributes field.

func (*ResourceRead) SetCreatedAt

func (o *ResourceRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ResourceRead) SetDescription

func (o *ResourceRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceRead) SetEnvironmentId

func (o *ResourceRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ResourceRead) SetId

func (o *ResourceRead) SetId(v string)

SetId sets field value

func (*ResourceRead) SetKey

func (o *ResourceRead) SetKey(v string)

SetKey sets field value

func (*ResourceRead) SetName

func (o *ResourceRead) SetName(v string)

SetName sets field value

func (*ResourceRead) SetOrganizationId

func (o *ResourceRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ResourceRead) SetProjectId

func (o *ResourceRead) SetProjectId(v string)

SetProjectId sets field value

func (*ResourceRead) SetUpdatedAt

func (o *ResourceRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ResourceRead) SetUrn

func (o *ResourceRead) SetUrn(v string)

SetUrn gets a reference to the given string and assigns it to the Urn field.

type ResourceReplace

type ResourceReplace struct {
	// The name of the resource
	Name string `json:"name"`
	// The [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name) (Uniform Resource Name) of the resource
	Urn *string `json:"urn,omitempty"`
	// An optional longer description of what this resource respresents in your system
	Description *string `json:"description,omitempty"`
	//          A actions definition block, typically contained within a resource type definition block.         The actions represents the ways you can interact with a protected resource.
	Actions map[string]ActionBlockEditable `json:"actions"`
	// Attributes that each resource of this type defines, and can be used in your ABAC policies.
	Attributes *map[string]AttributeBlockEditable `json:"attributes,omitempty"`
}

ResourceReplace struct for ResourceReplace

func NewResourceReplace

func NewResourceReplace(name string, actions map[string]ActionBlockEditable) *ResourceReplace

NewResourceReplace instantiates a new ResourceReplace 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 NewResourceReplaceWithDefaults

func NewResourceReplaceWithDefaults() *ResourceReplace

NewResourceReplaceWithDefaults instantiates a new ResourceReplace 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 (*ResourceReplace) GetActions

func (o *ResourceReplace) GetActions() map[string]ActionBlockEditable

GetActions returns the Actions field value

func (*ResourceReplace) GetActionsOk

func (o *ResourceReplace) GetActionsOk() (*map[string]ActionBlockEditable, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*ResourceReplace) GetAttributes

func (o *ResourceReplace) GetAttributes() map[string]AttributeBlockEditable

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceReplace) GetAttributesOk

func (o *ResourceReplace) GetAttributesOk() (*map[string]AttributeBlockEditable, 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 (*ResourceReplace) GetDescription

func (o *ResourceReplace) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceReplace) GetDescriptionOk

func (o *ResourceReplace) 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 (*ResourceReplace) GetName

func (o *ResourceReplace) GetName() string

GetName returns the Name field value

func (*ResourceReplace) GetNameOk

func (o *ResourceReplace) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceReplace) GetUrn

func (o *ResourceReplace) GetUrn() string

GetUrn returns the Urn field value if set, zero value otherwise.

func (*ResourceReplace) GetUrnOk

func (o *ResourceReplace) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceReplace) HasAttributes

func (o *ResourceReplace) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceReplace) HasDescription

func (o *ResourceReplace) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceReplace) HasUrn

func (o *ResourceReplace) HasUrn() bool

HasUrn returns a boolean if a field has been set.

func (ResourceReplace) MarshalJSON

func (o ResourceReplace) MarshalJSON() ([]byte, error)

func (*ResourceReplace) SetActions

func (o *ResourceReplace) SetActions(v map[string]ActionBlockEditable)

SetActions sets field value

func (*ResourceReplace) SetAttributes

func (o *ResourceReplace) SetAttributes(v map[string]AttributeBlockEditable)

SetAttributes gets a reference to the given map[string]AttributeBlockEditable and assigns it to the Attributes field.

func (*ResourceReplace) SetDescription

func (o *ResourceReplace) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceReplace) SetName

func (o *ResourceReplace) SetName(v string)

SetName sets field value

func (*ResourceReplace) SetUrn

func (o *ResourceReplace) SetUrn(v string)

SetUrn gets a reference to the given string and assigns it to the Urn field.

type ResourceRoleCreate

type ResourceRoleCreate struct {
	// A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
	Key string `json:"key"`
	// The name of the role
	Name string `json:"name"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
}

ResourceRoleCreate struct for ResourceRoleCreate

func NewResourceRoleCreate

func NewResourceRoleCreate(key string, name string) *ResourceRoleCreate

NewResourceRoleCreate instantiates a new ResourceRoleCreate 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 NewResourceRoleCreateWithDefaults

func NewResourceRoleCreateWithDefaults() *ResourceRoleCreate

NewResourceRoleCreateWithDefaults instantiates a new ResourceRoleCreate 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 (*ResourceRoleCreate) GetDescription

func (o *ResourceRoleCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceRoleCreate) GetDescriptionOk

func (o *ResourceRoleCreate) 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 (*ResourceRoleCreate) GetExtends

func (o *ResourceRoleCreate) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*ResourceRoleCreate) GetExtendsOk

func (o *ResourceRoleCreate) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRoleCreate) GetKey

func (o *ResourceRoleCreate) GetKey() string

GetKey returns the Key field value

func (*ResourceRoleCreate) GetKeyOk

func (o *ResourceRoleCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceRoleCreate) GetName

func (o *ResourceRoleCreate) GetName() string

GetName returns the Name field value

func (*ResourceRoleCreate) GetNameOk

func (o *ResourceRoleCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceRoleCreate) GetPermissions

func (o *ResourceRoleCreate) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*ResourceRoleCreate) GetPermissionsOk

func (o *ResourceRoleCreate) GetPermissionsOk() ([]string, 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 (*ResourceRoleCreate) HasDescription

func (o *ResourceRoleCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceRoleCreate) HasExtends

func (o *ResourceRoleCreate) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*ResourceRoleCreate) HasPermissions

func (o *ResourceRoleCreate) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (ResourceRoleCreate) MarshalJSON

func (o ResourceRoleCreate) MarshalJSON() ([]byte, error)

func (*ResourceRoleCreate) SetDescription

func (o *ResourceRoleCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceRoleCreate) SetExtends

func (o *ResourceRoleCreate) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*ResourceRoleCreate) SetKey

func (o *ResourceRoleCreate) SetKey(v string)

SetKey sets field value

func (*ResourceRoleCreate) SetName

func (o *ResourceRoleCreate) SetName(v string)

SetName sets field value

func (*ResourceRoleCreate) SetPermissions

func (o *ResourceRoleCreate) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

type ResourceRoleRead

type ResourceRoleRead struct {
	// The name of the role
	Name string `json:"name"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
	// A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
	Key string `json:"key"`
	// Unique id of the role
	Id string `json:"id"`
	// Unique id of the organization that the role belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the role belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the role belongs to.
	EnvironmentId string `json:"environment_id"`
	// Unique id of the resource that the role belongs to.
	ResourceId string `json:"resource_id"`
	// Date and time when the role was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the role was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
}

ResourceRoleRead struct for ResourceRoleRead

func NewResourceRoleRead

func NewResourceRoleRead(name string, key string, id string, organizationId string, projectId string, environmentId string, resourceId string, createdAt time.Time, updatedAt time.Time) *ResourceRoleRead

NewResourceRoleRead instantiates a new ResourceRoleRead 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 NewResourceRoleReadWithDefaults

func NewResourceRoleReadWithDefaults() *ResourceRoleRead

NewResourceRoleReadWithDefaults instantiates a new ResourceRoleRead 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 (*ResourceRoleRead) GetCreatedAt

func (o *ResourceRoleRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ResourceRoleRead) GetCreatedAtOk

func (o *ResourceRoleRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetDescription

func (o *ResourceRoleRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceRoleRead) GetDescriptionOk

func (o *ResourceRoleRead) 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 (*ResourceRoleRead) GetEnvironmentId

func (o *ResourceRoleRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*ResourceRoleRead) GetEnvironmentIdOk

func (o *ResourceRoleRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetExtends

func (o *ResourceRoleRead) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*ResourceRoleRead) GetExtendsOk

func (o *ResourceRoleRead) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetId

func (o *ResourceRoleRead) GetId() string

GetId returns the Id field value

func (*ResourceRoleRead) GetIdOk

func (o *ResourceRoleRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetKey

func (o *ResourceRoleRead) GetKey() string

GetKey returns the Key field value

func (*ResourceRoleRead) GetKeyOk

func (o *ResourceRoleRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetName

func (o *ResourceRoleRead) GetName() string

GetName returns the Name field value

func (*ResourceRoleRead) GetNameOk

func (o *ResourceRoleRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetOrganizationId

func (o *ResourceRoleRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*ResourceRoleRead) GetOrganizationIdOk

func (o *ResourceRoleRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetPermissions

func (o *ResourceRoleRead) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*ResourceRoleRead) GetPermissionsOk

func (o *ResourceRoleRead) GetPermissionsOk() ([]string, 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 (*ResourceRoleRead) GetProjectId

func (o *ResourceRoleRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ResourceRoleRead) GetProjectIdOk

func (o *ResourceRoleRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetResourceId

func (o *ResourceRoleRead) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*ResourceRoleRead) GetResourceIdOk

func (o *ResourceRoleRead) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) GetUpdatedAt

func (o *ResourceRoleRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ResourceRoleRead) GetUpdatedAtOk

func (o *ResourceRoleRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ResourceRoleRead) HasDescription

func (o *ResourceRoleRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceRoleRead) HasExtends

func (o *ResourceRoleRead) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*ResourceRoleRead) HasPermissions

func (o *ResourceRoleRead) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (ResourceRoleRead) MarshalJSON

func (o ResourceRoleRead) MarshalJSON() ([]byte, error)

func (*ResourceRoleRead) SetCreatedAt

func (o *ResourceRoleRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ResourceRoleRead) SetDescription

func (o *ResourceRoleRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceRoleRead) SetEnvironmentId

func (o *ResourceRoleRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*ResourceRoleRead) SetExtends

func (o *ResourceRoleRead) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*ResourceRoleRead) SetId

func (o *ResourceRoleRead) SetId(v string)

SetId sets field value

func (*ResourceRoleRead) SetKey

func (o *ResourceRoleRead) SetKey(v string)

SetKey sets field value

func (*ResourceRoleRead) SetName

func (o *ResourceRoleRead) SetName(v string)

SetName sets field value

func (*ResourceRoleRead) SetOrganizationId

func (o *ResourceRoleRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*ResourceRoleRead) SetPermissions

func (o *ResourceRoleRead) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

func (*ResourceRoleRead) SetProjectId

func (o *ResourceRoleRead) SetProjectId(v string)

SetProjectId sets field value

func (*ResourceRoleRead) SetResourceId

func (o *ResourceRoleRead) SetResourceId(v string)

SetResourceId sets field value

func (*ResourceRoleRead) SetUpdatedAt

func (o *ResourceRoleRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type ResourceRoleUpdate

type ResourceRoleUpdate struct {
	// The name of the role
	Name *string `json:"name,omitempty"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
}

ResourceRoleUpdate struct for ResourceRoleUpdate

func NewResourceRoleUpdate

func NewResourceRoleUpdate() *ResourceRoleUpdate

NewResourceRoleUpdate instantiates a new ResourceRoleUpdate 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 NewResourceRoleUpdateWithDefaults

func NewResourceRoleUpdateWithDefaults() *ResourceRoleUpdate

NewResourceRoleUpdateWithDefaults instantiates a new ResourceRoleUpdate 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 (*ResourceRoleUpdate) GetDescription

func (o *ResourceRoleUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceRoleUpdate) GetDescriptionOk

func (o *ResourceRoleUpdate) 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 (*ResourceRoleUpdate) GetExtends

func (o *ResourceRoleUpdate) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*ResourceRoleUpdate) GetExtendsOk

func (o *ResourceRoleUpdate) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRoleUpdate) GetName

func (o *ResourceRoleUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ResourceRoleUpdate) GetNameOk

func (o *ResourceRoleUpdate) 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 (*ResourceRoleUpdate) GetPermissions

func (o *ResourceRoleUpdate) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*ResourceRoleUpdate) GetPermissionsOk

func (o *ResourceRoleUpdate) GetPermissionsOk() ([]string, 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 (*ResourceRoleUpdate) HasDescription

func (o *ResourceRoleUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceRoleUpdate) HasExtends

func (o *ResourceRoleUpdate) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*ResourceRoleUpdate) HasName

func (o *ResourceRoleUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceRoleUpdate) HasPermissions

func (o *ResourceRoleUpdate) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (ResourceRoleUpdate) MarshalJSON

func (o ResourceRoleUpdate) MarshalJSON() ([]byte, error)

func (*ResourceRoleUpdate) SetDescription

func (o *ResourceRoleUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceRoleUpdate) SetExtends

func (o *ResourceRoleUpdate) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*ResourceRoleUpdate) SetName

func (o *ResourceRoleUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ResourceRoleUpdate) SetPermissions

func (o *ResourceRoleUpdate) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

type ResourceUpdate

type ResourceUpdate struct {
	// The name of the resource
	Name *string `json:"name,omitempty"`
	// The [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name) (Uniform Resource Name) of the resource
	Urn *string `json:"urn,omitempty"`
	// An optional longer description of what this resource respresents in your system
	Description *string `json:"description,omitempty"`
	//          A actions definition block, typically contained within a resource type definition block.         The actions represents the ways you can interact with a protected resource.
	Actions *map[string]ActionBlockEditable `json:"actions,omitempty"`
	// Attributes that each resource of this type defines, and can be used in your ABAC policies.
	Attributes *map[string]AttributeBlockEditable `json:"attributes,omitempty"`
}

ResourceUpdate struct for ResourceUpdate

func NewResourceUpdate

func NewResourceUpdate() *ResourceUpdate

NewResourceUpdate instantiates a new ResourceUpdate 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 NewResourceUpdateWithDefaults

func NewResourceUpdateWithDefaults() *ResourceUpdate

NewResourceUpdateWithDefaults instantiates a new ResourceUpdate 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 (*ResourceUpdate) GetActions

func (o *ResourceUpdate) GetActions() map[string]ActionBlockEditable

GetActions returns the Actions field value if set, zero value otherwise.

func (*ResourceUpdate) GetActionsOk

func (o *ResourceUpdate) GetActionsOk() (*map[string]ActionBlockEditable, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceUpdate) GetAttributes

func (o *ResourceUpdate) GetAttributes() map[string]AttributeBlockEditable

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ResourceUpdate) GetAttributesOk

func (o *ResourceUpdate) GetAttributesOk() (*map[string]AttributeBlockEditable, 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 (*ResourceUpdate) GetDescription

func (o *ResourceUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceUpdate) GetDescriptionOk

func (o *ResourceUpdate) 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 (*ResourceUpdate) GetName

func (o *ResourceUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ResourceUpdate) GetNameOk

func (o *ResourceUpdate) 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 (*ResourceUpdate) GetUrn

func (o *ResourceUpdate) GetUrn() string

GetUrn returns the Urn field value if set, zero value otherwise.

func (*ResourceUpdate) GetUrnOk

func (o *ResourceUpdate) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceUpdate) HasActions

func (o *ResourceUpdate) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ResourceUpdate) HasAttributes

func (o *ResourceUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*ResourceUpdate) HasDescription

func (o *ResourceUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceUpdate) HasName

func (o *ResourceUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceUpdate) HasUrn

func (o *ResourceUpdate) HasUrn() bool

HasUrn returns a boolean if a field has been set.

func (ResourceUpdate) MarshalJSON

func (o ResourceUpdate) MarshalJSON() ([]byte, error)

func (*ResourceUpdate) SetActions

func (o *ResourceUpdate) SetActions(v map[string]ActionBlockEditable)

SetActions gets a reference to the given map[string]ActionBlockEditable and assigns it to the Actions field.

func (*ResourceUpdate) SetAttributes

func (o *ResourceUpdate) SetAttributes(v map[string]AttributeBlockEditable)

SetAttributes gets a reference to the given map[string]AttributeBlockEditable and assigns it to the Attributes field.

func (*ResourceUpdate) SetDescription

func (o *ResourceUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceUpdate) SetName

func (o *ResourceUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ResourceUpdate) SetUrn

func (o *ResourceUpdate) SetUrn(v string)

SetUrn gets a reference to the given string and assigns it to the Urn field.

type RoleAssignmentCreate

type RoleAssignmentCreate struct {
	// the role that will be assigned (accepts either the role id or the role key)
	Role string `json:"role"`
	// the tenant the role is associated with (accepts either the tenant id or the tenant key)
	Tenant string `json:"tenant"`
	// the user the role will be assigned to (accepts either the user id or the user key)
	User string `json:"user"`
}

RoleAssignmentCreate struct for RoleAssignmentCreate

func NewRoleAssignmentCreate

func NewRoleAssignmentCreate(role string, tenant string, user string) *RoleAssignmentCreate

NewRoleAssignmentCreate instantiates a new RoleAssignmentCreate 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 NewRoleAssignmentCreateWithDefaults

func NewRoleAssignmentCreateWithDefaults() *RoleAssignmentCreate

NewRoleAssignmentCreateWithDefaults instantiates a new RoleAssignmentCreate 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 (*RoleAssignmentCreate) GetRole

func (o *RoleAssignmentCreate) GetRole() string

GetRole returns the Role field value

func (*RoleAssignmentCreate) GetRoleOk

func (o *RoleAssignmentCreate) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*RoleAssignmentCreate) GetTenant

func (o *RoleAssignmentCreate) GetTenant() string

GetTenant returns the Tenant field value

func (*RoleAssignmentCreate) GetTenantOk

func (o *RoleAssignmentCreate) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (*RoleAssignmentCreate) GetUser

func (o *RoleAssignmentCreate) GetUser() string

GetUser returns the User field value

func (*RoleAssignmentCreate) GetUserOk

func (o *RoleAssignmentCreate) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (RoleAssignmentCreate) MarshalJSON

func (o RoleAssignmentCreate) MarshalJSON() ([]byte, error)

func (*RoleAssignmentCreate) SetRole

func (o *RoleAssignmentCreate) SetRole(v string)

SetRole sets field value

func (*RoleAssignmentCreate) SetTenant

func (o *RoleAssignmentCreate) SetTenant(v string)

SetTenant sets field value

func (*RoleAssignmentCreate) SetUser

func (o *RoleAssignmentCreate) SetUser(v string)

SetUser sets field value

type RoleAssignmentRead

type RoleAssignmentRead struct {
	// Unique id of the role assignment
	Id string `json:"id"`
	// the user the role is assigned to
	User string `json:"user"`
	// the role that is assigned
	Role string `json:"role"`
	// the tenant the role is associated with
	Tenant string `json:"tenant"`
	// Unique id of the user
	UserId string `json:"user_id"`
	// Unique id of the role
	RoleId string `json:"role_id"`
	// Unique id of the tenant
	TenantId string `json:"tenant_id"`
	// Unique id of the organization that the role assignment belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the role assignment belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the role assignment belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the role assignment was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
}

RoleAssignmentRead struct for RoleAssignmentRead

func NewRoleAssignmentRead

func NewRoleAssignmentRead(id string, user string, role string, tenant string, userId string, roleId string, tenantId string, organizationId string, projectId string, environmentId string, createdAt time.Time) *RoleAssignmentRead

NewRoleAssignmentRead instantiates a new RoleAssignmentRead 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 NewRoleAssignmentReadWithDefaults

func NewRoleAssignmentReadWithDefaults() *RoleAssignmentRead

NewRoleAssignmentReadWithDefaults instantiates a new RoleAssignmentRead 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 (*RoleAssignmentRead) GetCreatedAt

func (o *RoleAssignmentRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*RoleAssignmentRead) GetCreatedAtOk

func (o *RoleAssignmentRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetEnvironmentId

func (o *RoleAssignmentRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*RoleAssignmentRead) GetEnvironmentIdOk

func (o *RoleAssignmentRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetId

func (o *RoleAssignmentRead) GetId() string

GetId returns the Id field value

func (*RoleAssignmentRead) GetIdOk

func (o *RoleAssignmentRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetOrganizationId

func (o *RoleAssignmentRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*RoleAssignmentRead) GetOrganizationIdOk

func (o *RoleAssignmentRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetProjectId

func (o *RoleAssignmentRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*RoleAssignmentRead) GetProjectIdOk

func (o *RoleAssignmentRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetRole

func (o *RoleAssignmentRead) GetRole() string

GetRole returns the Role field value

func (*RoleAssignmentRead) GetRoleId

func (o *RoleAssignmentRead) GetRoleId() string

GetRoleId returns the RoleId field value

func (*RoleAssignmentRead) GetRoleIdOk

func (o *RoleAssignmentRead) GetRoleIdOk() (*string, bool)

GetRoleIdOk returns a tuple with the RoleId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetRoleOk

func (o *RoleAssignmentRead) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetTenant

func (o *RoleAssignmentRead) GetTenant() string

GetTenant returns the Tenant field value

func (*RoleAssignmentRead) GetTenantId

func (o *RoleAssignmentRead) GetTenantId() string

GetTenantId returns the TenantId field value

func (*RoleAssignmentRead) GetTenantIdOk

func (o *RoleAssignmentRead) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetTenantOk

func (o *RoleAssignmentRead) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetUser

func (o *RoleAssignmentRead) GetUser() string

GetUser returns the User field value

func (*RoleAssignmentRead) GetUserId

func (o *RoleAssignmentRead) GetUserId() string

GetUserId returns the UserId field value

func (*RoleAssignmentRead) GetUserIdOk

func (o *RoleAssignmentRead) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (*RoleAssignmentRead) GetUserOk

func (o *RoleAssignmentRead) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (RoleAssignmentRead) MarshalJSON

func (o RoleAssignmentRead) MarshalJSON() ([]byte, error)

func (*RoleAssignmentRead) SetCreatedAt

func (o *RoleAssignmentRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*RoleAssignmentRead) SetEnvironmentId

func (o *RoleAssignmentRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*RoleAssignmentRead) SetId

func (o *RoleAssignmentRead) SetId(v string)

SetId sets field value

func (*RoleAssignmentRead) SetOrganizationId

func (o *RoleAssignmentRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*RoleAssignmentRead) SetProjectId

func (o *RoleAssignmentRead) SetProjectId(v string)

SetProjectId sets field value

func (*RoleAssignmentRead) SetRole

func (o *RoleAssignmentRead) SetRole(v string)

SetRole sets field value

func (*RoleAssignmentRead) SetRoleId

func (o *RoleAssignmentRead) SetRoleId(v string)

SetRoleId sets field value

func (*RoleAssignmentRead) SetTenant

func (o *RoleAssignmentRead) SetTenant(v string)

SetTenant sets field value

func (*RoleAssignmentRead) SetTenantId

func (o *RoleAssignmentRead) SetTenantId(v string)

SetTenantId sets field value

func (*RoleAssignmentRead) SetUser

func (o *RoleAssignmentRead) SetUser(v string)

SetUser sets field value

func (*RoleAssignmentRead) SetUserId

func (o *RoleAssignmentRead) SetUserId(v string)

SetUserId sets field value

type RoleAssignmentRemove

type RoleAssignmentRemove struct {
	// the role that will be unassigned (accepts either the role id or the role key)
	Role string `json:"role"`
	// the tenant the role is associated with (accepts either the tenant id or the tenant key)
	Tenant string `json:"tenant"`
	// the user the role will be unassigned from (accepts either the user id or the user key)
	User string `json:"user"`
}

RoleAssignmentRemove struct for RoleAssignmentRemove

func NewRoleAssignmentRemove

func NewRoleAssignmentRemove(role string, tenant string, user string) *RoleAssignmentRemove

NewRoleAssignmentRemove instantiates a new RoleAssignmentRemove 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 NewRoleAssignmentRemoveWithDefaults

func NewRoleAssignmentRemoveWithDefaults() *RoleAssignmentRemove

NewRoleAssignmentRemoveWithDefaults instantiates a new RoleAssignmentRemove 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 (*RoleAssignmentRemove) GetRole

func (o *RoleAssignmentRemove) GetRole() string

GetRole returns the Role field value

func (*RoleAssignmentRemove) GetRoleOk

func (o *RoleAssignmentRemove) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*RoleAssignmentRemove) GetTenant

func (o *RoleAssignmentRemove) GetTenant() string

GetTenant returns the Tenant field value

func (*RoleAssignmentRemove) GetTenantOk

func (o *RoleAssignmentRemove) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (*RoleAssignmentRemove) GetUser

func (o *RoleAssignmentRemove) GetUser() string

GetUser returns the User field value

func (*RoleAssignmentRemove) GetUserOk

func (o *RoleAssignmentRemove) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (RoleAssignmentRemove) MarshalJSON

func (o RoleAssignmentRemove) MarshalJSON() ([]byte, error)

func (*RoleAssignmentRemove) SetRole

func (o *RoleAssignmentRemove) SetRole(v string)

SetRole sets field value

func (*RoleAssignmentRemove) SetTenant

func (o *RoleAssignmentRemove) SetTenant(v string)

SetTenant sets field value

func (*RoleAssignmentRemove) SetUser

func (o *RoleAssignmentRemove) SetUser(v string)

SetUser sets field value

type RoleBlock

type RoleBlock struct {
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
}

RoleBlock struct for RoleBlock

func NewRoleBlock

func NewRoleBlock() *RoleBlock

NewRoleBlock instantiates a new RoleBlock 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 NewRoleBlockWithDefaults

func NewRoleBlockWithDefaults() *RoleBlock

NewRoleBlockWithDefaults instantiates a new RoleBlock 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 (*RoleBlock) GetDescription

func (o *RoleBlock) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RoleBlock) GetDescriptionOk

func (o *RoleBlock) 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 (*RoleBlock) GetExtends

func (o *RoleBlock) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*RoleBlock) GetExtendsOk

func (o *RoleBlock) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleBlock) GetPermissions

func (o *RoleBlock) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleBlock) GetPermissionsOk

func (o *RoleBlock) GetPermissionsOk() ([]string, 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 (*RoleBlock) HasDescription

func (o *RoleBlock) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RoleBlock) HasExtends

func (o *RoleBlock) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*RoleBlock) HasPermissions

func (o *RoleBlock) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleBlock) MarshalJSON

func (o RoleBlock) MarshalJSON() ([]byte, error)

func (*RoleBlock) SetDescription

func (o *RoleBlock) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RoleBlock) SetExtends

func (o *RoleBlock) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*RoleBlock) SetPermissions

func (o *RoleBlock) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

type RoleCreate

type RoleCreate struct {
	// A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
	Key string `json:"key"`
	// The name of the role
	Name string `json:"name"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
}

RoleCreate struct for RoleCreate

func NewRoleCreate

func NewRoleCreate(key string, name string) *RoleCreate

NewRoleCreate instantiates a new RoleCreate 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 NewRoleCreateWithDefaults

func NewRoleCreateWithDefaults() *RoleCreate

NewRoleCreateWithDefaults instantiates a new RoleCreate 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 (*RoleCreate) GetDescription

func (o *RoleCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RoleCreate) GetDescriptionOk

func (o *RoleCreate) 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 (*RoleCreate) GetExtends

func (o *RoleCreate) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*RoleCreate) GetExtendsOk

func (o *RoleCreate) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleCreate) GetKey

func (o *RoleCreate) GetKey() string

GetKey returns the Key field value

func (*RoleCreate) GetKeyOk

func (o *RoleCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*RoleCreate) GetName

func (o *RoleCreate) GetName() string

GetName returns the Name field value

func (*RoleCreate) GetNameOk

func (o *RoleCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RoleCreate) GetPermissions

func (o *RoleCreate) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleCreate) GetPermissionsOk

func (o *RoleCreate) GetPermissionsOk() ([]string, 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 (*RoleCreate) HasDescription

func (o *RoleCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RoleCreate) HasExtends

func (o *RoleCreate) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*RoleCreate) HasPermissions

func (o *RoleCreate) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleCreate) MarshalJSON

func (o RoleCreate) MarshalJSON() ([]byte, error)

func (*RoleCreate) SetDescription

func (o *RoleCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RoleCreate) SetExtends

func (o *RoleCreate) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*RoleCreate) SetKey

func (o *RoleCreate) SetKey(v string)

SetKey sets field value

func (*RoleCreate) SetName

func (o *RoleCreate) SetName(v string)

SetName sets field value

func (*RoleCreate) SetPermissions

func (o *RoleCreate) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

type RoleData

type RoleData struct {
	Grants *map[string][]string `json:"grants,omitempty"`
}

RoleData struct for RoleData

func NewRoleData

func NewRoleData() *RoleData

NewRoleData instantiates a new RoleData 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 NewRoleDataWithDefaults

func NewRoleDataWithDefaults() *RoleData

NewRoleDataWithDefaults instantiates a new RoleData 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 (*RoleData) GetGrants

func (o *RoleData) GetGrants() map[string][]string

GetGrants returns the Grants field value if set, zero value otherwise.

func (*RoleData) GetGrantsOk

func (o *RoleData) GetGrantsOk() (*map[string][]string, bool)

GetGrantsOk returns a tuple with the Grants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleData) HasGrants

func (o *RoleData) HasGrants() bool

HasGrants returns a boolean if a field has been set.

func (RoleData) MarshalJSON

func (o RoleData) MarshalJSON() ([]byte, error)

func (*RoleData) SetGrants

func (o *RoleData) SetGrants(v map[string][]string)

SetGrants gets a reference to the given map[string][]string and assigns it to the Grants field.

type RoleRead

type RoleRead struct {
	// The name of the role
	Name string `json:"name"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
	// A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
	Key string `json:"key"`
	// Unique id of the role
	Id string `json:"id"`
	// Unique id of the organization that the role belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the role belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the role belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the role was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the role was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
}

RoleRead struct for RoleRead

func NewRoleRead

func NewRoleRead(name string, key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time) *RoleRead

NewRoleRead instantiates a new RoleRead 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 NewRoleReadWithDefaults

func NewRoleReadWithDefaults() *RoleRead

NewRoleReadWithDefaults instantiates a new RoleRead 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 (*RoleRead) GetCreatedAt

func (o *RoleRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*RoleRead) GetCreatedAtOk

func (o *RoleRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*RoleRead) GetDescription

func (o *RoleRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RoleRead) GetDescriptionOk

func (o *RoleRead) 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 (*RoleRead) GetEnvironmentId

func (o *RoleRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*RoleRead) GetEnvironmentIdOk

func (o *RoleRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*RoleRead) GetExtends

func (o *RoleRead) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*RoleRead) GetExtendsOk

func (o *RoleRead) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleRead) GetId

func (o *RoleRead) GetId() string

GetId returns the Id field value

func (*RoleRead) GetIdOk

func (o *RoleRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RoleRead) GetKey

func (o *RoleRead) GetKey() string

GetKey returns the Key field value

func (*RoleRead) GetKeyOk

func (o *RoleRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*RoleRead) GetName

func (o *RoleRead) GetName() string

GetName returns the Name field value

func (*RoleRead) GetNameOk

func (o *RoleRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RoleRead) GetOrganizationId

func (o *RoleRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*RoleRead) GetOrganizationIdOk

func (o *RoleRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*RoleRead) GetPermissions

func (o *RoleRead) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleRead) GetPermissionsOk

func (o *RoleRead) GetPermissionsOk() ([]string, 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 (*RoleRead) GetProjectId

func (o *RoleRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*RoleRead) GetProjectIdOk

func (o *RoleRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*RoleRead) GetUpdatedAt

func (o *RoleRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*RoleRead) GetUpdatedAtOk

func (o *RoleRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*RoleRead) HasDescription

func (o *RoleRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RoleRead) HasExtends

func (o *RoleRead) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*RoleRead) HasPermissions

func (o *RoleRead) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleRead) MarshalJSON

func (o RoleRead) MarshalJSON() ([]byte, error)

func (*RoleRead) SetCreatedAt

func (o *RoleRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*RoleRead) SetDescription

func (o *RoleRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RoleRead) SetEnvironmentId

func (o *RoleRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*RoleRead) SetExtends

func (o *RoleRead) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*RoleRead) SetId

func (o *RoleRead) SetId(v string)

SetId sets field value

func (*RoleRead) SetKey

func (o *RoleRead) SetKey(v string)

SetKey sets field value

func (*RoleRead) SetName

func (o *RoleRead) SetName(v string)

SetName sets field value

func (*RoleRead) SetOrganizationId

func (o *RoleRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*RoleRead) SetPermissions

func (o *RoleRead) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

func (*RoleRead) SetProjectId

func (o *RoleRead) SetProjectId(v string)

SetProjectId sets field value

func (*RoleRead) SetUpdatedAt

func (o *RoleRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type RoleUpdate

type RoleUpdate struct {
	// The name of the role
	Name *string `json:"name,omitempty"`
	// optional description string explaining what this role represents, or what permissions are granted to it.
	Description *string `json:"description,omitempty"`
	// list of action keys that define what actions this resource role is permitted to do
	Permissions []string `json:"permissions,omitempty"`
	// list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
	Extends []string `json:"extends,omitempty"`
}

RoleUpdate struct for RoleUpdate

func NewRoleUpdate

func NewRoleUpdate() *RoleUpdate

NewRoleUpdate instantiates a new RoleUpdate 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 NewRoleUpdateWithDefaults

func NewRoleUpdateWithDefaults() *RoleUpdate

NewRoleUpdateWithDefaults instantiates a new RoleUpdate 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 (*RoleUpdate) GetDescription

func (o *RoleUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RoleUpdate) GetDescriptionOk

func (o *RoleUpdate) 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 (*RoleUpdate) GetExtends

func (o *RoleUpdate) GetExtends() []string

GetExtends returns the Extends field value if set, zero value otherwise.

func (*RoleUpdate) GetExtendsOk

func (o *RoleUpdate) GetExtendsOk() ([]string, bool)

GetExtendsOk returns a tuple with the Extends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleUpdate) GetName

func (o *RoleUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RoleUpdate) GetNameOk

func (o *RoleUpdate) 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 (*RoleUpdate) GetPermissions

func (o *RoleUpdate) GetPermissions() []string

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*RoleUpdate) GetPermissionsOk

func (o *RoleUpdate) GetPermissionsOk() ([]string, 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 (*RoleUpdate) HasDescription

func (o *RoleUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RoleUpdate) HasExtends

func (o *RoleUpdate) HasExtends() bool

HasExtends returns a boolean if a field has been set.

func (*RoleUpdate) HasName

func (o *RoleUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*RoleUpdate) HasPermissions

func (o *RoleUpdate) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (RoleUpdate) MarshalJSON

func (o RoleUpdate) MarshalJSON() ([]byte, error)

func (*RoleUpdate) SetDescription

func (o *RoleUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RoleUpdate) SetExtends

func (o *RoleUpdate) SetExtends(v []string)

SetExtends gets a reference to the given []string and assigns it to the Extends field.

func (*RoleUpdate) SetName

func (o *RoleUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RoleUpdate) SetPermissions

func (o *RoleUpdate) SetPermissions(v []string)

SetPermissions gets a reference to the given []string and assigns it to the Permissions field.

type SSHAuthData

type SSHAuthData struct {
	AuthType *string `json:"auth_type,omitempty"`
	// SSH username
	Username string `json:"username"`
	// SSH public key
	PublicKey *string `json:"public_key,omitempty"`
	// SSH private key
	PrivateKey string `json:"private_key"`
}

SSHAuthData struct for SSHAuthData

func NewSSHAuthData

func NewSSHAuthData(username string, privateKey string) *SSHAuthData

NewSSHAuthData instantiates a new SSHAuthData 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 NewSSHAuthDataWithDefaults

func NewSSHAuthDataWithDefaults() *SSHAuthData

NewSSHAuthDataWithDefaults instantiates a new SSHAuthData 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 (*SSHAuthData) GetAuthType

func (o *SSHAuthData) GetAuthType() string

GetAuthType returns the AuthType field value if set, zero value otherwise.

func (*SSHAuthData) GetAuthTypeOk

func (o *SSHAuthData) GetAuthTypeOk() (*string, bool)

GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHAuthData) GetPrivateKey

func (o *SSHAuthData) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value

func (*SSHAuthData) GetPrivateKeyOk

func (o *SSHAuthData) GetPrivateKeyOk() (*string, bool)

GetPrivateKeyOk returns a tuple with the PrivateKey field value and a boolean to check if the value has been set.

func (*SSHAuthData) GetPublicKey

func (o *SSHAuthData) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*SSHAuthData) GetPublicKeyOk

func (o *SSHAuthData) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHAuthData) GetUsername

func (o *SSHAuthData) GetUsername() string

GetUsername returns the Username field value

func (*SSHAuthData) GetUsernameOk

func (o *SSHAuthData) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*SSHAuthData) HasAuthType

func (o *SSHAuthData) HasAuthType() bool

HasAuthType returns a boolean if a field has been set.

func (*SSHAuthData) HasPublicKey

func (o *SSHAuthData) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (SSHAuthData) MarshalJSON

func (o SSHAuthData) MarshalJSON() ([]byte, error)

func (*SSHAuthData) SetAuthType

func (o *SSHAuthData) SetAuthType(v string)

SetAuthType gets a reference to the given string and assigns it to the AuthType field.

func (*SSHAuthData) SetPrivateKey

func (o *SSHAuthData) SetPrivateKey(v string)

SetPrivateKey sets field value

func (*SSHAuthData) SetPublicKey

func (o *SSHAuthData) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*SSHAuthData) SetUsername

func (o *SSHAuthData) SetUsername(v string)

SetUsername sets field value

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

Settings struct for Settings

func (*Settings) MarshalJSON

func (src *Settings) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Settings) UnmarshalJSON

func (dst *Settings) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type Statistics

type Statistics struct {
	Roles           int32 `json:"roles"`
	Users           int32 `json:"users"`
	Policies        int32 `json:"policies"`
	Resources       int32 `json:"resources"`
	Tenants         int32 `json:"tenants"`
	HasDecisionLogs bool  `json:"has_decision_logs"`
}

Statistics struct for Statistics

func NewStatistics

func NewStatistics(roles int32, users int32, policies int32, resources int32, tenants int32, hasDecisionLogs bool) *Statistics

NewStatistics instantiates a new Statistics 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 NewStatisticsWithDefaults

func NewStatisticsWithDefaults() *Statistics

NewStatisticsWithDefaults instantiates a new Statistics 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 (*Statistics) GetHasDecisionLogs

func (o *Statistics) GetHasDecisionLogs() bool

GetHasDecisionLogs returns the HasDecisionLogs field value

func (*Statistics) GetHasDecisionLogsOk

func (o *Statistics) GetHasDecisionLogsOk() (*bool, bool)

GetHasDecisionLogsOk returns a tuple with the HasDecisionLogs field value and a boolean to check if the value has been set.

func (*Statistics) GetPolicies

func (o *Statistics) GetPolicies() int32

GetPolicies returns the Policies field value

func (*Statistics) GetPoliciesOk

func (o *Statistics) GetPoliciesOk() (*int32, bool)

GetPoliciesOk returns a tuple with the Policies field value and a boolean to check if the value has been set.

func (*Statistics) GetResources

func (o *Statistics) GetResources() int32

GetResources returns the Resources field value

func (*Statistics) GetResourcesOk

func (o *Statistics) GetResourcesOk() (*int32, bool)

GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.

func (*Statistics) GetRoles

func (o *Statistics) GetRoles() int32

GetRoles returns the Roles field value

func (*Statistics) GetRolesOk

func (o *Statistics) GetRolesOk() (*int32, bool)

GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.

func (*Statistics) GetTenants

func (o *Statistics) GetTenants() int32

GetTenants returns the Tenants field value

func (*Statistics) GetTenantsOk

func (o *Statistics) GetTenantsOk() (*int32, bool)

GetTenantsOk returns a tuple with the Tenants field value and a boolean to check if the value has been set.

func (*Statistics) GetUsers

func (o *Statistics) GetUsers() int32

GetUsers returns the Users field value

func (*Statistics) GetUsersOk

func (o *Statistics) GetUsersOk() (*int32, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (Statistics) MarshalJSON

func (o Statistics) MarshalJSON() ([]byte, error)

func (*Statistics) SetHasDecisionLogs

func (o *Statistics) SetHasDecisionLogs(v bool)

SetHasDecisionLogs sets field value

func (*Statistics) SetPolicies

func (o *Statistics) SetPolicies(v int32)

SetPolicies sets field value

func (*Statistics) SetResources

func (o *Statistics) SetResources(v int32)

SetResources sets field value

func (*Statistics) SetRoles

func (o *Statistics) SetRoles(v int32)

SetRoles sets field value

func (*Statistics) SetTenants

func (o *Statistics) SetTenants(v int32)

SetTenants sets field value

func (*Statistics) SetUsers

func (o *Statistics) SetUsers(v int32)

SetUsers sets field value

type TenantCreate

type TenantCreate struct {
	// A unique id by which Permit will identify the tenant. The tenant key must be url-friendly (slugified).
	Key string `json:"key"`
	// A descriptive name for the tenant
	Name string `json:"name"`
	// an optional longer description of the tenant
	Description *string `json:"description,omitempty"`
	// Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

TenantCreate struct for TenantCreate

func NewTenantCreate

func NewTenantCreate(key string, name string) *TenantCreate

NewTenantCreate instantiates a new TenantCreate 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 NewTenantCreateWithDefaults

func NewTenantCreateWithDefaults() *TenantCreate

NewTenantCreateWithDefaults instantiates a new TenantCreate 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 (*TenantCreate) GetAttributes

func (o *TenantCreate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*TenantCreate) GetAttributesOk

func (o *TenantCreate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TenantCreate) GetDescription

func (o *TenantCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TenantCreate) GetDescriptionOk

func (o *TenantCreate) 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 (*TenantCreate) GetKey

func (o *TenantCreate) GetKey() string

GetKey returns the Key field value

func (*TenantCreate) GetKeyOk

func (o *TenantCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*TenantCreate) GetName

func (o *TenantCreate) GetName() string

GetName returns the Name field value

func (*TenantCreate) GetNameOk

func (o *TenantCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TenantCreate) HasAttributes

func (o *TenantCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*TenantCreate) HasDescription

func (o *TenantCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (TenantCreate) MarshalJSON

func (o TenantCreate) MarshalJSON() ([]byte, error)

func (*TenantCreate) SetAttributes

func (o *TenantCreate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*TenantCreate) SetDescription

func (o *TenantCreate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TenantCreate) SetKey

func (o *TenantCreate) SetKey(v string)

SetKey sets field value

func (*TenantCreate) SetName

func (o *TenantCreate) SetName(v string)

SetName sets field value

type TenantRead

type TenantRead struct {
	// A unique id by which Permit will identify the tenant. The tenant key must be url-friendly (slugified).
	Key string `json:"key"`
	// Unique id of the tenant
	Id string `json:"id"`
	// Unique id of the organization that the tenant belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the tenant belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the tenant belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the tenant was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the tenant was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// Date and time when the tenant was last active (ISO_8601 format). In other words, this is the last time a permission check was done on a resource belonging to this tenant.
	LastActionAt time.Time `json:"last_action_at"`
	// A descriptive name for the tenant
	Name string `json:"name"`
	// an optional longer description of the tenant
	Description *string `json:"description,omitempty"`
	// Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

TenantRead struct for TenantRead

func NewTenantRead

func NewTenantRead(key string, id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, lastActionAt time.Time, name string) *TenantRead

NewTenantRead instantiates a new TenantRead 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 NewTenantReadWithDefaults

func NewTenantReadWithDefaults() *TenantRead

NewTenantReadWithDefaults instantiates a new TenantRead 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 (*TenantRead) GetAttributes

func (o *TenantRead) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*TenantRead) GetAttributesOk

func (o *TenantRead) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TenantRead) GetCreatedAt

func (o *TenantRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*TenantRead) GetCreatedAtOk

func (o *TenantRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*TenantRead) GetDescription

func (o *TenantRead) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TenantRead) GetDescriptionOk

func (o *TenantRead) 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 (*TenantRead) GetEnvironmentId

func (o *TenantRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*TenantRead) GetEnvironmentIdOk

func (o *TenantRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*TenantRead) GetId

func (o *TenantRead) GetId() string

GetId returns the Id field value

func (*TenantRead) GetIdOk

func (o *TenantRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TenantRead) GetKey

func (o *TenantRead) GetKey() string

GetKey returns the Key field value

func (*TenantRead) GetKeyOk

func (o *TenantRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*TenantRead) GetLastActionAt

func (o *TenantRead) GetLastActionAt() time.Time

GetLastActionAt returns the LastActionAt field value

func (*TenantRead) GetLastActionAtOk

func (o *TenantRead) GetLastActionAtOk() (*time.Time, bool)

GetLastActionAtOk returns a tuple with the LastActionAt field value and a boolean to check if the value has been set.

func (*TenantRead) GetName

func (o *TenantRead) GetName() string

GetName returns the Name field value

func (*TenantRead) GetNameOk

func (o *TenantRead) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TenantRead) GetOrganizationId

func (o *TenantRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*TenantRead) GetOrganizationIdOk

func (o *TenantRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*TenantRead) GetProjectId

func (o *TenantRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*TenantRead) GetProjectIdOk

func (o *TenantRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*TenantRead) GetUpdatedAt

func (o *TenantRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*TenantRead) GetUpdatedAtOk

func (o *TenantRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*TenantRead) HasAttributes

func (o *TenantRead) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*TenantRead) HasDescription

func (o *TenantRead) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (TenantRead) MarshalJSON

func (o TenantRead) MarshalJSON() ([]byte, error)

func (*TenantRead) SetAttributes

func (o *TenantRead) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*TenantRead) SetCreatedAt

func (o *TenantRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*TenantRead) SetDescription

func (o *TenantRead) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TenantRead) SetEnvironmentId

func (o *TenantRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*TenantRead) SetId

func (o *TenantRead) SetId(v string)

SetId sets field value

func (*TenantRead) SetKey

func (o *TenantRead) SetKey(v string)

SetKey sets field value

func (*TenantRead) SetLastActionAt

func (o *TenantRead) SetLastActionAt(v time.Time)

SetLastActionAt sets field value

func (*TenantRead) SetName

func (o *TenantRead) SetName(v string)

SetName sets field value

func (*TenantRead) SetOrganizationId

func (o *TenantRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*TenantRead) SetProjectId

func (o *TenantRead) SetProjectId(v string)

SetProjectId sets field value

func (*TenantRead) SetUpdatedAt

func (o *TenantRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type TenantUpdate

type TenantUpdate struct {
	// A descriptive name for the tenant
	Name *string `json:"name,omitempty"`
	// an optional longer description of the tenant
	Description *string `json:"description,omitempty"`
	// Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

TenantUpdate struct for TenantUpdate

func NewTenantUpdate

func NewTenantUpdate() *TenantUpdate

NewTenantUpdate instantiates a new TenantUpdate 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 NewTenantUpdateWithDefaults

func NewTenantUpdateWithDefaults() *TenantUpdate

NewTenantUpdateWithDefaults instantiates a new TenantUpdate 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 (*TenantUpdate) GetAttributes

func (o *TenantUpdate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*TenantUpdate) GetAttributesOk

func (o *TenantUpdate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TenantUpdate) GetDescription

func (o *TenantUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TenantUpdate) GetDescriptionOk

func (o *TenantUpdate) 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 (*TenantUpdate) GetName

func (o *TenantUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TenantUpdate) GetNameOk

func (o *TenantUpdate) 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 (*TenantUpdate) HasAttributes

func (o *TenantUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*TenantUpdate) HasDescription

func (o *TenantUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TenantUpdate) HasName

func (o *TenantUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (TenantUpdate) MarshalJSON

func (o TenantUpdate) MarshalJSON() ([]byte, error)

func (*TenantUpdate) SetAttributes

func (o *TenantUpdate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*TenantUpdate) SetDescription

func (o *TenantUpdate) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TenantUpdate) SetName

func (o *TenantUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type UserCreate

type UserCreate struct {
	// A unique id by which Permit will identify the user for permission checks.
	Key string `json:"key"`
	// The email of the user. If synced, will be unique inside the environment.
	Email *string `json:"email,omitempty"`
	// First name of the user.
	FirstName *string `json:"first_name,omitempty"`
	// Last name of the user.
	LastName *string `json:"last_name,omitempty"`
	// Arbitraty user attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

UserCreate struct for UserCreate

func NewUserCreate

func NewUserCreate(key string) *UserCreate

NewUserCreate instantiates a new UserCreate 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 NewUserCreateWithDefaults

func NewUserCreateWithDefaults() *UserCreate

NewUserCreateWithDefaults instantiates a new UserCreate 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 (*UserCreate) GetAttributes

func (o *UserCreate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserCreate) GetAttributesOk

func (o *UserCreate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreate) GetEmail

func (o *UserCreate) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserCreate) GetEmailOk

func (o *UserCreate) 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 (*UserCreate) GetFirstName

func (o *UserCreate) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserCreate) GetFirstNameOk

func (o *UserCreate) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreate) GetKey

func (o *UserCreate) GetKey() string

GetKey returns the Key field value

func (*UserCreate) GetKeyOk

func (o *UserCreate) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*UserCreate) GetLastName

func (o *UserCreate) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserCreate) GetLastNameOk

func (o *UserCreate) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreate) HasAttributes

func (o *UserCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserCreate) HasEmail

func (o *UserCreate) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserCreate) HasFirstName

func (o *UserCreate) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserCreate) HasLastName

func (o *UserCreate) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (UserCreate) MarshalJSON

func (o UserCreate) MarshalJSON() ([]byte, error)

func (*UserCreate) SetAttributes

func (o *UserCreate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*UserCreate) SetEmail

func (o *UserCreate) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserCreate) SetFirstName

func (o *UserCreate) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserCreate) SetKey

func (o *UserCreate) SetKey(v string)

SetKey sets field value

func (*UserCreate) SetLastName

func (o *UserCreate) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

type UserData

type UserData struct {
	RoleAssignments *map[string][]string   `json:"roleAssignments,omitempty"`
	Attributes      *map[string]Attributes `json:"attributes,omitempty"`
}

UserData struct for UserData

func NewUserData

func NewUserData() *UserData

NewUserData instantiates a new UserData 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 NewUserDataWithDefaults

func NewUserDataWithDefaults() *UserData

NewUserDataWithDefaults instantiates a new UserData 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 (*UserData) GetAttributes

func (o *UserData) GetAttributes() map[string]Attributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserData) GetAttributesOk

func (o *UserData) GetAttributesOk() (*map[string]Attributes, 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 (*UserData) GetRoleAssignments

func (o *UserData) GetRoleAssignments() map[string][]string

GetRoleAssignments returns the RoleAssignments field value if set, zero value otherwise.

func (*UserData) GetRoleAssignmentsOk

func (o *UserData) GetRoleAssignmentsOk() (*map[string][]string, bool)

GetRoleAssignmentsOk returns a tuple with the RoleAssignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserData) HasAttributes

func (o *UserData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserData) HasRoleAssignments

func (o *UserData) HasRoleAssignments() bool

HasRoleAssignments returns a boolean if a field has been set.

func (UserData) MarshalJSON

func (o UserData) MarshalJSON() ([]byte, error)

func (*UserData) SetAttributes

func (o *UserData) SetAttributes(v map[string]Attributes)

SetAttributes gets a reference to the given map[string]Attributes and assigns it to the Attributes field.

func (*UserData) SetRoleAssignments

func (o *UserData) SetRoleAssignments(v map[string][]string)

SetRoleAssignments gets a reference to the given map[string][]string and assigns it to the RoleAssignments field.

type UserLoginRequestInput

type UserLoginRequestInput struct {
	// ID or key of the user for whom to generate a token
	UserId string `json:"user_id"`
	// ID or key of the tenant to which access is requested
	TenantId string `json:"tenant_id"`
}

UserLoginRequestInput struct for UserLoginRequestInput

func NewUserLoginRequestInput

func NewUserLoginRequestInput(userId string, tenantId string) *UserLoginRequestInput

NewUserLoginRequestInput instantiates a new UserLoginRequestInput 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 NewUserLoginRequestInputWithDefaults

func NewUserLoginRequestInputWithDefaults() *UserLoginRequestInput

NewUserLoginRequestInputWithDefaults instantiates a new UserLoginRequestInput 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 (*UserLoginRequestInput) GetTenantId

func (o *UserLoginRequestInput) GetTenantId() string

GetTenantId returns the TenantId field value

func (*UserLoginRequestInput) GetTenantIdOk

func (o *UserLoginRequestInput) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field value and a boolean to check if the value has been set.

func (*UserLoginRequestInput) GetUserId

func (o *UserLoginRequestInput) GetUserId() string

GetUserId returns the UserId field value

func (*UserLoginRequestInput) GetUserIdOk

func (o *UserLoginRequestInput) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (UserLoginRequestInput) MarshalJSON

func (o UserLoginRequestInput) MarshalJSON() ([]byte, error)

func (*UserLoginRequestInput) SetTenantId

func (o *UserLoginRequestInput) SetTenantId(v string)

SetTenantId sets field value

func (*UserLoginRequestInput) SetUserId

func (o *UserLoginRequestInput) SetUserId(v string)

SetUserId sets field value

type UserRead

type UserRead struct {
	// A unique id by which Permit will identify the user for permission checks.
	Key string `json:"key"`
	// Unique id of the user
	Id string `json:"id"`
	// Unique id of the organization that the user belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the user belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the user belongs to.
	EnvironmentId string     `json:"environment_id"`
	Roles         []UserRole `json:"roles,omitempty"`
	// The email of the user. If synced, will be unique inside the environment.
	Email *string `json:"email,omitempty"`
	// First name of the user.
	FirstName *string `json:"first_name,omitempty"`
	// Last name of the user.
	LastName *string `json:"last_name,omitempty"`
	// Arbitraty user attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

UserRead struct for UserRead

func NewUserRead

func NewUserRead(key string, id string, organizationId string, projectId string, environmentId string) *UserRead

NewUserRead instantiates a new UserRead 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 NewUserReadWithDefaults

func NewUserReadWithDefaults() *UserRead

NewUserReadWithDefaults instantiates a new UserRead 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 (*UserRead) GetAttributes

func (o *UserRead) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserRead) GetAttributesOk

func (o *UserRead) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRead) GetEmail

func (o *UserRead) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserRead) GetEmailOk

func (o *UserRead) 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 (*UserRead) GetEnvironmentId

func (o *UserRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*UserRead) GetEnvironmentIdOk

func (o *UserRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*UserRead) GetFirstName

func (o *UserRead) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserRead) GetFirstNameOk

func (o *UserRead) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRead) GetId

func (o *UserRead) GetId() string

GetId returns the Id field value

func (*UserRead) GetIdOk

func (o *UserRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserRead) GetKey

func (o *UserRead) GetKey() string

GetKey returns the Key field value

func (*UserRead) GetKeyOk

func (o *UserRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*UserRead) GetLastName

func (o *UserRead) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserRead) GetLastNameOk

func (o *UserRead) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRead) GetOrganizationId

func (o *UserRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*UserRead) GetOrganizationIdOk

func (o *UserRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*UserRead) GetProjectId

func (o *UserRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*UserRead) GetProjectIdOk

func (o *UserRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*UserRead) GetRoles

func (o *UserRead) GetRoles() []UserRole

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserRead) GetRolesOk

func (o *UserRead) GetRolesOk() ([]UserRole, 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 (*UserRead) HasAttributes

func (o *UserRead) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserRead) HasEmail

func (o *UserRead) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserRead) HasFirstName

func (o *UserRead) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserRead) HasLastName

func (o *UserRead) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*UserRead) HasRoles

func (o *UserRead) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (UserRead) MarshalJSON

func (o UserRead) MarshalJSON() ([]byte, error)

func (*UserRead) SetAttributes

func (o *UserRead) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*UserRead) SetEmail

func (o *UserRead) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserRead) SetEnvironmentId

func (o *UserRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*UserRead) SetFirstName

func (o *UserRead) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserRead) SetId

func (o *UserRead) SetId(v string)

SetId sets field value

func (*UserRead) SetKey

func (o *UserRead) SetKey(v string)

SetKey sets field value

func (*UserRead) SetLastName

func (o *UserRead) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*UserRead) SetOrganizationId

func (o *UserRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*UserRead) SetProjectId

func (o *UserRead) SetProjectId(v string)

SetProjectId sets field value

func (*UserRead) SetRoles

func (o *UserRead) SetRoles(v []UserRole)

SetRoles gets a reference to the given []UserRole and assigns it to the Roles field.

type UserRole

type UserRole struct {
	// the role that is assigned
	Role string `json:"role"`
	// the tenant the role is associated with
	Tenant string `json:"tenant"`
}

UserRole struct for UserRole

func NewUserRole

func NewUserRole(role string, tenant string) *UserRole

NewUserRole instantiates a new UserRole 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 NewUserRoleWithDefaults

func NewUserRoleWithDefaults() *UserRole

NewUserRoleWithDefaults instantiates a new UserRole 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 (*UserRole) GetRole

func (o *UserRole) GetRole() string

GetRole returns the Role field value

func (*UserRole) GetRoleOk

func (o *UserRole) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*UserRole) GetTenant

func (o *UserRole) GetTenant() string

GetTenant returns the Tenant field value

func (*UserRole) GetTenantOk

func (o *UserRole) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (UserRole) MarshalJSON

func (o UserRole) MarshalJSON() ([]byte, error)

func (*UserRole) SetRole

func (o *UserRole) SetRole(v string)

SetRole sets field value

func (*UserRole) SetTenant

func (o *UserRole) SetTenant(v string)

SetTenant sets field value

type UserRoleCreate

type UserRoleCreate struct {
	// the role that will be assigned (accepts either the role id or the role key)
	Role string `json:"role"`
	// the tenant the role is associated with (accepts either the tenant id or the tenant key)
	Tenant string `json:"tenant"`
}

UserRoleCreate struct for UserRoleCreate

func NewUserRoleCreate

func NewUserRoleCreate(role string, tenant string) *UserRoleCreate

NewUserRoleCreate instantiates a new UserRoleCreate 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 NewUserRoleCreateWithDefaults

func NewUserRoleCreateWithDefaults() *UserRoleCreate

NewUserRoleCreateWithDefaults instantiates a new UserRoleCreate 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 (*UserRoleCreate) GetRole

func (o *UserRoleCreate) GetRole() string

GetRole returns the Role field value

func (*UserRoleCreate) GetRoleOk

func (o *UserRoleCreate) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*UserRoleCreate) GetTenant

func (o *UserRoleCreate) GetTenant() string

GetTenant returns the Tenant field value

func (*UserRoleCreate) GetTenantOk

func (o *UserRoleCreate) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (UserRoleCreate) MarshalJSON

func (o UserRoleCreate) MarshalJSON() ([]byte, error)

func (*UserRoleCreate) SetRole

func (o *UserRoleCreate) SetRole(v string)

SetRole sets field value

func (*UserRoleCreate) SetTenant

func (o *UserRoleCreate) SetTenant(v string)

SetTenant sets field value

type UserRoleRemove

type UserRoleRemove struct {
	// the role that will be unassigned (accepts either the role id or the role key)
	Role string `json:"role"`
	// the tenant the role is associated with (accepts either the tenant id or the tenant key)
	Tenant string `json:"tenant"`
}

UserRoleRemove struct for UserRoleRemove

func NewUserRoleRemove

func NewUserRoleRemove(role string, tenant string) *UserRoleRemove

NewUserRoleRemove instantiates a new UserRoleRemove 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 NewUserRoleRemoveWithDefaults

func NewUserRoleRemoveWithDefaults() *UserRoleRemove

NewUserRoleRemoveWithDefaults instantiates a new UserRoleRemove 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 (*UserRoleRemove) GetRole

func (o *UserRoleRemove) GetRole() string

GetRole returns the Role field value

func (*UserRoleRemove) GetRoleOk

func (o *UserRoleRemove) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*UserRoleRemove) GetTenant

func (o *UserRoleRemove) GetTenant() string

GetTenant returns the Tenant field value

func (*UserRoleRemove) GetTenantOk

func (o *UserRoleRemove) GetTenantOk() (*string, bool)

GetTenantOk returns a tuple with the Tenant field value and a boolean to check if the value has been set.

func (UserRoleRemove) MarshalJSON

func (o UserRoleRemove) MarshalJSON() ([]byte, error)

func (*UserRoleRemove) SetRole

func (o *UserRoleRemove) SetRole(v string)

SetRole sets field value

func (*UserRoleRemove) SetTenant

func (o *UserRoleRemove) SetTenant(v string)

SetTenant sets field value

type UserUpdate

type UserUpdate struct {
	// The email of the user. If synced, will be unique inside the environment.
	Email *string `json:"email,omitempty"`
	// First name of the user.
	FirstName *string `json:"first_name,omitempty"`
	// Last name of the user.
	LastName *string `json:"last_name,omitempty"`
	// Arbitraty user attributes that will be used to enforce attribute-based access control policies.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

UserUpdate struct for UserUpdate

func NewUserUpdate

func NewUserUpdate() *UserUpdate

NewUserUpdate instantiates a new UserUpdate 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 NewUserUpdateWithDefaults

func NewUserUpdateWithDefaults() *UserUpdate

NewUserUpdateWithDefaults instantiates a new UserUpdate 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 (*UserUpdate) GetAttributes

func (o *UserUpdate) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserUpdate) GetAttributesOk

func (o *UserUpdate) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdate) GetEmail

func (o *UserUpdate) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserUpdate) GetEmailOk

func (o *UserUpdate) 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 (*UserUpdate) GetFirstName

func (o *UserUpdate) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserUpdate) GetFirstNameOk

func (o *UserUpdate) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdate) GetLastName

func (o *UserUpdate) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserUpdate) GetLastNameOk

func (o *UserUpdate) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdate) HasAttributes

func (o *UserUpdate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserUpdate) HasEmail

func (o *UserUpdate) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserUpdate) HasFirstName

func (o *UserUpdate) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserUpdate) HasLastName

func (o *UserUpdate) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (UserUpdate) MarshalJSON

func (o UserUpdate) MarshalJSON() ([]byte, error)

func (*UserUpdate) SetAttributes

func (o *UserUpdate) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*UserUpdate) SetEmail

func (o *UserUpdate) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserUpdate) SetFirstName

func (o *UserUpdate) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserUpdate) SetLastName

func (o *UserUpdate) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

type ValidationError

type ValidationError struct {
	Loc  []LocationInner `json:"loc"`
	Msg  string          `json:"msg"`
	Type string          `json:"type"`
}

ValidationError struct for ValidationError

func NewValidationError

func NewValidationError(loc []LocationInner, msg string, type_ string) *ValidationError

NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults

func NewValidationErrorWithDefaults() *ValidationError

NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetLoc

func (o *ValidationError) GetLoc() []LocationInner

GetLoc returns the Loc field value

func (*ValidationError) GetLocOk

func (o *ValidationError) GetLocOk() ([]LocationInner, bool)

GetLocOk returns a tuple with the Loc field value and a boolean to check if the value has been set.

func (*ValidationError) GetMsg

func (o *ValidationError) GetMsg() string

GetMsg returns the Msg field value

func (*ValidationError) GetMsgOk

func (o *ValidationError) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.

func (*ValidationError) GetType

func (o *ValidationError) GetType() string

GetType returns the Type field value

func (*ValidationError) GetTypeOk

func (o *ValidationError) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ValidationError) MarshalJSON

func (o ValidationError) MarshalJSON() ([]byte, error)

func (*ValidationError) SetLoc

func (o *ValidationError) SetLoc(v []LocationInner)

SetLoc sets field value

func (*ValidationError) SetMsg

func (o *ValidationError) SetMsg(v string)

SetMsg sets field value

func (*ValidationError) SetType

func (o *ValidationError) SetType(v string)

SetType sets field value

type WebhookCreate

type WebhookCreate struct {
	// The url to POST the webhook to
	Url string `json:"url"`
	// An optional bearer token to use to authenticate the request
	BearerToken *string `json:"bearer_token,omitempty"`
}

WebhookCreate struct for WebhookCreate

func NewWebhookCreate

func NewWebhookCreate(url string) *WebhookCreate

NewWebhookCreate instantiates a new WebhookCreate 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 NewWebhookCreateWithDefaults

func NewWebhookCreateWithDefaults() *WebhookCreate

NewWebhookCreateWithDefaults instantiates a new WebhookCreate 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 (*WebhookCreate) GetBearerToken

func (o *WebhookCreate) GetBearerToken() string

GetBearerToken returns the BearerToken field value if set, zero value otherwise.

func (*WebhookCreate) GetBearerTokenOk

func (o *WebhookCreate) GetBearerTokenOk() (*string, bool)

GetBearerTokenOk returns a tuple with the BearerToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookCreate) GetUrl

func (o *WebhookCreate) GetUrl() string

GetUrl returns the Url field value

func (*WebhookCreate) GetUrlOk

func (o *WebhookCreate) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*WebhookCreate) HasBearerToken

func (o *WebhookCreate) HasBearerToken() bool

HasBearerToken returns a boolean if a field has been set.

func (WebhookCreate) MarshalJSON

func (o WebhookCreate) MarshalJSON() ([]byte, error)

func (*WebhookCreate) SetBearerToken

func (o *WebhookCreate) SetBearerToken(v string)

SetBearerToken gets a reference to the given string and assigns it to the BearerToken field.

func (*WebhookCreate) SetUrl

func (o *WebhookCreate) SetUrl(v string)

SetUrl sets field value

type WebhookRead

type WebhookRead struct {
	// Unique id of the webhook
	Id string `json:"id"`
	// Unique id of the organization that the webhook belongs to.
	OrganizationId string `json:"organization_id"`
	// Unique id of the project that the webhook belongs to.
	ProjectId string `json:"project_id"`
	// Unique id of the environment that the webhook belongs to.
	EnvironmentId string `json:"environment_id"`
	// Date and time when the webhook was created (ISO_8601 format).
	CreatedAt time.Time `json:"created_at"`
	// Date and time when the webhook was last updated/modified (ISO_8601 format).
	UpdatedAt time.Time `json:"updated_at"`
	// The url to POST the webhook to
	Url string `json:"url"`
}

WebhookRead struct for WebhookRead

func NewWebhookRead

func NewWebhookRead(id string, organizationId string, projectId string, environmentId string, createdAt time.Time, updatedAt time.Time, url string) *WebhookRead

NewWebhookRead instantiates a new WebhookRead 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 NewWebhookReadWithDefaults

func NewWebhookReadWithDefaults() *WebhookRead

NewWebhookReadWithDefaults instantiates a new WebhookRead 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 (*WebhookRead) GetCreatedAt

func (o *WebhookRead) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*WebhookRead) GetCreatedAtOk

func (o *WebhookRead) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WebhookRead) GetEnvironmentId

func (o *WebhookRead) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value

func (*WebhookRead) GetEnvironmentIdOk

func (o *WebhookRead) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.

func (*WebhookRead) GetId

func (o *WebhookRead) GetId() string

GetId returns the Id field value

func (*WebhookRead) GetIdOk

func (o *WebhookRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WebhookRead) GetOrganizationId

func (o *WebhookRead) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value

func (*WebhookRead) GetOrganizationIdOk

func (o *WebhookRead) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value and a boolean to check if the value has been set.

func (*WebhookRead) GetProjectId

func (o *WebhookRead) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*WebhookRead) GetProjectIdOk

func (o *WebhookRead) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*WebhookRead) GetUpdatedAt

func (o *WebhookRead) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*WebhookRead) GetUpdatedAtOk

func (o *WebhookRead) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*WebhookRead) GetUrl

func (o *WebhookRead) GetUrl() string

GetUrl returns the Url field value

func (*WebhookRead) GetUrlOk

func (o *WebhookRead) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (WebhookRead) MarshalJSON

func (o WebhookRead) MarshalJSON() ([]byte, error)

func (*WebhookRead) SetCreatedAt

func (o *WebhookRead) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WebhookRead) SetEnvironmentId

func (o *WebhookRead) SetEnvironmentId(v string)

SetEnvironmentId sets field value

func (*WebhookRead) SetId

func (o *WebhookRead) SetId(v string)

SetId sets field value

func (*WebhookRead) SetOrganizationId

func (o *WebhookRead) SetOrganizationId(v string)

SetOrganizationId sets field value

func (*WebhookRead) SetProjectId

func (o *WebhookRead) SetProjectId(v string)

SetProjectId sets field value

func (*WebhookRead) SetUpdatedAt

func (o *WebhookRead) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*WebhookRead) SetUrl

func (o *WebhookRead) SetUrl(v string)

SetUrl sets field value

type WebhookUpdate

type WebhookUpdate struct {
	// The url to POST the webhook to
	Url *string `json:"url,omitempty"`
	// An optional bearer token to use to authenticate the request
	BearerToken *string `json:"bearer_token,omitempty"`
}

WebhookUpdate struct for WebhookUpdate

func NewWebhookUpdate

func NewWebhookUpdate() *WebhookUpdate

NewWebhookUpdate instantiates a new WebhookUpdate 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 NewWebhookUpdateWithDefaults

func NewWebhookUpdateWithDefaults() *WebhookUpdate

NewWebhookUpdateWithDefaults instantiates a new WebhookUpdate 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 (*WebhookUpdate) GetBearerToken

func (o *WebhookUpdate) GetBearerToken() string

GetBearerToken returns the BearerToken field value if set, zero value otherwise.

func (*WebhookUpdate) GetBearerTokenOk

func (o *WebhookUpdate) GetBearerTokenOk() (*string, bool)

GetBearerTokenOk returns a tuple with the BearerToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookUpdate) GetUrl

func (o *WebhookUpdate) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*WebhookUpdate) GetUrlOk

func (o *WebhookUpdate) 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 (*WebhookUpdate) HasBearerToken

func (o *WebhookUpdate) HasBearerToken() bool

HasBearerToken returns a boolean if a field has been set.

func (*WebhookUpdate) HasUrl

func (o *WebhookUpdate) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (WebhookUpdate) MarshalJSON

func (o WebhookUpdate) MarshalJSON() ([]byte, error)

func (*WebhookUpdate) SetBearerToken

func (o *WebhookUpdate) SetBearerToken(v string)

SetBearerToken gets a reference to the given string and assigns it to the BearerToken field.

func (*WebhookUpdate) SetUrl

func (o *WebhookUpdate) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL