openapi

package
v0.0.0-...-68c2f88 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 20 Imported by: 0

README

Go API client for openapi

Ambient API Server

Overview

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

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.16.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:8000

Class Method HTTP request Description
DefaultAPI ApiAmbientV1ProjectSettingsGet Get /api/ambient/v1/project_settings Returns a list of project settings
DefaultAPI ApiAmbientV1ProjectSettingsIdDelete Delete /api/ambient/v1/project_settings/{id} Delete a project settings by id
DefaultAPI ApiAmbientV1ProjectSettingsIdGet Get /api/ambient/v1/project_settings/{id} Get a project settings by id
DefaultAPI ApiAmbientV1ProjectSettingsIdPatch Patch /api/ambient/v1/project_settings/{id} Update a project settings
DefaultAPI ApiAmbientV1ProjectSettingsPost Post /api/ambient/v1/project_settings Create a new project settings
DefaultAPI ApiAmbientV1ProjectsGet Get /api/ambient/v1/projects Returns a list of projects
DefaultAPI ApiAmbientV1ProjectsIdDelete Delete /api/ambient/v1/projects/{id} Delete a project by id
DefaultAPI ApiAmbientV1ProjectsIdGet Get /api/ambient/v1/projects/{id} Get a project by id
DefaultAPI ApiAmbientV1ProjectsIdPatch Patch /api/ambient/v1/projects/{id} Update a project
DefaultAPI ApiAmbientV1ProjectsPost Post /api/ambient/v1/projects Create a new project
DefaultAPI ApiAmbientV1SessionsGet Get /api/ambient/v1/sessions Returns a list of sessions
DefaultAPI ApiAmbientV1SessionsIdGet Get /api/ambient/v1/sessions/{id} Get an session by id
DefaultAPI ApiAmbientV1SessionsIdPatch Patch /api/ambient/v1/sessions/{id} Update an session
DefaultAPI ApiAmbientV1SessionsIdStartPost Post /api/ambient/v1/sessions/{id}/start Start a session
DefaultAPI ApiAmbientV1SessionsIdStatusPatch Patch /api/ambient/v1/sessions/{id}/status Update session status fields
DefaultAPI ApiAmbientV1SessionsIdStopPost Post /api/ambient/v1/sessions/{id}/stop Stop a session
DefaultAPI ApiAmbientV1SessionsPost Post /api/ambient/v1/sessions Create a new session
DefaultAPI ApiAmbientV1UsersGet Get /api/ambient/v1/users Returns a list of users
DefaultAPI ApiAmbientV1UsersIdGet Get /api/ambient/v1/users/{id} Get an user by id
DefaultAPI ApiAmbientV1UsersIdPatch Patch /api/ambient/v1/users/{id} Update an user
DefaultAPI ApiAmbientV1UsersPost Post /api/ambient/v1/users Create a new user

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Bearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), openapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func 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 APIClient

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

APIClient manages communication with the Ambient API Server API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiApiAmbientV1ProjectSettingsGetRequest

type ApiApiAmbientV1ProjectSettingsGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectSettingsGetRequest) Execute

func (ApiApiAmbientV1ProjectSettingsGetRequest) Fields

Supplies a comma-separated list of fields to be returned

func (ApiApiAmbientV1ProjectSettingsGetRequest) OrderBy

Specifies the order by criteria

func (ApiApiAmbientV1ProjectSettingsGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiAmbientV1ProjectSettingsGetRequest) Search

Specifies the search criteria

func (ApiApiAmbientV1ProjectSettingsGetRequest) Size

Maximum number of records to return

type ApiApiAmbientV1ProjectSettingsIdDeleteRequest

type ApiApiAmbientV1ProjectSettingsIdDeleteRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectSettingsIdDeleteRequest) Execute

type ApiApiAmbientV1ProjectSettingsIdGetRequest

type ApiApiAmbientV1ProjectSettingsIdGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectSettingsIdGetRequest) Execute

type ApiApiAmbientV1ProjectSettingsIdPatchRequest

type ApiApiAmbientV1ProjectSettingsIdPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectSettingsIdPatchRequest) Execute

func (ApiApiAmbientV1ProjectSettingsIdPatchRequest) ProjectSettingsPatchRequest

Updated project settings data

type ApiApiAmbientV1ProjectSettingsPostRequest

type ApiApiAmbientV1ProjectSettingsPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectSettingsPostRequest) Execute

func (ApiApiAmbientV1ProjectSettingsPostRequest) ProjectSettings

Project settings data

type ApiApiAmbientV1ProjectsGetRequest

type ApiApiAmbientV1ProjectsGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectsGetRequest) Execute

func (ApiApiAmbientV1ProjectsGetRequest) Fields

Supplies a comma-separated list of fields to be returned

func (ApiApiAmbientV1ProjectsGetRequest) OrderBy

Specifies the order by criteria

func (ApiApiAmbientV1ProjectsGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiAmbientV1ProjectsGetRequest) Search

Specifies the search criteria

func (ApiApiAmbientV1ProjectsGetRequest) Size

Maximum number of records to return

type ApiApiAmbientV1ProjectsIdDeleteRequest

type ApiApiAmbientV1ProjectsIdDeleteRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectsIdDeleteRequest) Execute

type ApiApiAmbientV1ProjectsIdGetRequest

type ApiApiAmbientV1ProjectsIdGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectsIdGetRequest) Execute

type ApiApiAmbientV1ProjectsIdPatchRequest

type ApiApiAmbientV1ProjectsIdPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectsIdPatchRequest) Execute

func (ApiApiAmbientV1ProjectsIdPatchRequest) ProjectPatchRequest

Updated project data

type ApiApiAmbientV1ProjectsPostRequest

type ApiApiAmbientV1ProjectsPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1ProjectsPostRequest) Execute

func (ApiApiAmbientV1ProjectsPostRequest) Project

Project data

type ApiApiAmbientV1SessionsGetRequest

type ApiApiAmbientV1SessionsGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsGetRequest) Execute

func (ApiApiAmbientV1SessionsGetRequest) Fields

Supplies a comma-separated list of fields to be returned

func (ApiApiAmbientV1SessionsGetRequest) OrderBy

Specifies the order by criteria

func (ApiApiAmbientV1SessionsGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiAmbientV1SessionsGetRequest) Search

Specifies the search criteria

func (ApiApiAmbientV1SessionsGetRequest) Size

Maximum number of records to return

type ApiApiAmbientV1SessionsIdGetRequest

type ApiApiAmbientV1SessionsIdGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsIdGetRequest) Execute

type ApiApiAmbientV1SessionsIdPatchRequest

type ApiApiAmbientV1SessionsIdPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsIdPatchRequest) Execute

func (ApiApiAmbientV1SessionsIdPatchRequest) SessionPatchRequest

Updated session data

type ApiApiAmbientV1SessionsIdStartPostRequest

type ApiApiAmbientV1SessionsIdStartPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsIdStartPostRequest) Execute

type ApiApiAmbientV1SessionsIdStatusPatchRequest

type ApiApiAmbientV1SessionsIdStatusPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsIdStatusPatchRequest) Execute

func (ApiApiAmbientV1SessionsIdStatusPatchRequest) SessionStatusPatchRequest

Session status fields to update

type ApiApiAmbientV1SessionsIdStopPostRequest

type ApiApiAmbientV1SessionsIdStopPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsIdStopPostRequest) Execute

type ApiApiAmbientV1SessionsPostRequest

type ApiApiAmbientV1SessionsPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1SessionsPostRequest) Execute

func (ApiApiAmbientV1SessionsPostRequest) Session

Session data

type ApiApiAmbientV1UsersGetRequest

type ApiApiAmbientV1UsersGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1UsersGetRequest) Execute

func (ApiApiAmbientV1UsersGetRequest) Fields

Supplies a comma-separated list of fields to be returned

func (ApiApiAmbientV1UsersGetRequest) OrderBy

Specifies the order by criteria

func (ApiApiAmbientV1UsersGetRequest) Page

Page number of record list when record list exceeds specified page size

func (ApiApiAmbientV1UsersGetRequest) Search

Specifies the search criteria

func (ApiApiAmbientV1UsersGetRequest) Size

Maximum number of records to return

type ApiApiAmbientV1UsersIdGetRequest

type ApiApiAmbientV1UsersIdGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1UsersIdGetRequest) Execute

type ApiApiAmbientV1UsersIdPatchRequest

type ApiApiAmbientV1UsersIdPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1UsersIdPatchRequest) Execute

func (ApiApiAmbientV1UsersIdPatchRequest) UserPatchRequest

Updated user data

type ApiApiAmbientV1UsersPostRequest

type ApiApiAmbientV1UsersPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiApiAmbientV1UsersPostRequest) Execute

func (ApiApiAmbientV1UsersPostRequest) User

User data

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsGet

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsGet(ctx context.Context) ApiApiAmbientV1ProjectSettingsGetRequest

ApiAmbientV1ProjectSettingsGet Returns a list of project settings

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

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsGetExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsGetExecute(r ApiApiAmbientV1ProjectSettingsGetRequest) (*ProjectSettingsList, *http.Response, error)

Execute executes the request

@return ProjectSettingsList

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdDelete

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdDelete(ctx context.Context, id string) ApiApiAmbientV1ProjectSettingsIdDeleteRequest

ApiAmbientV1ProjectSettingsIdDelete Delete a project settings by id

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

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdDeleteExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdDeleteExecute(r ApiApiAmbientV1ProjectSettingsIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdGet

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdGet(ctx context.Context, id string) ApiApiAmbientV1ProjectSettingsIdGetRequest

ApiAmbientV1ProjectSettingsIdGet Get a project settings by id

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

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdGetExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdGetExecute(r ApiApiAmbientV1ProjectSettingsIdGetRequest) (*ProjectSettings, *http.Response, error)

Execute executes the request

@return ProjectSettings

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdPatch

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdPatch(ctx context.Context, id string) ApiApiAmbientV1ProjectSettingsIdPatchRequest

ApiAmbientV1ProjectSettingsIdPatch Update a project settings

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

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsIdPatchExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsIdPatchExecute(r ApiApiAmbientV1ProjectSettingsIdPatchRequest) (*ProjectSettings, *http.Response, error)

Execute executes the request

@return ProjectSettings

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsPost

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsPost(ctx context.Context) ApiApiAmbientV1ProjectSettingsPostRequest

ApiAmbientV1ProjectSettingsPost Create a new project settings

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

func (*DefaultAPIService) ApiAmbientV1ProjectSettingsPostExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectSettingsPostExecute(r ApiApiAmbientV1ProjectSettingsPostRequest) (*ProjectSettings, *http.Response, error)

Execute executes the request

@return ProjectSettings

func (*DefaultAPIService) ApiAmbientV1ProjectsGet

func (a *DefaultAPIService) ApiAmbientV1ProjectsGet(ctx context.Context) ApiApiAmbientV1ProjectsGetRequest

ApiAmbientV1ProjectsGet Returns a list of projects

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

func (*DefaultAPIService) ApiAmbientV1ProjectsGetExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectsGetExecute(r ApiApiAmbientV1ProjectsGetRequest) (*ProjectList, *http.Response, error)

Execute executes the request

@return ProjectList

func (*DefaultAPIService) ApiAmbientV1ProjectsIdDelete

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdDelete(ctx context.Context, id string) ApiApiAmbientV1ProjectsIdDeleteRequest

ApiAmbientV1ProjectsIdDelete Delete a project by id

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

func (*DefaultAPIService) ApiAmbientV1ProjectsIdDeleteExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdDeleteExecute(r ApiApiAmbientV1ProjectsIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ApiAmbientV1ProjectsIdGet

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdGet(ctx context.Context, id string) ApiApiAmbientV1ProjectsIdGetRequest

ApiAmbientV1ProjectsIdGet Get a project by id

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

func (*DefaultAPIService) ApiAmbientV1ProjectsIdGetExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdGetExecute(r ApiApiAmbientV1ProjectsIdGetRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*DefaultAPIService) ApiAmbientV1ProjectsIdPatch

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdPatch(ctx context.Context, id string) ApiApiAmbientV1ProjectsIdPatchRequest

ApiAmbientV1ProjectsIdPatch Update a project

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

func (*DefaultAPIService) ApiAmbientV1ProjectsIdPatchExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectsIdPatchExecute(r ApiApiAmbientV1ProjectsIdPatchRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*DefaultAPIService) ApiAmbientV1ProjectsPost

func (a *DefaultAPIService) ApiAmbientV1ProjectsPost(ctx context.Context) ApiApiAmbientV1ProjectsPostRequest

ApiAmbientV1ProjectsPost Create a new project

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

func (*DefaultAPIService) ApiAmbientV1ProjectsPostExecute

func (a *DefaultAPIService) ApiAmbientV1ProjectsPostExecute(r ApiApiAmbientV1ProjectsPostRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*DefaultAPIService) ApiAmbientV1SessionsGet

func (a *DefaultAPIService) ApiAmbientV1SessionsGet(ctx context.Context) ApiApiAmbientV1SessionsGetRequest

ApiAmbientV1SessionsGet Returns a list of sessions

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

func (*DefaultAPIService) ApiAmbientV1SessionsGetExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsGetExecute(r ApiApiAmbientV1SessionsGetRequest) (*SessionList, *http.Response, error)

Execute executes the request

@return SessionList

func (*DefaultAPIService) ApiAmbientV1SessionsIdGet

func (a *DefaultAPIService) ApiAmbientV1SessionsIdGet(ctx context.Context, id string) ApiApiAmbientV1SessionsIdGetRequest

ApiAmbientV1SessionsIdGet Get an session by id

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

func (*DefaultAPIService) ApiAmbientV1SessionsIdGetExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsIdGetExecute(r ApiApiAmbientV1SessionsIdGetRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1SessionsIdPatch

func (a *DefaultAPIService) ApiAmbientV1SessionsIdPatch(ctx context.Context, id string) ApiApiAmbientV1SessionsIdPatchRequest

ApiAmbientV1SessionsIdPatch Update an session

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

func (*DefaultAPIService) ApiAmbientV1SessionsIdPatchExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsIdPatchExecute(r ApiApiAmbientV1SessionsIdPatchRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1SessionsIdStartPost

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStartPost(ctx context.Context, id string) ApiApiAmbientV1SessionsIdStartPostRequest

ApiAmbientV1SessionsIdStartPost Start a session

Transitions session phase to Pending. Valid from empty/nil, Stopped, Failed, or Completed phase.

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

func (*DefaultAPIService) ApiAmbientV1SessionsIdStartPostExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStartPostExecute(r ApiApiAmbientV1SessionsIdStartPostRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1SessionsIdStatusPatch

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStatusPatch(ctx context.Context, id string) ApiApiAmbientV1SessionsIdStatusPatchRequest

ApiAmbientV1SessionsIdStatusPatch Update session status fields

Write-back endpoint for control plane to sync runtime status from Kubernetes CR

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

func (*DefaultAPIService) ApiAmbientV1SessionsIdStatusPatchExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStatusPatchExecute(r ApiApiAmbientV1SessionsIdStatusPatchRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1SessionsIdStopPost

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStopPost(ctx context.Context, id string) ApiApiAmbientV1SessionsIdStopPostRequest

ApiAmbientV1SessionsIdStopPost Stop a session

Transitions session phase to Stopping. Valid from Running, Creating, or Pending phase.

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

func (*DefaultAPIService) ApiAmbientV1SessionsIdStopPostExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsIdStopPostExecute(r ApiApiAmbientV1SessionsIdStopPostRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1SessionsPost

func (a *DefaultAPIService) ApiAmbientV1SessionsPost(ctx context.Context) ApiApiAmbientV1SessionsPostRequest

ApiAmbientV1SessionsPost Create a new session

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

func (*DefaultAPIService) ApiAmbientV1SessionsPostExecute

func (a *DefaultAPIService) ApiAmbientV1SessionsPostExecute(r ApiApiAmbientV1SessionsPostRequest) (*Session, *http.Response, error)

Execute executes the request

@return Session

func (*DefaultAPIService) ApiAmbientV1UsersGet

func (a *DefaultAPIService) ApiAmbientV1UsersGet(ctx context.Context) ApiApiAmbientV1UsersGetRequest

ApiAmbientV1UsersGet Returns a list of users

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

func (*DefaultAPIService) ApiAmbientV1UsersGetExecute

func (a *DefaultAPIService) ApiAmbientV1UsersGetExecute(r ApiApiAmbientV1UsersGetRequest) (*UserList, *http.Response, error)

Execute executes the request

@return UserList

func (*DefaultAPIService) ApiAmbientV1UsersIdGet

func (a *DefaultAPIService) ApiAmbientV1UsersIdGet(ctx context.Context, id string) ApiApiAmbientV1UsersIdGetRequest

ApiAmbientV1UsersIdGet Get an user by id

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

func (*DefaultAPIService) ApiAmbientV1UsersIdGetExecute

func (a *DefaultAPIService) ApiAmbientV1UsersIdGetExecute(r ApiApiAmbientV1UsersIdGetRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*DefaultAPIService) ApiAmbientV1UsersIdPatch

func (a *DefaultAPIService) ApiAmbientV1UsersIdPatch(ctx context.Context, id string) ApiApiAmbientV1UsersIdPatchRequest

ApiAmbientV1UsersIdPatch Update an user

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

func (*DefaultAPIService) ApiAmbientV1UsersIdPatchExecute

func (a *DefaultAPIService) ApiAmbientV1UsersIdPatchExecute(r ApiApiAmbientV1UsersIdPatchRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*DefaultAPIService) ApiAmbientV1UsersPost

func (a *DefaultAPIService) ApiAmbientV1UsersPost(ctx context.Context) ApiApiAmbientV1UsersPostRequest

ApiAmbientV1UsersPost Create a new user

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

func (*DefaultAPIService) ApiAmbientV1UsersPostExecute

func (a *DefaultAPIService) ApiAmbientV1UsersPostExecute(r ApiApiAmbientV1UsersPostRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type Error

type Error struct {
	Id          *string    `json:"id,omitempty"`
	Kind        *string    `json:"kind,omitempty"`
	Href        *string    `json:"href,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	Code        *string    `json:"code,omitempty"`
	Reason      *string    `json:"reason,omitempty"`
	OperationId *string    `json:"operation_id,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

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

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

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

func (*Error) GetCode

func (o *Error) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*string, bool)

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

func (*Error) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Error) GetCreatedAtOk

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

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

func (*Error) GetHref

func (o *Error) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Error) GetHrefOk

func (o *Error) GetHrefOk() (*string, bool)

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

func (*Error) GetId

func (o *Error) GetId() string

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

func (*Error) GetIdOk

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

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

func (*Error) GetKind

func (o *Error) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Error) GetKindOk

func (o *Error) GetKindOk() (*string, bool)

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

func (*Error) GetOperationId

func (o *Error) GetOperationId() string

GetOperationId returns the OperationId field value if set, zero value otherwise.

func (*Error) GetOperationIdOk

func (o *Error) GetOperationIdOk() (*string, bool)

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

func (*Error) GetReason

func (o *Error) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*Error) GetReasonOk

func (o *Error) GetReasonOk() (*string, bool)

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

func (*Error) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Error) GetUpdatedAtOk

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

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

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasCreatedAt

func (o *Error) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Error) HasHref

func (o *Error) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Error) HasId

func (o *Error) HasId() bool

HasId returns a boolean if a field has been set.

func (*Error) HasKind

func (o *Error) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Error) HasOperationId

func (o *Error) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

func (*Error) HasReason

func (o *Error) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*Error) HasUpdatedAt

func (o *Error) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCode

func (o *Error) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Error) SetHref

func (o *Error) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Error) SetId

func (o *Error) SetId(v string)

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

func (*Error) SetKind

func (o *Error) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Error) SetOperationId

func (o *Error) SetOperationId(v string)

SetOperationId gets a reference to the given string and assigns it to the OperationId field.

func (*Error) SetReason

func (o *Error) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*Error) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Error) ToMap

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type List

type List struct {
	Kind  string `json:"kind"`
	Page  int32  `json:"page"`
	Size  int32  `json:"size"`
	Total int32  `json:"total"`
}

List struct for List

func NewList

func NewList(kind string, page int32, size int32, total int32) *List

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

func NewListWithDefaults

func NewListWithDefaults() *List

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

func (*List) GetKind

func (o *List) GetKind() string

GetKind returns the Kind field value

func (*List) GetKindOk

func (o *List) GetKindOk() (*string, bool)

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

func (*List) GetPage

func (o *List) GetPage() int32

GetPage returns the Page field value

func (*List) GetPageOk

func (o *List) GetPageOk() (*int32, bool)

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

func (*List) GetSize

func (o *List) GetSize() int32

GetSize returns the Size field value

func (*List) GetSizeOk

func (o *List) GetSizeOk() (*int32, bool)

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

func (*List) GetTotal

func (o *List) GetTotal() int32

GetTotal returns the Total field value

func (*List) GetTotalOk

func (o *List) GetTotalOk() (*int32, bool)

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

func (List) MarshalJSON

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

func (*List) SetKind

func (o *List) SetKind(v string)

SetKind sets field value

func (*List) SetPage

func (o *List) SetPage(v int32)

SetPage sets field value

func (*List) SetSize

func (o *List) SetSize(v int32)

SetSize sets field value

func (*List) SetTotal

func (o *List) SetTotal(v int32)

SetTotal sets field value

func (List) ToMap

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

func (*List) UnmarshalJSON

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

type MappedNullable

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

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 NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableList

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

func NewNullableList

func NewNullableList(val *List) *NullableList

func (NullableList) Get

func (v NullableList) Get() *List

func (NullableList) IsSet

func (v NullableList) IsSet() bool

func (NullableList) MarshalJSON

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

func (*NullableList) Set

func (v *NullableList) Set(val *List)

func (*NullableList) UnmarshalJSON

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

func (*NullableList) Unset

func (v *NullableList) Unset()

type NullableObjectReference

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

func NewNullableObjectReference

func NewNullableObjectReference(val *ObjectReference) *NullableObjectReference

func (NullableObjectReference) Get

func (NullableObjectReference) IsSet

func (v NullableObjectReference) IsSet() bool

func (NullableObjectReference) MarshalJSON

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

func (*NullableObjectReference) Set

func (*NullableObjectReference) UnmarshalJSON

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

func (*NullableObjectReference) Unset

func (v *NullableObjectReference) Unset()

type NullableProject

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

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

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

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

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

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableProjectList

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

func NewNullableProjectList

func NewNullableProjectList(val *ProjectList) *NullableProjectList

func (NullableProjectList) Get

func (NullableProjectList) IsSet

func (v NullableProjectList) IsSet() bool

func (NullableProjectList) MarshalJSON

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

func (*NullableProjectList) Set

func (v *NullableProjectList) Set(val *ProjectList)

func (*NullableProjectList) UnmarshalJSON

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

func (*NullableProjectList) Unset

func (v *NullableProjectList) Unset()

type NullableProjectPatchRequest

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

func NewNullableProjectPatchRequest

func NewNullableProjectPatchRequest(val *ProjectPatchRequest) *NullableProjectPatchRequest

func (NullableProjectPatchRequest) Get

func (NullableProjectPatchRequest) IsSet

func (NullableProjectPatchRequest) MarshalJSON

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

func (*NullableProjectPatchRequest) Set

func (*NullableProjectPatchRequest) UnmarshalJSON

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

func (*NullableProjectPatchRequest) Unset

func (v *NullableProjectPatchRequest) Unset()

type NullableProjectSettings

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

func NewNullableProjectSettings

func NewNullableProjectSettings(val *ProjectSettings) *NullableProjectSettings

func (NullableProjectSettings) Get

func (NullableProjectSettings) IsSet

func (v NullableProjectSettings) IsSet() bool

func (NullableProjectSettings) MarshalJSON

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

func (*NullableProjectSettings) Set

func (*NullableProjectSettings) UnmarshalJSON

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

func (*NullableProjectSettings) Unset

func (v *NullableProjectSettings) Unset()

type NullableProjectSettingsList

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

func NewNullableProjectSettingsList

func NewNullableProjectSettingsList(val *ProjectSettingsList) *NullableProjectSettingsList

func (NullableProjectSettingsList) Get

func (NullableProjectSettingsList) IsSet

func (NullableProjectSettingsList) MarshalJSON

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

func (*NullableProjectSettingsList) Set

func (*NullableProjectSettingsList) UnmarshalJSON

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

func (*NullableProjectSettingsList) Unset

func (v *NullableProjectSettingsList) Unset()

type NullableProjectSettingsPatchRequest

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

func (NullableProjectSettingsPatchRequest) Get

func (NullableProjectSettingsPatchRequest) IsSet

func (NullableProjectSettingsPatchRequest) MarshalJSON

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

func (*NullableProjectSettingsPatchRequest) Set

func (*NullableProjectSettingsPatchRequest) UnmarshalJSON

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

func (*NullableProjectSettingsPatchRequest) Unset

type NullableSession

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

func NewNullableSession

func NewNullableSession(val *Session) *NullableSession

func (NullableSession) Get

func (v NullableSession) Get() *Session

func (NullableSession) IsSet

func (v NullableSession) IsSet() bool

func (NullableSession) MarshalJSON

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

func (*NullableSession) Set

func (v *NullableSession) Set(val *Session)

func (*NullableSession) UnmarshalJSON

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

func (*NullableSession) Unset

func (v *NullableSession) Unset()

type NullableSessionList

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

func NewNullableSessionList

func NewNullableSessionList(val *SessionList) *NullableSessionList

func (NullableSessionList) Get

func (NullableSessionList) IsSet

func (v NullableSessionList) IsSet() bool

func (NullableSessionList) MarshalJSON

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

func (*NullableSessionList) Set

func (v *NullableSessionList) Set(val *SessionList)

func (*NullableSessionList) UnmarshalJSON

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

func (*NullableSessionList) Unset

func (v *NullableSessionList) Unset()

type NullableSessionPatchRequest

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

func NewNullableSessionPatchRequest

func NewNullableSessionPatchRequest(val *SessionPatchRequest) *NullableSessionPatchRequest

func (NullableSessionPatchRequest) Get

func (NullableSessionPatchRequest) IsSet

func (NullableSessionPatchRequest) MarshalJSON

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

func (*NullableSessionPatchRequest) Set

func (*NullableSessionPatchRequest) UnmarshalJSON

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

func (*NullableSessionPatchRequest) Unset

func (v *NullableSessionPatchRequest) Unset()

type NullableSessionStatusPatchRequest

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

func (NullableSessionStatusPatchRequest) Get

func (NullableSessionStatusPatchRequest) IsSet

func (NullableSessionStatusPatchRequest) MarshalJSON

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

func (*NullableSessionStatusPatchRequest) Set

func (*NullableSessionStatusPatchRequest) UnmarshalJSON

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

func (*NullableSessionStatusPatchRequest) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserList

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

func NewNullableUserList

func NewNullableUserList(val *UserList) *NullableUserList

func (NullableUserList) Get

func (v NullableUserList) Get() *UserList

func (NullableUserList) IsSet

func (v NullableUserList) IsSet() bool

func (NullableUserList) MarshalJSON

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

func (*NullableUserList) Set

func (v *NullableUserList) Set(val *UserList)

func (*NullableUserList) UnmarshalJSON

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

func (*NullableUserList) Unset

func (v *NullableUserList) Unset()

type NullableUserPatchRequest

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

func NewNullableUserPatchRequest

func NewNullableUserPatchRequest(val *UserPatchRequest) *NullableUserPatchRequest

func (NullableUserPatchRequest) Get

func (NullableUserPatchRequest) IsSet

func (v NullableUserPatchRequest) IsSet() bool

func (NullableUserPatchRequest) MarshalJSON

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

func (*NullableUserPatchRequest) Set

func (*NullableUserPatchRequest) UnmarshalJSON

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

func (*NullableUserPatchRequest) Unset

func (v *NullableUserPatchRequest) Unset()

type ObjectReference

type ObjectReference struct {
	Id        *string    `json:"id,omitempty"`
	Kind      *string    `json:"kind,omitempty"`
	Href      *string    `json:"href,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ObjectReference struct for ObjectReference

func NewObjectReference

func NewObjectReference() *ObjectReference

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

func NewObjectReferenceWithDefaults

func NewObjectReferenceWithDefaults() *ObjectReference

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

func (*ObjectReference) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ObjectReference) GetCreatedAtOk

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

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

func (*ObjectReference) GetHref

func (o *ObjectReference) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*ObjectReference) GetHrefOk

func (o *ObjectReference) GetHrefOk() (*string, bool)

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

func (*ObjectReference) GetId

func (o *ObjectReference) GetId() string

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

func (*ObjectReference) GetIdOk

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

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

func (*ObjectReference) GetKind

func (o *ObjectReference) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ObjectReference) GetKindOk

func (o *ObjectReference) GetKindOk() (*string, bool)

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

func (*ObjectReference) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ObjectReference) GetUpdatedAtOk

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

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

func (*ObjectReference) HasCreatedAt

func (o *ObjectReference) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ObjectReference) HasHref

func (o *ObjectReference) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ObjectReference) HasId

func (o *ObjectReference) HasId() bool

HasId returns a boolean if a field has been set.

func (*ObjectReference) HasKind

func (o *ObjectReference) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ObjectReference) HasUpdatedAt

func (o *ObjectReference) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ObjectReference) MarshalJSON

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

func (*ObjectReference) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ObjectReference) SetHref

func (o *ObjectReference) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ObjectReference) SetId

func (o *ObjectReference) SetId(v string)

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

func (*ObjectReference) SetKind

func (o *ObjectReference) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ObjectReference) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ObjectReference) ToMap

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

type Project

type Project struct {
	Id          *string    `json:"id,omitempty"`
	Kind        *string    `json:"kind,omitempty"`
	Href        *string    `json:"href,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	Name        string     `json:"name"`
	DisplayName *string    `json:"display_name,omitempty"`
	Description *string    `json:"description,omitempty"`
	Labels      *string    `json:"labels,omitempty"`
	Annotations *string    `json:"annotations,omitempty"`
	Status      *string    `json:"status,omitempty"`
}

Project struct for Project

func NewProject

func NewProject(name string) *Project

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

func NewProjectWithDefaults

func NewProjectWithDefaults() *Project

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

func (*Project) GetAnnotations

func (o *Project) GetAnnotations() string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*Project) GetAnnotationsOk

func (o *Project) GetAnnotationsOk() (*string, bool)

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

func (*Project) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Project) GetCreatedAtOk

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

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

func (*Project) GetDescription

func (o *Project) GetDescription() string

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

func (*Project) GetDescriptionOk

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

func (o *Project) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*Project) GetDisplayNameOk

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

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

func (*Project) GetHref

func (o *Project) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Project) GetHrefOk

func (o *Project) GetHrefOk() (*string, bool)

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

func (*Project) GetId

func (o *Project) GetId() string

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

func (*Project) GetIdOk

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

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

func (*Project) GetKind

func (o *Project) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Project) GetKindOk

func (o *Project) GetKindOk() (*string, bool)

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

func (*Project) GetLabels

func (o *Project) GetLabels() string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Project) GetLabelsOk

func (o *Project) GetLabelsOk() (*string, bool)

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

func (*Project) GetName

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk

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

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

func (*Project) GetStatus

func (o *Project) GetStatus() string

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

func (*Project) GetStatusOk

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

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

func (*Project) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Project) GetUpdatedAtOk

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

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

func (*Project) HasAnnotations

func (o *Project) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*Project) HasCreatedAt

func (o *Project) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Project) HasDescription

func (o *Project) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Project) HasDisplayName

func (o *Project) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Project) HasHref

func (o *Project) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Project) HasId

func (o *Project) HasId() bool

HasId returns a boolean if a field has been set.

func (*Project) HasKind

func (o *Project) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Project) HasLabels

func (o *Project) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Project) HasStatus

func (o *Project) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Project) HasUpdatedAt

func (o *Project) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Project) MarshalJSON

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

func (*Project) SetAnnotations

func (o *Project) SetAnnotations(v string)

SetAnnotations gets a reference to the given string and assigns it to the Annotations field.

func (*Project) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Project) SetDescription

func (o *Project) SetDescription(v string)

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

func (*Project) SetDisplayName

func (o *Project) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*Project) SetHref

func (o *Project) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Project) SetId

func (o *Project) SetId(v string)

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

func (*Project) SetKind

func (o *Project) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Project) SetLabels

func (o *Project) SetLabels(v string)

SetLabels gets a reference to the given string and assigns it to the Labels field.

func (*Project) SetName

func (o *Project) SetName(v string)

SetName sets field value

func (*Project) SetStatus

func (o *Project) SetStatus(v string)

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

func (*Project) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Project) ToMap

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

func (*Project) UnmarshalJSON

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

type ProjectList

type ProjectList struct {
	Kind  string    `json:"kind"`
	Page  int32     `json:"page"`
	Size  int32     `json:"size"`
	Total int32     `json:"total"`
	Items []Project `json:"items"`
}

ProjectList struct for ProjectList

func NewProjectList

func NewProjectList(kind string, page int32, size int32, total int32, items []Project) *ProjectList

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

func NewProjectListWithDefaults

func NewProjectListWithDefaults() *ProjectList

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

func (*ProjectList) GetItems

func (o *ProjectList) GetItems() []Project

GetItems returns the Items field value

func (*ProjectList) GetItemsOk

func (o *ProjectList) GetItemsOk() ([]Project, bool)

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

func (*ProjectList) GetKind

func (o *ProjectList) GetKind() string

GetKind returns the Kind field value

func (*ProjectList) GetKindOk

func (o *ProjectList) GetKindOk() (*string, bool)

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

func (*ProjectList) GetPage

func (o *ProjectList) GetPage() int32

GetPage returns the Page field value

func (*ProjectList) GetPageOk

func (o *ProjectList) GetPageOk() (*int32, bool)

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

func (*ProjectList) GetSize

func (o *ProjectList) GetSize() int32

GetSize returns the Size field value

func (*ProjectList) GetSizeOk

func (o *ProjectList) GetSizeOk() (*int32, bool)

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

func (*ProjectList) GetTotal

func (o *ProjectList) GetTotal() int32

GetTotal returns the Total field value

func (*ProjectList) GetTotalOk

func (o *ProjectList) GetTotalOk() (*int32, bool)

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

func (ProjectList) MarshalJSON

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

func (*ProjectList) SetItems

func (o *ProjectList) SetItems(v []Project)

SetItems sets field value

func (*ProjectList) SetKind

func (o *ProjectList) SetKind(v string)

SetKind sets field value

func (*ProjectList) SetPage

func (o *ProjectList) SetPage(v int32)

SetPage sets field value

func (*ProjectList) SetSize

func (o *ProjectList) SetSize(v int32)

SetSize sets field value

func (*ProjectList) SetTotal

func (o *ProjectList) SetTotal(v int32)

SetTotal sets field value

func (ProjectList) ToMap

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

func (*ProjectList) UnmarshalJSON

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

type ProjectPatchRequest

type ProjectPatchRequest struct {
	Name        *string `json:"name,omitempty"`
	DisplayName *string `json:"display_name,omitempty"`
	Description *string `json:"description,omitempty"`
	Labels      *string `json:"labels,omitempty"`
	Annotations *string `json:"annotations,omitempty"`
	Status      *string `json:"status,omitempty"`
}

ProjectPatchRequest struct for ProjectPatchRequest

func NewProjectPatchRequest

func NewProjectPatchRequest() *ProjectPatchRequest

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

func NewProjectPatchRequestWithDefaults

func NewProjectPatchRequestWithDefaults() *ProjectPatchRequest

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

func (*ProjectPatchRequest) GetAnnotations

func (o *ProjectPatchRequest) GetAnnotations() string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*ProjectPatchRequest) GetAnnotationsOk

func (o *ProjectPatchRequest) GetAnnotationsOk() (*string, bool)

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

func (*ProjectPatchRequest) GetDescription

func (o *ProjectPatchRequest) GetDescription() string

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

func (*ProjectPatchRequest) GetDescriptionOk

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

func (o *ProjectPatchRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ProjectPatchRequest) GetDisplayNameOk

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

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

func (*ProjectPatchRequest) GetLabels

func (o *ProjectPatchRequest) GetLabels() string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ProjectPatchRequest) GetLabelsOk

func (o *ProjectPatchRequest) GetLabelsOk() (*string, bool)

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

func (*ProjectPatchRequest) GetName

func (o *ProjectPatchRequest) GetName() string

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

func (*ProjectPatchRequest) GetNameOk

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

func (o *ProjectPatchRequest) GetStatus() string

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

func (*ProjectPatchRequest) GetStatusOk

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

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

func (*ProjectPatchRequest) HasAnnotations

func (o *ProjectPatchRequest) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*ProjectPatchRequest) HasDescription

func (o *ProjectPatchRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProjectPatchRequest) HasDisplayName

func (o *ProjectPatchRequest) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*ProjectPatchRequest) HasLabels

func (o *ProjectPatchRequest) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ProjectPatchRequest) HasName

func (o *ProjectPatchRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProjectPatchRequest) HasStatus

func (o *ProjectPatchRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ProjectPatchRequest) MarshalJSON

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

func (*ProjectPatchRequest) SetAnnotations

func (o *ProjectPatchRequest) SetAnnotations(v string)

SetAnnotations gets a reference to the given string and assigns it to the Annotations field.

func (*ProjectPatchRequest) SetDescription

func (o *ProjectPatchRequest) SetDescription(v string)

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

func (*ProjectPatchRequest) SetDisplayName

func (o *ProjectPatchRequest) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ProjectPatchRequest) SetLabels

func (o *ProjectPatchRequest) SetLabels(v string)

SetLabels gets a reference to the given string and assigns it to the Labels field.

func (*ProjectPatchRequest) SetName

func (o *ProjectPatchRequest) SetName(v string)

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

func (*ProjectPatchRequest) SetStatus

func (o *ProjectPatchRequest) SetStatus(v string)

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

func (ProjectPatchRequest) ToMap

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

type ProjectSettings

type ProjectSettings struct {
	Id           *string    `json:"id,omitempty"`
	Kind         *string    `json:"kind,omitempty"`
	Href         *string    `json:"href,omitempty"`
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	UpdatedAt    *time.Time `json:"updated_at,omitempty"`
	ProjectId    string     `json:"project_id"`
	GroupAccess  *string    `json:"group_access,omitempty"`
	Repositories *string    `json:"repositories,omitempty"`
}

ProjectSettings struct for ProjectSettings

func NewProjectSettings

func NewProjectSettings(projectId string) *ProjectSettings

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

func NewProjectSettingsWithDefaults

func NewProjectSettingsWithDefaults() *ProjectSettings

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

func (*ProjectSettings) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ProjectSettings) GetCreatedAtOk

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

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

func (*ProjectSettings) GetGroupAccess

func (o *ProjectSettings) GetGroupAccess() string

GetGroupAccess returns the GroupAccess field value if set, zero value otherwise.

func (*ProjectSettings) GetGroupAccessOk

func (o *ProjectSettings) GetGroupAccessOk() (*string, bool)

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

func (*ProjectSettings) GetHref

func (o *ProjectSettings) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*ProjectSettings) GetHrefOk

func (o *ProjectSettings) GetHrefOk() (*string, bool)

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

func (*ProjectSettings) GetId

func (o *ProjectSettings) GetId() string

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

func (*ProjectSettings) GetIdOk

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

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

func (*ProjectSettings) GetKind

func (o *ProjectSettings) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ProjectSettings) GetKindOk

func (o *ProjectSettings) GetKindOk() (*string, bool)

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

func (*ProjectSettings) GetProjectId

func (o *ProjectSettings) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ProjectSettings) GetProjectIdOk

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

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

func (*ProjectSettings) GetRepositories

func (o *ProjectSettings) GetRepositories() string

GetRepositories returns the Repositories field value if set, zero value otherwise.

func (*ProjectSettings) GetRepositoriesOk

func (o *ProjectSettings) GetRepositoriesOk() (*string, bool)

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

func (*ProjectSettings) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ProjectSettings) GetUpdatedAtOk

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

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

func (*ProjectSettings) HasCreatedAt

func (o *ProjectSettings) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ProjectSettings) HasGroupAccess

func (o *ProjectSettings) HasGroupAccess() bool

HasGroupAccess returns a boolean if a field has been set.

func (*ProjectSettings) HasHref

func (o *ProjectSettings) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ProjectSettings) HasId

func (o *ProjectSettings) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProjectSettings) HasKind

func (o *ProjectSettings) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ProjectSettings) HasRepositories

func (o *ProjectSettings) HasRepositories() bool

HasRepositories returns a boolean if a field has been set.

func (*ProjectSettings) HasUpdatedAt

func (o *ProjectSettings) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ProjectSettings) MarshalJSON

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

func (*ProjectSettings) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ProjectSettings) SetGroupAccess

func (o *ProjectSettings) SetGroupAccess(v string)

SetGroupAccess gets a reference to the given string and assigns it to the GroupAccess field.

func (*ProjectSettings) SetHref

func (o *ProjectSettings) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ProjectSettings) SetId

func (o *ProjectSettings) SetId(v string)

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

func (*ProjectSettings) SetKind

func (o *ProjectSettings) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ProjectSettings) SetProjectId

func (o *ProjectSettings) SetProjectId(v string)

SetProjectId sets field value

func (*ProjectSettings) SetRepositories

func (o *ProjectSettings) SetRepositories(v string)

SetRepositories gets a reference to the given string and assigns it to the Repositories field.

func (*ProjectSettings) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ProjectSettings) ToMap

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

func (*ProjectSettings) UnmarshalJSON

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

type ProjectSettingsList

type ProjectSettingsList struct {
	Kind  string            `json:"kind"`
	Page  int32             `json:"page"`
	Size  int32             `json:"size"`
	Total int32             `json:"total"`
	Items []ProjectSettings `json:"items"`
}

ProjectSettingsList struct for ProjectSettingsList

func NewProjectSettingsList

func NewProjectSettingsList(kind string, page int32, size int32, total int32, items []ProjectSettings) *ProjectSettingsList

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

func NewProjectSettingsListWithDefaults

func NewProjectSettingsListWithDefaults() *ProjectSettingsList

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

func (*ProjectSettingsList) GetItems

func (o *ProjectSettingsList) GetItems() []ProjectSettings

GetItems returns the Items field value

func (*ProjectSettingsList) GetItemsOk

func (o *ProjectSettingsList) GetItemsOk() ([]ProjectSettings, bool)

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

func (*ProjectSettingsList) GetKind

func (o *ProjectSettingsList) GetKind() string

GetKind returns the Kind field value

func (*ProjectSettingsList) GetKindOk

func (o *ProjectSettingsList) GetKindOk() (*string, bool)

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

func (*ProjectSettingsList) GetPage

func (o *ProjectSettingsList) GetPage() int32

GetPage returns the Page field value

func (*ProjectSettingsList) GetPageOk

func (o *ProjectSettingsList) GetPageOk() (*int32, bool)

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

func (*ProjectSettingsList) GetSize

func (o *ProjectSettingsList) GetSize() int32

GetSize returns the Size field value

func (*ProjectSettingsList) GetSizeOk

func (o *ProjectSettingsList) GetSizeOk() (*int32, bool)

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

func (*ProjectSettingsList) GetTotal

func (o *ProjectSettingsList) GetTotal() int32

GetTotal returns the Total field value

func (*ProjectSettingsList) GetTotalOk

func (o *ProjectSettingsList) GetTotalOk() (*int32, bool)

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

func (ProjectSettingsList) MarshalJSON

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

func (*ProjectSettingsList) SetItems

func (o *ProjectSettingsList) SetItems(v []ProjectSettings)

SetItems sets field value

func (*ProjectSettingsList) SetKind

func (o *ProjectSettingsList) SetKind(v string)

SetKind sets field value

func (*ProjectSettingsList) SetPage

func (o *ProjectSettingsList) SetPage(v int32)

SetPage sets field value

func (*ProjectSettingsList) SetSize

func (o *ProjectSettingsList) SetSize(v int32)

SetSize sets field value

func (*ProjectSettingsList) SetTotal

func (o *ProjectSettingsList) SetTotal(v int32)

SetTotal sets field value

func (ProjectSettingsList) ToMap

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

func (*ProjectSettingsList) UnmarshalJSON

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

type ProjectSettingsPatchRequest

type ProjectSettingsPatchRequest struct {
	ProjectId    *string `json:"project_id,omitempty"`
	GroupAccess  *string `json:"group_access,omitempty"`
	Repositories *string `json:"repositories,omitempty"`
}

ProjectSettingsPatchRequest struct for ProjectSettingsPatchRequest

func NewProjectSettingsPatchRequest

func NewProjectSettingsPatchRequest() *ProjectSettingsPatchRequest

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

func NewProjectSettingsPatchRequestWithDefaults

func NewProjectSettingsPatchRequestWithDefaults() *ProjectSettingsPatchRequest

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

func (*ProjectSettingsPatchRequest) GetGroupAccess

func (o *ProjectSettingsPatchRequest) GetGroupAccess() string

GetGroupAccess returns the GroupAccess field value if set, zero value otherwise.

func (*ProjectSettingsPatchRequest) GetGroupAccessOk

func (o *ProjectSettingsPatchRequest) GetGroupAccessOk() (*string, bool)

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

func (*ProjectSettingsPatchRequest) GetProjectId

func (o *ProjectSettingsPatchRequest) GetProjectId() string

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

func (*ProjectSettingsPatchRequest) GetProjectIdOk

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

func (o *ProjectSettingsPatchRequest) GetRepositories() string

GetRepositories returns the Repositories field value if set, zero value otherwise.

func (*ProjectSettingsPatchRequest) GetRepositoriesOk

func (o *ProjectSettingsPatchRequest) GetRepositoriesOk() (*string, bool)

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

func (*ProjectSettingsPatchRequest) HasGroupAccess

func (o *ProjectSettingsPatchRequest) HasGroupAccess() bool

HasGroupAccess returns a boolean if a field has been set.

func (*ProjectSettingsPatchRequest) HasProjectId

func (o *ProjectSettingsPatchRequest) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*ProjectSettingsPatchRequest) HasRepositories

func (o *ProjectSettingsPatchRequest) HasRepositories() bool

HasRepositories returns a boolean if a field has been set.

func (ProjectSettingsPatchRequest) MarshalJSON

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

func (*ProjectSettingsPatchRequest) SetGroupAccess

func (o *ProjectSettingsPatchRequest) SetGroupAccess(v string)

SetGroupAccess gets a reference to the given string and assigns it to the GroupAccess field.

func (*ProjectSettingsPatchRequest) SetProjectId

func (o *ProjectSettingsPatchRequest) SetProjectId(v string)

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

func (*ProjectSettingsPatchRequest) SetRepositories

func (o *ProjectSettingsPatchRequest) SetRepositories(v string)

SetRepositories gets a reference to the given string and assigns it to the Repositories field.

func (ProjectSettingsPatchRequest) ToMap

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Session

type Session struct {
	Id        *string    `json:"id,omitempty"`
	Kind      *string    `json:"kind,omitempty"`
	Href      *string    `json:"href,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	Name      string     `json:"name"`
	RepoUrl   *string    `json:"repo_url,omitempty"`
	Prompt    *string    `json:"prompt,omitempty"`
	// Set from authentication token. Cannot be set or modified via API.
	CreatedByUserId      *string  `json:"created_by_user_id,omitempty"`
	AssignedUserId       *string  `json:"assigned_user_id,omitempty"`
	WorkflowId           *string  `json:"workflow_id,omitempty"`
	Repos                *string  `json:"repos,omitempty"`
	Timeout              *int32   `json:"timeout,omitempty"`
	LlmModel             *string  `json:"llm_model,omitempty"`
	LlmTemperature       *float64 `json:"llm_temperature,omitempty"`
	LlmMaxTokens         *int32   `json:"llm_max_tokens,omitempty"`
	ParentSessionId      *string  `json:"parent_session_id,omitempty"`
	BotAccountName       *string  `json:"bot_account_name,omitempty"`
	ResourceOverrides    *string  `json:"resource_overrides,omitempty"`
	EnvironmentVariables *string  `json:"environment_variables,omitempty"`
	Labels               *string  `json:"labels,omitempty"`
	Annotations          *string  `json:"annotations,omitempty"`
	// Immutable after creation. Set at creation time only.
	ProjectId          *string    `json:"project_id,omitempty"`
	Phase              *string    `json:"phase,omitempty"`
	StartTime          *time.Time `json:"start_time,omitempty"`
	CompletionTime     *time.Time `json:"completion_time,omitempty"`
	SdkSessionId       *string    `json:"sdk_session_id,omitempty"`
	SdkRestartCount    *int32     `json:"sdk_restart_count,omitempty"`
	Conditions         *string    `json:"conditions,omitempty"`
	ReconciledRepos    *string    `json:"reconciled_repos,omitempty"`
	ReconciledWorkflow *string    `json:"reconciled_workflow,omitempty"`
	KubeCrName         *string    `json:"kube_cr_name,omitempty"`
	KubeCrUid          *string    `json:"kube_cr_uid,omitempty"`
	KubeNamespace      *string    `json:"kube_namespace,omitempty"`
}

Session struct for Session

func NewSession

func NewSession(name string) *Session

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

func NewSessionWithDefaults

func NewSessionWithDefaults() *Session

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

func (*Session) GetAnnotations

func (o *Session) GetAnnotations() string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*Session) GetAnnotationsOk

func (o *Session) GetAnnotationsOk() (*string, bool)

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

func (*Session) GetAssignedUserId

func (o *Session) GetAssignedUserId() string

GetAssignedUserId returns the AssignedUserId field value if set, zero value otherwise.

func (*Session) GetAssignedUserIdOk

func (o *Session) GetAssignedUserIdOk() (*string, bool)

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

func (*Session) GetBotAccountName

func (o *Session) GetBotAccountName() string

GetBotAccountName returns the BotAccountName field value if set, zero value otherwise.

func (*Session) GetBotAccountNameOk

func (o *Session) GetBotAccountNameOk() (*string, bool)

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

func (*Session) GetCompletionTime

func (o *Session) GetCompletionTime() time.Time

GetCompletionTime returns the CompletionTime field value if set, zero value otherwise.

func (*Session) GetCompletionTimeOk

func (o *Session) GetCompletionTimeOk() (*time.Time, bool)

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

func (*Session) GetConditions

func (o *Session) GetConditions() string

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

func (*Session) GetConditionsOk

func (o *Session) GetConditionsOk() (*string, 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 (*Session) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Session) GetCreatedAtOk

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

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

func (*Session) GetCreatedByUserId

func (o *Session) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Session) GetCreatedByUserIdOk

func (o *Session) GetCreatedByUserIdOk() (*string, bool)

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

func (*Session) GetEnvironmentVariables

func (o *Session) GetEnvironmentVariables() string

GetEnvironmentVariables returns the EnvironmentVariables field value if set, zero value otherwise.

func (*Session) GetEnvironmentVariablesOk

func (o *Session) GetEnvironmentVariablesOk() (*string, bool)

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

func (*Session) GetHref

func (o *Session) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Session) GetHrefOk

func (o *Session) GetHrefOk() (*string, bool)

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

func (*Session) GetId

func (o *Session) GetId() string

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

func (*Session) GetIdOk

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

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

func (*Session) GetKind

func (o *Session) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Session) GetKindOk

func (o *Session) GetKindOk() (*string, bool)

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

func (*Session) GetKubeCrName

func (o *Session) GetKubeCrName() string

GetKubeCrName returns the KubeCrName field value if set, zero value otherwise.

func (*Session) GetKubeCrNameOk

func (o *Session) GetKubeCrNameOk() (*string, bool)

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

func (*Session) GetKubeCrUid

func (o *Session) GetKubeCrUid() string

GetKubeCrUid returns the KubeCrUid field value if set, zero value otherwise.

func (*Session) GetKubeCrUidOk

func (o *Session) GetKubeCrUidOk() (*string, bool)

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

func (*Session) GetKubeNamespace

func (o *Session) GetKubeNamespace() string

GetKubeNamespace returns the KubeNamespace field value if set, zero value otherwise.

func (*Session) GetKubeNamespaceOk

func (o *Session) GetKubeNamespaceOk() (*string, bool)

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

func (*Session) GetLabels

func (o *Session) GetLabels() string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Session) GetLabelsOk

func (o *Session) GetLabelsOk() (*string, bool)

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

func (*Session) GetLlmMaxTokens

func (o *Session) GetLlmMaxTokens() int32

GetLlmMaxTokens returns the LlmMaxTokens field value if set, zero value otherwise.

func (*Session) GetLlmMaxTokensOk

func (o *Session) GetLlmMaxTokensOk() (*int32, bool)

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

func (*Session) GetLlmModel

func (o *Session) GetLlmModel() string

GetLlmModel returns the LlmModel field value if set, zero value otherwise.

func (*Session) GetLlmModelOk

func (o *Session) GetLlmModelOk() (*string, bool)

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

func (*Session) GetLlmTemperature

func (o *Session) GetLlmTemperature() float64

GetLlmTemperature returns the LlmTemperature field value if set, zero value otherwise.

func (*Session) GetLlmTemperatureOk

func (o *Session) GetLlmTemperatureOk() (*float64, bool)

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

func (*Session) GetName

func (o *Session) GetName() string

GetName returns the Name field value

func (*Session) GetNameOk

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

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

func (*Session) GetParentSessionId

func (o *Session) GetParentSessionId() string

GetParentSessionId returns the ParentSessionId field value if set, zero value otherwise.

func (*Session) GetParentSessionIdOk

func (o *Session) GetParentSessionIdOk() (*string, bool)

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

func (*Session) GetPhase

func (o *Session) GetPhase() string

GetPhase returns the Phase field value if set, zero value otherwise.

func (*Session) GetPhaseOk

func (o *Session) GetPhaseOk() (*string, bool)

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

func (*Session) GetProjectId

func (o *Session) GetProjectId() string

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

func (*Session) GetProjectIdOk

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

func (o *Session) GetPrompt() string

GetPrompt returns the Prompt field value if set, zero value otherwise.

func (*Session) GetPromptOk

func (o *Session) GetPromptOk() (*string, bool)

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

func (*Session) GetReconciledRepos

func (o *Session) GetReconciledRepos() string

GetReconciledRepos returns the ReconciledRepos field value if set, zero value otherwise.

func (*Session) GetReconciledReposOk

func (o *Session) GetReconciledReposOk() (*string, bool)

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

func (*Session) GetReconciledWorkflow

func (o *Session) GetReconciledWorkflow() string

GetReconciledWorkflow returns the ReconciledWorkflow field value if set, zero value otherwise.

func (*Session) GetReconciledWorkflowOk

func (o *Session) GetReconciledWorkflowOk() (*string, bool)

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

func (*Session) GetRepoUrl

func (o *Session) GetRepoUrl() string

GetRepoUrl returns the RepoUrl field value if set, zero value otherwise.

func (*Session) GetRepoUrlOk

func (o *Session) GetRepoUrlOk() (*string, bool)

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

func (*Session) GetRepos

func (o *Session) GetRepos() string

GetRepos returns the Repos field value if set, zero value otherwise.

func (*Session) GetReposOk

func (o *Session) GetReposOk() (*string, bool)

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

func (*Session) GetResourceOverrides

func (o *Session) GetResourceOverrides() string

GetResourceOverrides returns the ResourceOverrides field value if set, zero value otherwise.

func (*Session) GetResourceOverridesOk

func (o *Session) GetResourceOverridesOk() (*string, bool)

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

func (*Session) GetSdkRestartCount

func (o *Session) GetSdkRestartCount() int32

GetSdkRestartCount returns the SdkRestartCount field value if set, zero value otherwise.

func (*Session) GetSdkRestartCountOk

func (o *Session) GetSdkRestartCountOk() (*int32, bool)

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

func (*Session) GetSdkSessionId

func (o *Session) GetSdkSessionId() string

GetSdkSessionId returns the SdkSessionId field value if set, zero value otherwise.

func (*Session) GetSdkSessionIdOk

func (o *Session) GetSdkSessionIdOk() (*string, bool)

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

func (*Session) GetStartTime

func (o *Session) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*Session) GetStartTimeOk

func (o *Session) GetStartTimeOk() (*time.Time, bool)

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

func (*Session) GetTimeout

func (o *Session) GetTimeout() int32

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*Session) GetTimeoutOk

func (o *Session) GetTimeoutOk() (*int32, bool)

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

func (*Session) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Session) GetUpdatedAtOk

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

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

func (*Session) GetWorkflowId

func (o *Session) GetWorkflowId() string

GetWorkflowId returns the WorkflowId field value if set, zero value otherwise.

func (*Session) GetWorkflowIdOk

func (o *Session) GetWorkflowIdOk() (*string, bool)

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

func (*Session) HasAnnotations

func (o *Session) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*Session) HasAssignedUserId

func (o *Session) HasAssignedUserId() bool

HasAssignedUserId returns a boolean if a field has been set.

func (*Session) HasBotAccountName

func (o *Session) HasBotAccountName() bool

HasBotAccountName returns a boolean if a field has been set.

func (*Session) HasCompletionTime

func (o *Session) HasCompletionTime() bool

HasCompletionTime returns a boolean if a field has been set.

func (*Session) HasConditions

func (o *Session) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*Session) HasCreatedAt

func (o *Session) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Session) HasCreatedByUserId

func (o *Session) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Session) HasEnvironmentVariables

func (o *Session) HasEnvironmentVariables() bool

HasEnvironmentVariables returns a boolean if a field has been set.

func (*Session) HasHref

func (o *Session) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Session) HasId

func (o *Session) HasId() bool

HasId returns a boolean if a field has been set.

func (*Session) HasKind

func (o *Session) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Session) HasKubeCrName

func (o *Session) HasKubeCrName() bool

HasKubeCrName returns a boolean if a field has been set.

func (*Session) HasKubeCrUid

func (o *Session) HasKubeCrUid() bool

HasKubeCrUid returns a boolean if a field has been set.

func (*Session) HasKubeNamespace

func (o *Session) HasKubeNamespace() bool

HasKubeNamespace returns a boolean if a field has been set.

func (*Session) HasLabels

func (o *Session) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Session) HasLlmMaxTokens

func (o *Session) HasLlmMaxTokens() bool

HasLlmMaxTokens returns a boolean if a field has been set.

func (*Session) HasLlmModel

func (o *Session) HasLlmModel() bool

HasLlmModel returns a boolean if a field has been set.

func (*Session) HasLlmTemperature

func (o *Session) HasLlmTemperature() bool

HasLlmTemperature returns a boolean if a field has been set.

func (*Session) HasParentSessionId

func (o *Session) HasParentSessionId() bool

HasParentSessionId returns a boolean if a field has been set.

func (*Session) HasPhase

func (o *Session) HasPhase() bool

HasPhase returns a boolean if a field has been set.

func (*Session) HasProjectId

func (o *Session) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*Session) HasPrompt

func (o *Session) HasPrompt() bool

HasPrompt returns a boolean if a field has been set.

func (*Session) HasReconciledRepos

func (o *Session) HasReconciledRepos() bool

HasReconciledRepos returns a boolean if a field has been set.

func (*Session) HasReconciledWorkflow

func (o *Session) HasReconciledWorkflow() bool

HasReconciledWorkflow returns a boolean if a field has been set.

func (*Session) HasRepoUrl

func (o *Session) HasRepoUrl() bool

HasRepoUrl returns a boolean if a field has been set.

func (*Session) HasRepos

func (o *Session) HasRepos() bool

HasRepos returns a boolean if a field has been set.

func (*Session) HasResourceOverrides

func (o *Session) HasResourceOverrides() bool

HasResourceOverrides returns a boolean if a field has been set.

func (*Session) HasSdkRestartCount

func (o *Session) HasSdkRestartCount() bool

HasSdkRestartCount returns a boolean if a field has been set.

func (*Session) HasSdkSessionId

func (o *Session) HasSdkSessionId() bool

HasSdkSessionId returns a boolean if a field has been set.

func (*Session) HasStartTime

func (o *Session) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*Session) HasTimeout

func (o *Session) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*Session) HasUpdatedAt

func (o *Session) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Session) HasWorkflowId

func (o *Session) HasWorkflowId() bool

HasWorkflowId returns a boolean if a field has been set.

func (Session) MarshalJSON

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

func (*Session) SetAnnotations

func (o *Session) SetAnnotations(v string)

SetAnnotations gets a reference to the given string and assigns it to the Annotations field.

func (*Session) SetAssignedUserId

func (o *Session) SetAssignedUserId(v string)

SetAssignedUserId gets a reference to the given string and assigns it to the AssignedUserId field.

func (*Session) SetBotAccountName

func (o *Session) SetBotAccountName(v string)

SetBotAccountName gets a reference to the given string and assigns it to the BotAccountName field.

func (*Session) SetCompletionTime

func (o *Session) SetCompletionTime(v time.Time)

SetCompletionTime gets a reference to the given time.Time and assigns it to the CompletionTime field.

func (*Session) SetConditions

func (o *Session) SetConditions(v string)

SetConditions gets a reference to the given string and assigns it to the Conditions field.

func (*Session) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Session) SetCreatedByUserId

func (o *Session) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Session) SetEnvironmentVariables

func (o *Session) SetEnvironmentVariables(v string)

SetEnvironmentVariables gets a reference to the given string and assigns it to the EnvironmentVariables field.

func (*Session) SetHref

func (o *Session) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Session) SetId

func (o *Session) SetId(v string)

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

func (*Session) SetKind

func (o *Session) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Session) SetKubeCrName

func (o *Session) SetKubeCrName(v string)

SetKubeCrName gets a reference to the given string and assigns it to the KubeCrName field.

func (*Session) SetKubeCrUid

func (o *Session) SetKubeCrUid(v string)

SetKubeCrUid gets a reference to the given string and assigns it to the KubeCrUid field.

func (*Session) SetKubeNamespace

func (o *Session) SetKubeNamespace(v string)

SetKubeNamespace gets a reference to the given string and assigns it to the KubeNamespace field.

func (*Session) SetLabels

func (o *Session) SetLabels(v string)

SetLabels gets a reference to the given string and assigns it to the Labels field.

func (*Session) SetLlmMaxTokens

func (o *Session) SetLlmMaxTokens(v int32)

SetLlmMaxTokens gets a reference to the given int32 and assigns it to the LlmMaxTokens field.

func (*Session) SetLlmModel

func (o *Session) SetLlmModel(v string)

SetLlmModel gets a reference to the given string and assigns it to the LlmModel field.

func (*Session) SetLlmTemperature

func (o *Session) SetLlmTemperature(v float64)

SetLlmTemperature gets a reference to the given float64 and assigns it to the LlmTemperature field.

func (*Session) SetName

func (o *Session) SetName(v string)

SetName sets field value

func (*Session) SetParentSessionId

func (o *Session) SetParentSessionId(v string)

SetParentSessionId gets a reference to the given string and assigns it to the ParentSessionId field.

func (*Session) SetPhase

func (o *Session) SetPhase(v string)

SetPhase gets a reference to the given string and assigns it to the Phase field.

func (*Session) SetProjectId

func (o *Session) SetProjectId(v string)

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

func (*Session) SetPrompt

func (o *Session) SetPrompt(v string)

SetPrompt gets a reference to the given string and assigns it to the Prompt field.

func (*Session) SetReconciledRepos

func (o *Session) SetReconciledRepos(v string)

SetReconciledRepos gets a reference to the given string and assigns it to the ReconciledRepos field.

func (*Session) SetReconciledWorkflow

func (o *Session) SetReconciledWorkflow(v string)

SetReconciledWorkflow gets a reference to the given string and assigns it to the ReconciledWorkflow field.

func (*Session) SetRepoUrl

func (o *Session) SetRepoUrl(v string)

SetRepoUrl gets a reference to the given string and assigns it to the RepoUrl field.

func (*Session) SetRepos

func (o *Session) SetRepos(v string)

SetRepos gets a reference to the given string and assigns it to the Repos field.

func (*Session) SetResourceOverrides

func (o *Session) SetResourceOverrides(v string)

SetResourceOverrides gets a reference to the given string and assigns it to the ResourceOverrides field.

func (*Session) SetSdkRestartCount

func (o *Session) SetSdkRestartCount(v int32)

SetSdkRestartCount gets a reference to the given int32 and assigns it to the SdkRestartCount field.

func (*Session) SetSdkSessionId

func (o *Session) SetSdkSessionId(v string)

SetSdkSessionId gets a reference to the given string and assigns it to the SdkSessionId field.

func (*Session) SetStartTime

func (o *Session) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

func (*Session) SetTimeout

func (o *Session) SetTimeout(v int32)

SetTimeout gets a reference to the given int32 and assigns it to the Timeout field.

func (*Session) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Session) SetWorkflowId

func (o *Session) SetWorkflowId(v string)

SetWorkflowId gets a reference to the given string and assigns it to the WorkflowId field.

func (Session) ToMap

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

func (*Session) UnmarshalJSON

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

type SessionList

type SessionList struct {
	Kind  string    `json:"kind"`
	Page  int32     `json:"page"`
	Size  int32     `json:"size"`
	Total int32     `json:"total"`
	Items []Session `json:"items"`
}

SessionList struct for SessionList

func NewSessionList

func NewSessionList(kind string, page int32, size int32, total int32, items []Session) *SessionList

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

func NewSessionListWithDefaults

func NewSessionListWithDefaults() *SessionList

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

func (*SessionList) GetItems

func (o *SessionList) GetItems() []Session

GetItems returns the Items field value

func (*SessionList) GetItemsOk

func (o *SessionList) GetItemsOk() ([]Session, bool)

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

func (*SessionList) GetKind

func (o *SessionList) GetKind() string

GetKind returns the Kind field value

func (*SessionList) GetKindOk

func (o *SessionList) GetKindOk() (*string, bool)

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

func (*SessionList) GetPage

func (o *SessionList) GetPage() int32

GetPage returns the Page field value

func (*SessionList) GetPageOk

func (o *SessionList) GetPageOk() (*int32, bool)

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

func (*SessionList) GetSize

func (o *SessionList) GetSize() int32

GetSize returns the Size field value

func (*SessionList) GetSizeOk

func (o *SessionList) GetSizeOk() (*int32, bool)

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

func (*SessionList) GetTotal

func (o *SessionList) GetTotal() int32

GetTotal returns the Total field value

func (*SessionList) GetTotalOk

func (o *SessionList) GetTotalOk() (*int32, bool)

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

func (SessionList) MarshalJSON

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

func (*SessionList) SetItems

func (o *SessionList) SetItems(v []Session)

SetItems sets field value

func (*SessionList) SetKind

func (o *SessionList) SetKind(v string)

SetKind sets field value

func (*SessionList) SetPage

func (o *SessionList) SetPage(v int32)

SetPage sets field value

func (*SessionList) SetSize

func (o *SessionList) SetSize(v int32)

SetSize sets field value

func (*SessionList) SetTotal

func (o *SessionList) SetTotal(v int32)

SetTotal sets field value

func (SessionList) ToMap

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

func (*SessionList) UnmarshalJSON

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

type SessionPatchRequest

type SessionPatchRequest struct {
	Name                 *string  `json:"name,omitempty"`
	RepoUrl              *string  `json:"repo_url,omitempty"`
	Prompt               *string  `json:"prompt,omitempty"`
	AssignedUserId       *string  `json:"assigned_user_id,omitempty"`
	WorkflowId           *string  `json:"workflow_id,omitempty"`
	Repos                *string  `json:"repos,omitempty"`
	Timeout              *int32   `json:"timeout,omitempty"`
	LlmModel             *string  `json:"llm_model,omitempty"`
	LlmTemperature       *float64 `json:"llm_temperature,omitempty"`
	LlmMaxTokens         *int32   `json:"llm_max_tokens,omitempty"`
	ParentSessionId      *string  `json:"parent_session_id,omitempty"`
	BotAccountName       *string  `json:"bot_account_name,omitempty"`
	ResourceOverrides    *string  `json:"resource_overrides,omitempty"`
	EnvironmentVariables *string  `json:"environment_variables,omitempty"`
	Labels               *string  `json:"labels,omitempty"`
	Annotations          *string  `json:"annotations,omitempty"`
}

SessionPatchRequest struct for SessionPatchRequest

func NewSessionPatchRequest

func NewSessionPatchRequest() *SessionPatchRequest

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

func NewSessionPatchRequestWithDefaults

func NewSessionPatchRequestWithDefaults() *SessionPatchRequest

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

func (*SessionPatchRequest) GetAnnotations

func (o *SessionPatchRequest) GetAnnotations() string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*SessionPatchRequest) GetAnnotationsOk

func (o *SessionPatchRequest) GetAnnotationsOk() (*string, bool)

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

func (*SessionPatchRequest) GetAssignedUserId

func (o *SessionPatchRequest) GetAssignedUserId() string

GetAssignedUserId returns the AssignedUserId field value if set, zero value otherwise.

func (*SessionPatchRequest) GetAssignedUserIdOk

func (o *SessionPatchRequest) GetAssignedUserIdOk() (*string, bool)

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

func (*SessionPatchRequest) GetBotAccountName

func (o *SessionPatchRequest) GetBotAccountName() string

GetBotAccountName returns the BotAccountName field value if set, zero value otherwise.

func (*SessionPatchRequest) GetBotAccountNameOk

func (o *SessionPatchRequest) GetBotAccountNameOk() (*string, bool)

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

func (*SessionPatchRequest) GetEnvironmentVariables

func (o *SessionPatchRequest) GetEnvironmentVariables() string

GetEnvironmentVariables returns the EnvironmentVariables field value if set, zero value otherwise.

func (*SessionPatchRequest) GetEnvironmentVariablesOk

func (o *SessionPatchRequest) GetEnvironmentVariablesOk() (*string, bool)

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

func (*SessionPatchRequest) GetLabels

func (o *SessionPatchRequest) GetLabels() string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SessionPatchRequest) GetLabelsOk

func (o *SessionPatchRequest) GetLabelsOk() (*string, bool)

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

func (*SessionPatchRequest) GetLlmMaxTokens

func (o *SessionPatchRequest) GetLlmMaxTokens() int32

GetLlmMaxTokens returns the LlmMaxTokens field value if set, zero value otherwise.

func (*SessionPatchRequest) GetLlmMaxTokensOk

func (o *SessionPatchRequest) GetLlmMaxTokensOk() (*int32, bool)

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

func (*SessionPatchRequest) GetLlmModel

func (o *SessionPatchRequest) GetLlmModel() string

GetLlmModel returns the LlmModel field value if set, zero value otherwise.

func (*SessionPatchRequest) GetLlmModelOk

func (o *SessionPatchRequest) GetLlmModelOk() (*string, bool)

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

func (*SessionPatchRequest) GetLlmTemperature

func (o *SessionPatchRequest) GetLlmTemperature() float64

GetLlmTemperature returns the LlmTemperature field value if set, zero value otherwise.

func (*SessionPatchRequest) GetLlmTemperatureOk

func (o *SessionPatchRequest) GetLlmTemperatureOk() (*float64, bool)

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

func (*SessionPatchRequest) GetName

func (o *SessionPatchRequest) GetName() string

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

func (*SessionPatchRequest) GetNameOk

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

func (o *SessionPatchRequest) GetParentSessionId() string

GetParentSessionId returns the ParentSessionId field value if set, zero value otherwise.

func (*SessionPatchRequest) GetParentSessionIdOk

func (o *SessionPatchRequest) GetParentSessionIdOk() (*string, bool)

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

func (*SessionPatchRequest) GetPrompt

func (o *SessionPatchRequest) GetPrompt() string

GetPrompt returns the Prompt field value if set, zero value otherwise.

func (*SessionPatchRequest) GetPromptOk

func (o *SessionPatchRequest) GetPromptOk() (*string, bool)

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

func (*SessionPatchRequest) GetRepoUrl

func (o *SessionPatchRequest) GetRepoUrl() string

GetRepoUrl returns the RepoUrl field value if set, zero value otherwise.

func (*SessionPatchRequest) GetRepoUrlOk

func (o *SessionPatchRequest) GetRepoUrlOk() (*string, bool)

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

func (*SessionPatchRequest) GetRepos

func (o *SessionPatchRequest) GetRepos() string

GetRepos returns the Repos field value if set, zero value otherwise.

func (*SessionPatchRequest) GetReposOk

func (o *SessionPatchRequest) GetReposOk() (*string, bool)

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

func (*SessionPatchRequest) GetResourceOverrides

func (o *SessionPatchRequest) GetResourceOverrides() string

GetResourceOverrides returns the ResourceOverrides field value if set, zero value otherwise.

func (*SessionPatchRequest) GetResourceOverridesOk

func (o *SessionPatchRequest) GetResourceOverridesOk() (*string, bool)

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

func (*SessionPatchRequest) GetTimeout

func (o *SessionPatchRequest) GetTimeout() int32

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*SessionPatchRequest) GetTimeoutOk

func (o *SessionPatchRequest) GetTimeoutOk() (*int32, bool)

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

func (*SessionPatchRequest) GetWorkflowId

func (o *SessionPatchRequest) GetWorkflowId() string

GetWorkflowId returns the WorkflowId field value if set, zero value otherwise.

func (*SessionPatchRequest) GetWorkflowIdOk

func (o *SessionPatchRequest) GetWorkflowIdOk() (*string, bool)

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

func (*SessionPatchRequest) HasAnnotations

func (o *SessionPatchRequest) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*SessionPatchRequest) HasAssignedUserId

func (o *SessionPatchRequest) HasAssignedUserId() bool

HasAssignedUserId returns a boolean if a field has been set.

func (*SessionPatchRequest) HasBotAccountName

func (o *SessionPatchRequest) HasBotAccountName() bool

HasBotAccountName returns a boolean if a field has been set.

func (*SessionPatchRequest) HasEnvironmentVariables

func (o *SessionPatchRequest) HasEnvironmentVariables() bool

HasEnvironmentVariables returns a boolean if a field has been set.

func (*SessionPatchRequest) HasLabels

func (o *SessionPatchRequest) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SessionPatchRequest) HasLlmMaxTokens

func (o *SessionPatchRequest) HasLlmMaxTokens() bool

HasLlmMaxTokens returns a boolean if a field has been set.

func (*SessionPatchRequest) HasLlmModel

func (o *SessionPatchRequest) HasLlmModel() bool

HasLlmModel returns a boolean if a field has been set.

func (*SessionPatchRequest) HasLlmTemperature

func (o *SessionPatchRequest) HasLlmTemperature() bool

HasLlmTemperature returns a boolean if a field has been set.

func (*SessionPatchRequest) HasName

func (o *SessionPatchRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*SessionPatchRequest) HasParentSessionId

func (o *SessionPatchRequest) HasParentSessionId() bool

HasParentSessionId returns a boolean if a field has been set.

func (*SessionPatchRequest) HasPrompt

func (o *SessionPatchRequest) HasPrompt() bool

HasPrompt returns a boolean if a field has been set.

func (*SessionPatchRequest) HasRepoUrl

func (o *SessionPatchRequest) HasRepoUrl() bool

HasRepoUrl returns a boolean if a field has been set.

func (*SessionPatchRequest) HasRepos

func (o *SessionPatchRequest) HasRepos() bool

HasRepos returns a boolean if a field has been set.

func (*SessionPatchRequest) HasResourceOverrides

func (o *SessionPatchRequest) HasResourceOverrides() bool

HasResourceOverrides returns a boolean if a field has been set.

func (*SessionPatchRequest) HasTimeout

func (o *SessionPatchRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*SessionPatchRequest) HasWorkflowId

func (o *SessionPatchRequest) HasWorkflowId() bool

HasWorkflowId returns a boolean if a field has been set.

func (SessionPatchRequest) MarshalJSON

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

func (*SessionPatchRequest) SetAnnotations

func (o *SessionPatchRequest) SetAnnotations(v string)

SetAnnotations gets a reference to the given string and assigns it to the Annotations field.

func (*SessionPatchRequest) SetAssignedUserId

func (o *SessionPatchRequest) SetAssignedUserId(v string)

SetAssignedUserId gets a reference to the given string and assigns it to the AssignedUserId field.

func (*SessionPatchRequest) SetBotAccountName

func (o *SessionPatchRequest) SetBotAccountName(v string)

SetBotAccountName gets a reference to the given string and assigns it to the BotAccountName field.

func (*SessionPatchRequest) SetEnvironmentVariables

func (o *SessionPatchRequest) SetEnvironmentVariables(v string)

SetEnvironmentVariables gets a reference to the given string and assigns it to the EnvironmentVariables field.

func (*SessionPatchRequest) SetLabels

func (o *SessionPatchRequest) SetLabels(v string)

SetLabels gets a reference to the given string and assigns it to the Labels field.

func (*SessionPatchRequest) SetLlmMaxTokens

func (o *SessionPatchRequest) SetLlmMaxTokens(v int32)

SetLlmMaxTokens gets a reference to the given int32 and assigns it to the LlmMaxTokens field.

func (*SessionPatchRequest) SetLlmModel

func (o *SessionPatchRequest) SetLlmModel(v string)

SetLlmModel gets a reference to the given string and assigns it to the LlmModel field.

func (*SessionPatchRequest) SetLlmTemperature

func (o *SessionPatchRequest) SetLlmTemperature(v float64)

SetLlmTemperature gets a reference to the given float64 and assigns it to the LlmTemperature field.

func (*SessionPatchRequest) SetName

func (o *SessionPatchRequest) SetName(v string)

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

func (*SessionPatchRequest) SetParentSessionId

func (o *SessionPatchRequest) SetParentSessionId(v string)

SetParentSessionId gets a reference to the given string and assigns it to the ParentSessionId field.

func (*SessionPatchRequest) SetPrompt

func (o *SessionPatchRequest) SetPrompt(v string)

SetPrompt gets a reference to the given string and assigns it to the Prompt field.

func (*SessionPatchRequest) SetRepoUrl

func (o *SessionPatchRequest) SetRepoUrl(v string)

SetRepoUrl gets a reference to the given string and assigns it to the RepoUrl field.

func (*SessionPatchRequest) SetRepos

func (o *SessionPatchRequest) SetRepos(v string)

SetRepos gets a reference to the given string and assigns it to the Repos field.

func (*SessionPatchRequest) SetResourceOverrides

func (o *SessionPatchRequest) SetResourceOverrides(v string)

SetResourceOverrides gets a reference to the given string and assigns it to the ResourceOverrides field.

func (*SessionPatchRequest) SetTimeout

func (o *SessionPatchRequest) SetTimeout(v int32)

SetTimeout gets a reference to the given int32 and assigns it to the Timeout field.

func (*SessionPatchRequest) SetWorkflowId

func (o *SessionPatchRequest) SetWorkflowId(v string)

SetWorkflowId gets a reference to the given string and assigns it to the WorkflowId field.

func (SessionPatchRequest) ToMap

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

type SessionStatusPatchRequest

type SessionStatusPatchRequest struct {
	Phase              *string    `json:"phase,omitempty"`
	StartTime          *time.Time `json:"start_time,omitempty"`
	CompletionTime     *time.Time `json:"completion_time,omitempty"`
	SdkSessionId       *string    `json:"sdk_session_id,omitempty"`
	SdkRestartCount    *int32     `json:"sdk_restart_count,omitempty"`
	Conditions         *string    `json:"conditions,omitempty"`
	ReconciledRepos    *string    `json:"reconciled_repos,omitempty"`
	ReconciledWorkflow *string    `json:"reconciled_workflow,omitempty"`
	KubeCrUid          *string    `json:"kube_cr_uid,omitempty"`
	KubeNamespace      *string    `json:"kube_namespace,omitempty"`
}

SessionStatusPatchRequest struct for SessionStatusPatchRequest

func NewSessionStatusPatchRequest

func NewSessionStatusPatchRequest() *SessionStatusPatchRequest

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

func NewSessionStatusPatchRequestWithDefaults

func NewSessionStatusPatchRequestWithDefaults() *SessionStatusPatchRequest

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

func (*SessionStatusPatchRequest) GetCompletionTime

func (o *SessionStatusPatchRequest) GetCompletionTime() time.Time

GetCompletionTime returns the CompletionTime field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetCompletionTimeOk

func (o *SessionStatusPatchRequest) GetCompletionTimeOk() (*time.Time, bool)

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

func (*SessionStatusPatchRequest) GetConditions

func (o *SessionStatusPatchRequest) GetConditions() string

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

func (*SessionStatusPatchRequest) GetConditionsOk

func (o *SessionStatusPatchRequest) GetConditionsOk() (*string, 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 (*SessionStatusPatchRequest) GetKubeCrUid

func (o *SessionStatusPatchRequest) GetKubeCrUid() string

GetKubeCrUid returns the KubeCrUid field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetKubeCrUidOk

func (o *SessionStatusPatchRequest) GetKubeCrUidOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetKubeNamespace

func (o *SessionStatusPatchRequest) GetKubeNamespace() string

GetKubeNamespace returns the KubeNamespace field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetKubeNamespaceOk

func (o *SessionStatusPatchRequest) GetKubeNamespaceOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetPhase

func (o *SessionStatusPatchRequest) GetPhase() string

GetPhase returns the Phase field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetPhaseOk

func (o *SessionStatusPatchRequest) GetPhaseOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetReconciledRepos

func (o *SessionStatusPatchRequest) GetReconciledRepos() string

GetReconciledRepos returns the ReconciledRepos field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetReconciledReposOk

func (o *SessionStatusPatchRequest) GetReconciledReposOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetReconciledWorkflow

func (o *SessionStatusPatchRequest) GetReconciledWorkflow() string

GetReconciledWorkflow returns the ReconciledWorkflow field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetReconciledWorkflowOk

func (o *SessionStatusPatchRequest) GetReconciledWorkflowOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetSdkRestartCount

func (o *SessionStatusPatchRequest) GetSdkRestartCount() int32

GetSdkRestartCount returns the SdkRestartCount field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetSdkRestartCountOk

func (o *SessionStatusPatchRequest) GetSdkRestartCountOk() (*int32, bool)

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

func (*SessionStatusPatchRequest) GetSdkSessionId

func (o *SessionStatusPatchRequest) GetSdkSessionId() string

GetSdkSessionId returns the SdkSessionId field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetSdkSessionIdOk

func (o *SessionStatusPatchRequest) GetSdkSessionIdOk() (*string, bool)

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

func (*SessionStatusPatchRequest) GetStartTime

func (o *SessionStatusPatchRequest) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*SessionStatusPatchRequest) GetStartTimeOk

func (o *SessionStatusPatchRequest) GetStartTimeOk() (*time.Time, bool)

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

func (*SessionStatusPatchRequest) HasCompletionTime

func (o *SessionStatusPatchRequest) HasCompletionTime() bool

HasCompletionTime returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasConditions

func (o *SessionStatusPatchRequest) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasKubeCrUid

func (o *SessionStatusPatchRequest) HasKubeCrUid() bool

HasKubeCrUid returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasKubeNamespace

func (o *SessionStatusPatchRequest) HasKubeNamespace() bool

HasKubeNamespace returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasPhase

func (o *SessionStatusPatchRequest) HasPhase() bool

HasPhase returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasReconciledRepos

func (o *SessionStatusPatchRequest) HasReconciledRepos() bool

HasReconciledRepos returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasReconciledWorkflow

func (o *SessionStatusPatchRequest) HasReconciledWorkflow() bool

HasReconciledWorkflow returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasSdkRestartCount

func (o *SessionStatusPatchRequest) HasSdkRestartCount() bool

HasSdkRestartCount returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasSdkSessionId

func (o *SessionStatusPatchRequest) HasSdkSessionId() bool

HasSdkSessionId returns a boolean if a field has been set.

func (*SessionStatusPatchRequest) HasStartTime

func (o *SessionStatusPatchRequest) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (SessionStatusPatchRequest) MarshalJSON

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

func (*SessionStatusPatchRequest) SetCompletionTime

func (o *SessionStatusPatchRequest) SetCompletionTime(v time.Time)

SetCompletionTime gets a reference to the given time.Time and assigns it to the CompletionTime field.

func (*SessionStatusPatchRequest) SetConditions

func (o *SessionStatusPatchRequest) SetConditions(v string)

SetConditions gets a reference to the given string and assigns it to the Conditions field.

func (*SessionStatusPatchRequest) SetKubeCrUid

func (o *SessionStatusPatchRequest) SetKubeCrUid(v string)

SetKubeCrUid gets a reference to the given string and assigns it to the KubeCrUid field.

func (*SessionStatusPatchRequest) SetKubeNamespace

func (o *SessionStatusPatchRequest) SetKubeNamespace(v string)

SetKubeNamespace gets a reference to the given string and assigns it to the KubeNamespace field.

func (*SessionStatusPatchRequest) SetPhase

func (o *SessionStatusPatchRequest) SetPhase(v string)

SetPhase gets a reference to the given string and assigns it to the Phase field.

func (*SessionStatusPatchRequest) SetReconciledRepos

func (o *SessionStatusPatchRequest) SetReconciledRepos(v string)

SetReconciledRepos gets a reference to the given string and assigns it to the ReconciledRepos field.

func (*SessionStatusPatchRequest) SetReconciledWorkflow

func (o *SessionStatusPatchRequest) SetReconciledWorkflow(v string)

SetReconciledWorkflow gets a reference to the given string and assigns it to the ReconciledWorkflow field.

func (*SessionStatusPatchRequest) SetSdkRestartCount

func (o *SessionStatusPatchRequest) SetSdkRestartCount(v int32)

SetSdkRestartCount gets a reference to the given int32 and assigns it to the SdkRestartCount field.

func (*SessionStatusPatchRequest) SetSdkSessionId

func (o *SessionStatusPatchRequest) SetSdkSessionId(v string)

SetSdkSessionId gets a reference to the given string and assigns it to the SdkSessionId field.

func (*SessionStatusPatchRequest) SetStartTime

func (o *SessionStatusPatchRequest) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

func (SessionStatusPatchRequest) ToMap

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

type User

type User struct {
	Id        *string    `json:"id,omitempty"`
	Kind      *string    `json:"kind,omitempty"`
	Href      *string    `json:"href,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	Username  string     `json:"username"`
	Name      string     `json:"name"`
	Email     *string    `json:"email,omitempty"`
}

User struct for User

func NewUser

func NewUser(username string, name string) *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*User) GetCreatedAtOk

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

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

func (*User) GetEmail

func (o *User) GetEmail() string

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

func (*User) GetEmailOk

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

func (o *User) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*User) GetHrefOk

func (o *User) GetHrefOk() (*string, bool)

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

func (*User) GetId

func (o *User) GetId() string

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

func (*User) GetIdOk

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

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

func (*User) GetKind

func (o *User) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*User) GetKindOk

func (o *User) GetKindOk() (*string, bool)

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

func (*User) GetName

func (o *User) GetName() string

GetName returns the Name field value

func (*User) GetNameOk

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

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

func (*User) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*User) GetUpdatedAtOk

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

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

func (*User) GetUsername

func (o *User) GetUsername() string

GetUsername returns the Username field value

func (*User) GetUsernameOk

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

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

func (*User) HasCreatedAt

func (o *User) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*User) HasEmail

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasHref

func (o *User) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasKind

func (o *User) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*User) HasUpdatedAt

func (o *User) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*User) SetEmail

func (o *User) SetEmail(v string)

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

func (*User) SetHref

func (o *User) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*User) SetId

func (o *User) SetId(v string)

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

func (*User) SetKind

func (o *User) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*User) SetName

func (o *User) SetName(v string)

SetName sets field value

func (*User) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername sets field value

func (User) ToMap

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

func (*User) UnmarshalJSON

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

type UserList

type UserList struct {
	Kind  string `json:"kind"`
	Page  int32  `json:"page"`
	Size  int32  `json:"size"`
	Total int32  `json:"total"`
	Items []User `json:"items"`
}

UserList struct for UserList

func NewUserList

func NewUserList(kind string, page int32, size int32, total int32, items []User) *UserList

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

func NewUserListWithDefaults

func NewUserListWithDefaults() *UserList

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

func (*UserList) GetItems

func (o *UserList) GetItems() []User

GetItems returns the Items field value

func (*UserList) GetItemsOk

func (o *UserList) GetItemsOk() ([]User, bool)

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

func (*UserList) GetKind

func (o *UserList) GetKind() string

GetKind returns the Kind field value

func (*UserList) GetKindOk

func (o *UserList) GetKindOk() (*string, bool)

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

func (*UserList) GetPage

func (o *UserList) GetPage() int32

GetPage returns the Page field value

func (*UserList) GetPageOk

func (o *UserList) GetPageOk() (*int32, bool)

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

func (*UserList) GetSize

func (o *UserList) GetSize() int32

GetSize returns the Size field value

func (*UserList) GetSizeOk

func (o *UserList) GetSizeOk() (*int32, bool)

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

func (*UserList) GetTotal

func (o *UserList) GetTotal() int32

GetTotal returns the Total field value

func (*UserList) GetTotalOk

func (o *UserList) GetTotalOk() (*int32, bool)

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

func (UserList) MarshalJSON

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

func (*UserList) SetItems

func (o *UserList) SetItems(v []User)

SetItems sets field value

func (*UserList) SetKind

func (o *UserList) SetKind(v string)

SetKind sets field value

func (*UserList) SetPage

func (o *UserList) SetPage(v int32)

SetPage sets field value

func (*UserList) SetSize

func (o *UserList) SetSize(v int32)

SetSize sets field value

func (*UserList) SetTotal

func (o *UserList) SetTotal(v int32)

SetTotal sets field value

func (UserList) ToMap

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

func (*UserList) UnmarshalJSON

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

type UserPatchRequest

type UserPatchRequest struct {
	Username *string `json:"username,omitempty"`
	Name     *string `json:"name,omitempty"`
	Email    *string `json:"email,omitempty"`
}

UserPatchRequest struct for UserPatchRequest

func NewUserPatchRequest

func NewUserPatchRequest() *UserPatchRequest

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

func NewUserPatchRequestWithDefaults

func NewUserPatchRequestWithDefaults() *UserPatchRequest

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

func (*UserPatchRequest) GetEmail

func (o *UserPatchRequest) GetEmail() string

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

func (*UserPatchRequest) GetEmailOk

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

func (o *UserPatchRequest) GetName() string

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

func (*UserPatchRequest) GetNameOk

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

func (o *UserPatchRequest) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UserPatchRequest) GetUsernameOk

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

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

func (*UserPatchRequest) HasEmail

func (o *UserPatchRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserPatchRequest) HasName

func (o *UserPatchRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserPatchRequest) HasUsername

func (o *UserPatchRequest) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (UserPatchRequest) MarshalJSON

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

func (*UserPatchRequest) SetEmail

func (o *UserPatchRequest) SetEmail(v string)

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

func (*UserPatchRequest) SetName

func (o *UserPatchRequest) SetName(v string)

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

func (*UserPatchRequest) SetUsername

func (o *UserPatchRequest) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (UserPatchRequest) ToMap

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

Jump to

Keyboard shortcuts

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