openapi

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MPL-2.0 Imports: 22 Imported by: 0

README

Go API client for openapi

Create subscription

Create a new subscription.

curl -v -d '{\\
    \"company\": \"My Company\", \\
    \"firstName\": \"First\", \\
    \"lastName\": \"Last\", \\
    \"email\": \"first.last@magnolia-cms.com\", \\
    \"password\": \"some1%2Tres\", \\
    \"function\": \"CTO\", \\
    \"country\": \"Spain\" \\
    }' \\
-H \"Content-Type: application/json\" -X POST \"http://localhost:8080/public/subscriptions\"

Update subscription

Update a new subscription. This is an idempotent operation.

curl -v -d '{\\
    \"id\": \"my-company\" \\
    }' \\
-H \"Content-Type: application/json\" -X POST \"http://localhost:8080/admin/subscriptions/{subId}\"

Invite users

Invite a list of users to a subscription.

Validate invitation

Validate an invitation to a subscription.

Activate user

Activate a user for a subscription. The user needs an invitation to be activated.

Overview

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

  • API version: 1.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://docs.magnolia-cms.com/

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 openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

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

Class Method HTTP request Description
AdminSubscriptionApi AdminFindSubscriptionById Get /admin/subscriptions/{subscriptionId} Find a subscription by Id
AdminSubscriptionApi CreateSubscription Post /admin/subscriptions Create a new subscription
AdminSubscriptionApi DeleteSubscription Delete /admin/subscriptions/{subscriptionId} Deletes a subscription
AdminSubscriptionApi FindAllSubscriptions Get /admin/subscriptions Find all subscriptions
GroupApi ListGroupsOfSubscription Get /subscriptions/{subscriptionId}/groups List groups of a subscription
MetricApi FindAllMetricsPublic Get /metrics Find all subscriptions
MetricDataApi GetSubscriptionMetrics Get /subscriptions/{subscriptionId}/metrics Get subscription metrics
SubscriptionApi FindSubscriptionById Get /subscriptions/{subscriptionId} Find a subscription by Id
SubscriptionApi GetPlanForSubscription Get /subscriptions/{subscriptionId}/plan Get current plan of the subscription
SubscriptionApi UpdateOrganization Post /subscriptions/{subscriptionId}/configuration/organization Update organization of the subscription
SubscriptionGitApi GetGitConfiguration Get /subscriptions/{subscriptionId}/git/configuration Get Git configuration by subscription Id
SubscriptionGitApi SyncGitRepository Post /subscriptions/{subscriptionId}/git/sync Sync Git repository
SubscriptionGitApi UpdateGitConfiguration Post /subscriptions/{subscriptionId}/git/configuration Update Git configuration for the subscription
UserApi CreateInvitations Post /subscriptions/{subscriptionId}/invitations Invite users to a subscription
UserApi ListUsersOfSubscription Get /subscriptions/{subscriptionId}/users List users of a subscription
UserSelfApi ChangePassword Post /users/me/changePassword Change current user password
UserSelfApi FindSubscriptionsByCurrentUser Get /users/me/subscriptions Find all subscriptions by current authenticated user
UserSelfApi GetCurrentUser Get /users/me Get current user
UserSelfApi UpdateProfile Put /users/me/profile Update user profile

Documentation For Models

Documentation For Authorization

SubscriptionSecurity
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

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")
)
View Source
var AllowedGitProviderEnumValues = []GitProvider{
	"GITHUB",
	"BITBUCKET",
	"BITBUCKET_CLOUD",
}

All allowed values of GitProvider enum

View Source
var AllowedMetricSourceEnumValues = []MetricSource{
	"AUTOGENERATED",
	"MAGNOLIA",
	"ENDPOINT",
}

All allowed values of MetricSource enum

View Source
var AllowedMetricTypeEnumValues = []MetricType{
	"GAUGE",
	"COUNT",
}

All allowed values of MetricType enum

View Source
var AllowedSubscriptionErrorCauseEnumValues = []SubscriptionErrorCause{
	"PROVISIONING_JENKINS",
	"CIS",
	"DESTROYING_JENKINS",
	"PROVISIONING_DB",
	"DESTROYING_DB",
}

All allowed values of SubscriptionErrorCause enum

View Source
var AllowedSubscriptionStatusEnumValues = []SubscriptionStatus{
	"CREATED",
	"PROVISIONING",
	"ACTIVE",
	"INACTIVE",
	"ERROR",
	"DESTROYING",
	"UPDATING",
	"UPDATE_ERROR",
}

All allowed values of SubscriptionStatus enum

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 {
	AdminSubscriptionApi *AdminSubscriptionApiService

	GroupApi *GroupApiService

	MetricApi *MetricApiService

	MetricDataApi *MetricDataApiService

	SubscriptionApi *SubscriptionApiService

	SubscriptionGitApi *SubscriptionGitApiService

	UserApi *UserApiService

	UserSelfApi *UserSelfApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Subscription Service Endpoints API v1.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 APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ActivationRequest

type ActivationRequest struct {
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Function  string `json:"function"`
	Password  string `json:"password"`
}

ActivationRequest struct for ActivationRequest

func NewActivationRequest

func NewActivationRequest(firstName string, lastName string, function string, password string) *ActivationRequest

NewActivationRequest instantiates a new ActivationRequest 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 NewActivationRequestWithDefaults

func NewActivationRequestWithDefaults() *ActivationRequest

NewActivationRequestWithDefaults instantiates a new ActivationRequest 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 (*ActivationRequest) GetFirstName

func (o *ActivationRequest) GetFirstName() string

GetFirstName returns the FirstName field value

func (*ActivationRequest) GetFirstNameOk

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

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

func (*ActivationRequest) GetFunction

func (o *ActivationRequest) GetFunction() string

GetFunction returns the Function field value

func (*ActivationRequest) GetFunctionOk

func (o *ActivationRequest) GetFunctionOk() (*string, bool)

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

func (*ActivationRequest) GetLastName

func (o *ActivationRequest) GetLastName() string

GetLastName returns the LastName field value

func (*ActivationRequest) GetLastNameOk

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

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

func (*ActivationRequest) GetPassword

func (o *ActivationRequest) GetPassword() string

GetPassword returns the Password field value

func (*ActivationRequest) GetPasswordOk

func (o *ActivationRequest) GetPasswordOk() (*string, bool)

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

func (ActivationRequest) MarshalJSON

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

func (*ActivationRequest) SetFirstName

func (o *ActivationRequest) SetFirstName(v string)

SetFirstName sets field value

func (*ActivationRequest) SetFunction

func (o *ActivationRequest) SetFunction(v string)

SetFunction sets field value

func (*ActivationRequest) SetLastName

func (o *ActivationRequest) SetLastName(v string)

SetLastName sets field value

func (*ActivationRequest) SetPassword

func (o *ActivationRequest) SetPassword(v string)

SetPassword sets field value

type AdminSubscriptionApiService

type AdminSubscriptionApiService service

AdminSubscriptionApiService AdminSubscriptionApi service

func (*AdminSubscriptionApiService) AdminFindSubscriptionById

func (a *AdminSubscriptionApiService) AdminFindSubscriptionById(ctx context.Context, subscriptionId string) ApiAdminFindSubscriptionByIdRequest

AdminFindSubscriptionById Find a subscription by Id

Find a subscription by Id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiAdminFindSubscriptionByIdRequest

func (*AdminSubscriptionApiService) AdminFindSubscriptionByIdExecute

Execute executes the request

@return Subscription

func (*AdminSubscriptionApiService) CreateSubscription

CreateSubscription Create a new subscription

Create a new subscription

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

func (*AdminSubscriptionApiService) CreateSubscriptionExecute

Execute executes the request

@return Subscription

func (*AdminSubscriptionApiService) DeleteSubscription

func (a *AdminSubscriptionApiService) DeleteSubscription(ctx context.Context, subscriptionId string) ApiDeleteSubscriptionRequest

DeleteSubscription Deletes a subscription

Deletes a subscription and associated data. Will also deprovision the associated magnolia instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiDeleteSubscriptionRequest

func (*AdminSubscriptionApiService) DeleteSubscriptionExecute

func (a *AdminSubscriptionApiService) DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) (*http.Response, error)

Execute executes the request

func (*AdminSubscriptionApiService) FindAllSubscriptions

FindAllSubscriptions Find all subscriptions

Loads all stored subscriptions

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

func (*AdminSubscriptionApiService) FindAllSubscriptionsExecute

Execute executes the request

@return []Subscription

type ApiAdminFindSubscriptionByIdRequest

type ApiAdminFindSubscriptionByIdRequest struct {
	ApiService *AdminSubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiAdminFindSubscriptionByIdRequest) Execute

type ApiChangePasswordRequest

type ApiChangePasswordRequest struct {
	ApiService *UserSelfApiService
	// contains filtered or unexported fields
}

func (ApiChangePasswordRequest) Execute

func (r ApiChangePasswordRequest) Execute() (*http.Response, error)

func (ApiChangePasswordRequest) PasswordChangeRequest

func (r ApiChangePasswordRequest) PasswordChangeRequest(passwordChangeRequest PasswordChangeRequest) ApiChangePasswordRequest

Old and New Password values

type ApiCreateInvitationsRequest

type ApiCreateInvitationsRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiCreateInvitationsRequest) Execute

func (r ApiCreateInvitationsRequest) Execute() ([]User, *http.Response, error)

func (ApiCreateInvitationsRequest) InvitationEmails

func (r ApiCreateInvitationsRequest) InvitationEmails(invitationEmails InvitationEmails) ApiCreateInvitationsRequest

List of emails to invite and a group to associate them with.

type ApiCreateSubscriptionRequest

type ApiCreateSubscriptionRequest struct {
	ApiService *AdminSubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiCreateSubscriptionRequest) CreatedSubscription

func (r ApiCreateSubscriptionRequest) CreatedSubscription(createdSubscription CreatedSubscription) ApiCreateSubscriptionRequest

Subscription and owner information

func (ApiCreateSubscriptionRequest) Execute

type ApiDeleteSubscriptionRequest

type ApiDeleteSubscriptionRequest struct {
	ApiService *AdminSubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSubscriptionRequest) Execute

type ApiFindAllMetricsPublicRequest

type ApiFindAllMetricsPublicRequest struct {
	ApiService *MetricApiService
	// contains filtered or unexported fields
}

func (ApiFindAllMetricsPublicRequest) Execute

type ApiFindAllSubscriptionsRequest

type ApiFindAllSubscriptionsRequest struct {
	ApiService *AdminSubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiFindAllSubscriptionsRequest) Execute

type ApiFindSubscriptionByIdRequest

type ApiFindSubscriptionByIdRequest struct {
	ApiService *SubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiFindSubscriptionByIdRequest) Execute

type ApiFindSubscriptionsByCurrentUserRequest

type ApiFindSubscriptionsByCurrentUserRequest struct {
	ApiService *UserSelfApiService
	// contains filtered or unexported fields
}

func (ApiFindSubscriptionsByCurrentUserRequest) Execute

type ApiGetCurrentUserRequest

type ApiGetCurrentUserRequest struct {
	ApiService *UserSelfApiService
	// contains filtered or unexported fields
}

func (ApiGetCurrentUserRequest) Execute

func (r ApiGetCurrentUserRequest) Execute() (*User, *http.Response, error)

func (ApiGetCurrentUserRequest) SubscriptionId

func (r ApiGetCurrentUserRequest) SubscriptionId(subscriptionId string) ApiGetCurrentUserRequest

The id of the subscription the user is signed in.

type ApiGetGitConfigurationRequest

type ApiGetGitConfigurationRequest struct {
	ApiService *SubscriptionGitApiService
	// contains filtered or unexported fields
}

func (ApiGetGitConfigurationRequest) Execute

type ApiGetPlanForSubscriptionRequest

type ApiGetPlanForSubscriptionRequest struct {
	ApiService *SubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiGetPlanForSubscriptionRequest) Execute

type ApiGetSubscriptionMetricsRequest

type ApiGetSubscriptionMetricsRequest struct {
	ApiService *MetricDataApiService
	// contains filtered or unexported fields
}

func (ApiGetSubscriptionMetricsRequest) Execute

type ApiListGroupsOfSubscriptionRequest

type ApiListGroupsOfSubscriptionRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiListGroupsOfSubscriptionRequest) Execute

type ApiListUsersOfSubscriptionRequest

type ApiListUsersOfSubscriptionRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiListUsersOfSubscriptionRequest) Execute

type ApiSyncGitRepositoryRequest

type ApiSyncGitRepositoryRequest struct {
	ApiService *SubscriptionGitApiService
	// contains filtered or unexported fields
}

func (ApiSyncGitRepositoryRequest) Execute

type ApiUpdateGitConfigurationRequest

type ApiUpdateGitConfigurationRequest struct {
	ApiService *SubscriptionGitApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGitConfigurationRequest) Execute

func (ApiUpdateGitConfigurationRequest) UpdateGitConfigurationRequest

func (r ApiUpdateGitConfigurationRequest) UpdateGitConfigurationRequest(updateGitConfigurationRequest UpdateGitConfigurationRequest) ApiUpdateGitConfigurationRequest

Git configuration

type ApiUpdateOrganizationRequest

type ApiUpdateOrganizationRequest struct {
	ApiService *SubscriptionApiService
	// contains filtered or unexported fields
}

func (ApiUpdateOrganizationRequest) Execute

func (ApiUpdateOrganizationRequest) UpdateOrganizationRequest

func (r ApiUpdateOrganizationRequest) UpdateOrganizationRequest(updateOrganizationRequest UpdateOrganizationRequest) ApiUpdateOrganizationRequest

Organization information

type ApiUpdateProfileRequest

type ApiUpdateProfileRequest struct {
	ApiService *UserSelfApiService
	// contains filtered or unexported fields
}

func (ApiUpdateProfileRequest) Execute

func (ApiUpdateProfileRequest) UpdateProfileRequest

func (r ApiUpdateProfileRequest) UpdateProfileRequest(updateProfileRequest UpdateProfileRequest) ApiUpdateProfileRequest

User profile information

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 CanonicalSubscriptionRequest

type CanonicalSubscriptionRequest struct {
	Id string `json:"id"`
}

CanonicalSubscriptionRequest struct for CanonicalSubscriptionRequest

func NewCanonicalSubscriptionRequest

func NewCanonicalSubscriptionRequest(id string) *CanonicalSubscriptionRequest

NewCanonicalSubscriptionRequest instantiates a new CanonicalSubscriptionRequest 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 NewCanonicalSubscriptionRequestWithDefaults

func NewCanonicalSubscriptionRequestWithDefaults() *CanonicalSubscriptionRequest

NewCanonicalSubscriptionRequestWithDefaults instantiates a new CanonicalSubscriptionRequest 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 (*CanonicalSubscriptionRequest) GetId

GetId returns the Id field value

func (*CanonicalSubscriptionRequest) GetIdOk

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

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

func (CanonicalSubscriptionRequest) MarshalJSON

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

func (*CanonicalSubscriptionRequest) SetId

SetId sets field value

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 CreatedSubscription

type CreatedSubscription struct {
	FirstName string  `json:"firstName"`
	LastName  string  `json:"lastName"`
	Email     string  `json:"email"`
	Function  string  `json:"function"`
	Company   string  `json:"company"`
	Password  string  `json:"password"`
	Country   string  `json:"country"`
	PlanId    *string `json:"planId,omitempty"`
}

CreatedSubscription struct for CreatedSubscription

func NewCreatedSubscription

func NewCreatedSubscription(firstName string, lastName string, email string, function string, company string, password string, country string) *CreatedSubscription

NewCreatedSubscription instantiates a new CreatedSubscription 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 NewCreatedSubscriptionWithDefaults

func NewCreatedSubscriptionWithDefaults() *CreatedSubscription

NewCreatedSubscriptionWithDefaults instantiates a new CreatedSubscription 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 (*CreatedSubscription) GetCompany

func (o *CreatedSubscription) GetCompany() string

GetCompany returns the Company field value

func (*CreatedSubscription) GetCompanyOk

func (o *CreatedSubscription) GetCompanyOk() (*string, bool)

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

func (*CreatedSubscription) GetCountry

func (o *CreatedSubscription) GetCountry() string

GetCountry returns the Country field value

func (*CreatedSubscription) GetCountryOk

func (o *CreatedSubscription) GetCountryOk() (*string, bool)

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

func (*CreatedSubscription) GetEmail

func (o *CreatedSubscription) GetEmail() string

GetEmail returns the Email field value

func (*CreatedSubscription) GetEmailOk

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

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

func (*CreatedSubscription) GetFirstName

func (o *CreatedSubscription) GetFirstName() string

GetFirstName returns the FirstName field value

func (*CreatedSubscription) GetFirstNameOk

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

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

func (*CreatedSubscription) GetFunction

func (o *CreatedSubscription) GetFunction() string

GetFunction returns the Function field value

func (*CreatedSubscription) GetFunctionOk

func (o *CreatedSubscription) GetFunctionOk() (*string, bool)

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

func (*CreatedSubscription) GetLastName

func (o *CreatedSubscription) GetLastName() string

GetLastName returns the LastName field value

func (*CreatedSubscription) GetLastNameOk

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

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

func (*CreatedSubscription) GetPassword

func (o *CreatedSubscription) GetPassword() string

GetPassword returns the Password field value

func (*CreatedSubscription) GetPasswordOk

func (o *CreatedSubscription) GetPasswordOk() (*string, bool)

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

func (*CreatedSubscription) GetPlanId

func (o *CreatedSubscription) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*CreatedSubscription) GetPlanIdOk

func (o *CreatedSubscription) GetPlanIdOk() (*string, bool)

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

func (*CreatedSubscription) HasPlanId

func (o *CreatedSubscription) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (CreatedSubscription) MarshalJSON

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

func (*CreatedSubscription) SetCompany

func (o *CreatedSubscription) SetCompany(v string)

SetCompany sets field value

func (*CreatedSubscription) SetCountry

func (o *CreatedSubscription) SetCountry(v string)

SetCountry sets field value

func (*CreatedSubscription) SetEmail

func (o *CreatedSubscription) SetEmail(v string)

SetEmail sets field value

func (*CreatedSubscription) SetFirstName

func (o *CreatedSubscription) SetFirstName(v string)

SetFirstName sets field value

func (*CreatedSubscription) SetFunction

func (o *CreatedSubscription) SetFunction(v string)

SetFunction sets field value

func (*CreatedSubscription) SetLastName

func (o *CreatedSubscription) SetLastName(v string)

SetLastName sets field value

func (*CreatedSubscription) SetPassword

func (o *CreatedSubscription) SetPassword(v string)

SetPassword sets field value

func (*CreatedSubscription) SetPlanId

func (o *CreatedSubscription) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

type CreatedSubscriptionAllOf

type CreatedSubscriptionAllOf struct {
	Company  string  `json:"company"`
	Password string  `json:"password"`
	Country  string  `json:"country"`
	PlanId   *string `json:"planId,omitempty"`
}

CreatedSubscriptionAllOf struct for CreatedSubscriptionAllOf

func NewCreatedSubscriptionAllOf

func NewCreatedSubscriptionAllOf(company string, password string, country string) *CreatedSubscriptionAllOf

NewCreatedSubscriptionAllOf instantiates a new CreatedSubscriptionAllOf 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 NewCreatedSubscriptionAllOfWithDefaults

func NewCreatedSubscriptionAllOfWithDefaults() *CreatedSubscriptionAllOf

NewCreatedSubscriptionAllOfWithDefaults instantiates a new CreatedSubscriptionAllOf 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 (*CreatedSubscriptionAllOf) GetCompany

func (o *CreatedSubscriptionAllOf) GetCompany() string

GetCompany returns the Company field value

func (*CreatedSubscriptionAllOf) GetCompanyOk

func (o *CreatedSubscriptionAllOf) GetCompanyOk() (*string, bool)

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

func (*CreatedSubscriptionAllOf) GetCountry

func (o *CreatedSubscriptionAllOf) GetCountry() string

GetCountry returns the Country field value

func (*CreatedSubscriptionAllOf) GetCountryOk

func (o *CreatedSubscriptionAllOf) GetCountryOk() (*string, bool)

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

func (*CreatedSubscriptionAllOf) GetPassword

func (o *CreatedSubscriptionAllOf) GetPassword() string

GetPassword returns the Password field value

func (*CreatedSubscriptionAllOf) GetPasswordOk

func (o *CreatedSubscriptionAllOf) GetPasswordOk() (*string, bool)

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

func (*CreatedSubscriptionAllOf) GetPlanId

func (o *CreatedSubscriptionAllOf) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*CreatedSubscriptionAllOf) GetPlanIdOk

func (o *CreatedSubscriptionAllOf) GetPlanIdOk() (*string, bool)

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

func (*CreatedSubscriptionAllOf) HasPlanId

func (o *CreatedSubscriptionAllOf) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (CreatedSubscriptionAllOf) MarshalJSON

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

func (*CreatedSubscriptionAllOf) SetCompany

func (o *CreatedSubscriptionAllOf) SetCompany(v string)

SetCompany sets field value

func (*CreatedSubscriptionAllOf) SetCountry

func (o *CreatedSubscriptionAllOf) SetCountry(v string)

SetCountry sets field value

func (*CreatedSubscriptionAllOf) SetPassword

func (o *CreatedSubscriptionAllOf) SetPassword(v string)

SetPassword sets field value

func (*CreatedSubscriptionAllOf) SetPlanId

func (o *CreatedSubscriptionAllOf) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

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 GitConfigurationData

type GitConfigurationData struct {
	GitSecret   *string      `json:"gitSecret,omitempty"`
	GitCloneUrl *string      `json:"gitCloneUrl,omitempty"`
	Provider    *GitProvider `json:"provider,omitempty"`
}

GitConfigurationData struct for GitConfigurationData

func NewGitConfigurationData

func NewGitConfigurationData() *GitConfigurationData

NewGitConfigurationData instantiates a new GitConfigurationData 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 NewGitConfigurationDataWithDefaults

func NewGitConfigurationDataWithDefaults() *GitConfigurationData

NewGitConfigurationDataWithDefaults instantiates a new GitConfigurationData 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 (*GitConfigurationData) GetGitCloneUrl

func (o *GitConfigurationData) GetGitCloneUrl() string

GetGitCloneUrl returns the GitCloneUrl field value if set, zero value otherwise.

func (*GitConfigurationData) GetGitCloneUrlOk

func (o *GitConfigurationData) GetGitCloneUrlOk() (*string, bool)

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

func (*GitConfigurationData) GetGitSecret

func (o *GitConfigurationData) GetGitSecret() string

GetGitSecret returns the GitSecret field value if set, zero value otherwise.

func (*GitConfigurationData) GetGitSecretOk

func (o *GitConfigurationData) GetGitSecretOk() (*string, bool)

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

func (*GitConfigurationData) GetProvider

func (o *GitConfigurationData) GetProvider() GitProvider

GetProvider returns the Provider field value if set, zero value otherwise.

func (*GitConfigurationData) GetProviderOk

func (o *GitConfigurationData) GetProviderOk() (*GitProvider, bool)

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

func (*GitConfigurationData) HasGitCloneUrl

func (o *GitConfigurationData) HasGitCloneUrl() bool

HasGitCloneUrl returns a boolean if a field has been set.

func (*GitConfigurationData) HasGitSecret

func (o *GitConfigurationData) HasGitSecret() bool

HasGitSecret returns a boolean if a field has been set.

func (*GitConfigurationData) HasProvider

func (o *GitConfigurationData) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (GitConfigurationData) MarshalJSON

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

func (*GitConfigurationData) SetGitCloneUrl

func (o *GitConfigurationData) SetGitCloneUrl(v string)

SetGitCloneUrl gets a reference to the given string and assigns it to the GitCloneUrl field.

func (*GitConfigurationData) SetGitSecret

func (o *GitConfigurationData) SetGitSecret(v string)

SetGitSecret gets a reference to the given string and assigns it to the GitSecret field.

func (*GitConfigurationData) SetProvider

func (o *GitConfigurationData) SetProvider(v GitProvider)

SetProvider gets a reference to the given GitProvider and assigns it to the Provider field.

type GitConfigurationPrivateResponse

type GitConfigurationPrivateResponse struct {
	GitSecret   *string `json:"gitSecret,omitempty"`
	GitCloneUrl *string `json:"gitCloneUrl,omitempty"`
}

GitConfigurationPrivateResponse struct for GitConfigurationPrivateResponse

func NewGitConfigurationPrivateResponse

func NewGitConfigurationPrivateResponse() *GitConfigurationPrivateResponse

NewGitConfigurationPrivateResponse instantiates a new GitConfigurationPrivateResponse 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 NewGitConfigurationPrivateResponseWithDefaults

func NewGitConfigurationPrivateResponseWithDefaults() *GitConfigurationPrivateResponse

NewGitConfigurationPrivateResponseWithDefaults instantiates a new GitConfigurationPrivateResponse 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 (*GitConfigurationPrivateResponse) GetGitCloneUrl

func (o *GitConfigurationPrivateResponse) GetGitCloneUrl() string

GetGitCloneUrl returns the GitCloneUrl field value if set, zero value otherwise.

func (*GitConfigurationPrivateResponse) GetGitCloneUrlOk

func (o *GitConfigurationPrivateResponse) GetGitCloneUrlOk() (*string, bool)

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

func (*GitConfigurationPrivateResponse) GetGitSecret

func (o *GitConfigurationPrivateResponse) GetGitSecret() string

GetGitSecret returns the GitSecret field value if set, zero value otherwise.

func (*GitConfigurationPrivateResponse) GetGitSecretOk

func (o *GitConfigurationPrivateResponse) GetGitSecretOk() (*string, bool)

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

func (*GitConfigurationPrivateResponse) HasGitCloneUrl

func (o *GitConfigurationPrivateResponse) HasGitCloneUrl() bool

HasGitCloneUrl returns a boolean if a field has been set.

func (*GitConfigurationPrivateResponse) HasGitSecret

func (o *GitConfigurationPrivateResponse) HasGitSecret() bool

HasGitSecret returns a boolean if a field has been set.

func (GitConfigurationPrivateResponse) MarshalJSON

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

func (*GitConfigurationPrivateResponse) SetGitCloneUrl

func (o *GitConfigurationPrivateResponse) SetGitCloneUrl(v string)

SetGitCloneUrl gets a reference to the given string and assigns it to the GitCloneUrl field.

func (*GitConfigurationPrivateResponse) SetGitSecret

func (o *GitConfigurationPrivateResponse) SetGitSecret(v string)

SetGitSecret gets a reference to the given string and assigns it to the GitSecret field.

type GitConfigurationResponse

type GitConfigurationResponse struct {
	PublicKey   *string      `json:"publicKey,omitempty"`
	GitSecret   *string      `json:"gitSecret,omitempty"`
	WebhookUrl  *string      `json:"webhookUrl,omitempty"`
	GitCloneUrl *string      `json:"gitCloneUrl,omitempty"`
	GitProvider *GitProvider `json:"gitProvider,omitempty"`
}

GitConfigurationResponse struct for GitConfigurationResponse

func NewGitConfigurationResponse

func NewGitConfigurationResponse() *GitConfigurationResponse

NewGitConfigurationResponse instantiates a new GitConfigurationResponse 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 NewGitConfigurationResponseWithDefaults

func NewGitConfigurationResponseWithDefaults() *GitConfigurationResponse

NewGitConfigurationResponseWithDefaults instantiates a new GitConfigurationResponse 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 (*GitConfigurationResponse) GetGitCloneUrl

func (o *GitConfigurationResponse) GetGitCloneUrl() string

GetGitCloneUrl returns the GitCloneUrl field value if set, zero value otherwise.

func (*GitConfigurationResponse) GetGitCloneUrlOk

func (o *GitConfigurationResponse) GetGitCloneUrlOk() (*string, bool)

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

func (*GitConfigurationResponse) GetGitProvider

func (o *GitConfigurationResponse) GetGitProvider() GitProvider

GetGitProvider returns the GitProvider field value if set, zero value otherwise.

func (*GitConfigurationResponse) GetGitProviderOk

func (o *GitConfigurationResponse) GetGitProviderOk() (*GitProvider, bool)

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

func (*GitConfigurationResponse) GetGitSecret

func (o *GitConfigurationResponse) GetGitSecret() string

GetGitSecret returns the GitSecret field value if set, zero value otherwise.

func (*GitConfigurationResponse) GetGitSecretOk

func (o *GitConfigurationResponse) GetGitSecretOk() (*string, bool)

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

func (*GitConfigurationResponse) GetPublicKey

func (o *GitConfigurationResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*GitConfigurationResponse) GetPublicKeyOk

func (o *GitConfigurationResponse) GetPublicKeyOk() (*string, bool)

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

func (*GitConfigurationResponse) GetWebhookUrl

func (o *GitConfigurationResponse) GetWebhookUrl() string

GetWebhookUrl returns the WebhookUrl field value if set, zero value otherwise.

func (*GitConfigurationResponse) GetWebhookUrlOk

func (o *GitConfigurationResponse) GetWebhookUrlOk() (*string, bool)

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

func (*GitConfigurationResponse) HasGitCloneUrl

func (o *GitConfigurationResponse) HasGitCloneUrl() bool

HasGitCloneUrl returns a boolean if a field has been set.

func (*GitConfigurationResponse) HasGitProvider

func (o *GitConfigurationResponse) HasGitProvider() bool

HasGitProvider returns a boolean if a field has been set.

func (*GitConfigurationResponse) HasGitSecret

func (o *GitConfigurationResponse) HasGitSecret() bool

HasGitSecret returns a boolean if a field has been set.

func (*GitConfigurationResponse) HasPublicKey

func (o *GitConfigurationResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*GitConfigurationResponse) HasWebhookUrl

func (o *GitConfigurationResponse) HasWebhookUrl() bool

HasWebhookUrl returns a boolean if a field has been set.

func (GitConfigurationResponse) MarshalJSON

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

func (*GitConfigurationResponse) SetGitCloneUrl

func (o *GitConfigurationResponse) SetGitCloneUrl(v string)

SetGitCloneUrl gets a reference to the given string and assigns it to the GitCloneUrl field.

func (*GitConfigurationResponse) SetGitProvider

func (o *GitConfigurationResponse) SetGitProvider(v GitProvider)

SetGitProvider gets a reference to the given GitProvider and assigns it to the GitProvider field.

func (*GitConfigurationResponse) SetGitSecret

func (o *GitConfigurationResponse) SetGitSecret(v string)

SetGitSecret gets a reference to the given string and assigns it to the GitSecret field.

func (*GitConfigurationResponse) SetPublicKey

func (o *GitConfigurationResponse) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*GitConfigurationResponse) SetWebhookUrl

func (o *GitConfigurationResponse) SetWebhookUrl(v string)

SetWebhookUrl gets a reference to the given string and assigns it to the WebhookUrl field.

type GitProvider

type GitProvider string

GitProvider the model 'GitProvider'

const (
	GITHUB          GitProvider = "GITHUB"
	BITBUCKET       GitProvider = "BITBUCKET"
	BITBUCKET_CLOUD GitProvider = "BITBUCKET_CLOUD"
)

List of GitProvider

func NewGitProviderFromValue

func NewGitProviderFromValue(v string) (*GitProvider, error)

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

func (GitProvider) IsValid

func (v GitProvider) IsValid() bool

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

func (GitProvider) Ptr

func (v GitProvider) Ptr() *GitProvider

Ptr returns reference to GitProvider value

func (*GitProvider) UnmarshalJSON

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

type Group

type Group struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

Group struct for Group

func NewGroup

func NewGroup() *Group

NewGroup instantiates a new Group 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 NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group 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 (*Group) GetId

func (o *Group) GetId() string

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

func (*Group) GetIdOk

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

func (o *Group) GetName() string

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

func (*Group) GetNameOk

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

func (o *Group) HasId() bool

HasId returns a boolean if a field has been set.

func (*Group) HasName

func (o *Group) HasName() bool

HasName returns a boolean if a field has been set.

func (Group) MarshalJSON

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

func (*Group) SetId

func (o *Group) SetId(v string)

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

func (*Group) SetName

func (o *Group) SetName(v string)

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

type GroupApiService

type GroupApiService service

GroupApiService GroupApi service

func (*GroupApiService) ListGroupsOfSubscription

func (a *GroupApiService) ListGroupsOfSubscription(ctx context.Context, subscriptionId string) ApiListGroupsOfSubscriptionRequest

ListGroupsOfSubscription List groups of a subscription

Lists all groups of a subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiListGroupsOfSubscriptionRequest

func (*GroupApiService) ListGroupsOfSubscriptionExecute

func (a *GroupApiService) ListGroupsOfSubscriptionExecute(r ApiListGroupsOfSubscriptionRequest) ([]Group, *http.Response, error)

Execute executes the request

@return []Group

type IdentityProviderData

type IdentityProviderData struct {
	UserGroupId *string `json:"userGroupId,omitempty"`
}

IdentityProviderData struct for IdentityProviderData

func NewIdentityProviderData

func NewIdentityProviderData() *IdentityProviderData

NewIdentityProviderData instantiates a new IdentityProviderData 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 NewIdentityProviderDataWithDefaults

func NewIdentityProviderDataWithDefaults() *IdentityProviderData

NewIdentityProviderDataWithDefaults instantiates a new IdentityProviderData 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 (*IdentityProviderData) GetUserGroupId

func (o *IdentityProviderData) GetUserGroupId() string

GetUserGroupId returns the UserGroupId field value if set, zero value otherwise.

func (*IdentityProviderData) GetUserGroupIdOk

func (o *IdentityProviderData) GetUserGroupIdOk() (*string, bool)

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

func (*IdentityProviderData) HasUserGroupId

func (o *IdentityProviderData) HasUserGroupId() bool

HasUserGroupId returns a boolean if a field has been set.

func (IdentityProviderData) MarshalJSON

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

func (*IdentityProviderData) SetUserGroupId

func (o *IdentityProviderData) SetUserGroupId(v string)

SetUserGroupId gets a reference to the given string and assigns it to the UserGroupId field.

type InlineObject

type InlineObject struct {
	File **os.File `json:"file,omitempty"`
}

InlineObject struct for InlineObject

func NewInlineObject

func NewInlineObject() *InlineObject

NewInlineObject instantiates a new InlineObject 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 NewInlineObjectWithDefaults

func NewInlineObjectWithDefaults() *InlineObject

NewInlineObjectWithDefaults instantiates a new InlineObject 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 (*InlineObject) GetFile

func (o *InlineObject) GetFile() *os.File

GetFile returns the File field value if set, zero value otherwise.

func (*InlineObject) GetFileOk

func (o *InlineObject) GetFileOk() (**os.File, bool)

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

func (*InlineObject) HasFile

func (o *InlineObject) HasFile() bool

HasFile returns a boolean if a field has been set.

func (InlineObject) MarshalJSON

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

func (*InlineObject) SetFile

func (o *InlineObject) SetFile(v *os.File)

SetFile gets a reference to the given *os.File and assigns it to the File field.

type InvitationEmails

type InvitationEmails struct {
	// A set of emails, used e.g. for invitations or reactivation.
	Emails []string `json:"emails"`
	Group  string   `json:"group"`
}

InvitationEmails You can invite multiple users together. The users will be assigned to the input group.

func NewInvitationEmails

func NewInvitationEmails(emails []string, group string) *InvitationEmails

NewInvitationEmails instantiates a new InvitationEmails 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 NewInvitationEmailsWithDefaults

func NewInvitationEmailsWithDefaults() *InvitationEmails

NewInvitationEmailsWithDefaults instantiates a new InvitationEmails 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 (*InvitationEmails) GetEmails

func (o *InvitationEmails) GetEmails() []string

GetEmails returns the Emails field value

func (*InvitationEmails) GetEmailsOk

func (o *InvitationEmails) GetEmailsOk() ([]string, bool)

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

func (*InvitationEmails) GetGroup

func (o *InvitationEmails) GetGroup() string

GetGroup returns the Group field value

func (*InvitationEmails) GetGroupOk

func (o *InvitationEmails) GetGroupOk() (*string, bool)

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

func (InvitationEmails) MarshalJSON

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

func (*InvitationEmails) SetEmails

func (o *InvitationEmails) SetEmails(v []string)

SetEmails sets field value

func (*InvitationEmails) SetGroup

func (o *InvitationEmails) SetGroup(v string)

SetGroup sets field value

type Metric

type Metric struct {
	Name        string       `json:"name"`
	Label       string       `json:"label"`
	Description *string      `json:"description,omitempty"`
	Unit        *string      `json:"unit,omitempty"`
	Status      *bool        `json:"status,omitempty"`
	Type        MetricType   `json:"type"`
	Source      MetricSource `json:"source"`
	Endpoint    *string      `json:"endpoint,omitempty"`
	Path        *string      `json:"path,omitempty"`
	Key         *string      `json:"key,omitempty"`
	Id          string       `json:"id"`
}

Metric struct for Metric

func NewMetric

func NewMetric(name string, label string, type_ MetricType, source MetricSource, id string) *Metric

NewMetric instantiates a new Metric 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 NewMetricWithDefaults

func NewMetricWithDefaults() *Metric

NewMetricWithDefaults instantiates a new Metric 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 (*Metric) GetDescription

func (o *Metric) GetDescription() string

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

func (*Metric) GetDescriptionOk

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

func (o *Metric) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*Metric) GetEndpointOk

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

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

func (*Metric) GetId

func (o *Metric) GetId() string

GetId returns the Id field value

func (*Metric) GetIdOk

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

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

func (*Metric) GetKey

func (o *Metric) GetKey() string

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

func (*Metric) GetKeyOk

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

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

func (*Metric) GetLabel

func (o *Metric) GetLabel() string

GetLabel returns the Label field value

func (*Metric) GetLabelOk

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

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

func (*Metric) GetName

func (o *Metric) GetName() string

GetName returns the Name field value

func (*Metric) GetNameOk

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

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

func (*Metric) GetPath

func (o *Metric) GetPath() string

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

func (*Metric) GetPathOk

func (o *Metric) GetPathOk() (*string, bool)

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

func (*Metric) GetSource

func (o *Metric) GetSource() MetricSource

GetSource returns the Source field value

func (*Metric) GetSourceOk

func (o *Metric) GetSourceOk() (*MetricSource, bool)

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

func (*Metric) GetStatus

func (o *Metric) GetStatus() bool

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

func (*Metric) GetStatusOk

func (o *Metric) GetStatusOk() (*bool, bool)

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

func (*Metric) GetType

func (o *Metric) GetType() MetricType

GetType returns the Type field value

func (*Metric) GetTypeOk

func (o *Metric) GetTypeOk() (*MetricType, bool)

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

func (*Metric) GetUnit

func (o *Metric) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*Metric) GetUnitOk

func (o *Metric) GetUnitOk() (*string, bool)

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

func (*Metric) HasDescription

func (o *Metric) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Metric) HasEndpoint

func (o *Metric) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*Metric) HasKey

func (o *Metric) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Metric) HasPath

func (o *Metric) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*Metric) HasStatus

func (o *Metric) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Metric) HasUnit

func (o *Metric) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (Metric) MarshalJSON

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

func (*Metric) SetDescription

func (o *Metric) SetDescription(v string)

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

func (*Metric) SetEndpoint

func (o *Metric) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*Metric) SetId

func (o *Metric) SetId(v string)

SetId sets field value

func (*Metric) SetKey

func (o *Metric) SetKey(v string)

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

func (*Metric) SetLabel

func (o *Metric) SetLabel(v string)

SetLabel sets field value

func (*Metric) SetName

func (o *Metric) SetName(v string)

SetName sets field value

func (*Metric) SetPath

func (o *Metric) SetPath(v string)

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

func (*Metric) SetSource

func (o *Metric) SetSource(v MetricSource)

SetSource sets field value

func (*Metric) SetStatus

func (o *Metric) SetStatus(v bool)

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

func (*Metric) SetType

func (o *Metric) SetType(v MetricType)

SetType sets field value

func (*Metric) SetUnit

func (o *Metric) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

type MetricAllOf

type MetricAllOf struct {
	Id string `json:"id"`
}

MetricAllOf struct for MetricAllOf

func NewMetricAllOf

func NewMetricAllOf(id string) *MetricAllOf

NewMetricAllOf instantiates a new MetricAllOf 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 NewMetricAllOfWithDefaults

func NewMetricAllOfWithDefaults() *MetricAllOf

NewMetricAllOfWithDefaults instantiates a new MetricAllOf 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 (*MetricAllOf) GetId

func (o *MetricAllOf) GetId() string

GetId returns the Id field value

func (*MetricAllOf) GetIdOk

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

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

func (MetricAllOf) MarshalJSON

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

func (*MetricAllOf) SetId

func (o *MetricAllOf) SetId(v string)

SetId sets field value

type MetricApiService

type MetricApiService service

MetricApiService MetricApi service

func (*MetricApiService) FindAllMetricsPublic

func (a *MetricApiService) FindAllMetricsPublic(ctx context.Context) ApiFindAllMetricsPublicRequest

FindAllMetricsPublic Find all subscriptions

Loads all metrics

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

func (*MetricApiService) FindAllMetricsPublicExecute

func (a *MetricApiService) FindAllMetricsPublicExecute(r ApiFindAllMetricsPublicRequest) ([]Metric, *http.Response, error)

Execute executes the request

@return []Metric

type MetricBasicInfo

type MetricBasicInfo struct {
	Name        string     `json:"name"`
	Label       string     `json:"label"`
	Description *string    `json:"description,omitempty"`
	Unit        *string    `json:"unit,omitempty"`
	Status      *bool      `json:"status,omitempty"`
	Type        MetricType `json:"type"`
}

MetricBasicInfo struct for MetricBasicInfo

func NewMetricBasicInfo

func NewMetricBasicInfo(name string, label string, type_ MetricType) *MetricBasicInfo

NewMetricBasicInfo instantiates a new MetricBasicInfo 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 NewMetricBasicInfoWithDefaults

func NewMetricBasicInfoWithDefaults() *MetricBasicInfo

NewMetricBasicInfoWithDefaults instantiates a new MetricBasicInfo 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 (*MetricBasicInfo) GetDescription

func (o *MetricBasicInfo) GetDescription() string

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

func (*MetricBasicInfo) GetDescriptionOk

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

func (o *MetricBasicInfo) GetLabel() string

GetLabel returns the Label field value

func (*MetricBasicInfo) GetLabelOk

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

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

func (*MetricBasicInfo) GetName

func (o *MetricBasicInfo) GetName() string

GetName returns the Name field value

func (*MetricBasicInfo) GetNameOk

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

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

func (*MetricBasicInfo) GetStatus

func (o *MetricBasicInfo) GetStatus() bool

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

func (*MetricBasicInfo) GetStatusOk

func (o *MetricBasicInfo) GetStatusOk() (*bool, bool)

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

func (*MetricBasicInfo) GetType

func (o *MetricBasicInfo) GetType() MetricType

GetType returns the Type field value

func (*MetricBasicInfo) GetTypeOk

func (o *MetricBasicInfo) GetTypeOk() (*MetricType, bool)

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

func (*MetricBasicInfo) GetUnit

func (o *MetricBasicInfo) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricBasicInfo) GetUnitOk

func (o *MetricBasicInfo) GetUnitOk() (*string, bool)

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

func (*MetricBasicInfo) HasDescription

func (o *MetricBasicInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricBasicInfo) HasStatus

func (o *MetricBasicInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetricBasicInfo) HasUnit

func (o *MetricBasicInfo) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricBasicInfo) MarshalJSON

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

func (*MetricBasicInfo) SetDescription

func (o *MetricBasicInfo) SetDescription(v string)

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

func (*MetricBasicInfo) SetLabel

func (o *MetricBasicInfo) SetLabel(v string)

SetLabel sets field value

func (*MetricBasicInfo) SetName

func (o *MetricBasicInfo) SetName(v string)

SetName sets field value

func (*MetricBasicInfo) SetStatus

func (o *MetricBasicInfo) SetStatus(v bool)

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

func (*MetricBasicInfo) SetType

func (o *MetricBasicInfo) SetType(v MetricType)

SetType sets field value

func (*MetricBasicInfo) SetUnit

func (o *MetricBasicInfo) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

type MetricConstraint

type MetricConstraint struct {
	MetricId *string `json:"metricId,omitempty"`
	Type     *string `json:"type,omitempty"`
	Limit    *int32  `json:"limit,omitempty"`
}

MetricConstraint Metric Constraint

func NewMetricConstraint

func NewMetricConstraint() *MetricConstraint

NewMetricConstraint instantiates a new MetricConstraint 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 NewMetricConstraintWithDefaults

func NewMetricConstraintWithDefaults() *MetricConstraint

NewMetricConstraintWithDefaults instantiates a new MetricConstraint 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 (*MetricConstraint) GetLimit

func (o *MetricConstraint) GetLimit() int32

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

func (*MetricConstraint) GetLimitOk

func (o *MetricConstraint) GetLimitOk() (*int32, bool)

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

func (*MetricConstraint) GetMetricId

func (o *MetricConstraint) GetMetricId() string

GetMetricId returns the MetricId field value if set, zero value otherwise.

func (*MetricConstraint) GetMetricIdOk

func (o *MetricConstraint) GetMetricIdOk() (*string, bool)

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

func (*MetricConstraint) GetType

func (o *MetricConstraint) GetType() string

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

func (*MetricConstraint) GetTypeOk

func (o *MetricConstraint) GetTypeOk() (*string, bool)

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

func (*MetricConstraint) HasLimit

func (o *MetricConstraint) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*MetricConstraint) HasMetricId

func (o *MetricConstraint) HasMetricId() bool

HasMetricId returns a boolean if a field has been set.

func (*MetricConstraint) HasType

func (o *MetricConstraint) HasType() bool

HasType returns a boolean if a field has been set.

func (MetricConstraint) MarshalJSON

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

func (*MetricConstraint) SetLimit

func (o *MetricConstraint) SetLimit(v int32)

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

func (*MetricConstraint) SetMetricId

func (o *MetricConstraint) SetMetricId(v string)

SetMetricId gets a reference to the given string and assigns it to the MetricId field.

func (*MetricConstraint) SetType

func (o *MetricConstraint) SetType(v string)

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

type MetricData

type MetricData struct {
	Name        string     `json:"name"`
	Label       string     `json:"label"`
	Description *string    `json:"description,omitempty"`
	Unit        *string    `json:"unit,omitempty"`
	Status      *bool      `json:"status,omitempty"`
	Type        MetricType `json:"type"`
	Value       *float64   `json:"value,omitempty"`
}

MetricData struct for MetricData

func NewMetricData

func NewMetricData(name string, label string, type_ MetricType) *MetricData

NewMetricData instantiates a new MetricData 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 NewMetricDataWithDefaults

func NewMetricDataWithDefaults() *MetricData

NewMetricDataWithDefaults instantiates a new MetricData 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 (*MetricData) GetDescription

func (o *MetricData) GetDescription() string

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

func (*MetricData) GetDescriptionOk

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

func (o *MetricData) GetLabel() string

GetLabel returns the Label field value

func (*MetricData) GetLabelOk

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

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

func (*MetricData) GetName

func (o *MetricData) GetName() string

GetName returns the Name field value

func (*MetricData) GetNameOk

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

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

func (*MetricData) GetStatus

func (o *MetricData) GetStatus() bool

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

func (*MetricData) GetStatusOk

func (o *MetricData) GetStatusOk() (*bool, bool)

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

func (*MetricData) GetType

func (o *MetricData) GetType() MetricType

GetType returns the Type field value

func (*MetricData) GetTypeOk

func (o *MetricData) GetTypeOk() (*MetricType, bool)

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

func (*MetricData) GetUnit

func (o *MetricData) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricData) GetUnitOk

func (o *MetricData) GetUnitOk() (*string, bool)

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

func (*MetricData) GetValue

func (o *MetricData) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricData) GetValueOk

func (o *MetricData) GetValueOk() (*float64, bool)

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

func (*MetricData) HasDescription

func (o *MetricData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricData) HasStatus

func (o *MetricData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetricData) HasUnit

func (o *MetricData) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*MetricData) HasValue

func (o *MetricData) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricData) MarshalJSON

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

func (*MetricData) SetDescription

func (o *MetricData) SetDescription(v string)

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

func (*MetricData) SetLabel

func (o *MetricData) SetLabel(v string)

SetLabel sets field value

func (*MetricData) SetName

func (o *MetricData) SetName(v string)

SetName sets field value

func (*MetricData) SetStatus

func (o *MetricData) SetStatus(v bool)

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

func (*MetricData) SetType

func (o *MetricData) SetType(v MetricType)

SetType sets field value

func (*MetricData) SetUnit

func (o *MetricData) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricData) SetValue

func (o *MetricData) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

type MetricDataAllOf

type MetricDataAllOf struct {
	Value *float64 `json:"value,omitempty"`
}

MetricDataAllOf struct for MetricDataAllOf

func NewMetricDataAllOf

func NewMetricDataAllOf() *MetricDataAllOf

NewMetricDataAllOf instantiates a new MetricDataAllOf 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 NewMetricDataAllOfWithDefaults

func NewMetricDataAllOfWithDefaults() *MetricDataAllOf

NewMetricDataAllOfWithDefaults instantiates a new MetricDataAllOf 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 (*MetricDataAllOf) GetValue

func (o *MetricDataAllOf) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricDataAllOf) GetValueOk

func (o *MetricDataAllOf) GetValueOk() (*float64, bool)

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

func (*MetricDataAllOf) HasValue

func (o *MetricDataAllOf) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricDataAllOf) MarshalJSON

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

func (*MetricDataAllOf) SetValue

func (o *MetricDataAllOf) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

type MetricDataApiService

type MetricDataApiService service

MetricDataApiService MetricDataApi service

func (*MetricDataApiService) GetSubscriptionMetrics

func (a *MetricDataApiService) GetSubscriptionMetrics(ctx context.Context, subscriptionId string) ApiGetSubscriptionMetricsRequest

GetSubscriptionMetrics Get subscription metrics

Get subscription metrics and data by subscriptionId

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiGetSubscriptionMetricsRequest

func (*MetricDataApiService) GetSubscriptionMetricsExecute

func (a *MetricDataApiService) GetSubscriptionMetricsExecute(r ApiGetSubscriptionMetricsRequest) (*MetricResponse, *http.Response, error)

Execute executes the request

@return MetricResponse

type MetricDetails

type MetricDetails struct {
	Source   MetricSource `json:"source"`
	Endpoint *string      `json:"endpoint,omitempty"`
	Path     *string      `json:"path,omitempty"`
	Key      *string      `json:"key,omitempty"`
}

MetricDetails struct for MetricDetails

func NewMetricDetails

func NewMetricDetails(source MetricSource) *MetricDetails

NewMetricDetails instantiates a new MetricDetails 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 NewMetricDetailsWithDefaults

func NewMetricDetailsWithDefaults() *MetricDetails

NewMetricDetailsWithDefaults instantiates a new MetricDetails 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 (*MetricDetails) GetEndpoint

func (o *MetricDetails) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*MetricDetails) GetEndpointOk

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

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

func (*MetricDetails) GetKey

func (o *MetricDetails) GetKey() string

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

func (*MetricDetails) GetKeyOk

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

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

func (*MetricDetails) GetPath

func (o *MetricDetails) GetPath() string

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

func (*MetricDetails) GetPathOk

func (o *MetricDetails) GetPathOk() (*string, bool)

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

func (*MetricDetails) GetSource

func (o *MetricDetails) GetSource() MetricSource

GetSource returns the Source field value

func (*MetricDetails) GetSourceOk

func (o *MetricDetails) GetSourceOk() (*MetricSource, bool)

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

func (*MetricDetails) HasEndpoint

func (o *MetricDetails) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*MetricDetails) HasKey

func (o *MetricDetails) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*MetricDetails) HasPath

func (o *MetricDetails) HasPath() bool

HasPath returns a boolean if a field has been set.

func (MetricDetails) MarshalJSON

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

func (*MetricDetails) SetEndpoint

func (o *MetricDetails) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*MetricDetails) SetKey

func (o *MetricDetails) SetKey(v string)

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

func (*MetricDetails) SetPath

func (o *MetricDetails) SetPath(v string)

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

func (*MetricDetails) SetSource

func (o *MetricDetails) SetSource(v MetricSource)

SetSource sets field value

type MetricRequest

type MetricRequest struct {
	Name        string       `json:"name"`
	Label       string       `json:"label"`
	Description *string      `json:"description,omitempty"`
	Unit        *string      `json:"unit,omitempty"`
	Status      *bool        `json:"status,omitempty"`
	Type        MetricType   `json:"type"`
	Source      MetricSource `json:"source"`
	Endpoint    *string      `json:"endpoint,omitempty"`
	Path        *string      `json:"path,omitempty"`
	Key         *string      `json:"key,omitempty"`
}

MetricRequest struct for MetricRequest

func NewMetricRequest

func NewMetricRequest(name string, label string, type_ MetricType, source MetricSource) *MetricRequest

NewMetricRequest instantiates a new MetricRequest 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 NewMetricRequestWithDefaults

func NewMetricRequestWithDefaults() *MetricRequest

NewMetricRequestWithDefaults instantiates a new MetricRequest 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 (*MetricRequest) GetDescription

func (o *MetricRequest) GetDescription() string

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

func (*MetricRequest) GetDescriptionOk

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

func (o *MetricRequest) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*MetricRequest) GetEndpointOk

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

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

func (*MetricRequest) GetKey

func (o *MetricRequest) GetKey() string

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

func (*MetricRequest) GetKeyOk

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

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

func (*MetricRequest) GetLabel

func (o *MetricRequest) GetLabel() string

GetLabel returns the Label field value

func (*MetricRequest) GetLabelOk

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

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

func (*MetricRequest) GetName

func (o *MetricRequest) GetName() string

GetName returns the Name field value

func (*MetricRequest) GetNameOk

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

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

func (*MetricRequest) GetPath

func (o *MetricRequest) GetPath() string

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

func (*MetricRequest) GetPathOk

func (o *MetricRequest) GetPathOk() (*string, bool)

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

func (*MetricRequest) GetSource

func (o *MetricRequest) GetSource() MetricSource

GetSource returns the Source field value

func (*MetricRequest) GetSourceOk

func (o *MetricRequest) GetSourceOk() (*MetricSource, bool)

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

func (*MetricRequest) GetStatus

func (o *MetricRequest) GetStatus() bool

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

func (*MetricRequest) GetStatusOk

func (o *MetricRequest) GetStatusOk() (*bool, bool)

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

func (*MetricRequest) GetType

func (o *MetricRequest) GetType() MetricType

GetType returns the Type field value

func (*MetricRequest) GetTypeOk

func (o *MetricRequest) GetTypeOk() (*MetricType, bool)

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

func (*MetricRequest) GetUnit

func (o *MetricRequest) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricRequest) GetUnitOk

func (o *MetricRequest) GetUnitOk() (*string, bool)

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

func (*MetricRequest) HasDescription

func (o *MetricRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricRequest) HasEndpoint

func (o *MetricRequest) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*MetricRequest) HasKey

func (o *MetricRequest) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*MetricRequest) HasPath

func (o *MetricRequest) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*MetricRequest) HasStatus

func (o *MetricRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetricRequest) HasUnit

func (o *MetricRequest) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricRequest) MarshalJSON

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

func (*MetricRequest) SetDescription

func (o *MetricRequest) SetDescription(v string)

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

func (*MetricRequest) SetEndpoint

func (o *MetricRequest) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*MetricRequest) SetKey

func (o *MetricRequest) SetKey(v string)

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

func (*MetricRequest) SetLabel

func (o *MetricRequest) SetLabel(v string)

SetLabel sets field value

func (*MetricRequest) SetName

func (o *MetricRequest) SetName(v string)

SetName sets field value

func (*MetricRequest) SetPath

func (o *MetricRequest) SetPath(v string)

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

func (*MetricRequest) SetSource

func (o *MetricRequest) SetSource(v MetricSource)

SetSource sets field value

func (*MetricRequest) SetStatus

func (o *MetricRequest) SetStatus(v bool)

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

func (*MetricRequest) SetType

func (o *MetricRequest) SetType(v MetricType)

SetType sets field value

func (*MetricRequest) SetUnit

func (o *MetricRequest) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

type MetricResponse

type MetricResponse struct {
	Metrics []MetricData `json:"metrics,omitempty"`
	Updated *int64       `json:"updated,omitempty"`
}

MetricResponse struct for MetricResponse

func NewMetricResponse

func NewMetricResponse() *MetricResponse

NewMetricResponse instantiates a new MetricResponse 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 NewMetricResponseWithDefaults

func NewMetricResponseWithDefaults() *MetricResponse

NewMetricResponseWithDefaults instantiates a new MetricResponse 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 (*MetricResponse) GetMetrics

func (o *MetricResponse) GetMetrics() []MetricData

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*MetricResponse) GetMetricsOk

func (o *MetricResponse) GetMetricsOk() ([]MetricData, bool)

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

func (*MetricResponse) GetUpdated

func (o *MetricResponse) GetUpdated() int64

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*MetricResponse) GetUpdatedOk

func (o *MetricResponse) GetUpdatedOk() (*int64, bool)

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

func (*MetricResponse) HasMetrics

func (o *MetricResponse) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*MetricResponse) HasUpdated

func (o *MetricResponse) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (MetricResponse) MarshalJSON

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

func (*MetricResponse) SetMetrics

func (o *MetricResponse) SetMetrics(v []MetricData)

SetMetrics gets a reference to the given []MetricData and assigns it to the Metrics field.

func (*MetricResponse) SetUpdated

func (o *MetricResponse) SetUpdated(v int64)

SetUpdated gets a reference to the given int64 and assigns it to the Updated field.

type MetricSource

type MetricSource string

MetricSource the model 'MetricSource'

const (
	AUTOGENERATED MetricSource = "AUTOGENERATED"
	MAGNOLIA      MetricSource = "MAGNOLIA"
	ENDPOINT      MetricSource = "ENDPOINT"
)

List of MetricSource

func NewMetricSourceFromValue

func NewMetricSourceFromValue(v string) (*MetricSource, error)

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

func (MetricSource) IsValid

func (v MetricSource) IsValid() bool

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

func (MetricSource) Ptr

func (v MetricSource) Ptr() *MetricSource

Ptr returns reference to MetricSource value

func (*MetricSource) UnmarshalJSON

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

type MetricType

type MetricType string

MetricType the model 'MetricType'

const (
	GAUGE MetricType = "GAUGE"
	COUNT MetricType = "COUNT"
)

List of MetricType

func NewMetricTypeFromValue

func NewMetricTypeFromValue(v string) (*MetricType, error)

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

func (MetricType) IsValid

func (v MetricType) IsValid() bool

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

func (MetricType) Ptr

func (v MetricType) Ptr() *MetricType

Ptr returns reference to MetricType value

func (*MetricType) UnmarshalJSON

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

type NullableActivationRequest

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

func NewNullableActivationRequest

func NewNullableActivationRequest(val *ActivationRequest) *NullableActivationRequest

func (NullableActivationRequest) Get

func (NullableActivationRequest) IsSet

func (v NullableActivationRequest) IsSet() bool

func (NullableActivationRequest) MarshalJSON

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

func (*NullableActivationRequest) Set

func (*NullableActivationRequest) UnmarshalJSON

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

func (*NullableActivationRequest) Unset

func (v *NullableActivationRequest) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCanonicalSubscriptionRequest

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

func (NullableCanonicalSubscriptionRequest) Get

func (NullableCanonicalSubscriptionRequest) IsSet

func (NullableCanonicalSubscriptionRequest) MarshalJSON

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

func (*NullableCanonicalSubscriptionRequest) Set

func (*NullableCanonicalSubscriptionRequest) UnmarshalJSON

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

func (*NullableCanonicalSubscriptionRequest) Unset

type NullableCreatedSubscription

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

func NewNullableCreatedSubscription

func NewNullableCreatedSubscription(val *CreatedSubscription) *NullableCreatedSubscription

func (NullableCreatedSubscription) Get

func (NullableCreatedSubscription) IsSet

func (NullableCreatedSubscription) MarshalJSON

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

func (*NullableCreatedSubscription) Set

func (*NullableCreatedSubscription) UnmarshalJSON

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

func (*NullableCreatedSubscription) Unset

func (v *NullableCreatedSubscription) Unset()

type NullableCreatedSubscriptionAllOf

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

func (NullableCreatedSubscriptionAllOf) Get

func (NullableCreatedSubscriptionAllOf) IsSet

func (NullableCreatedSubscriptionAllOf) MarshalJSON

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

func (*NullableCreatedSubscriptionAllOf) Set

func (*NullableCreatedSubscriptionAllOf) UnmarshalJSON

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

func (*NullableCreatedSubscriptionAllOf) 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 NullableGitConfigurationData

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

func NewNullableGitConfigurationData

func NewNullableGitConfigurationData(val *GitConfigurationData) *NullableGitConfigurationData

func (NullableGitConfigurationData) Get

func (NullableGitConfigurationData) IsSet

func (NullableGitConfigurationData) MarshalJSON

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

func (*NullableGitConfigurationData) Set

func (*NullableGitConfigurationData) UnmarshalJSON

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

func (*NullableGitConfigurationData) Unset

func (v *NullableGitConfigurationData) Unset()

type NullableGitConfigurationPrivateResponse

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

func (NullableGitConfigurationPrivateResponse) Get

func (NullableGitConfigurationPrivateResponse) IsSet

func (NullableGitConfigurationPrivateResponse) MarshalJSON

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

func (*NullableGitConfigurationPrivateResponse) Set

func (*NullableGitConfigurationPrivateResponse) UnmarshalJSON

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

func (*NullableGitConfigurationPrivateResponse) Unset

type NullableGitConfigurationResponse

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

func (NullableGitConfigurationResponse) Get

func (NullableGitConfigurationResponse) IsSet

func (NullableGitConfigurationResponse) MarshalJSON

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

func (*NullableGitConfigurationResponse) Set

func (*NullableGitConfigurationResponse) UnmarshalJSON

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

func (*NullableGitConfigurationResponse) Unset

type NullableGitProvider

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

func NewNullableGitProvider

func NewNullableGitProvider(val *GitProvider) *NullableGitProvider

func (NullableGitProvider) Get

func (NullableGitProvider) IsSet

func (v NullableGitProvider) IsSet() bool

func (NullableGitProvider) MarshalJSON

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

func (*NullableGitProvider) Set

func (v *NullableGitProvider) Set(val *GitProvider)

func (*NullableGitProvider) UnmarshalJSON

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

func (*NullableGitProvider) Unset

func (v *NullableGitProvider) Unset()

type NullableGroup

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

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

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

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

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

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableIdentityProviderData

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

func NewNullableIdentityProviderData

func NewNullableIdentityProviderData(val *IdentityProviderData) *NullableIdentityProviderData

func (NullableIdentityProviderData) Get

func (NullableIdentityProviderData) IsSet

func (NullableIdentityProviderData) MarshalJSON

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

func (*NullableIdentityProviderData) Set

func (*NullableIdentityProviderData) UnmarshalJSON

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

func (*NullableIdentityProviderData) Unset

func (v *NullableIdentityProviderData) Unset()

type NullableInlineObject

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

func NewNullableInlineObject

func NewNullableInlineObject(val *InlineObject) *NullableInlineObject

func (NullableInlineObject) Get

func (NullableInlineObject) IsSet

func (v NullableInlineObject) IsSet() bool

func (NullableInlineObject) MarshalJSON

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

func (*NullableInlineObject) Set

func (v *NullableInlineObject) Set(val *InlineObject)

func (*NullableInlineObject) UnmarshalJSON

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

func (*NullableInlineObject) Unset

func (v *NullableInlineObject) 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 NullableInvitationEmails

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

func NewNullableInvitationEmails

func NewNullableInvitationEmails(val *InvitationEmails) *NullableInvitationEmails

func (NullableInvitationEmails) Get

func (NullableInvitationEmails) IsSet

func (v NullableInvitationEmails) IsSet() bool

func (NullableInvitationEmails) MarshalJSON

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

func (*NullableInvitationEmails) Set

func (*NullableInvitationEmails) UnmarshalJSON

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

func (*NullableInvitationEmails) Unset

func (v *NullableInvitationEmails) Unset()

type NullableMetric

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

func NewNullableMetric

func NewNullableMetric(val *Metric) *NullableMetric

func (NullableMetric) Get

func (v NullableMetric) Get() *Metric

func (NullableMetric) IsSet

func (v NullableMetric) IsSet() bool

func (NullableMetric) MarshalJSON

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

func (*NullableMetric) Set

func (v *NullableMetric) Set(val *Metric)

func (*NullableMetric) UnmarshalJSON

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

func (*NullableMetric) Unset

func (v *NullableMetric) Unset()

type NullableMetricAllOf

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

func NewNullableMetricAllOf

func NewNullableMetricAllOf(val *MetricAllOf) *NullableMetricAllOf

func (NullableMetricAllOf) Get

func (NullableMetricAllOf) IsSet

func (v NullableMetricAllOf) IsSet() bool

func (NullableMetricAllOf) MarshalJSON

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

func (*NullableMetricAllOf) Set

func (v *NullableMetricAllOf) Set(val *MetricAllOf)

func (*NullableMetricAllOf) UnmarshalJSON

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

func (*NullableMetricAllOf) Unset

func (v *NullableMetricAllOf) Unset()

type NullableMetricBasicInfo

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

func NewNullableMetricBasicInfo

func NewNullableMetricBasicInfo(val *MetricBasicInfo) *NullableMetricBasicInfo

func (NullableMetricBasicInfo) Get

func (NullableMetricBasicInfo) IsSet

func (v NullableMetricBasicInfo) IsSet() bool

func (NullableMetricBasicInfo) MarshalJSON

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

func (*NullableMetricBasicInfo) Set

func (*NullableMetricBasicInfo) UnmarshalJSON

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

func (*NullableMetricBasicInfo) Unset

func (v *NullableMetricBasicInfo) Unset()

type NullableMetricConstraint

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

func NewNullableMetricConstraint

func NewNullableMetricConstraint(val *MetricConstraint) *NullableMetricConstraint

func (NullableMetricConstraint) Get

func (NullableMetricConstraint) IsSet

func (v NullableMetricConstraint) IsSet() bool

func (NullableMetricConstraint) MarshalJSON

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

func (*NullableMetricConstraint) Set

func (*NullableMetricConstraint) UnmarshalJSON

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

func (*NullableMetricConstraint) Unset

func (v *NullableMetricConstraint) Unset()

type NullableMetricData

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

func NewNullableMetricData

func NewNullableMetricData(val *MetricData) *NullableMetricData

func (NullableMetricData) Get

func (v NullableMetricData) Get() *MetricData

func (NullableMetricData) IsSet

func (v NullableMetricData) IsSet() bool

func (NullableMetricData) MarshalJSON

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

func (*NullableMetricData) Set

func (v *NullableMetricData) Set(val *MetricData)

func (*NullableMetricData) UnmarshalJSON

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

func (*NullableMetricData) Unset

func (v *NullableMetricData) Unset()

type NullableMetricDataAllOf

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

func NewNullableMetricDataAllOf

func NewNullableMetricDataAllOf(val *MetricDataAllOf) *NullableMetricDataAllOf

func (NullableMetricDataAllOf) Get

func (NullableMetricDataAllOf) IsSet

func (v NullableMetricDataAllOf) IsSet() bool

func (NullableMetricDataAllOf) MarshalJSON

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

func (*NullableMetricDataAllOf) Set

func (*NullableMetricDataAllOf) UnmarshalJSON

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

func (*NullableMetricDataAllOf) Unset

func (v *NullableMetricDataAllOf) Unset()

type NullableMetricDetails

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

func NewNullableMetricDetails

func NewNullableMetricDetails(val *MetricDetails) *NullableMetricDetails

func (NullableMetricDetails) Get

func (NullableMetricDetails) IsSet

func (v NullableMetricDetails) IsSet() bool

func (NullableMetricDetails) MarshalJSON

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

func (*NullableMetricDetails) Set

func (v *NullableMetricDetails) Set(val *MetricDetails)

func (*NullableMetricDetails) UnmarshalJSON

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

func (*NullableMetricDetails) Unset

func (v *NullableMetricDetails) Unset()

type NullableMetricRequest

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

func NewNullableMetricRequest

func NewNullableMetricRequest(val *MetricRequest) *NullableMetricRequest

func (NullableMetricRequest) Get

func (NullableMetricRequest) IsSet

func (v NullableMetricRequest) IsSet() bool

func (NullableMetricRequest) MarshalJSON

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

func (*NullableMetricRequest) Set

func (v *NullableMetricRequest) Set(val *MetricRequest)

func (*NullableMetricRequest) UnmarshalJSON

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

func (*NullableMetricRequest) Unset

func (v *NullableMetricRequest) Unset()

type NullableMetricResponse

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

func NewNullableMetricResponse

func NewNullableMetricResponse(val *MetricResponse) *NullableMetricResponse

func (NullableMetricResponse) Get

func (NullableMetricResponse) IsSet

func (v NullableMetricResponse) IsSet() bool

func (NullableMetricResponse) MarshalJSON

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

func (*NullableMetricResponse) Set

func (*NullableMetricResponse) UnmarshalJSON

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

func (*NullableMetricResponse) Unset

func (v *NullableMetricResponse) Unset()

type NullableMetricSource

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

func NewNullableMetricSource

func NewNullableMetricSource(val *MetricSource) *NullableMetricSource

func (NullableMetricSource) Get

func (NullableMetricSource) IsSet

func (v NullableMetricSource) IsSet() bool

func (NullableMetricSource) MarshalJSON

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

func (*NullableMetricSource) Set

func (v *NullableMetricSource) Set(val *MetricSource)

func (*NullableMetricSource) UnmarshalJSON

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

func (*NullableMetricSource) Unset

func (v *NullableMetricSource) Unset()

type NullableMetricType

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

func NewNullableMetricType

func NewNullableMetricType(val *MetricType) *NullableMetricType

func (NullableMetricType) Get

func (v NullableMetricType) Get() *MetricType

func (NullableMetricType) IsSet

func (v NullableMetricType) IsSet() bool

func (NullableMetricType) MarshalJSON

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

func (*NullableMetricType) Set

func (v *NullableMetricType) Set(val *MetricType)

func (*NullableMetricType) UnmarshalJSON

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

func (*NullableMetricType) Unset

func (v *NullableMetricType) Unset()

type NullablePasswordChangeRequest

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

func (NullablePasswordChangeRequest) Get

func (NullablePasswordChangeRequest) IsSet

func (NullablePasswordChangeRequest) MarshalJSON

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

func (*NullablePasswordChangeRequest) Set

func (*NullablePasswordChangeRequest) UnmarshalJSON

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

func (*NullablePasswordChangeRequest) Unset

func (v *NullablePasswordChangeRequest) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanHardLimitValidatorResponse

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

func (NullablePlanHardLimitValidatorResponse) Get

func (NullablePlanHardLimitValidatorResponse) IsSet

func (NullablePlanHardLimitValidatorResponse) MarshalJSON

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

func (*NullablePlanHardLimitValidatorResponse) Set

func (*NullablePlanHardLimitValidatorResponse) UnmarshalJSON

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

func (*NullablePlanHardLimitValidatorResponse) Unset

type NullablePlanRequest

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

func NewNullablePlanRequest

func NewNullablePlanRequest(val *PlanRequest) *NullablePlanRequest

func (NullablePlanRequest) Get

func (NullablePlanRequest) IsSet

func (v NullablePlanRequest) IsSet() bool

func (NullablePlanRequest) MarshalJSON

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

func (*NullablePlanRequest) Set

func (v *NullablePlanRequest) Set(val *PlanRequest)

func (*NullablePlanRequest) UnmarshalJSON

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

func (*NullablePlanRequest) Unset

func (v *NullablePlanRequest) 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 NullableSubscription

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

func NewNullableSubscription

func NewNullableSubscription(val *Subscription) *NullableSubscription

func (NullableSubscription) Get

func (NullableSubscription) IsSet

func (v NullableSubscription) IsSet() bool

func (NullableSubscription) MarshalJSON

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

func (*NullableSubscription) Set

func (v *NullableSubscription) Set(val *Subscription)

func (*NullableSubscription) UnmarshalJSON

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

func (*NullableSubscription) Unset

func (v *NullableSubscription) Unset()

type NullableSubscriptionAllOf

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

func NewNullableSubscriptionAllOf

func NewNullableSubscriptionAllOf(val *SubscriptionAllOf) *NullableSubscriptionAllOf

func (NullableSubscriptionAllOf) Get

func (NullableSubscriptionAllOf) IsSet

func (v NullableSubscriptionAllOf) IsSet() bool

func (NullableSubscriptionAllOf) MarshalJSON

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

func (*NullableSubscriptionAllOf) Set

func (*NullableSubscriptionAllOf) UnmarshalJSON

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

func (*NullableSubscriptionAllOf) Unset

func (v *NullableSubscriptionAllOf) Unset()

type NullableSubscriptionAllOfConfiguration

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

func (NullableSubscriptionAllOfConfiguration) Get

func (NullableSubscriptionAllOfConfiguration) IsSet

func (NullableSubscriptionAllOfConfiguration) MarshalJSON

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

func (*NullableSubscriptionAllOfConfiguration) Set

func (*NullableSubscriptionAllOfConfiguration) UnmarshalJSON

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

func (*NullableSubscriptionAllOfConfiguration) Unset

type NullableSubscriptionAllOfDeploymentInfo

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

func (NullableSubscriptionAllOfDeploymentInfo) Get

func (NullableSubscriptionAllOfDeploymentInfo) IsSet

func (NullableSubscriptionAllOfDeploymentInfo) MarshalJSON

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

func (*NullableSubscriptionAllOfDeploymentInfo) Set

func (*NullableSubscriptionAllOfDeploymentInfo) UnmarshalJSON

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

func (*NullableSubscriptionAllOfDeploymentInfo) Unset

type NullableSubscriptionErrorCause

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

func (NullableSubscriptionErrorCause) Get

func (NullableSubscriptionErrorCause) IsSet

func (NullableSubscriptionErrorCause) MarshalJSON

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

func (*NullableSubscriptionErrorCause) Set

func (*NullableSubscriptionErrorCause) UnmarshalJSON

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

func (*NullableSubscriptionErrorCause) Unset

func (v *NullableSubscriptionErrorCause) Unset()

type NullableSubscriptionStatus

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

func NewNullableSubscriptionStatus

func NewNullableSubscriptionStatus(val *SubscriptionStatus) *NullableSubscriptionStatus

func (NullableSubscriptionStatus) Get

func (NullableSubscriptionStatus) IsSet

func (v NullableSubscriptionStatus) IsSet() bool

func (NullableSubscriptionStatus) MarshalJSON

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

func (*NullableSubscriptionStatus) Set

func (*NullableSubscriptionStatus) UnmarshalJSON

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

func (*NullableSubscriptionStatus) Unset

func (v *NullableSubscriptionStatus) Unset()

type NullableSubscriptionUpdate

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

func NewNullableSubscriptionUpdate

func NewNullableSubscriptionUpdate(val *SubscriptionUpdate) *NullableSubscriptionUpdate

func (NullableSubscriptionUpdate) Get

func (NullableSubscriptionUpdate) IsSet

func (v NullableSubscriptionUpdate) IsSet() bool

func (NullableSubscriptionUpdate) MarshalJSON

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

func (*NullableSubscriptionUpdate) Set

func (*NullableSubscriptionUpdate) UnmarshalJSON

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

func (*NullableSubscriptionUpdate) Unset

func (v *NullableSubscriptionUpdate) 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 NullableUpdateGitConfigurationRequest

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

func (NullableUpdateGitConfigurationRequest) Get

func (NullableUpdateGitConfigurationRequest) IsSet

func (NullableUpdateGitConfigurationRequest) MarshalJSON

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

func (*NullableUpdateGitConfigurationRequest) Set

func (*NullableUpdateGitConfigurationRequest) UnmarshalJSON

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

func (*NullableUpdateGitConfigurationRequest) Unset

type NullableUpdateOrganizationRequest

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

func (NullableUpdateOrganizationRequest) Get

func (NullableUpdateOrganizationRequest) IsSet

func (NullableUpdateOrganizationRequest) MarshalJSON

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

func (*NullableUpdateOrganizationRequest) Set

func (*NullableUpdateOrganizationRequest) UnmarshalJSON

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

func (*NullableUpdateOrganizationRequest) Unset

type NullableUpdatePlanRequest

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

func NewNullableUpdatePlanRequest

func NewNullableUpdatePlanRequest(val *UpdatePlanRequest) *NullableUpdatePlanRequest

func (NullableUpdatePlanRequest) Get

func (NullableUpdatePlanRequest) IsSet

func (v NullableUpdatePlanRequest) IsSet() bool

func (NullableUpdatePlanRequest) MarshalJSON

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

func (*NullableUpdatePlanRequest) Set

func (*NullableUpdatePlanRequest) UnmarshalJSON

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

func (*NullableUpdatePlanRequest) Unset

func (v *NullableUpdatePlanRequest) Unset()

type NullableUpdateProfileRequest

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

func NewNullableUpdateProfileRequest

func NewNullableUpdateProfileRequest(val *UpdateProfileRequest) *NullableUpdateProfileRequest

func (NullableUpdateProfileRequest) Get

func (NullableUpdateProfileRequest) IsSet

func (NullableUpdateProfileRequest) MarshalJSON

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

func (*NullableUpdateProfileRequest) Set

func (*NullableUpdateProfileRequest) UnmarshalJSON

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

func (*NullableUpdateProfileRequest) Unset

func (v *NullableUpdateProfileRequest) Unset()

type NullableUpdateUserRequest

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

func NewNullableUpdateUserRequest

func NewNullableUpdateUserRequest(val *UpdateUserRequest) *NullableUpdateUserRequest

func (NullableUpdateUserRequest) Get

func (NullableUpdateUserRequest) IsSet

func (v NullableUpdateUserRequest) IsSet() bool

func (NullableUpdateUserRequest) MarshalJSON

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

func (*NullableUpdateUserRequest) Set

func (*NullableUpdateUserRequest) UnmarshalJSON

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

func (*NullableUpdateUserRequest) Unset

func (v *NullableUpdateUserRequest) Unset()

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

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

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserCount

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

func NewNullableUserCount

func NewNullableUserCount(val *UserCount) *NullableUserCount

func (NullableUserCount) Get

func (v NullableUserCount) Get() *UserCount

func (NullableUserCount) IsSet

func (v NullableUserCount) IsSet() bool

func (NullableUserCount) MarshalJSON

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

func (*NullableUserCount) Set

func (v *NullableUserCount) Set(val *UserCount)

func (*NullableUserCount) UnmarshalJSON

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

func (*NullableUserCount) Unset

func (v *NullableUserCount) Unset()

type NullableUserDetails

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

func NewNullableUserDetails

func NewNullableUserDetails(val *UserDetails) *NullableUserDetails

func (NullableUserDetails) Get

func (NullableUserDetails) IsSet

func (v NullableUserDetails) IsSet() bool

func (NullableUserDetails) MarshalJSON

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

func (*NullableUserDetails) Set

func (v *NullableUserDetails) Set(val *UserDetails)

func (*NullableUserDetails) UnmarshalJSON

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

func (*NullableUserDetails) Unset

func (v *NullableUserDetails) Unset()

type PasswordChangeRequest

type PasswordChangeRequest struct {
	Strict      *string `json:"strict,omitempty"`
	OldPassword *string `json:"oldPassword,omitempty"`
	NewPassword *string `json:"newPassword,omitempty"`
}

PasswordChangeRequest struct for PasswordChangeRequest

func NewPasswordChangeRequest

func NewPasswordChangeRequest() *PasswordChangeRequest

NewPasswordChangeRequest instantiates a new PasswordChangeRequest 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 NewPasswordChangeRequestWithDefaults

func NewPasswordChangeRequestWithDefaults() *PasswordChangeRequest

NewPasswordChangeRequestWithDefaults instantiates a new PasswordChangeRequest 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 (*PasswordChangeRequest) GetNewPassword

func (o *PasswordChangeRequest) GetNewPassword() string

GetNewPassword returns the NewPassword field value if set, zero value otherwise.

func (*PasswordChangeRequest) GetNewPasswordOk

func (o *PasswordChangeRequest) GetNewPasswordOk() (*string, bool)

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

func (*PasswordChangeRequest) GetOldPassword

func (o *PasswordChangeRequest) GetOldPassword() string

GetOldPassword returns the OldPassword field value if set, zero value otherwise.

func (*PasswordChangeRequest) GetOldPasswordOk

func (o *PasswordChangeRequest) GetOldPasswordOk() (*string, bool)

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

func (*PasswordChangeRequest) GetStrict

func (o *PasswordChangeRequest) GetStrict() string

GetStrict returns the Strict field value if set, zero value otherwise.

func (*PasswordChangeRequest) GetStrictOk

func (o *PasswordChangeRequest) GetStrictOk() (*string, bool)

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

func (*PasswordChangeRequest) HasNewPassword

func (o *PasswordChangeRequest) HasNewPassword() bool

HasNewPassword returns a boolean if a field has been set.

func (*PasswordChangeRequest) HasOldPassword

func (o *PasswordChangeRequest) HasOldPassword() bool

HasOldPassword returns a boolean if a field has been set.

func (*PasswordChangeRequest) HasStrict

func (o *PasswordChangeRequest) HasStrict() bool

HasStrict returns a boolean if a field has been set.

func (PasswordChangeRequest) MarshalJSON

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

func (*PasswordChangeRequest) SetNewPassword

func (o *PasswordChangeRequest) SetNewPassword(v string)

SetNewPassword gets a reference to the given string and assigns it to the NewPassword field.

func (*PasswordChangeRequest) SetOldPassword

func (o *PasswordChangeRequest) SetOldPassword(v string)

SetOldPassword gets a reference to the given string and assigns it to the OldPassword field.

func (*PasswordChangeRequest) SetStrict

func (o *PasswordChangeRequest) SetStrict(v string)

SetStrict gets a reference to the given string and assigns it to the Strict field.

type Plan

type Plan struct {
	Id                         string             `json:"id"`
	Name                       string             `json:"name"`
	Creation                   *int64             `json:"creation,omitempty"`
	Update                     *int64             `json:"update,omitempty"`
	Active                     bool               `json:"active"`
	DefaultForNewSubscriptions bool               `json:"defaultForNewSubscriptions"`
	MetricConstraints          []MetricConstraint `json:"metricConstraints,omitempty"`
}

Plan Subscription plan

func NewPlan

func NewPlan(id string, name string, active bool, defaultForNewSubscriptions bool) *Plan

NewPlan instantiates a new Plan 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 NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetActive

func (o *Plan) GetActive() bool

GetActive returns the Active field value

func (*Plan) GetActiveOk

func (o *Plan) GetActiveOk() (*bool, bool)

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

func (*Plan) GetCreation

func (o *Plan) GetCreation() int64

GetCreation returns the Creation field value if set, zero value otherwise.

func (*Plan) GetCreationOk

func (o *Plan) GetCreationOk() (*int64, bool)

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

func (*Plan) GetDefaultForNewSubscriptions

func (o *Plan) GetDefaultForNewSubscriptions() bool

GetDefaultForNewSubscriptions returns the DefaultForNewSubscriptions field value

func (*Plan) GetDefaultForNewSubscriptionsOk

func (o *Plan) GetDefaultForNewSubscriptionsOk() (*bool, bool)

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

func (*Plan) GetId

func (o *Plan) GetId() string

GetId returns the Id field value

func (*Plan) GetIdOk

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

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

func (*Plan) GetMetricConstraints

func (o *Plan) GetMetricConstraints() []MetricConstraint

GetMetricConstraints returns the MetricConstraints field value if set, zero value otherwise.

func (*Plan) GetMetricConstraintsOk

func (o *Plan) GetMetricConstraintsOk() ([]MetricConstraint, bool)

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

func (*Plan) GetName

func (o *Plan) GetName() string

GetName returns the Name field value

func (*Plan) GetNameOk

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

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

func (*Plan) GetUpdate

func (o *Plan) GetUpdate() int64

GetUpdate returns the Update field value if set, zero value otherwise.

func (*Plan) GetUpdateOk

func (o *Plan) GetUpdateOk() (*int64, bool)

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

func (*Plan) HasCreation

func (o *Plan) HasCreation() bool

HasCreation returns a boolean if a field has been set.

func (*Plan) HasMetricConstraints

func (o *Plan) HasMetricConstraints() bool

HasMetricConstraints returns a boolean if a field has been set.

func (*Plan) HasUpdate

func (o *Plan) HasUpdate() bool

HasUpdate returns a boolean if a field has been set.

func (Plan) MarshalJSON

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

func (*Plan) SetActive

func (o *Plan) SetActive(v bool)

SetActive sets field value

func (*Plan) SetCreation

func (o *Plan) SetCreation(v int64)

SetCreation gets a reference to the given int64 and assigns it to the Creation field.

func (*Plan) SetDefaultForNewSubscriptions

func (o *Plan) SetDefaultForNewSubscriptions(v bool)

SetDefaultForNewSubscriptions sets field value

func (*Plan) SetId

func (o *Plan) SetId(v string)

SetId sets field value

func (*Plan) SetMetricConstraints

func (o *Plan) SetMetricConstraints(v []MetricConstraint)

SetMetricConstraints gets a reference to the given []MetricConstraint and assigns it to the MetricConstraints field.

func (*Plan) SetName

func (o *Plan) SetName(v string)

SetName sets field value

func (*Plan) SetUpdate

func (o *Plan) SetUpdate(v int64)

SetUpdate gets a reference to the given int64 and assigns it to the Update field.

type PlanHardLimitValidatorResponse

type PlanHardLimitValidatorResponse struct {
	Proceed      *bool    `json:"proceed,omitempty"`
	CurrentValue *float64 `json:"currentValue,omitempty"`
	Limit        *int32   `json:"limit,omitempty"`
	Constraint   *string  `json:"constraint,omitempty"`
	Plan         *string  `json:"plan,omitempty"`
	Name         *string  `json:"name,omitempty"`
}

PlanHardLimitValidatorResponse struct for PlanHardLimitValidatorResponse

func NewPlanHardLimitValidatorResponse

func NewPlanHardLimitValidatorResponse() *PlanHardLimitValidatorResponse

NewPlanHardLimitValidatorResponse instantiates a new PlanHardLimitValidatorResponse 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 NewPlanHardLimitValidatorResponseWithDefaults

func NewPlanHardLimitValidatorResponseWithDefaults() *PlanHardLimitValidatorResponse

NewPlanHardLimitValidatorResponseWithDefaults instantiates a new PlanHardLimitValidatorResponse 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 (*PlanHardLimitValidatorResponse) GetConstraint

func (o *PlanHardLimitValidatorResponse) GetConstraint() string

GetConstraint returns the Constraint field value if set, zero value otherwise.

func (*PlanHardLimitValidatorResponse) GetConstraintOk

func (o *PlanHardLimitValidatorResponse) GetConstraintOk() (*string, bool)

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

func (*PlanHardLimitValidatorResponse) GetCurrentValue

func (o *PlanHardLimitValidatorResponse) GetCurrentValue() float64

GetCurrentValue returns the CurrentValue field value if set, zero value otherwise.

func (*PlanHardLimitValidatorResponse) GetCurrentValueOk

func (o *PlanHardLimitValidatorResponse) GetCurrentValueOk() (*float64, bool)

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

func (*PlanHardLimitValidatorResponse) GetLimit

func (o *PlanHardLimitValidatorResponse) GetLimit() int32

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

func (*PlanHardLimitValidatorResponse) GetLimitOk

func (o *PlanHardLimitValidatorResponse) GetLimitOk() (*int32, bool)

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

func (*PlanHardLimitValidatorResponse) GetName

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

func (*PlanHardLimitValidatorResponse) GetNameOk

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

GetPlan returns the Plan field value if set, zero value otherwise.

func (*PlanHardLimitValidatorResponse) GetPlanOk

func (o *PlanHardLimitValidatorResponse) GetPlanOk() (*string, bool)

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

func (*PlanHardLimitValidatorResponse) GetProceed

func (o *PlanHardLimitValidatorResponse) GetProceed() bool

GetProceed returns the Proceed field value if set, zero value otherwise.

func (*PlanHardLimitValidatorResponse) GetProceedOk

func (o *PlanHardLimitValidatorResponse) GetProceedOk() (*bool, bool)

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

func (*PlanHardLimitValidatorResponse) HasConstraint

func (o *PlanHardLimitValidatorResponse) HasConstraint() bool

HasConstraint returns a boolean if a field has been set.

func (*PlanHardLimitValidatorResponse) HasCurrentValue

func (o *PlanHardLimitValidatorResponse) HasCurrentValue() bool

HasCurrentValue returns a boolean if a field has been set.

func (*PlanHardLimitValidatorResponse) HasLimit

func (o *PlanHardLimitValidatorResponse) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PlanHardLimitValidatorResponse) HasName

func (o *PlanHardLimitValidatorResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*PlanHardLimitValidatorResponse) HasPlan

func (o *PlanHardLimitValidatorResponse) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*PlanHardLimitValidatorResponse) HasProceed

func (o *PlanHardLimitValidatorResponse) HasProceed() bool

HasProceed returns a boolean if a field has been set.

func (PlanHardLimitValidatorResponse) MarshalJSON

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

func (*PlanHardLimitValidatorResponse) SetConstraint

func (o *PlanHardLimitValidatorResponse) SetConstraint(v string)

SetConstraint gets a reference to the given string and assigns it to the Constraint field.

func (*PlanHardLimitValidatorResponse) SetCurrentValue

func (o *PlanHardLimitValidatorResponse) SetCurrentValue(v float64)

SetCurrentValue gets a reference to the given float64 and assigns it to the CurrentValue field.

func (*PlanHardLimitValidatorResponse) SetLimit

func (o *PlanHardLimitValidatorResponse) SetLimit(v int32)

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

func (*PlanHardLimitValidatorResponse) SetName

func (o *PlanHardLimitValidatorResponse) SetName(v string)

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

func (*PlanHardLimitValidatorResponse) SetPlan

func (o *PlanHardLimitValidatorResponse) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*PlanHardLimitValidatorResponse) SetProceed

func (o *PlanHardLimitValidatorResponse) SetProceed(v bool)

SetProceed gets a reference to the given bool and assigns it to the Proceed field.

type PlanRequest

type PlanRequest struct {
	Name              string             `json:"name"`
	MetricConstraints []MetricConstraint `json:"metricConstraints,omitempty"`
}

PlanRequest struct for PlanRequest

func NewPlanRequest

func NewPlanRequest(name string) *PlanRequest

NewPlanRequest instantiates a new PlanRequest 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 NewPlanRequestWithDefaults

func NewPlanRequestWithDefaults() *PlanRequest

NewPlanRequestWithDefaults instantiates a new PlanRequest 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 (*PlanRequest) GetMetricConstraints

func (o *PlanRequest) GetMetricConstraints() []MetricConstraint

GetMetricConstraints returns the MetricConstraints field value if set, zero value otherwise.

func (*PlanRequest) GetMetricConstraintsOk

func (o *PlanRequest) GetMetricConstraintsOk() ([]MetricConstraint, bool)

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

func (*PlanRequest) GetName

func (o *PlanRequest) GetName() string

GetName returns the Name field value

func (*PlanRequest) GetNameOk

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

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

func (*PlanRequest) HasMetricConstraints

func (o *PlanRequest) HasMetricConstraints() bool

HasMetricConstraints returns a boolean if a field has been set.

func (PlanRequest) MarshalJSON

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

func (*PlanRequest) SetMetricConstraints

func (o *PlanRequest) SetMetricConstraints(v []MetricConstraint)

SetMetricConstraints gets a reference to the given []MetricConstraint and assigns it to the MetricConstraints field.

func (*PlanRequest) SetName

func (o *PlanRequest) SetName(v string)

SetName sets field value

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 Subscription

type Subscription struct {
	FirstName      string                           `json:"firstName"`
	LastName       string                           `json:"lastName"`
	Email          string                           `json:"email"`
	Function       string                           `json:"function"`
	Id             string                           `json:"id"`
	Company        string                           `json:"company"`
	Creation       *string                          `json:"creation,omitempty"`
	Country        string                           `json:"country"`
	Type           string                           `json:"type"`
	Alias          *string                          `json:"alias,omitempty"`
	PlanId         *string                          `json:"planId,omitempty"`
	Provisioned    *bool                            `json:"provisioned,omitempty"`
	Status         *SubscriptionStatus              `json:"status,omitempty"`
	DeploymentInfo *SubscriptionAllOfDeploymentInfo `json:"deploymentInfo,omitempty"`
	Configuration  *SubscriptionAllOfConfiguration  `json:"configuration,omitempty"`
	ErrorCause     *SubscriptionErrorCause          `json:"errorCause,omitempty"`
}

Subscription struct for Subscription

func NewSubscription

func NewSubscription(firstName string, lastName string, email string, function string, id string, company string, country string, type_ string) *Subscription

NewSubscription instantiates a new Subscription 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 NewSubscriptionWithDefaults

func NewSubscriptionWithDefaults() *Subscription

NewSubscriptionWithDefaults instantiates a new Subscription 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 (*Subscription) GetAlias

func (o *Subscription) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*Subscription) GetAliasOk

func (o *Subscription) GetAliasOk() (*string, bool)

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

func (*Subscription) GetCompany

func (o *Subscription) GetCompany() string

GetCompany returns the Company field value

func (*Subscription) GetCompanyOk

func (o *Subscription) GetCompanyOk() (*string, bool)

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

func (*Subscription) GetConfiguration

func (o *Subscription) GetConfiguration() SubscriptionAllOfConfiguration

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*Subscription) GetConfigurationOk

func (o *Subscription) GetConfigurationOk() (*SubscriptionAllOfConfiguration, bool)

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

func (*Subscription) GetCountry

func (o *Subscription) GetCountry() string

GetCountry returns the Country field value

func (*Subscription) GetCountryOk

func (o *Subscription) GetCountryOk() (*string, bool)

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

func (*Subscription) GetCreation

func (o *Subscription) GetCreation() string

GetCreation returns the Creation field value if set, zero value otherwise.

func (*Subscription) GetCreationOk

func (o *Subscription) GetCreationOk() (*string, bool)

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

func (*Subscription) GetDeploymentInfo

func (o *Subscription) GetDeploymentInfo() SubscriptionAllOfDeploymentInfo

GetDeploymentInfo returns the DeploymentInfo field value if set, zero value otherwise.

func (*Subscription) GetDeploymentInfoOk

func (o *Subscription) GetDeploymentInfoOk() (*SubscriptionAllOfDeploymentInfo, bool)

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

func (*Subscription) GetEmail

func (o *Subscription) GetEmail() string

GetEmail returns the Email field value

func (*Subscription) GetEmailOk

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

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

func (*Subscription) GetErrorCause

func (o *Subscription) GetErrorCause() SubscriptionErrorCause

GetErrorCause returns the ErrorCause field value if set, zero value otherwise.

func (*Subscription) GetErrorCauseOk

func (o *Subscription) GetErrorCauseOk() (*SubscriptionErrorCause, bool)

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

func (*Subscription) GetFirstName

func (o *Subscription) GetFirstName() string

GetFirstName returns the FirstName field value

func (*Subscription) GetFirstNameOk

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

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

func (*Subscription) GetFunction

func (o *Subscription) GetFunction() string

GetFunction returns the Function field value

func (*Subscription) GetFunctionOk

func (o *Subscription) GetFunctionOk() (*string, bool)

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

func (*Subscription) GetId

func (o *Subscription) GetId() string

GetId returns the Id field value

func (*Subscription) GetIdOk

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

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

func (*Subscription) GetLastName

func (o *Subscription) GetLastName() string

GetLastName returns the LastName field value

func (*Subscription) GetLastNameOk

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

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

func (*Subscription) GetPlanId

func (o *Subscription) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*Subscription) GetPlanIdOk

func (o *Subscription) GetPlanIdOk() (*string, bool)

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

func (*Subscription) GetProvisioned

func (o *Subscription) GetProvisioned() bool

GetProvisioned returns the Provisioned field value if set, zero value otherwise.

func (*Subscription) GetProvisionedOk

func (o *Subscription) GetProvisionedOk() (*bool, bool)

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

func (*Subscription) GetStatus

func (o *Subscription) GetStatus() SubscriptionStatus

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

func (*Subscription) GetStatusOk

func (o *Subscription) GetStatusOk() (*SubscriptionStatus, bool)

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

func (*Subscription) GetType

func (o *Subscription) GetType() string

GetType returns the Type field value

func (*Subscription) GetTypeOk

func (o *Subscription) GetTypeOk() (*string, bool)

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

func (*Subscription) HasAlias

func (o *Subscription) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*Subscription) HasConfiguration

func (o *Subscription) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*Subscription) HasCreation

func (o *Subscription) HasCreation() bool

HasCreation returns a boolean if a field has been set.

func (*Subscription) HasDeploymentInfo

func (o *Subscription) HasDeploymentInfo() bool

HasDeploymentInfo returns a boolean if a field has been set.

func (*Subscription) HasErrorCause

func (o *Subscription) HasErrorCause() bool

HasErrorCause returns a boolean if a field has been set.

func (*Subscription) HasPlanId

func (o *Subscription) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*Subscription) HasProvisioned

func (o *Subscription) HasProvisioned() bool

HasProvisioned returns a boolean if a field has been set.

func (*Subscription) HasStatus

func (o *Subscription) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Subscription) MarshalJSON

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

func (*Subscription) SetAlias

func (o *Subscription) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*Subscription) SetCompany

func (o *Subscription) SetCompany(v string)

SetCompany sets field value

func (*Subscription) SetConfiguration

func (o *Subscription) SetConfiguration(v SubscriptionAllOfConfiguration)

SetConfiguration gets a reference to the given SubscriptionAllOfConfiguration and assigns it to the Configuration field.

func (*Subscription) SetCountry

func (o *Subscription) SetCountry(v string)

SetCountry sets field value

func (*Subscription) SetCreation

func (o *Subscription) SetCreation(v string)

SetCreation gets a reference to the given string and assigns it to the Creation field.

func (*Subscription) SetDeploymentInfo

func (o *Subscription) SetDeploymentInfo(v SubscriptionAllOfDeploymentInfo)

SetDeploymentInfo gets a reference to the given SubscriptionAllOfDeploymentInfo and assigns it to the DeploymentInfo field.

func (*Subscription) SetEmail

func (o *Subscription) SetEmail(v string)

SetEmail sets field value

func (*Subscription) SetErrorCause

func (o *Subscription) SetErrorCause(v SubscriptionErrorCause)

SetErrorCause gets a reference to the given SubscriptionErrorCause and assigns it to the ErrorCause field.

func (*Subscription) SetFirstName

func (o *Subscription) SetFirstName(v string)

SetFirstName sets field value

func (*Subscription) SetFunction

func (o *Subscription) SetFunction(v string)

SetFunction sets field value

func (*Subscription) SetId

func (o *Subscription) SetId(v string)

SetId sets field value

func (*Subscription) SetLastName

func (o *Subscription) SetLastName(v string)

SetLastName sets field value

func (*Subscription) SetPlanId

func (o *Subscription) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*Subscription) SetProvisioned

func (o *Subscription) SetProvisioned(v bool)

SetProvisioned gets a reference to the given bool and assigns it to the Provisioned field.

func (*Subscription) SetStatus

func (o *Subscription) SetStatus(v SubscriptionStatus)

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

func (*Subscription) SetType

func (o *Subscription) SetType(v string)

SetType sets field value

type SubscriptionAllOf

type SubscriptionAllOf struct {
	Id             string                           `json:"id"`
	Company        string                           `json:"company"`
	Creation       *string                          `json:"creation,omitempty"`
	Country        string                           `json:"country"`
	Type           string                           `json:"type"`
	Alias          *string                          `json:"alias,omitempty"`
	PlanId         *string                          `json:"planId,omitempty"`
	Provisioned    *bool                            `json:"provisioned,omitempty"`
	Status         *SubscriptionStatus              `json:"status,omitempty"`
	DeploymentInfo *SubscriptionAllOfDeploymentInfo `json:"deploymentInfo,omitempty"`
	Configuration  *SubscriptionAllOfConfiguration  `json:"configuration,omitempty"`
	ErrorCause     *SubscriptionErrorCause          `json:"errorCause,omitempty"`
}

SubscriptionAllOf struct for SubscriptionAllOf

func NewSubscriptionAllOf

func NewSubscriptionAllOf(id string, company string, country string, type_ string) *SubscriptionAllOf

NewSubscriptionAllOf instantiates a new SubscriptionAllOf 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 NewSubscriptionAllOfWithDefaults

func NewSubscriptionAllOfWithDefaults() *SubscriptionAllOf

NewSubscriptionAllOfWithDefaults instantiates a new SubscriptionAllOf 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 (*SubscriptionAllOf) GetAlias

func (o *SubscriptionAllOf) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetAliasOk

func (o *SubscriptionAllOf) GetAliasOk() (*string, bool)

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

func (*SubscriptionAllOf) GetCompany

func (o *SubscriptionAllOf) GetCompany() string

GetCompany returns the Company field value

func (*SubscriptionAllOf) GetCompanyOk

func (o *SubscriptionAllOf) GetCompanyOk() (*string, bool)

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

func (*SubscriptionAllOf) GetConfiguration

func (o *SubscriptionAllOf) GetConfiguration() SubscriptionAllOfConfiguration

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetConfigurationOk

func (o *SubscriptionAllOf) GetConfigurationOk() (*SubscriptionAllOfConfiguration, bool)

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

func (*SubscriptionAllOf) GetCountry

func (o *SubscriptionAllOf) GetCountry() string

GetCountry returns the Country field value

func (*SubscriptionAllOf) GetCountryOk

func (o *SubscriptionAllOf) GetCountryOk() (*string, bool)

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

func (*SubscriptionAllOf) GetCreation

func (o *SubscriptionAllOf) GetCreation() string

GetCreation returns the Creation field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetCreationOk

func (o *SubscriptionAllOf) GetCreationOk() (*string, bool)

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

func (*SubscriptionAllOf) GetDeploymentInfo

func (o *SubscriptionAllOf) GetDeploymentInfo() SubscriptionAllOfDeploymentInfo

GetDeploymentInfo returns the DeploymentInfo field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetDeploymentInfoOk

func (o *SubscriptionAllOf) GetDeploymentInfoOk() (*SubscriptionAllOfDeploymentInfo, bool)

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

func (*SubscriptionAllOf) GetErrorCause

func (o *SubscriptionAllOf) GetErrorCause() SubscriptionErrorCause

GetErrorCause returns the ErrorCause field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetErrorCauseOk

func (o *SubscriptionAllOf) GetErrorCauseOk() (*SubscriptionErrorCause, bool)

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

func (*SubscriptionAllOf) GetId

func (o *SubscriptionAllOf) GetId() string

GetId returns the Id field value

func (*SubscriptionAllOf) GetIdOk

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

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

func (*SubscriptionAllOf) GetPlanId

func (o *SubscriptionAllOf) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetPlanIdOk

func (o *SubscriptionAllOf) GetPlanIdOk() (*string, bool)

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

func (*SubscriptionAllOf) GetProvisioned

func (o *SubscriptionAllOf) GetProvisioned() bool

GetProvisioned returns the Provisioned field value if set, zero value otherwise.

func (*SubscriptionAllOf) GetProvisionedOk

func (o *SubscriptionAllOf) GetProvisionedOk() (*bool, bool)

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

func (*SubscriptionAllOf) GetStatus

func (o *SubscriptionAllOf) GetStatus() SubscriptionStatus

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

func (*SubscriptionAllOf) GetStatusOk

func (o *SubscriptionAllOf) GetStatusOk() (*SubscriptionStatus, bool)

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

func (*SubscriptionAllOf) GetType

func (o *SubscriptionAllOf) GetType() string

GetType returns the Type field value

func (*SubscriptionAllOf) GetTypeOk

func (o *SubscriptionAllOf) GetTypeOk() (*string, bool)

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

func (*SubscriptionAllOf) HasAlias

func (o *SubscriptionAllOf) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasConfiguration

func (o *SubscriptionAllOf) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasCreation

func (o *SubscriptionAllOf) HasCreation() bool

HasCreation returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasDeploymentInfo

func (o *SubscriptionAllOf) HasDeploymentInfo() bool

HasDeploymentInfo returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasErrorCause

func (o *SubscriptionAllOf) HasErrorCause() bool

HasErrorCause returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasPlanId

func (o *SubscriptionAllOf) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasProvisioned

func (o *SubscriptionAllOf) HasProvisioned() bool

HasProvisioned returns a boolean if a field has been set.

func (*SubscriptionAllOf) HasStatus

func (o *SubscriptionAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SubscriptionAllOf) MarshalJSON

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

func (*SubscriptionAllOf) SetAlias

func (o *SubscriptionAllOf) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*SubscriptionAllOf) SetCompany

func (o *SubscriptionAllOf) SetCompany(v string)

SetCompany sets field value

func (*SubscriptionAllOf) SetConfiguration

func (o *SubscriptionAllOf) SetConfiguration(v SubscriptionAllOfConfiguration)

SetConfiguration gets a reference to the given SubscriptionAllOfConfiguration and assigns it to the Configuration field.

func (*SubscriptionAllOf) SetCountry

func (o *SubscriptionAllOf) SetCountry(v string)

SetCountry sets field value

func (*SubscriptionAllOf) SetCreation

func (o *SubscriptionAllOf) SetCreation(v string)

SetCreation gets a reference to the given string and assigns it to the Creation field.

func (*SubscriptionAllOf) SetDeploymentInfo

func (o *SubscriptionAllOf) SetDeploymentInfo(v SubscriptionAllOfDeploymentInfo)

SetDeploymentInfo gets a reference to the given SubscriptionAllOfDeploymentInfo and assigns it to the DeploymentInfo field.

func (*SubscriptionAllOf) SetErrorCause

func (o *SubscriptionAllOf) SetErrorCause(v SubscriptionErrorCause)

SetErrorCause gets a reference to the given SubscriptionErrorCause and assigns it to the ErrorCause field.

func (*SubscriptionAllOf) SetId

func (o *SubscriptionAllOf) SetId(v string)

SetId sets field value

func (*SubscriptionAllOf) SetPlanId

func (o *SubscriptionAllOf) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*SubscriptionAllOf) SetProvisioned

func (o *SubscriptionAllOf) SetProvisioned(v bool)

SetProvisioned gets a reference to the given bool and assigns it to the Provisioned field.

func (*SubscriptionAllOf) SetStatus

func (o *SubscriptionAllOf) SetStatus(v SubscriptionStatus)

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

func (*SubscriptionAllOf) SetType

func (o *SubscriptionAllOf) SetType(v string)

SetType sets field value

type SubscriptionAllOfConfiguration

type SubscriptionAllOfConfiguration struct {
	IdentityProviderData *IdentityProviderData `json:"identityProviderData,omitempty"`
	GitConfigurationData *GitConfigurationData `json:"gitConfigurationData,omitempty"`
}

SubscriptionAllOfConfiguration struct for SubscriptionAllOfConfiguration

func NewSubscriptionAllOfConfiguration

func NewSubscriptionAllOfConfiguration() *SubscriptionAllOfConfiguration

NewSubscriptionAllOfConfiguration instantiates a new SubscriptionAllOfConfiguration 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 NewSubscriptionAllOfConfigurationWithDefaults

func NewSubscriptionAllOfConfigurationWithDefaults() *SubscriptionAllOfConfiguration

NewSubscriptionAllOfConfigurationWithDefaults instantiates a new SubscriptionAllOfConfiguration 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 (*SubscriptionAllOfConfiguration) GetGitConfigurationData

func (o *SubscriptionAllOfConfiguration) GetGitConfigurationData() GitConfigurationData

GetGitConfigurationData returns the GitConfigurationData field value if set, zero value otherwise.

func (*SubscriptionAllOfConfiguration) GetGitConfigurationDataOk

func (o *SubscriptionAllOfConfiguration) GetGitConfigurationDataOk() (*GitConfigurationData, bool)

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

func (*SubscriptionAllOfConfiguration) GetIdentityProviderData

func (o *SubscriptionAllOfConfiguration) GetIdentityProviderData() IdentityProviderData

GetIdentityProviderData returns the IdentityProviderData field value if set, zero value otherwise.

func (*SubscriptionAllOfConfiguration) GetIdentityProviderDataOk

func (o *SubscriptionAllOfConfiguration) GetIdentityProviderDataOk() (*IdentityProviderData, bool)

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

func (*SubscriptionAllOfConfiguration) HasGitConfigurationData

func (o *SubscriptionAllOfConfiguration) HasGitConfigurationData() bool

HasGitConfigurationData returns a boolean if a field has been set.

func (*SubscriptionAllOfConfiguration) HasIdentityProviderData

func (o *SubscriptionAllOfConfiguration) HasIdentityProviderData() bool

HasIdentityProviderData returns a boolean if a field has been set.

func (SubscriptionAllOfConfiguration) MarshalJSON

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

func (*SubscriptionAllOfConfiguration) SetGitConfigurationData

func (o *SubscriptionAllOfConfiguration) SetGitConfigurationData(v GitConfigurationData)

SetGitConfigurationData gets a reference to the given GitConfigurationData and assigns it to the GitConfigurationData field.

func (*SubscriptionAllOfConfiguration) SetIdentityProviderData

func (o *SubscriptionAllOfConfiguration) SetIdentityProviderData(v IdentityProviderData)

SetIdentityProviderData gets a reference to the given IdentityProviderData and assigns it to the IdentityProviderData field.

type SubscriptionAllOfDeploymentInfo

type SubscriptionAllOfDeploymentInfo struct {
	Version    *int32  `json:"version,omitempty"`
	LastUpdate *string `json:"lastUpdate,omitempty"`
}

SubscriptionAllOfDeploymentInfo struct for SubscriptionAllOfDeploymentInfo

func NewSubscriptionAllOfDeploymentInfo

func NewSubscriptionAllOfDeploymentInfo() *SubscriptionAllOfDeploymentInfo

NewSubscriptionAllOfDeploymentInfo instantiates a new SubscriptionAllOfDeploymentInfo 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 NewSubscriptionAllOfDeploymentInfoWithDefaults

func NewSubscriptionAllOfDeploymentInfoWithDefaults() *SubscriptionAllOfDeploymentInfo

NewSubscriptionAllOfDeploymentInfoWithDefaults instantiates a new SubscriptionAllOfDeploymentInfo 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 (*SubscriptionAllOfDeploymentInfo) GetLastUpdate

func (o *SubscriptionAllOfDeploymentInfo) GetLastUpdate() string

GetLastUpdate returns the LastUpdate field value if set, zero value otherwise.

func (*SubscriptionAllOfDeploymentInfo) GetLastUpdateOk

func (o *SubscriptionAllOfDeploymentInfo) GetLastUpdateOk() (*string, bool)

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

func (*SubscriptionAllOfDeploymentInfo) GetVersion

func (o *SubscriptionAllOfDeploymentInfo) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SubscriptionAllOfDeploymentInfo) GetVersionOk

func (o *SubscriptionAllOfDeploymentInfo) GetVersionOk() (*int32, bool)

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

func (*SubscriptionAllOfDeploymentInfo) HasLastUpdate

func (o *SubscriptionAllOfDeploymentInfo) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

func (*SubscriptionAllOfDeploymentInfo) HasVersion

func (o *SubscriptionAllOfDeploymentInfo) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SubscriptionAllOfDeploymentInfo) MarshalJSON

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

func (*SubscriptionAllOfDeploymentInfo) SetLastUpdate

func (o *SubscriptionAllOfDeploymentInfo) SetLastUpdate(v string)

SetLastUpdate gets a reference to the given string and assigns it to the LastUpdate field.

func (*SubscriptionAllOfDeploymentInfo) SetVersion

func (o *SubscriptionAllOfDeploymentInfo) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type SubscriptionApiService

type SubscriptionApiService service

SubscriptionApiService SubscriptionApi service

func (*SubscriptionApiService) FindSubscriptionById

func (a *SubscriptionApiService) FindSubscriptionById(ctx context.Context, subscriptionId string) ApiFindSubscriptionByIdRequest

FindSubscriptionById Find a subscription by Id

Find a subscription by Id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiFindSubscriptionByIdRequest

func (*SubscriptionApiService) FindSubscriptionByIdExecute

func (a *SubscriptionApiService) FindSubscriptionByIdExecute(r ApiFindSubscriptionByIdRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*SubscriptionApiService) GetPlanForSubscription

func (a *SubscriptionApiService) GetPlanForSubscription(ctx context.Context, subscriptionId string) ApiGetPlanForSubscriptionRequest

GetPlanForSubscription Get current plan of the subscription

Get current plan of the subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiGetPlanForSubscriptionRequest

func (*SubscriptionApiService) GetPlanForSubscriptionExecute

func (a *SubscriptionApiService) GetPlanForSubscriptionExecute(r ApiGetPlanForSubscriptionRequest) (*Plan, *http.Response, error)

Execute executes the request

@return Plan

func (*SubscriptionApiService) UpdateOrganization

func (a *SubscriptionApiService) UpdateOrganization(ctx context.Context, subscriptionId string) ApiUpdateOrganizationRequest

UpdateOrganization Update organization of the subscription

Update company name of the subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiUpdateOrganizationRequest

func (*SubscriptionApiService) UpdateOrganizationExecute

Execute executes the request

@return Subscription

type SubscriptionErrorCause

type SubscriptionErrorCause string

SubscriptionErrorCause the model 'SubscriptionErrorCause'

const (
	PROVISIONING_JENKINS SubscriptionErrorCause = "PROVISIONING_JENKINS"
	CIS                  SubscriptionErrorCause = "CIS"
	DESTROYING_JENKINS   SubscriptionErrorCause = "DESTROYING_JENKINS"
	PROVISIONING_DB      SubscriptionErrorCause = "PROVISIONING_DB"
	DESTROYING_DB        SubscriptionErrorCause = "DESTROYING_DB"
)

List of SubscriptionErrorCause

func NewSubscriptionErrorCauseFromValue

func NewSubscriptionErrorCauseFromValue(v string) (*SubscriptionErrorCause, error)

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

func (SubscriptionErrorCause) IsValid

func (v SubscriptionErrorCause) IsValid() bool

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

func (SubscriptionErrorCause) Ptr

Ptr returns reference to SubscriptionErrorCause value

func (*SubscriptionErrorCause) UnmarshalJSON

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

type SubscriptionGitApiService

type SubscriptionGitApiService service

SubscriptionGitApiService SubscriptionGitApi service

func (*SubscriptionGitApiService) GetGitConfiguration

func (a *SubscriptionGitApiService) GetGitConfiguration(ctx context.Context, subscriptionId string) ApiGetGitConfigurationRequest

GetGitConfiguration Get Git configuration by subscription Id

Get Git configuration by subscription Id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiGetGitConfigurationRequest

func (*SubscriptionGitApiService) GetGitConfigurationExecute

Execute executes the request

@return GitConfigurationResponse

func (*SubscriptionGitApiService) SyncGitRepository

func (a *SubscriptionGitApiService) SyncGitRepository(ctx context.Context, subscriptionId string) ApiSyncGitRepositoryRequest

SyncGitRepository Sync Git repository

Sync Git repository

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiSyncGitRepositoryRequest

func (*SubscriptionGitApiService) SyncGitRepositoryExecute

func (a *SubscriptionGitApiService) SyncGitRepositoryExecute(r ApiSyncGitRepositoryRequest) (*http.Response, error)

Execute executes the request

func (*SubscriptionGitApiService) UpdateGitConfiguration

func (a *SubscriptionGitApiService) UpdateGitConfiguration(ctx context.Context, subscriptionId string) ApiUpdateGitConfigurationRequest

UpdateGitConfiguration Update Git configuration for the subscription

Update Git configuration for the subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiUpdateGitConfigurationRequest

func (*SubscriptionGitApiService) UpdateGitConfigurationExecute

Execute executes the request

@return GitConfigurationResponse

type SubscriptionStatus

type SubscriptionStatus string

SubscriptionStatus the model 'SubscriptionStatus'

const (
	CREATED      SubscriptionStatus = "CREATED"
	PROVISIONING SubscriptionStatus = "PROVISIONING"
	ACTIVE       SubscriptionStatus = "ACTIVE"
	INACTIVE     SubscriptionStatus = "INACTIVE"
	ERROR        SubscriptionStatus = "ERROR"
	DESTROYING   SubscriptionStatus = "DESTROYING"
	UPDATING     SubscriptionStatus = "UPDATING"
	UPDATE_ERROR SubscriptionStatus = "UPDATE_ERROR"
)

List of SubscriptionStatus

func NewSubscriptionStatusFromValue

func NewSubscriptionStatusFromValue(v string) (*SubscriptionStatus, error)

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

func (SubscriptionStatus) IsValid

func (v SubscriptionStatus) IsValid() bool

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

func (SubscriptionStatus) Ptr

Ptr returns reference to SubscriptionStatus value

func (*SubscriptionStatus) UnmarshalJSON

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

type SubscriptionUpdate

type SubscriptionUpdate struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	Version     int32   `json:"version"`
}

SubscriptionUpdate struct for SubscriptionUpdate

func NewSubscriptionUpdate

func NewSubscriptionUpdate(name string, version int32) *SubscriptionUpdate

NewSubscriptionUpdate instantiates a new SubscriptionUpdate 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 NewSubscriptionUpdateWithDefaults

func NewSubscriptionUpdateWithDefaults() *SubscriptionUpdate

NewSubscriptionUpdateWithDefaults instantiates a new SubscriptionUpdate 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 (*SubscriptionUpdate) GetDescription

func (o *SubscriptionUpdate) GetDescription() string

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

func (*SubscriptionUpdate) GetDescriptionOk

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

func (o *SubscriptionUpdate) GetName() string

GetName returns the Name field value

func (*SubscriptionUpdate) GetNameOk

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

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

func (*SubscriptionUpdate) GetVersion

func (o *SubscriptionUpdate) GetVersion() int32

GetVersion returns the Version field value

func (*SubscriptionUpdate) GetVersionOk

func (o *SubscriptionUpdate) GetVersionOk() (*int32, bool)

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

func (*SubscriptionUpdate) HasDescription

func (o *SubscriptionUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (SubscriptionUpdate) MarshalJSON

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

func (*SubscriptionUpdate) SetDescription

func (o *SubscriptionUpdate) SetDescription(v string)

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

func (*SubscriptionUpdate) SetName

func (o *SubscriptionUpdate) SetName(v string)

SetName sets field value

func (*SubscriptionUpdate) SetVersion

func (o *SubscriptionUpdate) SetVersion(v int32)

SetVersion sets field value

type UpdateGitConfigurationRequest

type UpdateGitConfigurationRequest struct {
	GitCloneUrl string      `json:"gitCloneUrl"`
	GitProvider GitProvider `json:"gitProvider"`
}

UpdateGitConfigurationRequest struct for UpdateGitConfigurationRequest

func NewUpdateGitConfigurationRequest

func NewUpdateGitConfigurationRequest(gitCloneUrl string, gitProvider GitProvider) *UpdateGitConfigurationRequest

NewUpdateGitConfigurationRequest instantiates a new UpdateGitConfigurationRequest 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 NewUpdateGitConfigurationRequestWithDefaults

func NewUpdateGitConfigurationRequestWithDefaults() *UpdateGitConfigurationRequest

NewUpdateGitConfigurationRequestWithDefaults instantiates a new UpdateGitConfigurationRequest 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 (*UpdateGitConfigurationRequest) GetGitCloneUrl

func (o *UpdateGitConfigurationRequest) GetGitCloneUrl() string

GetGitCloneUrl returns the GitCloneUrl field value

func (*UpdateGitConfigurationRequest) GetGitCloneUrlOk

func (o *UpdateGitConfigurationRequest) GetGitCloneUrlOk() (*string, bool)

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

func (*UpdateGitConfigurationRequest) GetGitProvider

func (o *UpdateGitConfigurationRequest) GetGitProvider() GitProvider

GetGitProvider returns the GitProvider field value

func (*UpdateGitConfigurationRequest) GetGitProviderOk

func (o *UpdateGitConfigurationRequest) GetGitProviderOk() (*GitProvider, bool)

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

func (UpdateGitConfigurationRequest) MarshalJSON

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

func (*UpdateGitConfigurationRequest) SetGitCloneUrl

func (o *UpdateGitConfigurationRequest) SetGitCloneUrl(v string)

SetGitCloneUrl sets field value

func (*UpdateGitConfigurationRequest) SetGitProvider

func (o *UpdateGitConfigurationRequest) SetGitProvider(v GitProvider)

SetGitProvider sets field value

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {
	Company string `json:"company"`
}

UpdateOrganizationRequest struct for UpdateOrganizationRequest

func NewUpdateOrganizationRequest

func NewUpdateOrganizationRequest(company string) *UpdateOrganizationRequest

NewUpdateOrganizationRequest instantiates a new UpdateOrganizationRequest 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 NewUpdateOrganizationRequestWithDefaults

func NewUpdateOrganizationRequestWithDefaults() *UpdateOrganizationRequest

NewUpdateOrganizationRequestWithDefaults instantiates a new UpdateOrganizationRequest 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 (*UpdateOrganizationRequest) GetCompany

func (o *UpdateOrganizationRequest) GetCompany() string

GetCompany returns the Company field value

func (*UpdateOrganizationRequest) GetCompanyOk

func (o *UpdateOrganizationRequest) GetCompanyOk() (*string, bool)

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

func (UpdateOrganizationRequest) MarshalJSON

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

func (*UpdateOrganizationRequest) SetCompany

func (o *UpdateOrganizationRequest) SetCompany(v string)

SetCompany sets field value

type UpdatePlanRequest

type UpdatePlanRequest struct {
	PlanId string `json:"planId"`
}

UpdatePlanRequest struct for UpdatePlanRequest

func NewUpdatePlanRequest

func NewUpdatePlanRequest(planId string) *UpdatePlanRequest

NewUpdatePlanRequest instantiates a new UpdatePlanRequest 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 NewUpdatePlanRequestWithDefaults

func NewUpdatePlanRequestWithDefaults() *UpdatePlanRequest

NewUpdatePlanRequestWithDefaults instantiates a new UpdatePlanRequest 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 (*UpdatePlanRequest) GetPlanId

func (o *UpdatePlanRequest) GetPlanId() string

GetPlanId returns the PlanId field value

func (*UpdatePlanRequest) GetPlanIdOk

func (o *UpdatePlanRequest) GetPlanIdOk() (*string, bool)

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

func (UpdatePlanRequest) MarshalJSON

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

func (*UpdatePlanRequest) SetPlanId

func (o *UpdatePlanRequest) SetPlanId(v string)

SetPlanId sets field value

type UpdateProfileRequest

type UpdateProfileRequest struct {
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

UpdateProfileRequest struct for UpdateProfileRequest

func NewUpdateProfileRequest

func NewUpdateProfileRequest(firstName string, lastName string) *UpdateProfileRequest

NewUpdateProfileRequest instantiates a new UpdateProfileRequest 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 NewUpdateProfileRequestWithDefaults

func NewUpdateProfileRequestWithDefaults() *UpdateProfileRequest

NewUpdateProfileRequestWithDefaults instantiates a new UpdateProfileRequest 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 (*UpdateProfileRequest) GetFirstName

func (o *UpdateProfileRequest) GetFirstName() string

GetFirstName returns the FirstName field value

func (*UpdateProfileRequest) GetFirstNameOk

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

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

func (*UpdateProfileRequest) GetLastName

func (o *UpdateProfileRequest) GetLastName() string

GetLastName returns the LastName field value

func (*UpdateProfileRequest) GetLastNameOk

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

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

func (UpdateProfileRequest) MarshalJSON

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

func (*UpdateProfileRequest) SetFirstName

func (o *UpdateProfileRequest) SetFirstName(v string)

SetFirstName sets field value

func (*UpdateProfileRequest) SetLastName

func (o *UpdateProfileRequest) SetLastName(v string)

SetLastName sets field value

type UpdateUserRequest

type UpdateUserRequest struct {
	FirstName *string `json:"firstName,omitempty"`
	LastName  *string `json:"lastName,omitempty"`
	Group     *string `json:"group,omitempty"`
}

UpdateUserRequest struct for UpdateUserRequest

func NewUpdateUserRequest

func NewUpdateUserRequest() *UpdateUserRequest

NewUpdateUserRequest instantiates a new UpdateUserRequest 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 NewUpdateUserRequestWithDefaults

func NewUpdateUserRequestWithDefaults() *UpdateUserRequest

NewUpdateUserRequestWithDefaults instantiates a new UpdateUserRequest 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 (*UpdateUserRequest) GetFirstName

func (o *UpdateUserRequest) GetFirstName() string

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

func (*UpdateUserRequest) GetFirstNameOk

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

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

func (*UpdateUserRequest) GetGroup

func (o *UpdateUserRequest) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*UpdateUserRequest) GetGroupOk

func (o *UpdateUserRequest) GetGroupOk() (*string, bool)

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

func (*UpdateUserRequest) GetLastName

func (o *UpdateUserRequest) GetLastName() string

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

func (*UpdateUserRequest) GetLastNameOk

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

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

func (*UpdateUserRequest) HasFirstName

func (o *UpdateUserRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UpdateUserRequest) HasGroup

func (o *UpdateUserRequest) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*UpdateUserRequest) HasLastName

func (o *UpdateUserRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (UpdateUserRequest) MarshalJSON

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

func (*UpdateUserRequest) SetFirstName

func (o *UpdateUserRequest) SetFirstName(v string)

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

func (*UpdateUserRequest) SetGroup

func (o *UpdateUserRequest) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*UpdateUserRequest) SetLastName

func (o *UpdateUserRequest) SetLastName(v string)

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

type User

type User struct {
	Id        string   `json:"id"`
	FirstName *string  `json:"firstName,omitempty"`
	LastName  *string  `json:"lastName,omitempty"`
	Email     string   `json:"email"`
	Function  *string  `json:"function,omitempty"`
	Status    *string  `json:"status,omitempty"`
	Groups    []string `json:"groups,omitempty"`
	Avatar    *string  `json:"avatar,omitempty"`
}

User struct for User

func NewUser

func NewUser(id string, email string) *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetAvatar

func (o *User) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*User) GetAvatarOk

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

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

func (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk

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

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

func (*User) GetFirstName

func (o *User) GetFirstName() string

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

func (*User) GetFirstNameOk

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

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

func (*User) GetFunction

func (o *User) GetFunction() string

GetFunction returns the Function field value if set, zero value otherwise.

func (*User) GetFunctionOk

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

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

func (*User) GetGroups

func (o *User) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*User) GetGroupsOk

func (o *User) GetGroupsOk() ([]string, bool)

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

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

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

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

func (*User) GetLastName

func (o *User) GetLastName() string

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

func (*User) GetLastNameOk

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

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

func (*User) GetStatus

func (o *User) GetStatus() string

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

func (*User) GetStatusOk

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

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

func (*User) HasAvatar

func (o *User) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*User) HasFirstName

func (o *User) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*User) HasFunction

func (o *User) HasFunction() bool

HasFunction returns a boolean if a field has been set.

func (*User) HasGroups

func (o *User) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*User) HasLastName

func (o *User) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*User) HasStatus

func (o *User) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetAvatar

func (o *User) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetFirstName

func (o *User) SetFirstName(v string)

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

func (*User) SetFunction

func (o *User) SetFunction(v string)

SetFunction gets a reference to the given string and assigns it to the Function field.

func (*User) SetGroups

func (o *User) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (*User) SetLastName

func (o *User) SetLastName(v string)

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

func (*User) SetStatus

func (o *User) SetStatus(v string)

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

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) CreateInvitations

func (a *UserApiService) CreateInvitations(ctx context.Context, subscriptionId string) ApiCreateInvitationsRequest

CreateInvitations Invite users to a subscription

You can invite users based on email and associate them to a group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiCreateInvitationsRequest

func (*UserApiService) CreateInvitationsExecute

func (a *UserApiService) CreateInvitationsExecute(r ApiCreateInvitationsRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

func (*UserApiService) ListUsersOfSubscription

func (a *UserApiService) ListUsersOfSubscription(ctx context.Context, subscriptionId string) ApiListUsersOfSubscriptionRequest

ListUsersOfSubscription List users of a subscription

Lists all users of a subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId Generated id of subscription
@return ApiListUsersOfSubscriptionRequest

func (*UserApiService) ListUsersOfSubscriptionExecute

func (a *UserApiService) ListUsersOfSubscriptionExecute(r ApiListUsersOfSubscriptionRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

type UserCount

type UserCount struct {
	SubscriptionId *string `json:"subscriptionId,omitempty"`
	Date           *string `json:"date,omitempty"`
	Result         *int64  `json:"result,omitempty"`
}

UserCount represents the number of users in a subscription.

func NewUserCount

func NewUserCount() *UserCount

NewUserCount instantiates a new UserCount 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 NewUserCountWithDefaults

func NewUserCountWithDefaults() *UserCount

NewUserCountWithDefaults instantiates a new UserCount 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 (*UserCount) GetDate

func (o *UserCount) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*UserCount) GetDateOk

func (o *UserCount) GetDateOk() (*string, bool)

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

func (*UserCount) GetResult

func (o *UserCount) GetResult() int64

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

func (*UserCount) GetResultOk

func (o *UserCount) GetResultOk() (*int64, bool)

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

func (*UserCount) GetSubscriptionId

func (o *UserCount) GetSubscriptionId() string

GetSubscriptionId returns the SubscriptionId field value if set, zero value otherwise.

func (*UserCount) GetSubscriptionIdOk

func (o *UserCount) GetSubscriptionIdOk() (*string, bool)

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

func (*UserCount) HasDate

func (o *UserCount) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*UserCount) HasResult

func (o *UserCount) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*UserCount) HasSubscriptionId

func (o *UserCount) HasSubscriptionId() bool

HasSubscriptionId returns a boolean if a field has been set.

func (UserCount) MarshalJSON

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

func (*UserCount) SetDate

func (o *UserCount) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*UserCount) SetResult

func (o *UserCount) SetResult(v int64)

SetResult gets a reference to the given int64 and assigns it to the Result field.

func (*UserCount) SetSubscriptionId

func (o *UserCount) SetSubscriptionId(v string)

SetSubscriptionId gets a reference to the given string and assigns it to the SubscriptionId field.

type UserDetails

type UserDetails struct {
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Function  string `json:"function"`
}

UserDetails struct for UserDetails

func NewUserDetails

func NewUserDetails(firstName string, lastName string, email string, function string) *UserDetails

NewUserDetails instantiates a new UserDetails 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 NewUserDetailsWithDefaults

func NewUserDetailsWithDefaults() *UserDetails

NewUserDetailsWithDefaults instantiates a new UserDetails 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 (*UserDetails) GetEmail

func (o *UserDetails) GetEmail() string

GetEmail returns the Email field value

func (*UserDetails) GetEmailOk

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

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

func (*UserDetails) GetFirstName

func (o *UserDetails) GetFirstName() string

GetFirstName returns the FirstName field value

func (*UserDetails) GetFirstNameOk

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

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

func (*UserDetails) GetFunction

func (o *UserDetails) GetFunction() string

GetFunction returns the Function field value

func (*UserDetails) GetFunctionOk

func (o *UserDetails) GetFunctionOk() (*string, bool)

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

func (*UserDetails) GetLastName

func (o *UserDetails) GetLastName() string

GetLastName returns the LastName field value

func (*UserDetails) GetLastNameOk

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

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

func (UserDetails) MarshalJSON

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

func (*UserDetails) SetEmail

func (o *UserDetails) SetEmail(v string)

SetEmail sets field value

func (*UserDetails) SetFirstName

func (o *UserDetails) SetFirstName(v string)

SetFirstName sets field value

func (*UserDetails) SetFunction

func (o *UserDetails) SetFunction(v string)

SetFunction sets field value

func (*UserDetails) SetLastName

func (o *UserDetails) SetLastName(v string)

SetLastName sets field value

type UserSelfApiService

type UserSelfApiService service

UserSelfApiService UserSelfApi service

func (*UserSelfApiService) ChangePassword

ChangePassword Change current user password

## Okta case

Change password of current user from Okta

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

func (*UserSelfApiService) ChangePasswordExecute

func (a *UserSelfApiService) ChangePasswordExecute(r ApiChangePasswordRequest) (*http.Response, error)

Execute executes the request

func (*UserSelfApiService) FindSubscriptionsByCurrentUser

func (a *UserSelfApiService) FindSubscriptionsByCurrentUser(ctx context.Context) ApiFindSubscriptionsByCurrentUserRequest

FindSubscriptionsByCurrentUser Find all subscriptions by current authenticated user

Find all subscriptions by current authenticated user

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

func (*UserSelfApiService) FindSubscriptionsByCurrentUserExecute

func (a *UserSelfApiService) FindSubscriptionsByCurrentUserExecute(r ApiFindSubscriptionsByCurrentUserRequest) ([]Subscription, *http.Response, error)

Execute executes the request

@return []Subscription

func (*UserSelfApiService) GetCurrentUser

GetCurrentUser Get current user

## Okta case

Current user from Okta will be received

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

func (*UserSelfApiService) GetCurrentUserExecute

func (a *UserSelfApiService) GetCurrentUserExecute(r ApiGetCurrentUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UserSelfApiService) UpdateProfile

UpdateProfile Update user profile

Update first name and last name of the user

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

func (*UserSelfApiService) UpdateProfileExecute

func (a *UserSelfApiService) UpdateProfileExecute(r ApiUpdateProfileRequest) ([]Subscription, *http.Response, error)

Execute executes the request

@return []Subscription

Jump to

Keyboard shortcuts

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