openapi

package module
v0.0.0-...-c448de3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for openapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 2.1.0
  • Package version: 1.0.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/oauth2
go get golang.org/x/net/context

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

import sw "./openapi"

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 sw.ContextServerIndex of type int.

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.effx.io/v2

Class Method HTTP request Description
ConfigApi ConfigLint Post /config/lint
ConfigApi ConfigPut Put /config
EventsApi EventsPost Post /events
ServicesApi DetectedServicesPut Put /detected_services
ServicesApi GetServiceById Get /services/{serviceId} Info for a specific service
ServicesApi ServicesGet Get /services
ServicesApi ServicesPut Put /services
TeamsApi GetTeamById Get /teams/{teamId} Info for a specific team
TeamsApi TeamsGet Get /teams
TeamsApi TeamsPut Put /teams

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given 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 {
	ConfigApi *ConfigApiService

	EventsApi *EventsApiService

	ServicesApi *ServicesApiService

	TeamsApi *TeamsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the effx API API v2.1.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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiConfigLintRequest

type ApiConfigLintRequest struct {
	ApiService *ConfigApiService
	// contains filtered or unexported fields
}

func (ApiConfigLintRequest) ConfigurationFile

func (r ApiConfigLintRequest) ConfigurationFile(configurationFile ConfigurationFile) ApiConfigLintRequest

func (ApiConfigLintRequest) Execute

func (r ApiConfigLintRequest) Execute() (*_nethttp.Response, error)

type ApiConfigPutRequest

type ApiConfigPutRequest struct {
	ApiService *ConfigApiService
	// contains filtered or unexported fields
}

func (ApiConfigPutRequest) ConfigurationFile

func (r ApiConfigPutRequest) ConfigurationFile(configurationFile ConfigurationFile) ApiConfigPutRequest

func (ApiConfigPutRequest) Execute

func (r ApiConfigPutRequest) Execute() (*_nethttp.Response, error)

type ApiDetectedServicesPutRequest

type ApiDetectedServicesPutRequest struct {
	ApiService *ServicesApiService
	// contains filtered or unexported fields
}

func (ApiDetectedServicesPutRequest) DetectedServicesPayload

func (r ApiDetectedServicesPutRequest) DetectedServicesPayload(detectedServicesPayload DetectedServicesPayload) ApiDetectedServicesPutRequest

func (ApiDetectedServicesPutRequest) Execute

func (ApiDetectedServicesPutRequest) XEffxApiKey

type ApiEventsPostRequest

type ApiEventsPostRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiEventsPostRequest) CreateEventPayload

func (r ApiEventsPostRequest) CreateEventPayload(createEventPayload CreateEventPayload) ApiEventsPostRequest

func (ApiEventsPostRequest) Execute

func (r ApiEventsPostRequest) Execute() (*_nethttp.Response, error)

func (ApiEventsPostRequest) XEffxApiKey

func (r ApiEventsPostRequest) XEffxApiKey(xEffxApiKey string) ApiEventsPostRequest

type ApiGetServiceByIdRequest

type ApiGetServiceByIdRequest struct {
	ApiService *ServicesApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceByIdRequest) Execute

func (ApiGetServiceByIdRequest) XEffxApiKey

func (r ApiGetServiceByIdRequest) XEffxApiKey(xEffxApiKey string) ApiGetServiceByIdRequest

type ApiGetTeamByIdRequest

type ApiGetTeamByIdRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiGetTeamByIdRequest) Execute

func (ApiGetTeamByIdRequest) XEffxApiKey

func (r ApiGetTeamByIdRequest) XEffxApiKey(xEffxApiKey string) ApiGetTeamByIdRequest

type ApiServicesGetRequest

type ApiServicesGetRequest struct {
	ApiService *ServicesApiService
	// contains filtered or unexported fields
}

func (ApiServicesGetRequest) Execute

func (ApiServicesGetRequest) Limit

func (ApiServicesGetRequest) Offset

func (ApiServicesGetRequest) XEffxApiKey

func (r ApiServicesGetRequest) XEffxApiKey(xEffxApiKey string) ApiServicesGetRequest

type ApiServicesPutRequest

type ApiServicesPutRequest struct {
	ApiService *ServicesApiService
	// contains filtered or unexported fields
}

func (ApiServicesPutRequest) Execute

func (r ApiServicesPutRequest) Execute() (*_nethttp.Response, error)

func (ApiServicesPutRequest) ServiceConfiguration

func (r ApiServicesPutRequest) ServiceConfiguration(serviceConfiguration ServiceConfiguration) ApiServicesPutRequest

func (ApiServicesPutRequest) XEffxApiKey

func (r ApiServicesPutRequest) XEffxApiKey(xEffxApiKey string) ApiServicesPutRequest

type ApiTeamsGetRequest

type ApiTeamsGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiTeamsGetRequest) Execute

func (ApiTeamsGetRequest) Limit

func (ApiTeamsGetRequest) Offset

func (r ApiTeamsGetRequest) Offset(offset int32) ApiTeamsGetRequest

func (ApiTeamsGetRequest) XEffxApiKey

func (r ApiTeamsGetRequest) XEffxApiKey(xEffxApiKey string) ApiTeamsGetRequest

type ApiTeamsPutRequest

type ApiTeamsPutRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (ApiTeamsPutRequest) Execute

func (r ApiTeamsPutRequest) Execute() (*_nethttp.Response, error)

func (ApiTeamsPutRequest) TeamConfiguration

func (r ApiTeamsPutRequest) TeamConfiguration(teamConfiguration TeamConfiguration) ApiTeamsPutRequest

func (ApiTeamsPutRequest) XEffxApiKey

func (r ApiTeamsPutRequest) XEffxApiKey(xEffxApiKey string) ApiTeamsPutRequest

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 ConfigApiService

type ConfigApiService service

ConfigApiService ConfigApi service

func (*ConfigApiService) ConfigLint

* ConfigLint Method for ConfigLint * Lints effx configuration objects * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiConfigLintRequest

func (*ConfigApiService) ConfigLintExecute

func (a *ConfigApiService) ConfigLintExecute(r ApiConfigLintRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*ConfigApiService) ConfigPut

* ConfigPut Method for ConfigPut * Creates/Updates effx configuration objects. A resource's name is used as its unique identifier. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiConfigPutRequest

func (*ConfigApiService) ConfigPutExecute

func (a *ConfigApiService) ConfigPutExecute(r ApiConfigPutRequest) (*_nethttp.Response, error)

* Execute executes the request

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 ConfigurationFile

type ConfigurationFile struct {
	// An Effx Yaml file serialized into a string
	FileContents string             `json:"fileContents"`
	Tags         *map[string]string `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations *map[string]string `json:"annotations,omitempty"`
}

ConfigurationFile struct for ConfigurationFile

func NewConfigurationFile

func NewConfigurationFile(fileContents string) *ConfigurationFile

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

func NewConfigurationFileWithDefaults

func NewConfigurationFileWithDefaults() *ConfigurationFile

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

func (*ConfigurationFile) GetAnnotations

func (o *ConfigurationFile) GetAnnotations() map[string]string

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

func (*ConfigurationFile) GetAnnotationsOk

func (o *ConfigurationFile) GetAnnotationsOk() (*map[string]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 (*ConfigurationFile) GetFileContents

func (o *ConfigurationFile) GetFileContents() string

GetFileContents returns the FileContents field value

func (*ConfigurationFile) GetFileContentsOk

func (o *ConfigurationFile) GetFileContentsOk() (*string, bool)

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

func (*ConfigurationFile) GetTags

func (o *ConfigurationFile) GetTags() map[string]string

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

func (*ConfigurationFile) GetTagsOk

func (o *ConfigurationFile) GetTagsOk() (*map[string]string, bool)

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

func (*ConfigurationFile) HasAnnotations

func (o *ConfigurationFile) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*ConfigurationFile) HasTags

func (o *ConfigurationFile) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ConfigurationFile) MarshalJSON

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

func (*ConfigurationFile) SetAnnotations

func (o *ConfigurationFile) SetAnnotations(v map[string]string)

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

func (*ConfigurationFile) SetFileContents

func (o *ConfigurationFile) SetFileContents(v string)

SetFileContents sets field value

func (*ConfigurationFile) SetTags

func (o *ConfigurationFile) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

type ContactInformation

type ContactInformation struct {
	Email        *string `json:"email,omitempty"`
	OnCall       *Link   `json:"onCall,omitempty"`
	Chat         *Link   `json:"chat,omitempty"`
	IssueTracker *Link   `json:"issueTracker,omitempty"`
}

ContactInformation struct for ContactInformation

func NewContactInformation

func NewContactInformation() *ContactInformation

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

func NewContactInformationWithDefaults

func NewContactInformationWithDefaults() *ContactInformation

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

func (*ContactInformation) GetChat

func (o *ContactInformation) GetChat() Link

GetChat returns the Chat field value if set, zero value otherwise.

func (*ContactInformation) GetChatOk

func (o *ContactInformation) GetChatOk() (*Link, bool)

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

func (*ContactInformation) GetEmail

func (o *ContactInformation) GetEmail() string

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

func (*ContactInformation) GetEmailOk

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

func (o *ContactInformation) GetIssueTracker() Link

GetIssueTracker returns the IssueTracker field value if set, zero value otherwise.

func (*ContactInformation) GetIssueTrackerOk

func (o *ContactInformation) GetIssueTrackerOk() (*Link, bool)

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

func (*ContactInformation) GetOnCall

func (o *ContactInformation) GetOnCall() Link

GetOnCall returns the OnCall field value if set, zero value otherwise.

func (*ContactInformation) GetOnCallOk

func (o *ContactInformation) GetOnCallOk() (*Link, bool)

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

func (*ContactInformation) HasChat

func (o *ContactInformation) HasChat() bool

HasChat returns a boolean if a field has been set.

func (*ContactInformation) HasEmail

func (o *ContactInformation) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ContactInformation) HasIssueTracker

func (o *ContactInformation) HasIssueTracker() bool

HasIssueTracker returns a boolean if a field has been set.

func (*ContactInformation) HasOnCall

func (o *ContactInformation) HasOnCall() bool

HasOnCall returns a boolean if a field has been set.

func (ContactInformation) MarshalJSON

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

func (*ContactInformation) SetChat

func (o *ContactInformation) SetChat(v Link)

SetChat gets a reference to the given Link and assigns it to the Chat field.

func (*ContactInformation) SetEmail

func (o *ContactInformation) SetEmail(v string)

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

func (*ContactInformation) SetIssueTracker

func (o *ContactInformation) SetIssueTracker(v Link)

SetIssueTracker gets a reference to the given Link and assigns it to the IssueTracker field.

func (*ContactInformation) SetOnCall

func (o *ContactInformation) SetOnCall(v Link)

SetOnCall gets a reference to the given Link and assigns it to the OnCall field.

type CreateEventPayload

type CreateEventPayload struct {
	Message string `json:"message"`
	Title   string `json:"title"`
	// the timestamp in milliseconds on which this event occurred. must be greater than 01/01/2020. If not specified, it will default to the timestamp on which the request was received.
	TimestampMilliseconds *int64                       `json:"timestamp_milliseconds,omitempty"`
	Tags                  *[]CreateEventPayloadTags    `json:"tags,omitempty"`
	Actions               *[]CreateEventPayloadActions `json:"actions,omitempty"`
	// the service's name that this event belongs to
	ServiceName *string `json:"service_name,omitempty"`
}

CreateEventPayload struct for CreateEventPayload

func NewCreateEventPayload

func NewCreateEventPayload(message string, title string) *CreateEventPayload

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

func NewCreateEventPayloadWithDefaults

func NewCreateEventPayloadWithDefaults() *CreateEventPayload

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

func (*CreateEventPayload) GetActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*CreateEventPayload) GetActionsOk

func (o *CreateEventPayload) GetActionsOk() (*[]CreateEventPayloadActions, bool)

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

func (*CreateEventPayload) GetMessage

func (o *CreateEventPayload) GetMessage() string

GetMessage returns the Message field value

func (*CreateEventPayload) GetMessageOk

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

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

func (*CreateEventPayload) GetServiceName

func (o *CreateEventPayload) GetServiceName() string

GetServiceName returns the ServiceName field value if set, zero value otherwise.

func (*CreateEventPayload) GetServiceNameOk

func (o *CreateEventPayload) GetServiceNameOk() (*string, bool)

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

func (*CreateEventPayload) GetTags

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

func (*CreateEventPayload) GetTagsOk

func (o *CreateEventPayload) GetTagsOk() (*[]CreateEventPayloadTags, bool)

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

func (*CreateEventPayload) GetTimestampMilliseconds

func (o *CreateEventPayload) GetTimestampMilliseconds() int64

GetTimestampMilliseconds returns the TimestampMilliseconds field value if set, zero value otherwise.

func (*CreateEventPayload) GetTimestampMillisecondsOk

func (o *CreateEventPayload) GetTimestampMillisecondsOk() (*int64, bool)

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

func (*CreateEventPayload) GetTitle

func (o *CreateEventPayload) GetTitle() string

GetTitle returns the Title field value

func (*CreateEventPayload) GetTitleOk

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

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

func (*CreateEventPayload) HasActions

func (o *CreateEventPayload) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*CreateEventPayload) HasServiceName

func (o *CreateEventPayload) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*CreateEventPayload) HasTags

func (o *CreateEventPayload) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateEventPayload) HasTimestampMilliseconds

func (o *CreateEventPayload) HasTimestampMilliseconds() bool

HasTimestampMilliseconds returns a boolean if a field has been set.

func (CreateEventPayload) MarshalJSON

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

func (*CreateEventPayload) SetActions

func (o *CreateEventPayload) SetActions(v []CreateEventPayloadActions)

SetActions gets a reference to the given []CreateEventPayloadActions and assigns it to the Actions field.

func (*CreateEventPayload) SetMessage

func (o *CreateEventPayload) SetMessage(v string)

SetMessage sets field value

func (*CreateEventPayload) SetServiceName

func (o *CreateEventPayload) SetServiceName(v string)

SetServiceName gets a reference to the given string and assigns it to the ServiceName field.

func (*CreateEventPayload) SetTags

SetTags gets a reference to the given []CreateEventPayloadTags and assigns it to the Tags field.

func (*CreateEventPayload) SetTimestampMilliseconds

func (o *CreateEventPayload) SetTimestampMilliseconds(v int64)

SetTimestampMilliseconds gets a reference to the given int64 and assigns it to the TimestampMilliseconds field.

func (*CreateEventPayload) SetTitle

func (o *CreateEventPayload) SetTitle(v string)

SetTitle sets field value

type CreateEventPayloadActions

type CreateEventPayloadActions struct {
	Level string `json:"level"`
	Name  string `json:"name"`
	Url   string `json:"url"`
}

CreateEventPayloadActions struct for CreateEventPayloadActions

func NewCreateEventPayloadActions

func NewCreateEventPayloadActions(level string, name string, url string) *CreateEventPayloadActions

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

func NewCreateEventPayloadActionsWithDefaults

func NewCreateEventPayloadActionsWithDefaults() *CreateEventPayloadActions

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

func (*CreateEventPayloadActions) GetLevel

func (o *CreateEventPayloadActions) GetLevel() string

GetLevel returns the Level field value

func (*CreateEventPayloadActions) GetLevelOk

func (o *CreateEventPayloadActions) GetLevelOk() (*string, bool)

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

func (*CreateEventPayloadActions) GetName

func (o *CreateEventPayloadActions) GetName() string

GetName returns the Name field value

func (*CreateEventPayloadActions) GetNameOk

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

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

func (*CreateEventPayloadActions) GetUrl

func (o *CreateEventPayloadActions) GetUrl() string

GetUrl returns the Url field value

func (*CreateEventPayloadActions) GetUrlOk

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

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

func (CreateEventPayloadActions) MarshalJSON

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

func (*CreateEventPayloadActions) SetLevel

func (o *CreateEventPayloadActions) SetLevel(v string)

SetLevel sets field value

func (*CreateEventPayloadActions) SetName

func (o *CreateEventPayloadActions) SetName(v string)

SetName sets field value

func (*CreateEventPayloadActions) SetUrl

func (o *CreateEventPayloadActions) SetUrl(v string)

SetUrl sets field value

type CreateEventPayloadTags

type CreateEventPayloadTags struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

CreateEventPayloadTags struct for CreateEventPayloadTags

func NewCreateEventPayloadTags

func NewCreateEventPayloadTags(key string, value string) *CreateEventPayloadTags

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

func NewCreateEventPayloadTagsWithDefaults

func NewCreateEventPayloadTagsWithDefaults() *CreateEventPayloadTags

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

func (*CreateEventPayloadTags) GetKey

func (o *CreateEventPayloadTags) GetKey() string

GetKey returns the Key field value

func (*CreateEventPayloadTags) GetKeyOk

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

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

func (*CreateEventPayloadTags) GetValue

func (o *CreateEventPayloadTags) GetValue() string

GetValue returns the Value field value

func (*CreateEventPayloadTags) GetValueOk

func (o *CreateEventPayloadTags) GetValueOk() (*string, bool)

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

func (CreateEventPayloadTags) MarshalJSON

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

func (*CreateEventPayloadTags) SetKey

func (o *CreateEventPayloadTags) SetKey(v string)

SetKey sets field value

func (*CreateEventPayloadTags) SetValue

func (o *CreateEventPayloadTags) SetValue(v string)

SetValue sets field value

type Dependencies

type Dependencies struct {
	Manual *[]ManualDependency `json:"manual,omitempty"`
}

Dependencies Declare dependencies on other services

func NewDependencies

func NewDependencies() *Dependencies

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

func NewDependenciesWithDefaults

func NewDependenciesWithDefaults() *Dependencies

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

func (*Dependencies) GetManual

func (o *Dependencies) GetManual() []ManualDependency

GetManual returns the Manual field value if set, zero value otherwise.

func (*Dependencies) GetManualOk

func (o *Dependencies) GetManualOk() (*[]ManualDependency, bool)

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

func (*Dependencies) HasManual

func (o *Dependencies) HasManual() bool

HasManual returns a boolean if a field has been set.

func (Dependencies) MarshalJSON

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

func (*Dependencies) SetManual

func (o *Dependencies) SetManual(v []ManualDependency)

SetManual gets a reference to the given []ManualDependency and assigns it to the Manual field.

type DetectedServicesPayload

type DetectedServicesPayload struct {
	Name         string             `json:"name"`
	Description  *string            `json:"description,omitempty"`
	SourceName   *string            `json:"sourceName,omitempty"`
	Email        *string            `json:"email,omitempty"`
	OnCall       *Link              `json:"onCall,omitempty"`
	Chat         *Link              `json:"chat,omitempty"`
	IssueTracker *Link              `json:"issueTracker,omitempty"`
	LinkGroups   *[]LinkGroup       `json:"linkGroups,omitempty"`
	Tags         *map[string]string `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations *map[string]string `json:"annotations,omitempty"`
}

DetectedServicesPayload struct for DetectedServicesPayload

func NewDetectedServicesPayload

func NewDetectedServicesPayload(name string) *DetectedServicesPayload

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

func NewDetectedServicesPayloadWithDefaults

func NewDetectedServicesPayloadWithDefaults() *DetectedServicesPayload

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

func (*DetectedServicesPayload) GetAnnotations

func (o *DetectedServicesPayload) GetAnnotations() map[string]string

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

func (*DetectedServicesPayload) GetAnnotationsOk

func (o *DetectedServicesPayload) GetAnnotationsOk() (*map[string]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 (*DetectedServicesPayload) GetChat

func (o *DetectedServicesPayload) GetChat() Link

GetChat returns the Chat field value if set, zero value otherwise.

func (*DetectedServicesPayload) GetChatOk

func (o *DetectedServicesPayload) GetChatOk() (*Link, bool)

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

func (*DetectedServicesPayload) GetDescription

func (o *DetectedServicesPayload) GetDescription() string

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

func (*DetectedServicesPayload) GetDescriptionOk

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

func (o *DetectedServicesPayload) GetEmail() string

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

func (*DetectedServicesPayload) GetEmailOk

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

func (o *DetectedServicesPayload) GetIssueTracker() Link

GetIssueTracker returns the IssueTracker field value if set, zero value otherwise.

func (*DetectedServicesPayload) GetIssueTrackerOk

func (o *DetectedServicesPayload) GetIssueTrackerOk() (*Link, bool)

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

func (*DetectedServicesPayload) GetLinkGroups

func (o *DetectedServicesPayload) GetLinkGroups() []LinkGroup

GetLinkGroups returns the LinkGroups field value if set, zero value otherwise.

func (*DetectedServicesPayload) GetLinkGroupsOk

func (o *DetectedServicesPayload) GetLinkGroupsOk() (*[]LinkGroup, bool)

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

func (*DetectedServicesPayload) GetName

func (o *DetectedServicesPayload) GetName() string

GetName returns the Name field value

func (*DetectedServicesPayload) GetNameOk

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

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

func (*DetectedServicesPayload) GetOnCall

func (o *DetectedServicesPayload) GetOnCall() Link

GetOnCall returns the OnCall field value if set, zero value otherwise.

func (*DetectedServicesPayload) GetOnCallOk

func (o *DetectedServicesPayload) GetOnCallOk() (*Link, bool)

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

func (*DetectedServicesPayload) GetSourceName

func (o *DetectedServicesPayload) GetSourceName() string

GetSourceName returns the SourceName field value if set, zero value otherwise.

func (*DetectedServicesPayload) GetSourceNameOk

func (o *DetectedServicesPayload) GetSourceNameOk() (*string, bool)

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

func (*DetectedServicesPayload) GetTags

func (o *DetectedServicesPayload) GetTags() map[string]string

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

func (*DetectedServicesPayload) GetTagsOk

func (o *DetectedServicesPayload) GetTagsOk() (*map[string]string, bool)

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

func (*DetectedServicesPayload) HasAnnotations

func (o *DetectedServicesPayload) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasChat

func (o *DetectedServicesPayload) HasChat() bool

HasChat returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasDescription

func (o *DetectedServicesPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasEmail

func (o *DetectedServicesPayload) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasIssueTracker

func (o *DetectedServicesPayload) HasIssueTracker() bool

HasIssueTracker returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasLinkGroups

func (o *DetectedServicesPayload) HasLinkGroups() bool

HasLinkGroups returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasOnCall

func (o *DetectedServicesPayload) HasOnCall() bool

HasOnCall returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasSourceName

func (o *DetectedServicesPayload) HasSourceName() bool

HasSourceName returns a boolean if a field has been set.

func (*DetectedServicesPayload) HasTags

func (o *DetectedServicesPayload) HasTags() bool

HasTags returns a boolean if a field has been set.

func (DetectedServicesPayload) MarshalJSON

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

func (*DetectedServicesPayload) SetAnnotations

func (o *DetectedServicesPayload) SetAnnotations(v map[string]string)

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

func (*DetectedServicesPayload) SetChat

func (o *DetectedServicesPayload) SetChat(v Link)

SetChat gets a reference to the given Link and assigns it to the Chat field.

func (*DetectedServicesPayload) SetDescription

func (o *DetectedServicesPayload) SetDescription(v string)

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

func (*DetectedServicesPayload) SetEmail

func (o *DetectedServicesPayload) SetEmail(v string)

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

func (*DetectedServicesPayload) SetIssueTracker

func (o *DetectedServicesPayload) SetIssueTracker(v Link)

SetIssueTracker gets a reference to the given Link and assigns it to the IssueTracker field.

func (*DetectedServicesPayload) SetLinkGroups

func (o *DetectedServicesPayload) SetLinkGroups(v []LinkGroup)

SetLinkGroups gets a reference to the given []LinkGroup and assigns it to the LinkGroups field.

func (*DetectedServicesPayload) SetName

func (o *DetectedServicesPayload) SetName(v string)

SetName sets field value

func (*DetectedServicesPayload) SetOnCall

func (o *DetectedServicesPayload) SetOnCall(v Link)

SetOnCall gets a reference to the given Link and assigns it to the OnCall field.

func (*DetectedServicesPayload) SetSourceName

func (o *DetectedServicesPayload) SetSourceName(v string)

SetSourceName gets a reference to the given string and assigns it to the SourceName field.

func (*DetectedServicesPayload) SetTags

func (o *DetectedServicesPayload) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

type Error

type Error struct {
	Message string `json:"message"`
}

Error struct for Error

func NewError

func NewError(message string) *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) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

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

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

func (Error) MarshalJSON

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

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) EventsPost

* EventsPost Method for EventsPost * Create an event in effx for use in the event feed. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiEventsPostRequest

func (*EventsApiService) EventsPostExecute

func (a *EventsApiService) EventsPostExecute(r ApiEventsPostRequest) (*_nethttp.Response, error)

* Execute executes the request

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 InlineResponse200

type InlineResponse200 struct {
	Services   *[]Service  `json:"services,omitempty"`
	Pagination *Pagination `json:"pagination,omitempty"`
}

InlineResponse200 struct for InlineResponse200

func NewInlineResponse200

func NewInlineResponse200() *InlineResponse200

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

func NewInlineResponse200WithDefaults

func NewInlineResponse200WithDefaults() *InlineResponse200

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

func (*InlineResponse200) GetPagination

func (o *InlineResponse200) GetPagination() Pagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*InlineResponse200) GetPaginationOk

func (o *InlineResponse200) GetPaginationOk() (*Pagination, bool)

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

func (*InlineResponse200) GetServices

func (o *InlineResponse200) GetServices() []Service

GetServices returns the Services field value if set, zero value otherwise.

func (*InlineResponse200) GetServicesOk

func (o *InlineResponse200) GetServicesOk() (*[]Service, bool)

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

func (*InlineResponse200) HasPagination

func (o *InlineResponse200) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (*InlineResponse200) HasServices

func (o *InlineResponse200) HasServices() bool

HasServices returns a boolean if a field has been set.

func (InlineResponse200) MarshalJSON

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

func (*InlineResponse200) SetPagination

func (o *InlineResponse200) SetPagination(v Pagination)

SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.

func (*InlineResponse200) SetServices

func (o *InlineResponse200) SetServices(v []Service)

SetServices gets a reference to the given []Service and assigns it to the Services field.

type InlineResponse2001

type InlineResponse2001 struct {
	Teams      *[]Team     `json:"teams,omitempty"`
	Pagination *Pagination `json:"pagination,omitempty"`
}

InlineResponse2001 struct for InlineResponse2001

func NewInlineResponse2001

func NewInlineResponse2001() *InlineResponse2001

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

func NewInlineResponse2001WithDefaults

func NewInlineResponse2001WithDefaults() *InlineResponse2001

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

func (*InlineResponse2001) GetPagination

func (o *InlineResponse2001) GetPagination() Pagination

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*InlineResponse2001) GetPaginationOk

func (o *InlineResponse2001) GetPaginationOk() (*Pagination, bool)

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

func (*InlineResponse2001) GetTeams

func (o *InlineResponse2001) GetTeams() []Team

GetTeams returns the Teams field value if set, zero value otherwise.

func (*InlineResponse2001) GetTeamsOk

func (o *InlineResponse2001) GetTeamsOk() (*[]Team, bool)

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

func (*InlineResponse2001) HasPagination

func (o *InlineResponse2001) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (*InlineResponse2001) HasTeams

func (o *InlineResponse2001) HasTeams() bool

HasTeams returns a boolean if a field has been set.

func (InlineResponse2001) MarshalJSON

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

func (*InlineResponse2001) SetPagination

func (o *InlineResponse2001) SetPagination(v Pagination)

SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.

func (*InlineResponse2001) SetTeams

func (o *InlineResponse2001) SetTeams(v []Team)

SetTeams gets a reference to the given []Team and assigns it to the Teams field.

type Link struct {
	Label *string `json:"label,omitempty"`
	Url   string  `json:"url"`
}

Link struct for Link

func NewLink(url string) *Link

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

func NewLinkWithDefaults

func NewLinkWithDefaults() *Link

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

func (*Link) GetLabel

func (o *Link) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*Link) GetLabelOk

func (o *Link) GetLabelOk() (*string, bool)

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

func (*Link) GetUrl

func (o *Link) GetUrl() string

GetUrl returns the Url field value

func (*Link) GetUrlOk

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

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

func (*Link) HasLabel

func (o *Link) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (Link) MarshalJSON

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

func (*Link) SetLabel

func (o *Link) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*Link) SetUrl

func (o *Link) SetUrl(v string)

SetUrl sets field value

type LinkGroup

type LinkGroup struct {
	// A value to display that the top of the group of links
	Label string `json:"label"`
	Links []Link `json:"links"`
}

LinkGroup struct for LinkGroup

func NewLinkGroup

func NewLinkGroup(label string, links []Link) *LinkGroup

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

func NewLinkGroupWithDefaults

func NewLinkGroupWithDefaults() *LinkGroup

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

func (*LinkGroup) GetLabel

func (o *LinkGroup) GetLabel() string

GetLabel returns the Label field value

func (*LinkGroup) GetLabelOk

func (o *LinkGroup) GetLabelOk() (*string, bool)

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

func (o *LinkGroup) GetLinks() []Link

GetLinks returns the Links field value

func (*LinkGroup) GetLinksOk

func (o *LinkGroup) GetLinksOk() (*[]Link, bool)

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

func (LinkGroup) MarshalJSON

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

func (*LinkGroup) SetLabel

func (o *LinkGroup) SetLabel(v string)

SetLabel sets field value

func (o *LinkGroup) SetLinks(v []Link)

SetLinks sets field value

type ManualDependency

type ManualDependency struct {
	// The kind of entity to depend on. Defaults to 'service'
	Kind *string `json:"kind,omitempty"`
	// Matches a dependency by the kind's name
	Name *string `json:"name,omitempty"`
}

ManualDependency An explicit dependency on another entity

func NewManualDependency

func NewManualDependency() *ManualDependency

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

func NewManualDependencyWithDefaults

func NewManualDependencyWithDefaults() *ManualDependency

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

func (*ManualDependency) GetKind

func (o *ManualDependency) GetKind() string

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

func (*ManualDependency) GetKindOk

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

func (o *ManualDependency) GetName() string

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

func (*ManualDependency) GetNameOk

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

func (o *ManualDependency) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ManualDependency) HasName

func (o *ManualDependency) HasName() bool

HasName returns a boolean if a field has been set.

func (ManualDependency) MarshalJSON

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

func (*ManualDependency) SetKind

func (o *ManualDependency) SetKind(v string)

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

func (*ManualDependency) SetName

func (o *ManualDependency) SetName(v string)

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

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 NullableConfigurationFile

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

func NewNullableConfigurationFile

func NewNullableConfigurationFile(val *ConfigurationFile) *NullableConfigurationFile

func (NullableConfigurationFile) Get

func (NullableConfigurationFile) IsSet

func (v NullableConfigurationFile) IsSet() bool

func (NullableConfigurationFile) MarshalJSON

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

func (*NullableConfigurationFile) Set

func (*NullableConfigurationFile) UnmarshalJSON

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

func (*NullableConfigurationFile) Unset

func (v *NullableConfigurationFile) Unset()

type NullableContactInformation

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

func NewNullableContactInformation

func NewNullableContactInformation(val *ContactInformation) *NullableContactInformation

func (NullableContactInformation) Get

func (NullableContactInformation) IsSet

func (v NullableContactInformation) IsSet() bool

func (NullableContactInformation) MarshalJSON

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

func (*NullableContactInformation) Set

func (*NullableContactInformation) UnmarshalJSON

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

func (*NullableContactInformation) Unset

func (v *NullableContactInformation) Unset()

type NullableCreateEventPayload

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

func NewNullableCreateEventPayload

func NewNullableCreateEventPayload(val *CreateEventPayload) *NullableCreateEventPayload

func (NullableCreateEventPayload) Get

func (NullableCreateEventPayload) IsSet

func (v NullableCreateEventPayload) IsSet() bool

func (NullableCreateEventPayload) MarshalJSON

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

func (*NullableCreateEventPayload) Set

func (*NullableCreateEventPayload) UnmarshalJSON

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

func (*NullableCreateEventPayload) Unset

func (v *NullableCreateEventPayload) Unset()

type NullableCreateEventPayloadActions

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

func (NullableCreateEventPayloadActions) Get

func (NullableCreateEventPayloadActions) IsSet

func (NullableCreateEventPayloadActions) MarshalJSON

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

func (*NullableCreateEventPayloadActions) Set

func (*NullableCreateEventPayloadActions) UnmarshalJSON

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

func (*NullableCreateEventPayloadActions) Unset

type NullableCreateEventPayloadTags

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

func (NullableCreateEventPayloadTags) Get

func (NullableCreateEventPayloadTags) IsSet

func (NullableCreateEventPayloadTags) MarshalJSON

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

func (*NullableCreateEventPayloadTags) Set

func (*NullableCreateEventPayloadTags) UnmarshalJSON

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

func (*NullableCreateEventPayloadTags) Unset

func (v *NullableCreateEventPayloadTags) Unset()

type NullableDependencies

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

func NewNullableDependencies

func NewNullableDependencies(val *Dependencies) *NullableDependencies

func (NullableDependencies) Get

func (NullableDependencies) IsSet

func (v NullableDependencies) IsSet() bool

func (NullableDependencies) MarshalJSON

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

func (*NullableDependencies) Set

func (v *NullableDependencies) Set(val *Dependencies)

func (*NullableDependencies) UnmarshalJSON

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

func (*NullableDependencies) Unset

func (v *NullableDependencies) Unset()

type NullableDetectedServicesPayload

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

func (NullableDetectedServicesPayload) Get

func (NullableDetectedServicesPayload) IsSet

func (NullableDetectedServicesPayload) MarshalJSON

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

func (*NullableDetectedServicesPayload) Set

func (*NullableDetectedServicesPayload) UnmarshalJSON

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

func (*NullableDetectedServicesPayload) 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 NullableInlineResponse200

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

func NewNullableInlineResponse200

func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200

func (NullableInlineResponse200) Get

func (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

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

func (*NullableInlineResponse200) Set

func (*NullableInlineResponse200) UnmarshalJSON

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

func (*NullableInlineResponse200) Unset

func (v *NullableInlineResponse200) Unset()

type NullableInlineResponse2001

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

func NewNullableInlineResponse2001

func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001

func (NullableInlineResponse2001) Get

func (NullableInlineResponse2001) IsSet

func (v NullableInlineResponse2001) IsSet() bool

func (NullableInlineResponse2001) MarshalJSON

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

func (*NullableInlineResponse2001) Set

func (*NullableInlineResponse2001) UnmarshalJSON

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

func (*NullableInlineResponse2001) Unset

func (v *NullableInlineResponse2001) 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 NullableLink struct {
	// contains filtered or unexported fields
}
func NewNullableLink(val *Link) *NullableLink

func (NullableLink) Get

func (v NullableLink) Get() *Link

func (NullableLink) IsSet

func (v NullableLink) IsSet() bool

func (NullableLink) MarshalJSON

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

func (*NullableLink) Set

func (v *NullableLink) Set(val *Link)

func (*NullableLink) UnmarshalJSON

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

func (*NullableLink) Unset

func (v *NullableLink) Unset()

type NullableLinkGroup

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

func NewNullableLinkGroup

func NewNullableLinkGroup(val *LinkGroup) *NullableLinkGroup

func (NullableLinkGroup) Get

func (v NullableLinkGroup) Get() *LinkGroup

func (NullableLinkGroup) IsSet

func (v NullableLinkGroup) IsSet() bool

func (NullableLinkGroup) MarshalJSON

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

func (*NullableLinkGroup) Set

func (v *NullableLinkGroup) Set(val *LinkGroup)

func (*NullableLinkGroup) UnmarshalJSON

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

func (*NullableLinkGroup) Unset

func (v *NullableLinkGroup) Unset()

type NullableManualDependency

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

func NewNullableManualDependency

func NewNullableManualDependency(val *ManualDependency) *NullableManualDependency

func (NullableManualDependency) Get

func (NullableManualDependency) IsSet

func (v NullableManualDependency) IsSet() bool

func (NullableManualDependency) MarshalJSON

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

func (*NullableManualDependency) Set

func (*NullableManualDependency) UnmarshalJSON

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

func (*NullableManualDependency) Unset

func (v *NullableManualDependency) Unset()

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

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

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullableService

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

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

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

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

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

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceConfiguration

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

func NewNullableServiceConfiguration

func NewNullableServiceConfiguration(val *ServiceConfiguration) *NullableServiceConfiguration

func (NullableServiceConfiguration) Get

func (NullableServiceConfiguration) IsSet

func (NullableServiceConfiguration) MarshalJSON

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

func (*NullableServiceConfiguration) Set

func (*NullableServiceConfiguration) UnmarshalJSON

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

func (*NullableServiceConfiguration) Unset

func (v *NullableServiceConfiguration) Unset()

type NullableServiceConfigurationSpec

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

func (NullableServiceConfigurationSpec) Get

func (NullableServiceConfigurationSpec) IsSet

func (NullableServiceConfigurationSpec) MarshalJSON

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

func (*NullableServiceConfigurationSpec) Set

func (*NullableServiceConfigurationSpec) UnmarshalJSON

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

func (*NullableServiceConfigurationSpec) 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 NullableTeam

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

func NewNullableTeam

func NewNullableTeam(val *Team) *NullableTeam

func (NullableTeam) Get

func (v NullableTeam) Get() *Team

func (NullableTeam) IsSet

func (v NullableTeam) IsSet() bool

func (NullableTeam) MarshalJSON

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

func (*NullableTeam) Set

func (v *NullableTeam) Set(val *Team)

func (*NullableTeam) UnmarshalJSON

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

func (*NullableTeam) Unset

func (v *NullableTeam) Unset()

type NullableTeamConfiguration

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

func NewNullableTeamConfiguration

func NewNullableTeamConfiguration(val *TeamConfiguration) *NullableTeamConfiguration

func (NullableTeamConfiguration) Get

func (NullableTeamConfiguration) IsSet

func (v NullableTeamConfiguration) IsSet() bool

func (NullableTeamConfiguration) MarshalJSON

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

func (*NullableTeamConfiguration) Set

func (*NullableTeamConfiguration) UnmarshalJSON

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

func (*NullableTeamConfiguration) Unset

func (v *NullableTeamConfiguration) Unset()

type NullableTeamConfigurationSpec

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

func (NullableTeamConfigurationSpec) Get

func (NullableTeamConfigurationSpec) IsSet

func (NullableTeamConfigurationSpec) MarshalJSON

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

func (*NullableTeamConfigurationSpec) Set

func (*NullableTeamConfigurationSpec) UnmarshalJSON

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

func (*NullableTeamConfigurationSpec) Unset

func (v *NullableTeamConfigurationSpec) 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 Pagination

type Pagination struct {
	// The offset to be used for the next request. When there are no more records, this value will be null.
	NextOffset NullableInt32 `json:"nextOffset,omitempty"`
	// The total number of records.
	TotalResults *int32 `json:"totalResults,omitempty"`
}

Pagination struct for Pagination

func NewPagination

func NewPagination() *Pagination

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

func NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

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

func (*Pagination) GetNextOffset

func (o *Pagination) GetNextOffset() int32

GetNextOffset returns the NextOffset field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Pagination) GetNextOffsetOk

func (o *Pagination) GetNextOffsetOk() (*int32, bool)

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

func (*Pagination) GetTotalResults

func (o *Pagination) GetTotalResults() int32

GetTotalResults returns the TotalResults field value if set, zero value otherwise.

func (*Pagination) GetTotalResultsOk

func (o *Pagination) GetTotalResultsOk() (*int32, bool)

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

func (*Pagination) HasNextOffset

func (o *Pagination) HasNextOffset() bool

HasNextOffset returns a boolean if a field has been set.

func (*Pagination) HasTotalResults

func (o *Pagination) HasTotalResults() bool

HasTotalResults returns a boolean if a field has been set.

func (Pagination) MarshalJSON

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

func (*Pagination) SetNextOffset

func (o *Pagination) SetNextOffset(v int32)

SetNextOffset gets a reference to the given NullableInt32 and assigns it to the NextOffset field.

func (*Pagination) SetNextOffsetNil

func (o *Pagination) SetNextOffsetNil()

SetNextOffsetNil sets the value for NextOffset to be an explicit nil

func (*Pagination) SetTotalResults

func (o *Pagination) SetTotalResults(v int32)

SetTotalResults gets a reference to the given int32 and assigns it to the TotalResults field.

func (*Pagination) UnsetNextOffset

func (o *Pagination) UnsetNextOffset()

UnsetNextOffset ensures that no value is present for NextOffset, not even an explicit nil

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 Service

type Service struct {
	// uuid of the service object
	Id *string `json:"id,omitempty"`
	// url safe string representation of the service's name
	Slug        *string             `json:"slug,omitempty"`
	Name        *string             `json:"name,omitempty"`
	Description *string             `json:"description,omitempty"`
	Contact     *ContactInformation `json:"contact,omitempty"`
	Tags        *map[string]string  `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations  *map[string]string `json:"annotations,omitempty"`
	LinkGroups   *[]LinkGroup       `json:"linkGroups,omitempty"`
	Dependencies *Dependencies      `json:"dependencies,omitempty"`
	// team id that owns this service.
	OwnerId NullableString `json:"ownerId,omitempty"`
}

Service struct for Service

func NewService

func NewService() *Service

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

func NewServiceWithDefaults

func NewServiceWithDefaults() *Service

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

func (*Service) GetAnnotations

func (o *Service) GetAnnotations() map[string]string

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

func (*Service) GetAnnotationsOk

func (o *Service) GetAnnotationsOk() (*map[string]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 (*Service) GetContact

func (o *Service) GetContact() ContactInformation

GetContact returns the Contact field value if set, zero value otherwise.

func (*Service) GetContactOk

func (o *Service) GetContactOk() (*ContactInformation, bool)

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

func (*Service) GetDependencies

func (o *Service) GetDependencies() Dependencies

GetDependencies returns the Dependencies field value if set, zero value otherwise.

func (*Service) GetDependenciesOk

func (o *Service) GetDependenciesOk() (*Dependencies, bool)

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

func (*Service) GetDescription

func (o *Service) GetDescription() string

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

func (*Service) GetDescriptionOk

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

func (o *Service) GetId() string

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

func (*Service) GetIdOk

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

func (o *Service) GetLinkGroups() []LinkGroup

GetLinkGroups returns the LinkGroups field value if set, zero value otherwise.

func (*Service) GetLinkGroupsOk

func (o *Service) GetLinkGroupsOk() (*[]LinkGroup, bool)

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

func (*Service) GetName

func (o *Service) GetName() string

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

func (*Service) GetNameOk

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

func (o *Service) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Service) GetOwnerIdOk

func (o *Service) GetOwnerIdOk() (*string, bool)

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

func (*Service) GetSlug

func (o *Service) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Service) GetSlugOk

func (o *Service) GetSlugOk() (*string, bool)

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

func (*Service) GetTags

func (o *Service) GetTags() map[string]string

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

func (*Service) GetTagsOk

func (o *Service) GetTagsOk() (*map[string]string, bool)

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

func (*Service) HasAnnotations

func (o *Service) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*Service) HasContact

func (o *Service) HasContact() bool

HasContact returns a boolean if a field has been set.

func (*Service) HasDependencies

func (o *Service) HasDependencies() bool

HasDependencies returns a boolean if a field has been set.

func (*Service) HasDescription

func (o *Service) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Service) HasId

func (o *Service) HasId() bool

HasId returns a boolean if a field has been set.

func (*Service) HasLinkGroups

func (o *Service) HasLinkGroups() bool

HasLinkGroups returns a boolean if a field has been set.

func (*Service) HasName

func (o *Service) HasName() bool

HasName returns a boolean if a field has been set.

func (*Service) HasOwnerId

func (o *Service) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*Service) HasSlug

func (o *Service) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*Service) HasTags

func (o *Service) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Service) MarshalJSON

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

func (*Service) SetAnnotations

func (o *Service) SetAnnotations(v map[string]string)

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

func (*Service) SetContact

func (o *Service) SetContact(v ContactInformation)

SetContact gets a reference to the given ContactInformation and assigns it to the Contact field.

func (*Service) SetDependencies

func (o *Service) SetDependencies(v Dependencies)

SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.

func (*Service) SetDescription

func (o *Service) SetDescription(v string)

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

func (*Service) SetId

func (o *Service) SetId(v string)

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

func (*Service) SetLinkGroups

func (o *Service) SetLinkGroups(v []LinkGroup)

SetLinkGroups gets a reference to the given []LinkGroup and assigns it to the LinkGroups field.

func (*Service) SetName

func (o *Service) SetName(v string)

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

func (*Service) SetOwnerId

func (o *Service) SetOwnerId(v string)

SetOwnerId gets a reference to the given NullableString and assigns it to the OwnerId field.

func (*Service) SetOwnerIdNil

func (o *Service) SetOwnerIdNil()

SetOwnerIdNil sets the value for OwnerId to be an explicit nil

func (*Service) SetSlug

func (o *Service) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*Service) SetTags

func (o *Service) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*Service) UnsetOwnerId

func (o *Service) UnsetOwnerId()

UnsetOwnerId ensures that no value is present for OwnerId, not even an explicit nil

type ServiceConfiguration

type ServiceConfiguration struct {
	Version string                   `json:"version"`
	Kind    string                   `json:"kind"`
	Spec    ServiceConfigurationSpec `json:"spec"`
}

ServiceConfiguration struct for ServiceConfiguration

func NewServiceConfiguration

func NewServiceConfiguration(version string, kind string, spec ServiceConfigurationSpec) *ServiceConfiguration

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

func NewServiceConfigurationWithDefaults

func NewServiceConfigurationWithDefaults() *ServiceConfiguration

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

func (*ServiceConfiguration) GetKind

func (o *ServiceConfiguration) GetKind() string

GetKind returns the Kind field value

func (*ServiceConfiguration) GetKindOk

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

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

func (*ServiceConfiguration) GetSpec

GetSpec returns the Spec field value

func (*ServiceConfiguration) GetSpecOk

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

func (*ServiceConfiguration) GetVersion

func (o *ServiceConfiguration) GetVersion() string

GetVersion returns the Version field value

func (*ServiceConfiguration) GetVersionOk

func (o *ServiceConfiguration) GetVersionOk() (*string, bool)

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

func (ServiceConfiguration) MarshalJSON

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

func (*ServiceConfiguration) SetKind

func (o *ServiceConfiguration) SetKind(v string)

SetKind sets field value

func (*ServiceConfiguration) SetSpec

SetSpec sets field value

func (*ServiceConfiguration) SetVersion

func (o *ServiceConfiguration) SetVersion(v string)

SetVersion sets field value

type ServiceConfigurationSpec

type ServiceConfigurationSpec struct {
	Name        string             `json:"name"`
	Description *string            `json:"description,omitempty"`
	Contact     ContactInformation `json:"contact"`
	LinkGroups  *[]LinkGroup       `json:"linkGroups,omitempty"`
	Tags        *map[string]string `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations  *map[string]string `json:"annotations,omitempty"`
	Dependencies *Dependencies      `json:"dependencies,omitempty"`
}

ServiceConfigurationSpec struct for ServiceConfigurationSpec

func NewServiceConfigurationSpec

func NewServiceConfigurationSpec(name string, contact ContactInformation) *ServiceConfigurationSpec

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

func NewServiceConfigurationSpecWithDefaults

func NewServiceConfigurationSpecWithDefaults() *ServiceConfigurationSpec

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

func (*ServiceConfigurationSpec) GetAnnotations

func (o *ServiceConfigurationSpec) GetAnnotations() map[string]string

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

func (*ServiceConfigurationSpec) GetAnnotationsOk

func (o *ServiceConfigurationSpec) GetAnnotationsOk() (*map[string]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 (*ServiceConfigurationSpec) GetContact

GetContact returns the Contact field value

func (*ServiceConfigurationSpec) GetContactOk

func (o *ServiceConfigurationSpec) GetContactOk() (*ContactInformation, bool)

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

func (*ServiceConfigurationSpec) GetDependencies

func (o *ServiceConfigurationSpec) GetDependencies() Dependencies

GetDependencies returns the Dependencies field value if set, zero value otherwise.

func (*ServiceConfigurationSpec) GetDependenciesOk

func (o *ServiceConfigurationSpec) GetDependenciesOk() (*Dependencies, bool)

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

func (*ServiceConfigurationSpec) GetDescription

func (o *ServiceConfigurationSpec) GetDescription() string

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

func (*ServiceConfigurationSpec) GetDescriptionOk

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

func (o *ServiceConfigurationSpec) GetLinkGroups() []LinkGroup

GetLinkGroups returns the LinkGroups field value if set, zero value otherwise.

func (*ServiceConfigurationSpec) GetLinkGroupsOk

func (o *ServiceConfigurationSpec) GetLinkGroupsOk() (*[]LinkGroup, bool)

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

func (*ServiceConfigurationSpec) GetName

func (o *ServiceConfigurationSpec) GetName() string

GetName returns the Name field value

func (*ServiceConfigurationSpec) GetNameOk

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

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

func (*ServiceConfigurationSpec) GetTags

func (o *ServiceConfigurationSpec) GetTags() map[string]string

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

func (*ServiceConfigurationSpec) GetTagsOk

func (o *ServiceConfigurationSpec) GetTagsOk() (*map[string]string, bool)

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

func (*ServiceConfigurationSpec) HasAnnotations

func (o *ServiceConfigurationSpec) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*ServiceConfigurationSpec) HasDependencies

func (o *ServiceConfigurationSpec) HasDependencies() bool

HasDependencies returns a boolean if a field has been set.

func (*ServiceConfigurationSpec) HasDescription

func (o *ServiceConfigurationSpec) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceConfigurationSpec) HasLinkGroups

func (o *ServiceConfigurationSpec) HasLinkGroups() bool

HasLinkGroups returns a boolean if a field has been set.

func (*ServiceConfigurationSpec) HasTags

func (o *ServiceConfigurationSpec) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ServiceConfigurationSpec) MarshalJSON

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

func (*ServiceConfigurationSpec) SetAnnotations

func (o *ServiceConfigurationSpec) SetAnnotations(v map[string]string)

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

func (*ServiceConfigurationSpec) SetContact

SetContact sets field value

func (*ServiceConfigurationSpec) SetDependencies

func (o *ServiceConfigurationSpec) SetDependencies(v Dependencies)

SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.

func (*ServiceConfigurationSpec) SetDescription

func (o *ServiceConfigurationSpec) SetDescription(v string)

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

func (*ServiceConfigurationSpec) SetLinkGroups

func (o *ServiceConfigurationSpec) SetLinkGroups(v []LinkGroup)

SetLinkGroups gets a reference to the given []LinkGroup and assigns it to the LinkGroups field.

func (*ServiceConfigurationSpec) SetName

func (o *ServiceConfigurationSpec) SetName(v string)

SetName sets field value

func (*ServiceConfigurationSpec) SetTags

func (o *ServiceConfigurationSpec) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

type ServicesApiService

type ServicesApiService service

ServicesApiService ServicesApi service

func (*ServicesApiService) DetectedServicesPut

* DetectedServicesPut Method for DetectedServicesPut * allows a service to be detected. used to identify services that do not have an effx.yaml. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDetectedServicesPutRequest

func (*ServicesApiService) DetectedServicesPutExecute

func (a *ServicesApiService) DetectedServicesPutExecute(r ApiDetectedServicesPutRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*ServicesApiService) GetServiceById

func (a *ServicesApiService) GetServiceById(ctx _context.Context, serviceId string) ApiGetServiceByIdRequest

* GetServiceById Info for a specific service * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param serviceId The id or slug of the service to retrieve * @return ApiGetServiceByIdRequest

func (*ServicesApiService) GetServiceByIdExecute

func (a *ServicesApiService) GetServiceByIdExecute(r ApiGetServiceByIdRequest) (Service, *_nethttp.Response, error)

* Execute executes the request * @return Service

func (*ServicesApiService) ServicesGet

* ServicesGet Method for ServicesGet * retrieves a list of services * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiServicesGetRequest

func (*ServicesApiService) ServicesGetExecute

* Execute executes the request * @return InlineResponse200

func (*ServicesApiService) ServicesPut

* ServicesPut Method for ServicesPut * Creates/Updates effx service objects. Service names are used as unique identifiers. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiServicesPutRequest

func (*ServicesApiService) ServicesPutExecute

func (a *ServicesApiService) ServicesPutExecute(r ApiServicesPutRequest) (*_nethttp.Response, error)

* Execute executes the request

type Team

type Team struct {
	// uuid of the team object
	Id *string `json:"id,omitempty"`
	// url safe string representation of the team's name
	Slug        *string             `json:"slug,omitempty"`
	Name        *string             `json:"name,omitempty"`
	Description *string             `json:"description,omitempty"`
	Contact     *ContactInformation `json:"contact,omitempty"`
	Tags        *map[string]string  `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations *map[string]string `json:"annotations,omitempty"`
}

Team struct for Team

func NewTeam

func NewTeam() *Team

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

func NewTeamWithDefaults

func NewTeamWithDefaults() *Team

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

func (*Team) GetAnnotations

func (o *Team) GetAnnotations() map[string]string

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

func (*Team) GetAnnotationsOk

func (o *Team) GetAnnotationsOk() (*map[string]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 (*Team) GetContact

func (o *Team) GetContact() ContactInformation

GetContact returns the Contact field value if set, zero value otherwise.

func (*Team) GetContactOk

func (o *Team) GetContactOk() (*ContactInformation, bool)

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

func (*Team) GetDescription

func (o *Team) GetDescription() string

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

func (*Team) GetDescriptionOk

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

func (o *Team) GetId() string

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

func (*Team) GetIdOk

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

func (o *Team) GetName() string

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

func (*Team) GetNameOk

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

func (o *Team) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Team) GetSlugOk

func (o *Team) GetSlugOk() (*string, bool)

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

func (*Team) GetTags

func (o *Team) GetTags() map[string]string

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

func (*Team) GetTagsOk

func (o *Team) GetTagsOk() (*map[string]string, bool)

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

func (*Team) HasAnnotations

func (o *Team) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*Team) HasContact

func (o *Team) HasContact() bool

HasContact returns a boolean if a field has been set.

func (*Team) HasDescription

func (o *Team) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Team) HasId

func (o *Team) HasId() bool

HasId returns a boolean if a field has been set.

func (*Team) HasName

func (o *Team) HasName() bool

HasName returns a boolean if a field has been set.

func (*Team) HasSlug

func (o *Team) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*Team) HasTags

func (o *Team) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Team) MarshalJSON

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

func (*Team) SetAnnotations

func (o *Team) SetAnnotations(v map[string]string)

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

func (*Team) SetContact

func (o *Team) SetContact(v ContactInformation)

SetContact gets a reference to the given ContactInformation and assigns it to the Contact field.

func (*Team) SetDescription

func (o *Team) SetDescription(v string)

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

func (*Team) SetId

func (o *Team) SetId(v string)

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

func (*Team) SetName

func (o *Team) SetName(v string)

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

func (*Team) SetSlug

func (o *Team) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*Team) SetTags

func (o *Team) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

type TeamConfiguration

type TeamConfiguration struct {
	Version string                `json:"version"`
	Kind    string                `json:"kind"`
	Spec    TeamConfigurationSpec `json:"spec"`
}

TeamConfiguration struct for TeamConfiguration

func NewTeamConfiguration

func NewTeamConfiguration(version string, kind string, spec TeamConfigurationSpec) *TeamConfiguration

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

func NewTeamConfigurationWithDefaults

func NewTeamConfigurationWithDefaults() *TeamConfiguration

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

func (*TeamConfiguration) GetKind

func (o *TeamConfiguration) GetKind() string

GetKind returns the Kind field value

func (*TeamConfiguration) GetKindOk

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

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

func (*TeamConfiguration) GetSpec

GetSpec returns the Spec field value

func (*TeamConfiguration) GetSpecOk

func (o *TeamConfiguration) GetSpecOk() (*TeamConfigurationSpec, bool)

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

func (*TeamConfiguration) GetVersion

func (o *TeamConfiguration) GetVersion() string

GetVersion returns the Version field value

func (*TeamConfiguration) GetVersionOk

func (o *TeamConfiguration) GetVersionOk() (*string, bool)

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

func (TeamConfiguration) MarshalJSON

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

func (*TeamConfiguration) SetKind

func (o *TeamConfiguration) SetKind(v string)

SetKind sets field value

func (*TeamConfiguration) SetSpec

SetSpec sets field value

func (*TeamConfiguration) SetVersion

func (o *TeamConfiguration) SetVersion(v string)

SetVersion sets field value

type TeamConfigurationSpec

type TeamConfigurationSpec struct {
	Name        string             `json:"name"`
	Description *string            `json:"description,omitempty"`
	Contact     ContactInformation `json:"contact"`
	Tags        *map[string]string `json:"tags,omitempty"`
	// Attach metadata to resources like teams and services
	Annotations *map[string]string `json:"annotations,omitempty"`
}

TeamConfigurationSpec struct for TeamConfigurationSpec

func NewTeamConfigurationSpec

func NewTeamConfigurationSpec(name string, contact ContactInformation) *TeamConfigurationSpec

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

func NewTeamConfigurationSpecWithDefaults

func NewTeamConfigurationSpecWithDefaults() *TeamConfigurationSpec

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

func (*TeamConfigurationSpec) GetAnnotations

func (o *TeamConfigurationSpec) GetAnnotations() map[string]string

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

func (*TeamConfigurationSpec) GetAnnotationsOk

func (o *TeamConfigurationSpec) GetAnnotationsOk() (*map[string]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 (*TeamConfigurationSpec) GetContact

func (o *TeamConfigurationSpec) GetContact() ContactInformation

GetContact returns the Contact field value

func (*TeamConfigurationSpec) GetContactOk

func (o *TeamConfigurationSpec) GetContactOk() (*ContactInformation, bool)

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

func (*TeamConfigurationSpec) GetDescription

func (o *TeamConfigurationSpec) GetDescription() string

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

func (*TeamConfigurationSpec) GetDescriptionOk

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

func (o *TeamConfigurationSpec) GetName() string

GetName returns the Name field value

func (*TeamConfigurationSpec) GetNameOk

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

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

func (*TeamConfigurationSpec) GetTags

func (o *TeamConfigurationSpec) GetTags() map[string]string

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

func (*TeamConfigurationSpec) GetTagsOk

func (o *TeamConfigurationSpec) GetTagsOk() (*map[string]string, bool)

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

func (*TeamConfigurationSpec) HasAnnotations

func (o *TeamConfigurationSpec) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*TeamConfigurationSpec) HasDescription

func (o *TeamConfigurationSpec) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TeamConfigurationSpec) HasTags

func (o *TeamConfigurationSpec) HasTags() bool

HasTags returns a boolean if a field has been set.

func (TeamConfigurationSpec) MarshalJSON

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

func (*TeamConfigurationSpec) SetAnnotations

func (o *TeamConfigurationSpec) SetAnnotations(v map[string]string)

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

func (*TeamConfigurationSpec) SetContact

func (o *TeamConfigurationSpec) SetContact(v ContactInformation)

SetContact sets field value

func (*TeamConfigurationSpec) SetDescription

func (o *TeamConfigurationSpec) SetDescription(v string)

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

func (*TeamConfigurationSpec) SetName

func (o *TeamConfigurationSpec) SetName(v string)

SetName sets field value

func (*TeamConfigurationSpec) SetTags

func (o *TeamConfigurationSpec) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

type TeamsApiService

type TeamsApiService service

TeamsApiService TeamsApi service

func (*TeamsApiService) GetTeamById

func (a *TeamsApiService) GetTeamById(ctx _context.Context, teamId string) ApiGetTeamByIdRequest

* GetTeamById Info for a specific team * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param teamId The id or slug of the team to retrieve * @return ApiGetTeamByIdRequest

func (*TeamsApiService) GetTeamByIdExecute

func (a *TeamsApiService) GetTeamByIdExecute(r ApiGetTeamByIdRequest) (Team, *_nethttp.Response, error)

* Execute executes the request * @return Team

func (*TeamsApiService) TeamsGet

* TeamsGet Method for TeamsGet * retrieves a list of teams * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiTeamsGetRequest

func (*TeamsApiService) TeamsGetExecute

* Execute executes the request * @return InlineResponse2001

func (*TeamsApiService) TeamsPut

* TeamsPut Method for TeamsPut * Creates/Updates effx teams objects. Team names are used as unique identifiers. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiTeamsPutRequest

func (*TeamsApiService) TeamsPutExecute

func (a *TeamsApiService) TeamsPutExecute(r ApiTeamsPutRequest) (*_nethttp.Response, error)

* Execute executes the request

Jump to

Keyboard shortcuts

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