v2api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Audit Log API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiListFolderAuditLogEntriesRequest

type ApiListFolderAuditLogEntriesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListFolderAuditLogEntriesRequest) Cursor

A pagination cursor to load further audit log entries for. May be included in the response of previous calls of the API.

func (ApiListFolderAuditLogEntriesRequest) EndTimeRange

An ISO timestamp to specify the end of the time range up until which entries should be returned, based on the eventTimeStamp. If not given, defaults to the time this request was received.

func (ApiListFolderAuditLogEntriesRequest) Execute

func (ApiListFolderAuditLogEntriesRequest) Limit

The maximum number of entries to return. If the value exceeds the allowed maximum, the maximum value will be used instead.

func (ApiListFolderAuditLogEntriesRequest) StartTimeRange

An ISO timestamp to specify the beginning of the time range from which entries should be returned, based on the eventTimeStamp. If not given, defaults to the beginning of time.

type ApiListOrganizationAuditLogEntriesRequest

type ApiListOrganizationAuditLogEntriesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListOrganizationAuditLogEntriesRequest) Cursor

A pagination cursor to load further audit log entries for. May be included in the response of previous calls of the API.

func (ApiListOrganizationAuditLogEntriesRequest) EndTimeRange

An ISO timestamp to specify the end of the time range up until which entries should be returned, based on the eventTimeStamp. If not given, defaults to the time this request was received.

func (ApiListOrganizationAuditLogEntriesRequest) Execute

func (ApiListOrganizationAuditLogEntriesRequest) Limit

The maximum number of entries to return. If the value exceeds the allowed maximum, the maximum value will be used instead.

func (ApiListOrganizationAuditLogEntriesRequest) StartTimeRange

An ISO timestamp to specify the beginning of the time range from which entries should be returned, based on the eventTimeStamp. If not given, defaults to the beginning of time.

type ApiListProjectAuditLogEntriesRequest

type ApiListProjectAuditLogEntriesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListProjectAuditLogEntriesRequest) Cursor

A pagination cursor to load further audit log entries for. May be included in the response of previous calls of the API.

func (ApiListProjectAuditLogEntriesRequest) EndTimeRange

An ISO timestamp to specify the end of the time range up until which entries should be returned, based on the eventTimeStamp. If not given, defaults to the time this request was received.

func (ApiListProjectAuditLogEntriesRequest) Execute

func (ApiListProjectAuditLogEntriesRequest) Limit

The maximum number of entries to return. If the value exceeds the allowed maximum, the maximum value will be used instead.

func (ApiListProjectAuditLogEntriesRequest) StartTimeRange

An ISO timestamp to specify the beginning of the time range from which entries should be returned, based on the eventTimeStamp. If not given, defaults to the beginning of time.

type AuditLogEntryContextResponse

type AuditLogEntryContextResponse struct {
	// Folder id
	FolderId *string `json:"folderId,omitempty"`
	// Organization id
	OrganizationId *string `json:"organizationId,omitempty"`
	// Project id
	ProjectId *string `json:"projectId,omitempty"`
}

AuditLogEntryContextResponse Request context

func NewAuditLogEntryContextResponse

func NewAuditLogEntryContextResponse() *AuditLogEntryContextResponse

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

func NewAuditLogEntryContextResponseWithDefaults

func NewAuditLogEntryContextResponseWithDefaults() *AuditLogEntryContextResponse

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

func (*AuditLogEntryContextResponse) GetFolderId

func (o *AuditLogEntryContextResponse) GetFolderId() string

GetFolderId returns the FolderId field value if set, zero value otherwise.

func (*AuditLogEntryContextResponse) GetFolderIdOk

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

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

func (*AuditLogEntryContextResponse) GetOrganizationId

func (o *AuditLogEntryContextResponse) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*AuditLogEntryContextResponse) GetOrganizationIdOk

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

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

func (*AuditLogEntryContextResponse) GetProjectId

func (o *AuditLogEntryContextResponse) GetProjectId() string

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

func (*AuditLogEntryContextResponse) GetProjectIdOk

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

func (o *AuditLogEntryContextResponse) HasFolderId() bool

HasFolderId returns a boolean if a field has been set.

func (*AuditLogEntryContextResponse) HasOrganizationId

func (o *AuditLogEntryContextResponse) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*AuditLogEntryContextResponse) HasProjectId

func (o *AuditLogEntryContextResponse) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (AuditLogEntryContextResponse) MarshalJSON

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

func (*AuditLogEntryContextResponse) SetFolderId

func (o *AuditLogEntryContextResponse) SetFolderId(v string)

SetFolderId gets a reference to the given string and assigns it to the FolderId field.

func (*AuditLogEntryContextResponse) SetOrganizationId

func (o *AuditLogEntryContextResponse) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*AuditLogEntryContextResponse) SetProjectId

func (o *AuditLogEntryContextResponse) SetProjectId(v string)

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

func (AuditLogEntryContextResponse) ToMap

func (o AuditLogEntryContextResponse) ToMap() (map[string]interface{}, error)

type AuditLogEntryInitiatorResponse

type AuditLogEntryInitiatorResponse struct {
	// E-Mail of the user or service account who triggered the request
	Email *string `json:"email,omitempty"`
	// Unique identifier of the user
	Id string `json:"id"`
}

AuditLogEntryInitiatorResponse Information about who made the request.

func NewAuditLogEntryInitiatorResponse

func NewAuditLogEntryInitiatorResponse(id string) *AuditLogEntryInitiatorResponse

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

func NewAuditLogEntryInitiatorResponseWithDefaults

func NewAuditLogEntryInitiatorResponseWithDefaults() *AuditLogEntryInitiatorResponse

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

func (*AuditLogEntryInitiatorResponse) GetEmail

func (o *AuditLogEntryInitiatorResponse) GetEmail() string

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

func (*AuditLogEntryInitiatorResponse) GetEmailOk

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

GetId returns the Id field value

func (*AuditLogEntryInitiatorResponse) GetIdOk

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

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

func (*AuditLogEntryInitiatorResponse) HasEmail

func (o *AuditLogEntryInitiatorResponse) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (AuditLogEntryInitiatorResponse) MarshalJSON

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

func (*AuditLogEntryInitiatorResponse) SetEmail

func (o *AuditLogEntryInitiatorResponse) SetEmail(v string)

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

func (*AuditLogEntryInitiatorResponse) SetId

SetId sets field value

func (AuditLogEntryInitiatorResponse) ToMap

func (o AuditLogEntryInitiatorResponse) ToMap() (map[string]interface{}, error)

func (*AuditLogEntryInitiatorResponse) UnmarshalJSON

func (o *AuditLogEntryInitiatorResponse) UnmarshalJSON(data []byte) (err error)

type AuditLogEntryRequestResponse

type AuditLogEntryRequestResponse struct {
	// Body used to make the request.
	Body map[string]interface{} `json:"body,omitempty"`
	// Endpoint which received the request.
	Endpoint string `json:"endpoint"`
	// Headers used to make the request. May only contain (string -> string) key-value pairs.
	Headers map[string]interface{} `json:"headers,omitempty"`
	// Parameters used to make the request.
	Parameters map[string]interface{} `json:"parameters,omitempty"`
}

AuditLogEntryRequestResponse Request, which mirrors the action of the user and the resulting changes within the system

func NewAuditLogEntryRequestResponse

func NewAuditLogEntryRequestResponse(endpoint string) *AuditLogEntryRequestResponse

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

func NewAuditLogEntryRequestResponseWithDefaults

func NewAuditLogEntryRequestResponseWithDefaults() *AuditLogEntryRequestResponse

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

func (*AuditLogEntryRequestResponse) GetBody

func (o *AuditLogEntryRequestResponse) GetBody() map[string]interface{}

GetBody returns the Body field value if set, zero value otherwise.

func (*AuditLogEntryRequestResponse) GetBodyOk

func (o *AuditLogEntryRequestResponse) GetBodyOk() (map[string]interface{}, bool)

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

func (*AuditLogEntryRequestResponse) GetEndpoint

func (o *AuditLogEntryRequestResponse) GetEndpoint() string

GetEndpoint returns the Endpoint field value

func (*AuditLogEntryRequestResponse) GetEndpointOk

func (o *AuditLogEntryRequestResponse) GetEndpointOk() (*string, bool)

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

func (*AuditLogEntryRequestResponse) GetHeaders

func (o *AuditLogEntryRequestResponse) GetHeaders() map[string]interface{}

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*AuditLogEntryRequestResponse) GetHeadersOk

func (o *AuditLogEntryRequestResponse) GetHeadersOk() (map[string]interface{}, bool)

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

func (*AuditLogEntryRequestResponse) GetParameters

func (o *AuditLogEntryRequestResponse) GetParameters() map[string]interface{}

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*AuditLogEntryRequestResponse) GetParametersOk

func (o *AuditLogEntryRequestResponse) GetParametersOk() (map[string]interface{}, bool)

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

func (*AuditLogEntryRequestResponse) HasBody

func (o *AuditLogEntryRequestResponse) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*AuditLogEntryRequestResponse) HasHeaders

func (o *AuditLogEntryRequestResponse) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*AuditLogEntryRequestResponse) HasParameters

func (o *AuditLogEntryRequestResponse) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (AuditLogEntryRequestResponse) MarshalJSON

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

func (*AuditLogEntryRequestResponse) SetBody

func (o *AuditLogEntryRequestResponse) SetBody(v map[string]interface{})

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

func (*AuditLogEntryRequestResponse) SetEndpoint

func (o *AuditLogEntryRequestResponse) SetEndpoint(v string)

SetEndpoint sets field value

func (*AuditLogEntryRequestResponse) SetHeaders

func (o *AuditLogEntryRequestResponse) SetHeaders(v map[string]interface{})

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

func (*AuditLogEntryRequestResponse) SetParameters

func (o *AuditLogEntryRequestResponse) SetParameters(v map[string]interface{})

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

func (AuditLogEntryRequestResponse) ToMap

func (o AuditLogEntryRequestResponse) ToMap() (map[string]interface{}, error)

func (*AuditLogEntryRequestResponse) UnmarshalJSON

func (o *AuditLogEntryRequestResponse) UnmarshalJSON(data []byte) (err error)

type AuditLogEntryResponse

type AuditLogEntryResponse struct {
	Context *AuditLogEntryContextResponse `json:"context,omitempty"`
	// Unique ID which identifies the request from the sender point of view.
	CorrelationId *string `json:"correlationId,omitempty"`
	// Additional information about the event that is not part of the request or response. May contain arbitrary data.
	Details map[string]interface{} `json:"details,omitempty"`
	// Name of the operation this event represents.
	EventName string `json:"eventName"`
	// The service in which the causing event was handled.
	EventSource string `json:"eventSource"`
	// Timestamp at which the event was triggered.
	EventTimeStamp time.Time `json:"eventTimeStamp"`
	// Type that can be assigned to the event. For example, an event \"Organization created\" can be assigned to the type ADMIN_EVENT
	EventType string `json:"eventType"`
	// Version of the log event format.
	EventVersion string `json:"eventVersion"`
	// Unique ID generated by the audit log.
	Id        string                         `json:"id"`
	Initiator AuditLogEntryInitiatorResponse `json:"initiator"`
	// Timestamp at which the event was received by the audit log.
	ReceivedTimeStamp time.Time `json:"receivedTimeStamp"`
	// Region from which the event has been emitted.
	Region  string                       `json:"region"`
	Request AuditLogEntryRequestResponse `json:"request"`
	// Unique id of the resource that is target of the operation
	ResourceId *string `json:"resourceId,omitempty"`
	// Name of the resource that is target of the operation
	ResourceName *string `json:"resourceName,omitempty"`
	// Object representing the change resulting from this event. May be omitted if no change has been applied. May contain arbitrary data.
	Result                       map[string]interface{}                             `json:"result,omitempty"`
	ServiceAccountDelegationInfo *AuditLogEntryServiceAccountDelegationInfoResponse `json:"serviceAccountDelegationInfo,omitempty"`
	// The severity of this request.
	Severity string `json:"severity"`
	// IP address that the request was made from
	SourceIpAddress string `json:"sourceIpAddress"`
	// Agent through which the request was made from (e.g. Portal, CLI, SDK, ...)
	UserAgent string `json:"userAgent"`
	// PUBLIC for entries that are intended for end users, while PRIVATE entries can only be viewed with system privileges.
	Visibility string `json:"visibility"`
}

AuditLogEntryResponse struct for AuditLogEntryResponse

func NewAuditLogEntryResponse

func NewAuditLogEntryResponse(eventName string, eventSource string, eventTimeStamp time.Time, eventType string, eventVersion string, id string, initiator AuditLogEntryInitiatorResponse, receivedTimeStamp time.Time, region string, request AuditLogEntryRequestResponse, severity string, sourceIpAddress string, userAgent string, visibility string) *AuditLogEntryResponse

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

func NewAuditLogEntryResponseWithDefaults

func NewAuditLogEntryResponseWithDefaults() *AuditLogEntryResponse

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

func (*AuditLogEntryResponse) GetContext

GetContext returns the Context field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetContextOk

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

func (*AuditLogEntryResponse) GetCorrelationId

func (o *AuditLogEntryResponse) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetCorrelationIdOk

func (o *AuditLogEntryResponse) GetCorrelationIdOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetDetails

func (o *AuditLogEntryResponse) GetDetails() map[string]interface{}

GetDetails returns the Details field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetDetailsOk

func (o *AuditLogEntryResponse) GetDetailsOk() (map[string]interface{}, bool)

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

func (*AuditLogEntryResponse) GetEventName

func (o *AuditLogEntryResponse) GetEventName() string

GetEventName returns the EventName field value

func (*AuditLogEntryResponse) GetEventNameOk

func (o *AuditLogEntryResponse) GetEventNameOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetEventSource

func (o *AuditLogEntryResponse) GetEventSource() string

GetEventSource returns the EventSource field value

func (*AuditLogEntryResponse) GetEventSourceOk

func (o *AuditLogEntryResponse) GetEventSourceOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetEventTimeStamp

func (o *AuditLogEntryResponse) GetEventTimeStamp() time.Time

GetEventTimeStamp returns the EventTimeStamp field value

func (*AuditLogEntryResponse) GetEventTimeStampOk

func (o *AuditLogEntryResponse) GetEventTimeStampOk() (*time.Time, bool)

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

func (*AuditLogEntryResponse) GetEventType

func (o *AuditLogEntryResponse) GetEventType() string

GetEventType returns the EventType field value

func (*AuditLogEntryResponse) GetEventTypeOk

func (o *AuditLogEntryResponse) GetEventTypeOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetEventVersion

func (o *AuditLogEntryResponse) GetEventVersion() string

GetEventVersion returns the EventVersion field value

func (*AuditLogEntryResponse) GetEventVersionOk

func (o *AuditLogEntryResponse) GetEventVersionOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetId

func (o *AuditLogEntryResponse) GetId() string

GetId returns the Id field value

func (*AuditLogEntryResponse) GetIdOk

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

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

func (*AuditLogEntryResponse) GetInitiator

GetInitiator returns the Initiator field value

func (*AuditLogEntryResponse) GetInitiatorOk

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

func (*AuditLogEntryResponse) GetReceivedTimeStamp

func (o *AuditLogEntryResponse) GetReceivedTimeStamp() time.Time

GetReceivedTimeStamp returns the ReceivedTimeStamp field value

func (*AuditLogEntryResponse) GetReceivedTimeStampOk

func (o *AuditLogEntryResponse) GetReceivedTimeStampOk() (*time.Time, bool)

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

func (*AuditLogEntryResponse) GetRegion

func (o *AuditLogEntryResponse) GetRegion() string

GetRegion returns the Region field value

func (*AuditLogEntryResponse) GetRegionOk

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

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

func (*AuditLogEntryResponse) GetRequest

GetRequest returns the Request field value

func (*AuditLogEntryResponse) GetRequestOk

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

func (*AuditLogEntryResponse) GetResourceId

func (o *AuditLogEntryResponse) GetResourceId() string

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

func (*AuditLogEntryResponse) GetResourceIdOk

func (o *AuditLogEntryResponse) GetResourceIdOk() (*string, 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 (*AuditLogEntryResponse) GetResourceName

func (o *AuditLogEntryResponse) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetResourceNameOk

func (o *AuditLogEntryResponse) GetResourceNameOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetResult

func (o *AuditLogEntryResponse) GetResult() map[string]interface{}

GetResult returns the Result field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetResultOk

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

func (o *AuditLogEntryResponse) GetServiceAccountDelegationInfo() AuditLogEntryServiceAccountDelegationInfoResponse

GetServiceAccountDelegationInfo returns the ServiceAccountDelegationInfo field value if set, zero value otherwise.

func (*AuditLogEntryResponse) GetServiceAccountDelegationInfoOk

func (o *AuditLogEntryResponse) GetServiceAccountDelegationInfoOk() (*AuditLogEntryServiceAccountDelegationInfoResponse, bool)

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

func (*AuditLogEntryResponse) GetSeverity

func (o *AuditLogEntryResponse) GetSeverity() string

GetSeverity returns the Severity field value

func (*AuditLogEntryResponse) GetSeverityOk

func (o *AuditLogEntryResponse) GetSeverityOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetSourceIpAddress

func (o *AuditLogEntryResponse) GetSourceIpAddress() string

GetSourceIpAddress returns the SourceIpAddress field value

func (*AuditLogEntryResponse) GetSourceIpAddressOk

func (o *AuditLogEntryResponse) GetSourceIpAddressOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetUserAgent

func (o *AuditLogEntryResponse) GetUserAgent() string

GetUserAgent returns the UserAgent field value

func (*AuditLogEntryResponse) GetUserAgentOk

func (o *AuditLogEntryResponse) GetUserAgentOk() (*string, bool)

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

func (*AuditLogEntryResponse) GetVisibility

func (o *AuditLogEntryResponse) GetVisibility() string

GetVisibility returns the Visibility field value

func (*AuditLogEntryResponse) GetVisibilityOk

func (o *AuditLogEntryResponse) GetVisibilityOk() (*string, bool)

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

func (*AuditLogEntryResponse) HasContext

func (o *AuditLogEntryResponse) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasCorrelationId

func (o *AuditLogEntryResponse) HasCorrelationId() bool

HasCorrelationId returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasDetails

func (o *AuditLogEntryResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasResourceId

func (o *AuditLogEntryResponse) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasResourceName

func (o *AuditLogEntryResponse) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasResult

func (o *AuditLogEntryResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*AuditLogEntryResponse) HasServiceAccountDelegationInfo

func (o *AuditLogEntryResponse) HasServiceAccountDelegationInfo() bool

HasServiceAccountDelegationInfo returns a boolean if a field has been set.

func (AuditLogEntryResponse) MarshalJSON

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

func (*AuditLogEntryResponse) SetContext

SetContext gets a reference to the given AuditLogEntryContextResponse and assigns it to the Context field.

func (*AuditLogEntryResponse) SetCorrelationId

func (o *AuditLogEntryResponse) SetCorrelationId(v string)

SetCorrelationId gets a reference to the given string and assigns it to the CorrelationId field.

func (*AuditLogEntryResponse) SetDetails

func (o *AuditLogEntryResponse) SetDetails(v map[string]interface{})

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

func (*AuditLogEntryResponse) SetEventName

func (o *AuditLogEntryResponse) SetEventName(v string)

SetEventName sets field value

func (*AuditLogEntryResponse) SetEventSource

func (o *AuditLogEntryResponse) SetEventSource(v string)

SetEventSource sets field value

func (*AuditLogEntryResponse) SetEventTimeStamp

func (o *AuditLogEntryResponse) SetEventTimeStamp(v time.Time)

SetEventTimeStamp sets field value

func (*AuditLogEntryResponse) SetEventType

func (o *AuditLogEntryResponse) SetEventType(v string)

SetEventType sets field value

func (*AuditLogEntryResponse) SetEventVersion

func (o *AuditLogEntryResponse) SetEventVersion(v string)

SetEventVersion sets field value

func (*AuditLogEntryResponse) SetId

func (o *AuditLogEntryResponse) SetId(v string)

SetId sets field value

func (*AuditLogEntryResponse) SetInitiator

SetInitiator sets field value

func (*AuditLogEntryResponse) SetReceivedTimeStamp

func (o *AuditLogEntryResponse) SetReceivedTimeStamp(v time.Time)

SetReceivedTimeStamp sets field value

func (*AuditLogEntryResponse) SetRegion

func (o *AuditLogEntryResponse) SetRegion(v string)

SetRegion sets field value

func (*AuditLogEntryResponse) SetRequest

SetRequest sets field value

func (*AuditLogEntryResponse) SetResourceId

func (o *AuditLogEntryResponse) SetResourceId(v string)

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

func (*AuditLogEntryResponse) SetResourceName

func (o *AuditLogEntryResponse) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*AuditLogEntryResponse) SetResult

func (o *AuditLogEntryResponse) SetResult(v map[string]interface{})

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

func (*AuditLogEntryResponse) SetServiceAccountDelegationInfo

func (o *AuditLogEntryResponse) SetServiceAccountDelegationInfo(v AuditLogEntryServiceAccountDelegationInfoResponse)

SetServiceAccountDelegationInfo gets a reference to the given AuditLogEntryServiceAccountDelegationInfoResponse and assigns it to the ServiceAccountDelegationInfo field.

func (*AuditLogEntryResponse) SetSeverity

func (o *AuditLogEntryResponse) SetSeverity(v string)

SetSeverity sets field value

func (*AuditLogEntryResponse) SetSourceIpAddress

func (o *AuditLogEntryResponse) SetSourceIpAddress(v string)

SetSourceIpAddress sets field value

func (*AuditLogEntryResponse) SetUserAgent

func (o *AuditLogEntryResponse) SetUserAgent(v string)

SetUserAgent sets field value

func (*AuditLogEntryResponse) SetVisibility

func (o *AuditLogEntryResponse) SetVisibility(v string)

SetVisibility sets field value

func (AuditLogEntryResponse) ToMap

func (o AuditLogEntryResponse) ToMap() (map[string]interface{}, error)

func (*AuditLogEntryResponse) UnmarshalJSON

func (o *AuditLogEntryResponse) UnmarshalJSON(data []byte) (err error)

type AuditLogEntryServiceAccountDelegationInfoResponse

type AuditLogEntryServiceAccountDelegationInfoResponse struct {
	// Delegation chain for the service account
	Principals []ServiceAccountDelegationInfoPrincipalResponse `json:"principals"`
}

AuditLogEntryServiceAccountDelegationInfoResponse Information about service account delegation

func NewAuditLogEntryServiceAccountDelegationInfoResponse

func NewAuditLogEntryServiceAccountDelegationInfoResponse(principals []ServiceAccountDelegationInfoPrincipalResponse) *AuditLogEntryServiceAccountDelegationInfoResponse

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

func NewAuditLogEntryServiceAccountDelegationInfoResponseWithDefaults

func NewAuditLogEntryServiceAccountDelegationInfoResponseWithDefaults() *AuditLogEntryServiceAccountDelegationInfoResponse

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

func (*AuditLogEntryServiceAccountDelegationInfoResponse) GetPrincipals

GetPrincipals returns the Principals field value

func (*AuditLogEntryServiceAccountDelegationInfoResponse) GetPrincipalsOk

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

func (AuditLogEntryServiceAccountDelegationInfoResponse) MarshalJSON

func (*AuditLogEntryServiceAccountDelegationInfoResponse) SetPrincipals

SetPrincipals sets field value

func (AuditLogEntryServiceAccountDelegationInfoResponse) ToMap

func (o AuditLogEntryServiceAccountDelegationInfoResponse) ToMap() (map[string]interface{}, error)

func (*AuditLogEntryServiceAccountDelegationInfoResponse) UnmarshalJSON

func (o *AuditLogEntryServiceAccountDelegationInfoResponse) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
			ListFolderAuditLogEntries Folder - Download audit log entries

			Returns all audit log entries of the folder for the specified period. \
		Period must not be longer than 24 hours within the last 90 days.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param folderId ID of the folder for which entries should be returned.
			@return ApiListFolderAuditLogEntriesRequest
	*/
	ListFolderAuditLogEntries(ctx context.Context, folderId string) ApiListFolderAuditLogEntriesRequest

	// ListFolderAuditLogEntriesExecute executes the request
	//  @return ListAuditLogEntriesResponse
	ListFolderAuditLogEntriesExecute(r ApiListFolderAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)

	/*
			ListOrganizationAuditLogEntries Organization - Download audit log entries

			Returns all audit log entries of the organization for the specified period. \
		Period must not be longer than 24 hours within the last 90 days.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param organizationId ID of the organization for which entries should be returned.
			@return ApiListOrganizationAuditLogEntriesRequest
	*/
	ListOrganizationAuditLogEntries(ctx context.Context, organizationId string) ApiListOrganizationAuditLogEntriesRequest

	// ListOrganizationAuditLogEntriesExecute executes the request
	//  @return ListAuditLogEntriesResponse
	ListOrganizationAuditLogEntriesExecute(r ApiListOrganizationAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)

	/*
			ListProjectAuditLogEntries Project - Download audit log entries

			Returns all audit log entries of the project for the specified period. \
		Period must not be longer than 24 hours within the last 90 days.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId ID of the project for which entries should be returned.
			@return ApiListProjectAuditLogEntriesRequest
	*/
	ListProjectAuditLogEntries(ctx context.Context, projectId string) ApiListProjectAuditLogEntriesRequest

	// ListProjectAuditLogEntriesExecute executes the request
	//  @return ListAuditLogEntriesResponse
	ListProjectAuditLogEntriesExecute(r ApiListProjectAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) ListFolderAuditLogEntries

func (a *DefaultAPIService) ListFolderAuditLogEntries(ctx context.Context, folderId string) ApiListFolderAuditLogEntriesRequest

ListFolderAuditLogEntries Folder - Download audit log entries

Returns all audit log entries of the folder for the specified period. \ Period must not be longer than 24 hours within the last 90 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param folderId ID of the folder for which entries should be returned.
@return ApiListFolderAuditLogEntriesRequest

func (*DefaultAPIService) ListFolderAuditLogEntriesExecute

Execute executes the request

@return ListAuditLogEntriesResponse

func (*DefaultAPIService) ListOrganizationAuditLogEntries

func (a *DefaultAPIService) ListOrganizationAuditLogEntries(ctx context.Context, organizationId string) ApiListOrganizationAuditLogEntriesRequest

ListOrganizationAuditLogEntries Organization - Download audit log entries

Returns all audit log entries of the organization for the specified period. \ Period must not be longer than 24 hours within the last 90 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId ID of the organization for which entries should be returned.
@return ApiListOrganizationAuditLogEntriesRequest

func (*DefaultAPIService) ListOrganizationAuditLogEntriesExecute

func (a *DefaultAPIService) ListOrganizationAuditLogEntriesExecute(r ApiListOrganizationAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)

Execute executes the request

@return ListAuditLogEntriesResponse

func (*DefaultAPIService) ListProjectAuditLogEntries

func (a *DefaultAPIService) ListProjectAuditLogEntries(ctx context.Context, projectId string) ApiListProjectAuditLogEntriesRequest

ListProjectAuditLogEntries Project - Download audit log entries

Returns all audit log entries of the project for the specified period. \ Period must not be longer than 24 hours within the last 90 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId ID of the project for which entries should be returned.
@return ApiListProjectAuditLogEntriesRequest

func (*DefaultAPIService) ListProjectAuditLogEntriesExecute

Execute executes the request

@return ListAuditLogEntriesResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// ListFolderAuditLogEntriesExecuteMock can be populated to implement the behavior of the ListFolderAuditLogEntriesExecute function of this mock
	ListFolderAuditLogEntriesExecuteMock *func(r ApiListFolderAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)
	// ListOrganizationAuditLogEntriesExecuteMock can be populated to implement the behavior of the ListOrganizationAuditLogEntriesExecute function of this mock
	ListOrganizationAuditLogEntriesExecuteMock *func(r ApiListOrganizationAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)
	// ListProjectAuditLogEntriesExecuteMock can be populated to implement the behavior of the ListProjectAuditLogEntriesExecute function of this mock
	ListProjectAuditLogEntriesExecuteMock *func(r ApiListProjectAuditLogEntriesRequest) (*ListAuditLogEntriesResponse, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) ListFolderAuditLogEntries

func (a DefaultAPIServiceMock) ListFolderAuditLogEntries(ctx context.Context, folderId string) ApiListFolderAuditLogEntriesRequest

func (DefaultAPIServiceMock) ListFolderAuditLogEntriesExecute

ListFolderAuditLogEntriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFolderAuditLogEntriesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListOrganizationAuditLogEntries

func (a DefaultAPIServiceMock) ListOrganizationAuditLogEntries(ctx context.Context, organizationId string) ApiListOrganizationAuditLogEntriesRequest

func (DefaultAPIServiceMock) ListOrganizationAuditLogEntriesExecute

ListOrganizationAuditLogEntriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListOrganizationAuditLogEntriesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListProjectAuditLogEntries

func (a DefaultAPIServiceMock) ListProjectAuditLogEntries(ctx context.Context, projectId string) ApiListProjectAuditLogEntriesRequest

func (DefaultAPIServiceMock) ListProjectAuditLogEntriesExecute

ListProjectAuditLogEntriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectAuditLogEntriesExecuteMock field in the DefaultAPIServiceMock struct.

type ErrorResponse

type ErrorResponse struct {
	// Description of the error.
	Message *string `json:"message,omitempty"`
	// Path which was called.
	Path *string `json:"path,omitempty"`
	// Http status code.
	Status *float32 `json:"status,omitempty"`
	// Timestamp at which the error occurred.
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

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

func (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

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

func (*ErrorResponse) GetMessageOk

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

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

func (*ErrorResponse) GetPath

func (o *ErrorResponse) GetPath() string

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

func (*ErrorResponse) GetPathOk

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

func (o *ErrorResponse) GetStatus() float32

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

func (*ErrorResponse) GetStatusOk

func (o *ErrorResponse) GetStatusOk() (*float32, bool)

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

func (*ErrorResponse) GetTimestamp

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

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

func (*ErrorResponse) GetTimestampOk

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

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

func (*ErrorResponse) HasMessage

func (o *ErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorResponse) HasPath

func (o *ErrorResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ErrorResponse) HasStatus

func (o *ErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasTimestamp

func (o *ErrorResponse) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

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

func (*ErrorResponse) SetPath

func (o *ErrorResponse) SetPath(v string)

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

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v float32)

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

func (*ErrorResponse) SetTimestamp

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

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

func (ErrorResponse) ToMap

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type GatewayErrorResponse

type GatewayErrorResponse struct {
	// Description of the error.
	Message *string `json:"message,omitempty"`
	// Http status code.
	Status *float32 `json:"status,omitempty"`
}

GatewayErrorResponse struct for GatewayErrorResponse

func NewGatewayErrorResponse

func NewGatewayErrorResponse() *GatewayErrorResponse

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

func NewGatewayErrorResponseWithDefaults

func NewGatewayErrorResponseWithDefaults() *GatewayErrorResponse

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

func (*GatewayErrorResponse) GetMessage

func (o *GatewayErrorResponse) GetMessage() string

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

func (*GatewayErrorResponse) GetMessageOk

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

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

func (*GatewayErrorResponse) GetStatus

func (o *GatewayErrorResponse) GetStatus() float32

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

func (*GatewayErrorResponse) GetStatusOk

func (o *GatewayErrorResponse) GetStatusOk() (*float32, bool)

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

func (*GatewayErrorResponse) HasMessage

func (o *GatewayErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GatewayErrorResponse) HasStatus

func (o *GatewayErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GatewayErrorResponse) MarshalJSON

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

func (*GatewayErrorResponse) SetMessage

func (o *GatewayErrorResponse) SetMessage(v string)

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

func (*GatewayErrorResponse) SetStatus

func (o *GatewayErrorResponse) SetStatus(v float32)

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

func (GatewayErrorResponse) ToMap

func (o GatewayErrorResponse) ToMap() (map[string]interface{}, error)

type ListAuditLogEntriesResponse

type ListAuditLogEntriesResponse struct {
	// Optional cursor if more entries are available
	Cursor *string                 `json:"cursor,omitempty"`
	Items  []AuditLogEntryResponse `json:"items,omitempty"`
	// Maximum amount of entries requested.
	Limit *float32 `json:"limit,omitempty"`
}

ListAuditLogEntriesResponse struct for ListAuditLogEntriesResponse

func NewListAuditLogEntriesResponse

func NewListAuditLogEntriesResponse() *ListAuditLogEntriesResponse

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

func NewListAuditLogEntriesResponseWithDefaults

func NewListAuditLogEntriesResponseWithDefaults() *ListAuditLogEntriesResponse

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

func (*ListAuditLogEntriesResponse) GetCursor

func (o *ListAuditLogEntriesResponse) GetCursor() string

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

func (*ListAuditLogEntriesResponse) GetCursorOk

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

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

func (*ListAuditLogEntriesResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*ListAuditLogEntriesResponse) GetItemsOk

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

func (*ListAuditLogEntriesResponse) GetLimit

func (o *ListAuditLogEntriesResponse) GetLimit() float32

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

func (*ListAuditLogEntriesResponse) GetLimitOk

func (o *ListAuditLogEntriesResponse) GetLimitOk() (*float32, bool)

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

func (*ListAuditLogEntriesResponse) HasCursor

func (o *ListAuditLogEntriesResponse) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*ListAuditLogEntriesResponse) HasItems

func (o *ListAuditLogEntriesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListAuditLogEntriesResponse) HasLimit

func (o *ListAuditLogEntriesResponse) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (ListAuditLogEntriesResponse) MarshalJSON

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

func (*ListAuditLogEntriesResponse) SetCursor

func (o *ListAuditLogEntriesResponse) SetCursor(v string)

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

func (*ListAuditLogEntriesResponse) SetItems

SetItems gets a reference to the given []AuditLogEntryResponse and assigns it to the Items field.

func (*ListAuditLogEntriesResponse) SetLimit

func (o *ListAuditLogEntriesResponse) SetLimit(v float32)

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

func (ListAuditLogEntriesResponse) ToMap

func (o ListAuditLogEntriesResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAuditLogEntryContextResponse

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

func (NullableAuditLogEntryContextResponse) Get

func (NullableAuditLogEntryContextResponse) IsSet

func (NullableAuditLogEntryContextResponse) MarshalJSON

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

func (*NullableAuditLogEntryContextResponse) Set

func (*NullableAuditLogEntryContextResponse) UnmarshalJSON

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

func (*NullableAuditLogEntryContextResponse) Unset

type NullableAuditLogEntryInitiatorResponse

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

func (NullableAuditLogEntryInitiatorResponse) Get

func (NullableAuditLogEntryInitiatorResponse) IsSet

func (NullableAuditLogEntryInitiatorResponse) MarshalJSON

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

func (*NullableAuditLogEntryInitiatorResponse) Set

func (*NullableAuditLogEntryInitiatorResponse) UnmarshalJSON

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

func (*NullableAuditLogEntryInitiatorResponse) Unset

type NullableAuditLogEntryRequestResponse

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

func (NullableAuditLogEntryRequestResponse) Get

func (NullableAuditLogEntryRequestResponse) IsSet

func (NullableAuditLogEntryRequestResponse) MarshalJSON

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

func (*NullableAuditLogEntryRequestResponse) Set

func (*NullableAuditLogEntryRequestResponse) UnmarshalJSON

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

func (*NullableAuditLogEntryRequestResponse) Unset

type NullableAuditLogEntryResponse

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

func (NullableAuditLogEntryResponse) Get

func (NullableAuditLogEntryResponse) IsSet

func (NullableAuditLogEntryResponse) MarshalJSON

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

func (*NullableAuditLogEntryResponse) Set

func (*NullableAuditLogEntryResponse) UnmarshalJSON

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

func (*NullableAuditLogEntryResponse) Unset

func (v *NullableAuditLogEntryResponse) Unset()

type NullableAuditLogEntryServiceAccountDelegationInfoResponse

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

func (NullableAuditLogEntryServiceAccountDelegationInfoResponse) Get

func (NullableAuditLogEntryServiceAccountDelegationInfoResponse) IsSet

func (NullableAuditLogEntryServiceAccountDelegationInfoResponse) MarshalJSON

func (*NullableAuditLogEntryServiceAccountDelegationInfoResponse) Set

func (*NullableAuditLogEntryServiceAccountDelegationInfoResponse) UnmarshalJSON

func (*NullableAuditLogEntryServiceAccountDelegationInfoResponse) 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 NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableGatewayErrorResponse

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

func NewNullableGatewayErrorResponse

func NewNullableGatewayErrorResponse(val *GatewayErrorResponse) *NullableGatewayErrorResponse

func (NullableGatewayErrorResponse) Get

func (NullableGatewayErrorResponse) IsSet

func (NullableGatewayErrorResponse) MarshalJSON

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

func (*NullableGatewayErrorResponse) Set

func (*NullableGatewayErrorResponse) UnmarshalJSON

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

func (*NullableGatewayErrorResponse) Unset

func (v *NullableGatewayErrorResponse) 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 NullableListAuditLogEntriesResponse

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

func (NullableListAuditLogEntriesResponse) Get

func (NullableListAuditLogEntriesResponse) IsSet

func (NullableListAuditLogEntriesResponse) MarshalJSON

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

func (*NullableListAuditLogEntriesResponse) Set

func (*NullableListAuditLogEntriesResponse) UnmarshalJSON

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

func (*NullableListAuditLogEntriesResponse) Unset

type NullableServiceAccountDelegationInfoPrincipalResponse

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

func (NullableServiceAccountDelegationInfoPrincipalResponse) Get

func (NullableServiceAccountDelegationInfoPrincipalResponse) IsSet

func (NullableServiceAccountDelegationInfoPrincipalResponse) MarshalJSON

func (*NullableServiceAccountDelegationInfoPrincipalResponse) Set

func (*NullableServiceAccountDelegationInfoPrincipalResponse) UnmarshalJSON

func (*NullableServiceAccountDelegationInfoPrincipalResponse) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ServiceAccountDelegationInfoPrincipalResponse

type ServiceAccountDelegationInfoPrincipalResponse struct {
	// E-Mail of the subject
	Email *string `json:"email,omitempty"`
	// Unique identifier of the subject
	Id string `json:"id"`
}

ServiceAccountDelegationInfoPrincipalResponse Principal in delegation chain of a service account

func NewServiceAccountDelegationInfoPrincipalResponse

func NewServiceAccountDelegationInfoPrincipalResponse(id string) *ServiceAccountDelegationInfoPrincipalResponse

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

func NewServiceAccountDelegationInfoPrincipalResponseWithDefaults

func NewServiceAccountDelegationInfoPrincipalResponseWithDefaults() *ServiceAccountDelegationInfoPrincipalResponse

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

func (*ServiceAccountDelegationInfoPrincipalResponse) GetEmail

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

func (*ServiceAccountDelegationInfoPrincipalResponse) GetEmailOk

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 (*ServiceAccountDelegationInfoPrincipalResponse) GetId

GetId returns the Id field value

func (*ServiceAccountDelegationInfoPrincipalResponse) GetIdOk

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

func (*ServiceAccountDelegationInfoPrincipalResponse) HasEmail

HasEmail returns a boolean if a field has been set.

func (ServiceAccountDelegationInfoPrincipalResponse) MarshalJSON

func (*ServiceAccountDelegationInfoPrincipalResponse) SetEmail

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

func (*ServiceAccountDelegationInfoPrincipalResponse) SetId

SetId sets field value

func (ServiceAccountDelegationInfoPrincipalResponse) ToMap

func (o ServiceAccountDelegationInfoPrincipalResponse) ToMap() (map[string]interface{}, error)

func (*ServiceAccountDelegationInfoPrincipalResponse) UnmarshalJSON

func (o *ServiceAccountDelegationInfoPrincipalResponse) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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