Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIManagerServiceApiService
- func (a *APIManagerServiceApiService) APIManagerServiceFetchAPI(ctx context.Context, projectId string, identifier string) ApiAPIManagerServiceFetchAPIRequest
- func (a *APIManagerServiceApiService) APIManagerServiceFetchAPIExecute(r ApiAPIManagerServiceFetchAPIRequest) (*FetchAPIResponse, *http.Response, error)
- func (a *APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiers(ctx context.Context, projectId string) ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest
- func (a *APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiersExecute(r ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest) (*FetchProjectAPIIdentifiersResponse, *http.Response, error)
- func (a *APIManagerServiceApiService) APIManagerServicePublish(ctx context.Context, projectId string, identifier string) ApiAPIManagerServicePublishRequest
- func (a *APIManagerServiceApiService) APIManagerServicePublishExecute(r ApiAPIManagerServicePublishRequest) (*PublishResponse, *http.Response, error)
- func (a *APIManagerServiceApiService) APIManagerServicePublishValidate(ctx context.Context, projectId string, identifier string) ApiAPIManagerServicePublishValidateRequest
- func (a *APIManagerServiceApiService) APIManagerServicePublishValidateExecute(r ApiAPIManagerServicePublishValidateRequest) (*PublishValidateResponse, *http.Response, error)
- func (a *APIManagerServiceApiService) APIManagerServiceRetire(ctx context.Context, projectId string, identifier string) ApiAPIManagerServiceRetireRequest
- func (a *APIManagerServiceApiService) APIManagerServiceRetireExecute(r ApiAPIManagerServiceRetireRequest) (map[string]interface{}, *http.Response, error)
- func (a *APIManagerServiceApiService) APIManagerServiceRetireVersion(ctx context.Context, projectId string, identifier string, version string) ApiAPIManagerServiceRetireVersionRequest
- func (a *APIManagerServiceApiService) APIManagerServiceRetireVersionExecute(r ApiAPIManagerServiceRetireVersionRequest) (map[string]interface{}, *http.Response, error)
- type APIResponse
- type ApiAPIManagerServiceFetchAPIRequest
- type ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest
- type ApiAPIManagerServicePublishRequest
- type ApiAPIManagerServicePublishValidateRequest
- type ApiAPIManagerServiceRetireRequest
- type ApiAPIManagerServiceRetireVersionRequest
- type BasicAuth
- type Configuration
- type FetchAPIResponse
- func (o *FetchAPIResponse) GetApiUrl() string
- func (o *FetchAPIResponse) GetApiUrlOk() (*string, bool)
- func (o *FetchAPIResponse) GetSpec() Spec
- func (o *FetchAPIResponse) GetSpecOk() (*Spec, bool)
- func (o *FetchAPIResponse) GetStage() string
- func (o *FetchAPIResponse) GetStageOk() (*string, bool)
- func (o *FetchAPIResponse) GetUpstreamUrl() string
- func (o *FetchAPIResponse) GetUpstreamUrlOk() (*string, bool)
- func (o *FetchAPIResponse) HasApiUrl() bool
- func (o *FetchAPIResponse) HasSpec() bool
- func (o *FetchAPIResponse) HasStage() bool
- func (o *FetchAPIResponse) HasUpstreamUrl() bool
- func (o FetchAPIResponse) MarshalJSON() ([]byte, error)
- func (o *FetchAPIResponse) SetApiUrl(v string)
- func (o *FetchAPIResponse) SetSpec(v Spec)
- func (o *FetchAPIResponse) SetStage(v string)
- func (o *FetchAPIResponse) SetUpstreamUrl(v string)
- type FetchProjectAPIIdentifiersResponse
- func (o *FetchProjectAPIIdentifiersResponse) GetIdentifiers() []string
- func (o *FetchProjectAPIIdentifiersResponse) GetIdentifiersOk() ([]string, bool)
- func (o *FetchProjectAPIIdentifiersResponse) HasIdentifiers() bool
- func (o FetchProjectAPIIdentifiersResponse) MarshalJSON() ([]byte, error)
- func (o *FetchProjectAPIIdentifiersResponse) SetIdentifiers(v []string)
- type GenericOpenAPIError
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() string
- func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (o *GoogleProtobufAny) SetType(v string)
- func (o *GoogleProtobufAny) UnmarshalJSON(bytes []byte) (err error)
- type NullableBool
- type NullableFetchAPIResponse
- func (v NullableFetchAPIResponse) Get() *FetchAPIResponse
- func (v NullableFetchAPIResponse) IsSet() bool
- func (v NullableFetchAPIResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFetchAPIResponse) Set(val *FetchAPIResponse)
- func (v *NullableFetchAPIResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFetchAPIResponse) Unset()
- type NullableFetchProjectAPIIdentifiersResponse
- func (v NullableFetchProjectAPIIdentifiersResponse) Get() *FetchProjectAPIIdentifiersResponse
- func (v NullableFetchProjectAPIIdentifiersResponse) IsSet() bool
- func (v NullableFetchProjectAPIIdentifiersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFetchProjectAPIIdentifiersResponse) Set(val *FetchProjectAPIIdentifiersResponse)
- func (v *NullableFetchProjectAPIIdentifiersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFetchProjectAPIIdentifiersResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGoogleProtobufAny
- func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
- func (v NullableGoogleProtobufAny) IsSet() bool
- func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
- func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableGoogleProtobufAny) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePublishMetadata
- func (v NullablePublishMetadata) Get() *PublishMetadata
- func (v NullablePublishMetadata) IsSet() bool
- func (v NullablePublishMetadata) MarshalJSON() ([]byte, error)
- func (v *NullablePublishMetadata) Set(val *PublishMetadata)
- func (v *NullablePublishMetadata) UnmarshalJSON(src []byte) error
- func (v *NullablePublishMetadata) Unset()
- type NullablePublishRequest
- func (v NullablePublishRequest) Get() *PublishRequest
- func (v NullablePublishRequest) IsSet() bool
- func (v NullablePublishRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePublishRequest) Set(val *PublishRequest)
- func (v *NullablePublishRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePublishRequest) Unset()
- type NullablePublishResponse
- func (v NullablePublishResponse) Get() *PublishResponse
- func (v NullablePublishResponse) IsSet() bool
- func (v NullablePublishResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePublishResponse) Set(val *PublishResponse)
- func (v *NullablePublishResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePublishResponse) Unset()
- type NullablePublishValidateRequest
- func (v NullablePublishValidateRequest) Get() *PublishValidateRequest
- func (v NullablePublishValidateRequest) IsSet() bool
- func (v NullablePublishValidateRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePublishValidateRequest) Set(val *PublishValidateRequest)
- func (v *NullablePublishValidateRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePublishValidateRequest) Unset()
- type NullablePublishValidateResponse
- func (v NullablePublishValidateResponse) Get() *PublishValidateResponse
- func (v NullablePublishValidateResponse) IsSet() bool
- func (v NullablePublishValidateResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePublishValidateResponse) Set(val *PublishValidateResponse)
- func (v *NullablePublishValidateResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePublishValidateResponse) Unset()
- type NullableRetireMetadata
- func (v NullableRetireMetadata) Get() *RetireMetadata
- func (v NullableRetireMetadata) IsSet() bool
- func (v NullableRetireMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableRetireMetadata) Set(val *RetireMetadata)
- func (v *NullableRetireMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableRetireMetadata) Unset()
- type NullableRetireRequest
- func (v NullableRetireRequest) Get() *RetireRequest
- func (v NullableRetireRequest) IsSet() bool
- func (v NullableRetireRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRetireRequest) Set(val *RetireRequest)
- func (v *NullableRetireRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRetireRequest) Unset()
- type NullableRetireVersionRequest
- func (v NullableRetireVersionRequest) Get() *RetireVersionRequest
- func (v NullableRetireVersionRequest) IsSet() bool
- func (v NullableRetireVersionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRetireVersionRequest) Set(val *RetireVersionRequest)
- func (v *NullableRetireVersionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRetireVersionRequest) Unset()
- type NullableSpec
- type NullableSpecOpenApi
- func (v NullableSpecOpenApi) Get() *SpecOpenApi
- func (v NullableSpecOpenApi) IsSet() bool
- func (v NullableSpecOpenApi) MarshalJSON() ([]byte, error)
- func (v *NullableSpecOpenApi) Set(val *SpecOpenApi)
- func (v *NullableSpecOpenApi) UnmarshalJSON(src []byte) error
- func (v *NullableSpecOpenApi) Unset()
- type NullableStatus
- type NullableString
- type NullableTime
- type PublishMetadata
- type PublishRequest
- func (o *PublishRequest) GetIdentifier() string
- func (o *PublishRequest) GetIdentifierOk() (*string, bool)
- func (o *PublishRequest) GetIgnoreBreakingChanges() bool
- func (o *PublishRequest) GetIgnoreBreakingChangesOk() (*bool, bool)
- func (o *PublishRequest) GetIgnoreLintingErrors() bool
- func (o *PublishRequest) GetIgnoreLintingErrorsOk() (*bool, bool)
- func (o *PublishRequest) GetMetadata() PublishMetadata
- func (o *PublishRequest) GetMetadataOk() (*PublishMetadata, bool)
- func (o *PublishRequest) GetProjectId() string
- func (o *PublishRequest) GetProjectIdOk() (*string, bool)
- func (o *PublishRequest) GetSpec() Spec
- func (o *PublishRequest) GetSpecOk() (*Spec, bool)
- func (o *PublishRequest) HasIdentifier() bool
- func (o *PublishRequest) HasIgnoreBreakingChanges() bool
- func (o *PublishRequest) HasIgnoreLintingErrors() bool
- func (o *PublishRequest) HasMetadata() bool
- func (o *PublishRequest) HasProjectId() bool
- func (o *PublishRequest) HasSpec() bool
- func (o PublishRequest) MarshalJSON() ([]byte, error)
- func (o *PublishRequest) SetIdentifier(v string)
- func (o *PublishRequest) SetIgnoreBreakingChanges(v bool)
- func (o *PublishRequest) SetIgnoreLintingErrors(v bool)
- func (o *PublishRequest) SetMetadata(v PublishMetadata)
- func (o *PublishRequest) SetProjectId(v string)
- func (o *PublishRequest) SetSpec(v Spec)
- type PublishResponse
- func (o *PublishResponse) GetApiUrl() string
- func (o *PublishResponse) GetApiUrlOk() (*string, bool)
- func (o *PublishResponse) GetLinterWarnings() []string
- func (o *PublishResponse) GetLinterWarningsCount() string
- func (o *PublishResponse) GetLinterWarningsCountOk() (*string, bool)
- func (o *PublishResponse) GetLinterWarningsOk() ([]string, bool)
- func (o *PublishResponse) GetPullRequestCreated() bool
- func (o *PublishResponse) GetPullRequestCreatedOk() (*bool, bool)
- func (o *PublishResponse) GetPullRequestUrl() string
- func (o *PublishResponse) GetPullRequestUrlOk() (*string, bool)
- func (o *PublishResponse) HasApiUrl() bool
- func (o *PublishResponse) HasLinterWarnings() bool
- func (o *PublishResponse) HasLinterWarningsCount() bool
- func (o *PublishResponse) HasPullRequestCreated() bool
- func (o *PublishResponse) HasPullRequestUrl() bool
- func (o PublishResponse) MarshalJSON() ([]byte, error)
- func (o *PublishResponse) SetApiUrl(v string)
- func (o *PublishResponse) SetLinterWarnings(v []string)
- func (o *PublishResponse) SetLinterWarningsCount(v string)
- func (o *PublishResponse) SetPullRequestCreated(v bool)
- func (o *PublishResponse) SetPullRequestUrl(v string)
- type PublishValidateRequest
- func (o *PublishValidateRequest) GetIdentifier() string
- func (o *PublishValidateRequest) GetIdentifierOk() (*string, bool)
- func (o *PublishValidateRequest) GetMetadata() PublishMetadata
- func (o *PublishValidateRequest) GetMetadataOk() (*PublishMetadata, bool)
- func (o *PublishValidateRequest) GetProjectId() string
- func (o *PublishValidateRequest) GetProjectIdOk() (*string, bool)
- func (o *PublishValidateRequest) GetSpec() Spec
- func (o *PublishValidateRequest) GetSpecOk() (*Spec, bool)
- func (o *PublishValidateRequest) HasIdentifier() bool
- func (o *PublishValidateRequest) HasMetadata() bool
- func (o *PublishValidateRequest) HasProjectId() bool
- func (o *PublishValidateRequest) HasSpec() bool
- func (o PublishValidateRequest) MarshalJSON() ([]byte, error)
- func (o *PublishValidateRequest) SetIdentifier(v string)
- func (o *PublishValidateRequest) SetMetadata(v PublishMetadata)
- func (o *PublishValidateRequest) SetProjectId(v string)
- func (o *PublishValidateRequest) SetSpec(v Spec)
- type PublishValidateResponse
- func (o *PublishValidateResponse) GetLinterWarnings() []string
- func (o *PublishValidateResponse) GetLinterWarningsCount() string
- func (o *PublishValidateResponse) GetLinterWarningsCountOk() (*string, bool)
- func (o *PublishValidateResponse) GetLinterWarningsOk() ([]string, bool)
- func (o *PublishValidateResponse) HasLinterWarnings() bool
- func (o *PublishValidateResponse) HasLinterWarningsCount() bool
- func (o PublishValidateResponse) MarshalJSON() ([]byte, error)
- func (o *PublishValidateResponse) SetLinterWarnings(v []string)
- func (o *PublishValidateResponse) SetLinterWarningsCount(v string)
- type RetireMetadata
- func (o *RetireMetadata) GetIdentifier() string
- func (o *RetireMetadata) GetIdentifierOk() (*string, bool)
- func (o *RetireMetadata) GetProjectId() string
- func (o *RetireMetadata) GetProjectIdOk() (*string, bool)
- func (o *RetireMetadata) HasIdentifier() bool
- func (o *RetireMetadata) HasProjectId() bool
- func (o RetireMetadata) MarshalJSON() ([]byte, error)
- func (o *RetireMetadata) SetIdentifier(v string)
- func (o *RetireMetadata) SetProjectId(v string)
- type RetireRequest
- func (o *RetireRequest) GetApiVersion() string
- func (o *RetireRequest) GetApiVersionOk() (*string, bool)
- func (o *RetireRequest) GetIdentifier() string
- func (o *RetireRequest) GetIdentifierOk() (*string, bool)
- func (o *RetireRequest) GetProjectId() string
- func (o *RetireRequest) GetProjectIdOk() (*string, bool)
- func (o *RetireRequest) HasApiVersion() bool
- func (o *RetireRequest) HasIdentifier() bool
- func (o *RetireRequest) HasProjectId() bool
- func (o RetireRequest) MarshalJSON() ([]byte, error)
- func (o *RetireRequest) SetApiVersion(v string)
- func (o *RetireRequest) SetIdentifier(v string)
- func (o *RetireRequest) SetProjectId(v string)
- type RetireVersionRequest
- func (o *RetireVersionRequest) GetIdentifier() string
- func (o *RetireVersionRequest) GetIdentifierOk() (*string, bool)
- func (o *RetireVersionRequest) GetProjectId() string
- func (o *RetireVersionRequest) GetProjectIdOk() (*string, bool)
- func (o *RetireVersionRequest) GetVersion() string
- func (o *RetireVersionRequest) GetVersionOk() (*string, bool)
- func (o *RetireVersionRequest) HasIdentifier() bool
- func (o *RetireVersionRequest) HasProjectId() bool
- func (o *RetireVersionRequest) HasVersion() bool
- func (o RetireVersionRequest) MarshalJSON() ([]byte, error)
- func (o *RetireVersionRequest) SetIdentifier(v string)
- func (o *RetireVersionRequest) SetProjectId(v string)
- func (o *RetireVersionRequest) SetVersion(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Spec
- type SpecOpenApi
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []GoogleProtobufAny
- func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []GoogleProtobufAny)
- func (o *Status) SetMessage(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { APIManagerServiceApi *APIManagerServiceApiService // contains filtered or unexported fields }
APIClient manages communication with the STACKIT API Management Service API v1.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 ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIManagerServiceApiService ¶
type APIManagerServiceApiService service
APIManagerServiceApiService APIManagerServiceApi service
func (*APIManagerServiceApiService) APIManagerServiceFetchAPI ¶ added in v0.0.4
func (a *APIManagerServiceApiService) APIManagerServiceFetchAPI(ctx context.Context, projectId string, identifier string) ApiAPIManagerServiceFetchAPIRequest
APIManagerServiceFetchAPI Fetch API Endpoint
Fetches an already existing API for a dedicated service by providing its identifier
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for API to be fetched @param identifier Identifier of API to be fetched @return ApiAPIManagerServiceFetchAPIRequest
func (*APIManagerServiceApiService) APIManagerServiceFetchAPIExecute ¶ added in v0.0.4
func (a *APIManagerServiceApiService) APIManagerServiceFetchAPIExecute(r ApiAPIManagerServiceFetchAPIRequest) (*FetchAPIResponse, *http.Response, error)
Execute executes the request
@return FetchAPIResponse
func (*APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiers ¶ added in v0.0.4
func (a *APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiers(ctx context.Context, projectId string) ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest
APIManagerServiceFetchProjectAPIIdentifiers Fetch Project APIIdentifiers Endpoint
Fetches all API identifiers which belong to a project by providing its projectId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for which APIs are to be fetched @return ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest
func (*APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiersExecute ¶ added in v0.0.4
func (a *APIManagerServiceApiService) APIManagerServiceFetchProjectAPIIdentifiersExecute(r ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest) (*FetchProjectAPIIdentifiersResponse, *http.Response, error)
Execute executes the request
@return FetchProjectAPIIdentifiersResponse
func (*APIManagerServiceApiService) APIManagerServicePublish ¶
func (a *APIManagerServiceApiService) APIManagerServicePublish(ctx context.Context, projectId string, identifier string) ApiAPIManagerServicePublishRequest
APIManagerServicePublish Publish API Endpoint
Publish a new API for a dedicated service by providing the OpenApiSpec for it
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for API to be published @param identifier Identifier of API to be published @return ApiAPIManagerServicePublishRequest
func (*APIManagerServiceApiService) APIManagerServicePublishExecute ¶
func (a *APIManagerServiceApiService) APIManagerServicePublishExecute(r ApiAPIManagerServicePublishRequest) (*PublishResponse, *http.Response, error)
Execute executes the request
@return PublishResponse
func (*APIManagerServiceApiService) APIManagerServicePublishValidate ¶ added in v0.0.3
func (a *APIManagerServiceApiService) APIManagerServicePublishValidate(ctx context.Context, projectId string, identifier string) ApiAPIManagerServicePublishValidateRequest
APIManagerServicePublishValidate Validate API Endpoint
Validate the OpenApiSpec for an API by providing the OAS for it
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for API to be validated @param identifier Identifier of API to be validated @return ApiAPIManagerServicePublishValidateRequest
func (*APIManagerServiceApiService) APIManagerServicePublishValidateExecute ¶ added in v0.0.3
func (a *APIManagerServiceApiService) APIManagerServicePublishValidateExecute(r ApiAPIManagerServicePublishValidateRequest) (*PublishValidateResponse, *http.Response, error)
Execute executes the request
@return PublishValidateResponse
func (*APIManagerServiceApiService) APIManagerServiceRetire ¶
func (a *APIManagerServiceApiService) APIManagerServiceRetire(ctx context.Context, projectId string, identifier string) ApiAPIManagerServiceRetireRequest
APIManagerServiceRetire Retire API Endpoint
Retire an already existing API for a dedicated service by providing its Identifier
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for API to be retired @param identifier Identifier of API to be retired @return ApiAPIManagerServiceRetireRequest
func (*APIManagerServiceApiService) APIManagerServiceRetireExecute ¶
func (a *APIManagerServiceApiService) APIManagerServiceRetireExecute(r ApiAPIManagerServiceRetireRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*APIManagerServiceApiService) APIManagerServiceRetireVersion ¶ added in v0.0.11
func (a *APIManagerServiceApiService) APIManagerServiceRetireVersion(ctx context.Context, projectId string, identifier string, version string) ApiAPIManagerServiceRetireVersionRequest
APIManagerServiceRetireVersion Retire a specific API Version
Retire an already existing API Version for a dedicated service by providing its Identifier and version
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID for API to be retired @param identifier Identifier of API to be retired @param version version of the API to be retired @return ApiAPIManagerServiceRetireVersionRequest
func (*APIManagerServiceApiService) APIManagerServiceRetireVersionExecute ¶ added in v0.0.11
func (a *APIManagerServiceApiService) APIManagerServiceRetireVersionExecute(r ApiAPIManagerServiceRetireVersionRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
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 ApiAPIManagerServiceFetchAPIRequest ¶ added in v0.0.4
type ApiAPIManagerServiceFetchAPIRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServiceFetchAPIRequest) ApiVersion ¶ added in v0.0.11
func (r ApiAPIManagerServiceFetchAPIRequest) ApiVersion(apiVersion string) ApiAPIManagerServiceFetchAPIRequest
func (ApiAPIManagerServiceFetchAPIRequest) Execute ¶ added in v0.0.4
func (r ApiAPIManagerServiceFetchAPIRequest) Execute() (*FetchAPIResponse, *http.Response, error)
type ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest ¶ added in v0.0.4
type ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest) Execute ¶ added in v0.0.4
func (r ApiAPIManagerServiceFetchProjectAPIIdentifiersRequest) Execute() (*FetchProjectAPIIdentifiersResponse, *http.Response, error)
type ApiAPIManagerServicePublishRequest ¶
type ApiAPIManagerServicePublishRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServicePublishRequest) Execute ¶
func (r ApiAPIManagerServicePublishRequest) Execute() (*PublishResponse, *http.Response, error)
func (ApiAPIManagerServicePublishRequest) PublishRequest ¶ added in v0.0.2
func (r ApiAPIManagerServicePublishRequest) PublishRequest(publishRequest PublishRequest) ApiAPIManagerServicePublishRequest
Request body for the Publish request containing the resources to publish an API
type ApiAPIManagerServicePublishValidateRequest ¶ added in v0.0.3
type ApiAPIManagerServicePublishValidateRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServicePublishValidateRequest) Execute ¶ added in v0.0.3
func (r ApiAPIManagerServicePublishValidateRequest) Execute() (*PublishValidateResponse, *http.Response, error)
func (ApiAPIManagerServicePublishValidateRequest) PublishValidateRequest ¶ added in v0.0.3
func (r ApiAPIManagerServicePublishValidateRequest) PublishValidateRequest(publishValidateRequest PublishValidateRequest) ApiAPIManagerServicePublishValidateRequest
Request body for the PublishValidate request containing the resources to publish an API
type ApiAPIManagerServiceRetireRequest ¶
type ApiAPIManagerServiceRetireRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServiceRetireRequest) Execute ¶
func (r ApiAPIManagerServiceRetireRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiAPIManagerServiceRetireRequest) RetireRequest ¶ added in v0.0.2
func (r ApiAPIManagerServiceRetireRequest) RetireRequest(retireRequest RetireRequest) ApiAPIManagerServiceRetireRequest
Request body for the Retire request containing the resources to retire an API
type ApiAPIManagerServiceRetireVersionRequest ¶ added in v0.0.11
type ApiAPIManagerServiceRetireVersionRequest struct { ApiService *APIManagerServiceApiService // contains filtered or unexported fields }
func (ApiAPIManagerServiceRetireVersionRequest) Execute ¶ added in v0.0.11
func (r ApiAPIManagerServiceRetireVersionRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiAPIManagerServiceRetireVersionRequest) RetireVersionRequest ¶ added in v0.0.11
func (r ApiAPIManagerServiceRetireVersionRequest) RetireVersionRequest(retireVersionRequest RetireVersionRequest) ApiAPIManagerServiceRetireVersionRequest
Request body for the Retire Version request containing the resources to retire an API Version
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type FetchAPIResponse ¶ added in v0.0.4
type FetchAPIResponse struct { // URL under which fetched API is available ApiUrl *string `json:"apiUrl,omitempty"` Spec *Spec `json:"spec,omitempty"` // Server stage under which fetched API is published Stage *string `json:"stage,omitempty"` // URL for the upstream server targeted by the fetched API UpstreamUrl *string `json:"upstreamUrl,omitempty"` }
FetchAPIResponse API was fetched successfully
func NewFetchAPIResponse ¶ added in v0.0.4
func NewFetchAPIResponse() *FetchAPIResponse
NewFetchAPIResponse instantiates a new FetchAPIResponse 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 NewFetchAPIResponseWithDefaults ¶ added in v0.0.4
func NewFetchAPIResponseWithDefaults() *FetchAPIResponse
NewFetchAPIResponseWithDefaults instantiates a new FetchAPIResponse 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 (*FetchAPIResponse) GetApiUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) GetApiUrl() string
GetApiUrl returns the ApiUrl field value if set, zero value otherwise.
func (*FetchAPIResponse) GetApiUrlOk ¶ added in v0.0.4
func (o *FetchAPIResponse) GetApiUrlOk() (*string, bool)
GetApiUrlOk returns a tuple with the ApiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchAPIResponse) GetSpec ¶ added in v0.0.4
func (o *FetchAPIResponse) GetSpec() Spec
GetSpec returns the Spec field value if set, zero value otherwise.
func (*FetchAPIResponse) GetSpecOk ¶ added in v0.0.4
func (o *FetchAPIResponse) GetSpecOk() (*Spec, bool)
GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchAPIResponse) GetStage ¶ added in v0.0.4
func (o *FetchAPIResponse) GetStage() string
GetStage returns the Stage field value if set, zero value otherwise.
func (*FetchAPIResponse) GetStageOk ¶ added in v0.0.4
func (o *FetchAPIResponse) GetStageOk() (*string, bool)
GetStageOk returns a tuple with the Stage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchAPIResponse) GetUpstreamUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) GetUpstreamUrl() string
GetUpstreamUrl returns the UpstreamUrl field value if set, zero value otherwise.
func (*FetchAPIResponse) GetUpstreamUrlOk ¶ added in v0.0.4
func (o *FetchAPIResponse) GetUpstreamUrlOk() (*string, bool)
GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchAPIResponse) HasApiUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) HasApiUrl() bool
HasApiUrl returns a boolean if a field has been set.
func (*FetchAPIResponse) HasSpec ¶ added in v0.0.4
func (o *FetchAPIResponse) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (*FetchAPIResponse) HasStage ¶ added in v0.0.4
func (o *FetchAPIResponse) HasStage() bool
HasStage returns a boolean if a field has been set.
func (*FetchAPIResponse) HasUpstreamUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) HasUpstreamUrl() bool
HasUpstreamUrl returns a boolean if a field has been set.
func (FetchAPIResponse) MarshalJSON ¶ added in v0.0.4
func (o FetchAPIResponse) MarshalJSON() ([]byte, error)
func (*FetchAPIResponse) SetApiUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) SetApiUrl(v string)
SetApiUrl gets a reference to the given string and assigns it to the ApiUrl field.
func (*FetchAPIResponse) SetSpec ¶ added in v0.0.4
func (o *FetchAPIResponse) SetSpec(v Spec)
SetSpec gets a reference to the given Spec and assigns it to the Spec field.
func (*FetchAPIResponse) SetStage ¶ added in v0.0.4
func (o *FetchAPIResponse) SetStage(v string)
SetStage gets a reference to the given string and assigns it to the Stage field.
func (*FetchAPIResponse) SetUpstreamUrl ¶ added in v0.0.4
func (o *FetchAPIResponse) SetUpstreamUrl(v string)
SetUpstreamUrl gets a reference to the given string and assigns it to the UpstreamUrl field.
type FetchProjectAPIIdentifiersResponse ¶ added in v0.0.4
type FetchProjectAPIIdentifiersResponse struct { // List of available API identifiers for chosen project ID Identifiers []string `json:"identifiers,omitempty"` }
FetchProjectAPIIdentifiersResponse API identifiers were fetched successfully
func NewFetchProjectAPIIdentifiersResponse ¶ added in v0.0.4
func NewFetchProjectAPIIdentifiersResponse() *FetchProjectAPIIdentifiersResponse
NewFetchProjectAPIIdentifiersResponse instantiates a new FetchProjectAPIIdentifiersResponse 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 NewFetchProjectAPIIdentifiersResponseWithDefaults ¶ added in v0.0.4
func NewFetchProjectAPIIdentifiersResponseWithDefaults() *FetchProjectAPIIdentifiersResponse
NewFetchProjectAPIIdentifiersResponseWithDefaults instantiates a new FetchProjectAPIIdentifiersResponse 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 (*FetchProjectAPIIdentifiersResponse) GetIdentifiers ¶ added in v0.0.4
func (o *FetchProjectAPIIdentifiersResponse) GetIdentifiers() []string
GetIdentifiers returns the Identifiers field value if set, zero value otherwise.
func (*FetchProjectAPIIdentifiersResponse) GetIdentifiersOk ¶ added in v0.0.4
func (o *FetchProjectAPIIdentifiersResponse) GetIdentifiersOk() ([]string, bool)
GetIdentifiersOk returns a tuple with the Identifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FetchProjectAPIIdentifiersResponse) HasIdentifiers ¶ added in v0.0.4
func (o *FetchProjectAPIIdentifiersResponse) HasIdentifiers() bool
HasIdentifiers returns a boolean if a field has been set.
func (FetchProjectAPIIdentifiersResponse) MarshalJSON ¶ added in v0.0.4
func (o FetchProjectAPIIdentifiersResponse) MarshalJSON() ([]byte, error)
func (*FetchProjectAPIIdentifiersResponse) SetIdentifiers ¶ added in v0.0.4
func (o *FetchProjectAPIIdentifiersResponse) SetIdentifiers(v []string)
SetIdentifiers gets a reference to the given []string and assigns it to the Identifiers 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 GoogleProtobufAny ¶ added in v0.0.2
type GoogleProtobufAny struct { // The type of the serialized message. Type *string `json:"@type,omitempty"` AdditionalProperties map[string]interface{} }
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶ added in v0.0.2
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny 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 NewGoogleProtobufAnyWithDefaults ¶ added in v0.0.2
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny 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 (*GoogleProtobufAny) GetType ¶ added in v0.0.2
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶ added in v0.0.2
func (o *GoogleProtobufAny) 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 (*GoogleProtobufAny) HasType ¶ added in v0.0.2
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶ added in v0.0.2
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶ added in v0.0.2
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*GoogleProtobufAny) UnmarshalJSON ¶ added in v0.0.2
func (o *GoogleProtobufAny) UnmarshalJSON(bytes []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFetchAPIResponse ¶ added in v0.0.4
type NullableFetchAPIResponse struct {
// contains filtered or unexported fields
}
func NewNullableFetchAPIResponse ¶ added in v0.0.4
func NewNullableFetchAPIResponse(val *FetchAPIResponse) *NullableFetchAPIResponse
func (NullableFetchAPIResponse) Get ¶ added in v0.0.4
func (v NullableFetchAPIResponse) Get() *FetchAPIResponse
func (NullableFetchAPIResponse) IsSet ¶ added in v0.0.4
func (v NullableFetchAPIResponse) IsSet() bool
func (NullableFetchAPIResponse) MarshalJSON ¶ added in v0.0.4
func (v NullableFetchAPIResponse) MarshalJSON() ([]byte, error)
func (*NullableFetchAPIResponse) Set ¶ added in v0.0.4
func (v *NullableFetchAPIResponse) Set(val *FetchAPIResponse)
func (*NullableFetchAPIResponse) UnmarshalJSON ¶ added in v0.0.4
func (v *NullableFetchAPIResponse) UnmarshalJSON(src []byte) error
func (*NullableFetchAPIResponse) Unset ¶ added in v0.0.4
func (v *NullableFetchAPIResponse) Unset()
type NullableFetchProjectAPIIdentifiersResponse ¶ added in v0.0.4
type NullableFetchProjectAPIIdentifiersResponse struct {
// contains filtered or unexported fields
}
func NewNullableFetchProjectAPIIdentifiersResponse ¶ added in v0.0.4
func NewNullableFetchProjectAPIIdentifiersResponse(val *FetchProjectAPIIdentifiersResponse) *NullableFetchProjectAPIIdentifiersResponse
func (NullableFetchProjectAPIIdentifiersResponse) IsSet ¶ added in v0.0.4
func (v NullableFetchProjectAPIIdentifiersResponse) IsSet() bool
func (NullableFetchProjectAPIIdentifiersResponse) MarshalJSON ¶ added in v0.0.4
func (v NullableFetchProjectAPIIdentifiersResponse) MarshalJSON() ([]byte, error)
func (*NullableFetchProjectAPIIdentifiersResponse) Set ¶ added in v0.0.4
func (v *NullableFetchProjectAPIIdentifiersResponse) Set(val *FetchProjectAPIIdentifiersResponse)
func (*NullableFetchProjectAPIIdentifiersResponse) UnmarshalJSON ¶ added in v0.0.4
func (v *NullableFetchProjectAPIIdentifiersResponse) UnmarshalJSON(src []byte) error
func (*NullableFetchProjectAPIIdentifiersResponse) Unset ¶ added in v0.0.4
func (v *NullableFetchProjectAPIIdentifiersResponse) 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 NullableGoogleProtobufAny ¶ added in v0.0.2
type NullableGoogleProtobufAny struct {
// contains filtered or unexported fields
}
func NewNullableGoogleProtobufAny ¶ added in v0.0.2
func NewNullableGoogleProtobufAny(val *GoogleProtobufAny) *NullableGoogleProtobufAny
func (NullableGoogleProtobufAny) Get ¶ added in v0.0.2
func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
func (NullableGoogleProtobufAny) IsSet ¶ added in v0.0.2
func (v NullableGoogleProtobufAny) IsSet() bool
func (NullableGoogleProtobufAny) MarshalJSON ¶ added in v0.0.2
func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*NullableGoogleProtobufAny) Set ¶ added in v0.0.2
func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
func (*NullableGoogleProtobufAny) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
func (*NullableGoogleProtobufAny) Unset ¶ added in v0.0.2
func (v *NullableGoogleProtobufAny) 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 NullablePublishMetadata ¶ added in v0.0.3
type NullablePublishMetadata struct {
// contains filtered or unexported fields
}
func NewNullablePublishMetadata ¶ added in v0.0.3
func NewNullablePublishMetadata(val *PublishMetadata) *NullablePublishMetadata
func (NullablePublishMetadata) Get ¶ added in v0.0.3
func (v NullablePublishMetadata) Get() *PublishMetadata
func (NullablePublishMetadata) IsSet ¶ added in v0.0.3
func (v NullablePublishMetadata) IsSet() bool
func (NullablePublishMetadata) MarshalJSON ¶ added in v0.0.3
func (v NullablePublishMetadata) MarshalJSON() ([]byte, error)
func (*NullablePublishMetadata) Set ¶ added in v0.0.3
func (v *NullablePublishMetadata) Set(val *PublishMetadata)
func (*NullablePublishMetadata) UnmarshalJSON ¶ added in v0.0.3
func (v *NullablePublishMetadata) UnmarshalJSON(src []byte) error
func (*NullablePublishMetadata) Unset ¶ added in v0.0.3
func (v *NullablePublishMetadata) Unset()
type NullablePublishRequest ¶ added in v0.0.2
type NullablePublishRequest struct {
// contains filtered or unexported fields
}
func NewNullablePublishRequest ¶ added in v0.0.2
func NewNullablePublishRequest(val *PublishRequest) *NullablePublishRequest
func (NullablePublishRequest) Get ¶ added in v0.0.2
func (v NullablePublishRequest) Get() *PublishRequest
func (NullablePublishRequest) IsSet ¶ added in v0.0.2
func (v NullablePublishRequest) IsSet() bool
func (NullablePublishRequest) MarshalJSON ¶ added in v0.0.2
func (v NullablePublishRequest) MarshalJSON() ([]byte, error)
func (*NullablePublishRequest) Set ¶ added in v0.0.2
func (v *NullablePublishRequest) Set(val *PublishRequest)
func (*NullablePublishRequest) UnmarshalJSON ¶ added in v0.0.2
func (v *NullablePublishRequest) UnmarshalJSON(src []byte) error
func (*NullablePublishRequest) Unset ¶ added in v0.0.2
func (v *NullablePublishRequest) Unset()
type NullablePublishResponse ¶ added in v0.0.2
type NullablePublishResponse struct {
// contains filtered or unexported fields
}
func NewNullablePublishResponse ¶ added in v0.0.2
func NewNullablePublishResponse(val *PublishResponse) *NullablePublishResponse
func (NullablePublishResponse) Get ¶ added in v0.0.2
func (v NullablePublishResponse) Get() *PublishResponse
func (NullablePublishResponse) IsSet ¶ added in v0.0.2
func (v NullablePublishResponse) IsSet() bool
func (NullablePublishResponse) MarshalJSON ¶ added in v0.0.2
func (v NullablePublishResponse) MarshalJSON() ([]byte, error)
func (*NullablePublishResponse) Set ¶ added in v0.0.2
func (v *NullablePublishResponse) Set(val *PublishResponse)
func (*NullablePublishResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullablePublishResponse) UnmarshalJSON(src []byte) error
func (*NullablePublishResponse) Unset ¶ added in v0.0.2
func (v *NullablePublishResponse) Unset()
type NullablePublishValidateRequest ¶ added in v0.0.3
type NullablePublishValidateRequest struct {
// contains filtered or unexported fields
}
func NewNullablePublishValidateRequest ¶ added in v0.0.3
func NewNullablePublishValidateRequest(val *PublishValidateRequest) *NullablePublishValidateRequest
func (NullablePublishValidateRequest) Get ¶ added in v0.0.3
func (v NullablePublishValidateRequest) Get() *PublishValidateRequest
func (NullablePublishValidateRequest) IsSet ¶ added in v0.0.3
func (v NullablePublishValidateRequest) IsSet() bool
func (NullablePublishValidateRequest) MarshalJSON ¶ added in v0.0.3
func (v NullablePublishValidateRequest) MarshalJSON() ([]byte, error)
func (*NullablePublishValidateRequest) Set ¶ added in v0.0.3
func (v *NullablePublishValidateRequest) Set(val *PublishValidateRequest)
func (*NullablePublishValidateRequest) UnmarshalJSON ¶ added in v0.0.3
func (v *NullablePublishValidateRequest) UnmarshalJSON(src []byte) error
func (*NullablePublishValidateRequest) Unset ¶ added in v0.0.3
func (v *NullablePublishValidateRequest) Unset()
type NullablePublishValidateResponse ¶ added in v0.0.6
type NullablePublishValidateResponse struct {
// contains filtered or unexported fields
}
func NewNullablePublishValidateResponse ¶ added in v0.0.6
func NewNullablePublishValidateResponse(val *PublishValidateResponse) *NullablePublishValidateResponse
func (NullablePublishValidateResponse) Get ¶ added in v0.0.6
func (v NullablePublishValidateResponse) Get() *PublishValidateResponse
func (NullablePublishValidateResponse) IsSet ¶ added in v0.0.6
func (v NullablePublishValidateResponse) IsSet() bool
func (NullablePublishValidateResponse) MarshalJSON ¶ added in v0.0.6
func (v NullablePublishValidateResponse) MarshalJSON() ([]byte, error)
func (*NullablePublishValidateResponse) Set ¶ added in v0.0.6
func (v *NullablePublishValidateResponse) Set(val *PublishValidateResponse)
func (*NullablePublishValidateResponse) UnmarshalJSON ¶ added in v0.0.6
func (v *NullablePublishValidateResponse) UnmarshalJSON(src []byte) error
func (*NullablePublishValidateResponse) Unset ¶ added in v0.0.6
func (v *NullablePublishValidateResponse) Unset()
type NullableRetireMetadata ¶ added in v0.0.3
type NullableRetireMetadata struct {
// contains filtered or unexported fields
}
func NewNullableRetireMetadata ¶ added in v0.0.3
func NewNullableRetireMetadata(val *RetireMetadata) *NullableRetireMetadata
func (NullableRetireMetadata) Get ¶ added in v0.0.3
func (v NullableRetireMetadata) Get() *RetireMetadata
func (NullableRetireMetadata) IsSet ¶ added in v0.0.3
func (v NullableRetireMetadata) IsSet() bool
func (NullableRetireMetadata) MarshalJSON ¶ added in v0.0.3
func (v NullableRetireMetadata) MarshalJSON() ([]byte, error)
func (*NullableRetireMetadata) Set ¶ added in v0.0.3
func (v *NullableRetireMetadata) Set(val *RetireMetadata)
func (*NullableRetireMetadata) UnmarshalJSON ¶ added in v0.0.3
func (v *NullableRetireMetadata) UnmarshalJSON(src []byte) error
func (*NullableRetireMetadata) Unset ¶ added in v0.0.3
func (v *NullableRetireMetadata) Unset()
type NullableRetireRequest ¶ added in v0.0.2
type NullableRetireRequest struct {
// contains filtered or unexported fields
}
func NewNullableRetireRequest ¶ added in v0.0.2
func NewNullableRetireRequest(val *RetireRequest) *NullableRetireRequest
func (NullableRetireRequest) Get ¶ added in v0.0.2
func (v NullableRetireRequest) Get() *RetireRequest
func (NullableRetireRequest) IsSet ¶ added in v0.0.2
func (v NullableRetireRequest) IsSet() bool
func (NullableRetireRequest) MarshalJSON ¶ added in v0.0.2
func (v NullableRetireRequest) MarshalJSON() ([]byte, error)
func (*NullableRetireRequest) Set ¶ added in v0.0.2
func (v *NullableRetireRequest) Set(val *RetireRequest)
func (*NullableRetireRequest) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableRetireRequest) UnmarshalJSON(src []byte) error
func (*NullableRetireRequest) Unset ¶ added in v0.0.2
func (v *NullableRetireRequest) Unset()
type NullableRetireVersionRequest ¶ added in v0.0.11
type NullableRetireVersionRequest struct {
// contains filtered or unexported fields
}
func NewNullableRetireVersionRequest ¶ added in v0.0.11
func NewNullableRetireVersionRequest(val *RetireVersionRequest) *NullableRetireVersionRequest
func (NullableRetireVersionRequest) Get ¶ added in v0.0.11
func (v NullableRetireVersionRequest) Get() *RetireVersionRequest
func (NullableRetireVersionRequest) IsSet ¶ added in v0.0.11
func (v NullableRetireVersionRequest) IsSet() bool
func (NullableRetireVersionRequest) MarshalJSON ¶ added in v0.0.11
func (v NullableRetireVersionRequest) MarshalJSON() ([]byte, error)
func (*NullableRetireVersionRequest) Set ¶ added in v0.0.11
func (v *NullableRetireVersionRequest) Set(val *RetireVersionRequest)
func (*NullableRetireVersionRequest) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableRetireVersionRequest) UnmarshalJSON(src []byte) error
func (*NullableRetireVersionRequest) Unset ¶ added in v0.0.11
func (v *NullableRetireVersionRequest) Unset()
type NullableSpec ¶ added in v0.0.3
type NullableSpec struct {
// contains filtered or unexported fields
}
func NewNullableSpec ¶ added in v0.0.3
func NewNullableSpec(val *Spec) *NullableSpec
func (NullableSpec) Get ¶ added in v0.0.3
func (v NullableSpec) Get() *Spec
func (NullableSpec) IsSet ¶ added in v0.0.3
func (v NullableSpec) IsSet() bool
func (NullableSpec) MarshalJSON ¶ added in v0.0.3
func (v NullableSpec) MarshalJSON() ([]byte, error)
func (*NullableSpec) Set ¶ added in v0.0.3
func (v *NullableSpec) Set(val *Spec)
func (*NullableSpec) UnmarshalJSON ¶ added in v0.0.3
func (v *NullableSpec) UnmarshalJSON(src []byte) error
func (*NullableSpec) Unset ¶ added in v0.0.3
func (v *NullableSpec) Unset()
type NullableSpecOpenApi ¶ added in v0.0.3
type NullableSpecOpenApi struct {
// contains filtered or unexported fields
}
func NewNullableSpecOpenApi ¶ added in v0.0.3
func NewNullableSpecOpenApi(val *SpecOpenApi) *NullableSpecOpenApi
func (NullableSpecOpenApi) Get ¶ added in v0.0.3
func (v NullableSpecOpenApi) Get() *SpecOpenApi
func (NullableSpecOpenApi) IsSet ¶ added in v0.0.3
func (v NullableSpecOpenApi) IsSet() bool
func (NullableSpecOpenApi) MarshalJSON ¶ added in v0.0.3
func (v NullableSpecOpenApi) MarshalJSON() ([]byte, error)
func (*NullableSpecOpenApi) Set ¶ added in v0.0.3
func (v *NullableSpecOpenApi) Set(val *SpecOpenApi)
func (*NullableSpecOpenApi) UnmarshalJSON ¶ added in v0.0.3
func (v *NullableSpecOpenApi) UnmarshalJSON(src []byte) error
func (*NullableSpecOpenApi) Unset ¶ added in v0.0.3
func (v *NullableSpecOpenApi) Unset()
type NullableStatus ¶ added in v0.0.2
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶ added in v0.0.2
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶ added in v0.0.2
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶ added in v0.0.2
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶ added in v0.0.2
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶ added in v0.0.2
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶ added in v0.0.2
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PublishMetadata ¶ added in v0.0.3
type PublishMetadata struct { // Server stage to publish under Stage *string `json:"stage,omitempty"` }
PublishMetadata struct for PublishMetadata
func NewPublishMetadata ¶ added in v0.0.3
func NewPublishMetadata() *PublishMetadata
NewPublishMetadata instantiates a new PublishMetadata 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 NewPublishMetadataWithDefaults ¶ added in v0.0.3
func NewPublishMetadataWithDefaults() *PublishMetadata
NewPublishMetadataWithDefaults instantiates a new PublishMetadata 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 (*PublishMetadata) GetStage ¶ added in v0.0.3
func (o *PublishMetadata) GetStage() string
GetStage returns the Stage field value if set, zero value otherwise.
func (*PublishMetadata) GetStageOk ¶ added in v0.0.3
func (o *PublishMetadata) GetStageOk() (*string, bool)
GetStageOk returns a tuple with the Stage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishMetadata) HasStage ¶ added in v0.0.3
func (o *PublishMetadata) HasStage() bool
HasStage returns a boolean if a field has been set.
func (PublishMetadata) MarshalJSON ¶ added in v0.0.3
func (o PublishMetadata) MarshalJSON() ([]byte, error)
func (*PublishMetadata) SetStage ¶ added in v0.0.3
func (o *PublishMetadata) SetStage(v string)
SetStage gets a reference to the given string and assigns it to the Stage field.
type PublishRequest ¶ added in v0.0.2
type PublishRequest struct { // Identifier of API to be published Identifier *string `json:"identifier,omitempty"` IgnoreBreakingChanges *bool `json:"ignoreBreakingChanges,omitempty"` IgnoreLintingErrors *bool `json:"ignoreLintingErrors,omitempty"` Metadata *PublishMetadata `json:"metadata,omitempty"` // Project ID under which the API is to be published ProjectId *string `json:"projectId,omitempty"` Spec *Spec `json:"spec,omitempty"` }
PublishRequest struct for PublishRequest
func NewPublishRequest ¶ added in v0.0.2
func NewPublishRequest() *PublishRequest
NewPublishRequest instantiates a new PublishRequest 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 NewPublishRequestWithDefaults ¶ added in v0.0.2
func NewPublishRequestWithDefaults() *PublishRequest
NewPublishRequestWithDefaults instantiates a new PublishRequest 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 (*PublishRequest) GetIdentifier ¶ added in v0.0.4
func (o *PublishRequest) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*PublishRequest) GetIdentifierOk ¶ added in v0.0.4
func (o *PublishRequest) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) GetIgnoreBreakingChanges ¶ added in v0.0.9
func (o *PublishRequest) GetIgnoreBreakingChanges() bool
GetIgnoreBreakingChanges returns the IgnoreBreakingChanges field value if set, zero value otherwise.
func (*PublishRequest) GetIgnoreBreakingChangesOk ¶ added in v0.0.9
func (o *PublishRequest) GetIgnoreBreakingChangesOk() (*bool, bool)
GetIgnoreBreakingChangesOk returns a tuple with the IgnoreBreakingChanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) GetIgnoreLintingErrors ¶ added in v0.0.8
func (o *PublishRequest) GetIgnoreLintingErrors() bool
GetIgnoreLintingErrors returns the IgnoreLintingErrors field value if set, zero value otherwise.
func (*PublishRequest) GetIgnoreLintingErrorsOk ¶ added in v0.0.8
func (o *PublishRequest) GetIgnoreLintingErrorsOk() (*bool, bool)
GetIgnoreLintingErrorsOk returns a tuple with the IgnoreLintingErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) GetMetadata ¶ added in v0.0.2
func (o *PublishRequest) GetMetadata() PublishMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*PublishRequest) GetMetadataOk ¶ added in v0.0.2
func (o *PublishRequest) GetMetadataOk() (*PublishMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) GetProjectId ¶ added in v0.0.4
func (o *PublishRequest) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*PublishRequest) GetProjectIdOk ¶ added in v0.0.4
func (o *PublishRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) GetSpec ¶ added in v0.0.2
func (o *PublishRequest) GetSpec() Spec
GetSpec returns the Spec field value if set, zero value otherwise.
func (*PublishRequest) GetSpecOk ¶ added in v0.0.2
func (o *PublishRequest) GetSpecOk() (*Spec, bool)
GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishRequest) HasIdentifier ¶ added in v0.0.4
func (o *PublishRequest) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*PublishRequest) HasIgnoreBreakingChanges ¶ added in v0.0.9
func (o *PublishRequest) HasIgnoreBreakingChanges() bool
HasIgnoreBreakingChanges returns a boolean if a field has been set.
func (*PublishRequest) HasIgnoreLintingErrors ¶ added in v0.0.8
func (o *PublishRequest) HasIgnoreLintingErrors() bool
HasIgnoreLintingErrors returns a boolean if a field has been set.
func (*PublishRequest) HasMetadata ¶ added in v0.0.2
func (o *PublishRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PublishRequest) HasProjectId ¶ added in v0.0.4
func (o *PublishRequest) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*PublishRequest) HasSpec ¶ added in v0.0.2
func (o *PublishRequest) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (PublishRequest) MarshalJSON ¶ added in v0.0.2
func (o PublishRequest) MarshalJSON() ([]byte, error)
func (*PublishRequest) SetIdentifier ¶ added in v0.0.4
func (o *PublishRequest) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*PublishRequest) SetIgnoreBreakingChanges ¶ added in v0.0.9
func (o *PublishRequest) SetIgnoreBreakingChanges(v bool)
SetIgnoreBreakingChanges gets a reference to the given bool and assigns it to the IgnoreBreakingChanges field.
func (*PublishRequest) SetIgnoreLintingErrors ¶ added in v0.0.8
func (o *PublishRequest) SetIgnoreLintingErrors(v bool)
SetIgnoreLintingErrors gets a reference to the given bool and assigns it to the IgnoreLintingErrors field.
func (*PublishRequest) SetMetadata ¶ added in v0.0.2
func (o *PublishRequest) SetMetadata(v PublishMetadata)
SetMetadata gets a reference to the given PublishMetadata and assigns it to the Metadata field.
func (*PublishRequest) SetProjectId ¶ added in v0.0.4
func (o *PublishRequest) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*PublishRequest) SetSpec ¶ added in v0.0.2
func (o *PublishRequest) SetSpec(v Spec)
SetSpec gets a reference to the given Spec and assigns it to the Spec field.
type PublishResponse ¶ added in v0.0.2
type PublishResponse struct { // URL under which published API is available ApiUrl *string `json:"apiUrl,omitempty"` // List of specific warnings returned by the API specification linter LinterWarnings []string `json:"linterWarnings,omitempty"` // Number of warnings returned by the API specification linter LinterWarningsCount *string `json:"linterWarningsCount,omitempty"` // Indicates whether the PR was created PullRequestCreated *bool `json:"pullRequestCreated,omitempty"` // URL of the PR which is created with the published specification PullRequestUrl *string `json:"pullRequestUrl,omitempty"` }
PublishResponse OpenAPI specification was published successfully
func NewPublishResponse ¶ added in v0.0.2
func NewPublishResponse() *PublishResponse
NewPublishResponse instantiates a new PublishResponse 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 NewPublishResponseWithDefaults ¶ added in v0.0.2
func NewPublishResponseWithDefaults() *PublishResponse
NewPublishResponseWithDefaults instantiates a new PublishResponse 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 (*PublishResponse) GetApiUrl ¶ added in v0.0.2
func (o *PublishResponse) GetApiUrl() string
GetApiUrl returns the ApiUrl field value if set, zero value otherwise.
func (*PublishResponse) GetApiUrlOk ¶ added in v0.0.2
func (o *PublishResponse) GetApiUrlOk() (*string, bool)
GetApiUrlOk returns a tuple with the ApiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishResponse) GetLinterWarnings ¶ added in v0.0.10
func (o *PublishResponse) GetLinterWarnings() []string
GetLinterWarnings returns the LinterWarnings field value if set, zero value otherwise.
func (*PublishResponse) GetLinterWarningsCount ¶ added in v0.0.10
func (o *PublishResponse) GetLinterWarningsCount() string
GetLinterWarningsCount returns the LinterWarningsCount field value if set, zero value otherwise.
func (*PublishResponse) GetLinterWarningsCountOk ¶ added in v0.0.10
func (o *PublishResponse) GetLinterWarningsCountOk() (*string, bool)
GetLinterWarningsCountOk returns a tuple with the LinterWarningsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishResponse) GetLinterWarningsOk ¶ added in v0.0.10
func (o *PublishResponse) GetLinterWarningsOk() ([]string, bool)
GetLinterWarningsOk returns a tuple with the LinterWarnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishResponse) GetPullRequestCreated ¶ added in v0.0.13
func (o *PublishResponse) GetPullRequestCreated() bool
GetPullRequestCreated returns the PullRequestCreated field value if set, zero value otherwise.
func (*PublishResponse) GetPullRequestCreatedOk ¶ added in v0.0.13
func (o *PublishResponse) GetPullRequestCreatedOk() (*bool, bool)
GetPullRequestCreatedOk returns a tuple with the PullRequestCreated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishResponse) GetPullRequestUrl ¶ added in v0.0.13
func (o *PublishResponse) GetPullRequestUrl() string
GetPullRequestUrl returns the PullRequestUrl field value if set, zero value otherwise.
func (*PublishResponse) GetPullRequestUrlOk ¶ added in v0.0.13
func (o *PublishResponse) GetPullRequestUrlOk() (*string, bool)
GetPullRequestUrlOk returns a tuple with the PullRequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishResponse) HasApiUrl ¶ added in v0.0.2
func (o *PublishResponse) HasApiUrl() bool
HasApiUrl returns a boolean if a field has been set.
func (*PublishResponse) HasLinterWarnings ¶ added in v0.0.10
func (o *PublishResponse) HasLinterWarnings() bool
HasLinterWarnings returns a boolean if a field has been set.
func (*PublishResponse) HasLinterWarningsCount ¶ added in v0.0.10
func (o *PublishResponse) HasLinterWarningsCount() bool
HasLinterWarningsCount returns a boolean if a field has been set.
func (*PublishResponse) HasPullRequestCreated ¶ added in v0.0.13
func (o *PublishResponse) HasPullRequestCreated() bool
HasPullRequestCreated returns a boolean if a field has been set.
func (*PublishResponse) HasPullRequestUrl ¶ added in v0.0.13
func (o *PublishResponse) HasPullRequestUrl() bool
HasPullRequestUrl returns a boolean if a field has been set.
func (PublishResponse) MarshalJSON ¶ added in v0.0.2
func (o PublishResponse) MarshalJSON() ([]byte, error)
func (*PublishResponse) SetApiUrl ¶ added in v0.0.2
func (o *PublishResponse) SetApiUrl(v string)
SetApiUrl gets a reference to the given string and assigns it to the ApiUrl field.
func (*PublishResponse) SetLinterWarnings ¶ added in v0.0.10
func (o *PublishResponse) SetLinterWarnings(v []string)
SetLinterWarnings gets a reference to the given []string and assigns it to the LinterWarnings field.
func (*PublishResponse) SetLinterWarningsCount ¶ added in v0.0.10
func (o *PublishResponse) SetLinterWarningsCount(v string)
SetLinterWarningsCount gets a reference to the given string and assigns it to the LinterWarningsCount field.
func (*PublishResponse) SetPullRequestCreated ¶ added in v0.0.13
func (o *PublishResponse) SetPullRequestCreated(v bool)
SetPullRequestCreated gets a reference to the given bool and assigns it to the PullRequestCreated field.
func (*PublishResponse) SetPullRequestUrl ¶ added in v0.0.13
func (o *PublishResponse) SetPullRequestUrl(v string)
SetPullRequestUrl gets a reference to the given string and assigns it to the PullRequestUrl field.
type PublishValidateRequest ¶ added in v0.0.3
type PublishValidateRequest struct { // Identifier of API to be validated Identifier *string `json:"identifier,omitempty"` Metadata *PublishMetadata `json:"metadata,omitempty"` // Project ID for API to be validated ProjectId *string `json:"projectId,omitempty"` Spec *Spec `json:"spec,omitempty"` }
PublishValidateRequest struct for PublishValidateRequest
func NewPublishValidateRequest ¶ added in v0.0.3
func NewPublishValidateRequest() *PublishValidateRequest
NewPublishValidateRequest instantiates a new PublishValidateRequest 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 NewPublishValidateRequestWithDefaults ¶ added in v0.0.3
func NewPublishValidateRequestWithDefaults() *PublishValidateRequest
NewPublishValidateRequestWithDefaults instantiates a new PublishValidateRequest 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 (*PublishValidateRequest) GetIdentifier ¶ added in v0.0.4
func (o *PublishValidateRequest) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*PublishValidateRequest) GetIdentifierOk ¶ added in v0.0.4
func (o *PublishValidateRequest) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateRequest) GetMetadata ¶ added in v0.0.3
func (o *PublishValidateRequest) GetMetadata() PublishMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*PublishValidateRequest) GetMetadataOk ¶ added in v0.0.3
func (o *PublishValidateRequest) GetMetadataOk() (*PublishMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateRequest) GetProjectId ¶ added in v0.0.4
func (o *PublishValidateRequest) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*PublishValidateRequest) GetProjectIdOk ¶ added in v0.0.4
func (o *PublishValidateRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateRequest) GetSpec ¶ added in v0.0.3
func (o *PublishValidateRequest) GetSpec() Spec
GetSpec returns the Spec field value if set, zero value otherwise.
func (*PublishValidateRequest) GetSpecOk ¶ added in v0.0.3
func (o *PublishValidateRequest) GetSpecOk() (*Spec, bool)
GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateRequest) HasIdentifier ¶ added in v0.0.4
func (o *PublishValidateRequest) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*PublishValidateRequest) HasMetadata ¶ added in v0.0.3
func (o *PublishValidateRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PublishValidateRequest) HasProjectId ¶ added in v0.0.4
func (o *PublishValidateRequest) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*PublishValidateRequest) HasSpec ¶ added in v0.0.3
func (o *PublishValidateRequest) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (PublishValidateRequest) MarshalJSON ¶ added in v0.0.3
func (o PublishValidateRequest) MarshalJSON() ([]byte, error)
func (*PublishValidateRequest) SetIdentifier ¶ added in v0.0.4
func (o *PublishValidateRequest) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*PublishValidateRequest) SetMetadata ¶ added in v0.0.3
func (o *PublishValidateRequest) SetMetadata(v PublishMetadata)
SetMetadata gets a reference to the given PublishMetadata and assigns it to the Metadata field.
func (*PublishValidateRequest) SetProjectId ¶ added in v0.0.4
func (o *PublishValidateRequest) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*PublishValidateRequest) SetSpec ¶ added in v0.0.3
func (o *PublishValidateRequest) SetSpec(v Spec)
SetSpec gets a reference to the given Spec and assigns it to the Spec field.
type PublishValidateResponse ¶ added in v0.0.6
type PublishValidateResponse struct { // List of specific warnings returned by the API specification linter LinterWarnings []string `json:"linterWarnings,omitempty"` // Number of warnings returned by the API specification linter LinterWarningsCount *string `json:"linterWarningsCount,omitempty"` }
PublishValidateResponse OpenAPI specification was validated successfully
func NewPublishValidateResponse ¶ added in v0.0.6
func NewPublishValidateResponse() *PublishValidateResponse
NewPublishValidateResponse instantiates a new PublishValidateResponse 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 NewPublishValidateResponseWithDefaults ¶ added in v0.0.6
func NewPublishValidateResponseWithDefaults() *PublishValidateResponse
NewPublishValidateResponseWithDefaults instantiates a new PublishValidateResponse 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 (*PublishValidateResponse) GetLinterWarnings ¶ added in v0.0.6
func (o *PublishValidateResponse) GetLinterWarnings() []string
GetLinterWarnings returns the LinterWarnings field value if set, zero value otherwise.
func (*PublishValidateResponse) GetLinterWarningsCount ¶ added in v0.0.6
func (o *PublishValidateResponse) GetLinterWarningsCount() string
GetLinterWarningsCount returns the LinterWarningsCount field value if set, zero value otherwise.
func (*PublishValidateResponse) GetLinterWarningsCountOk ¶ added in v0.0.6
func (o *PublishValidateResponse) GetLinterWarningsCountOk() (*string, bool)
GetLinterWarningsCountOk returns a tuple with the LinterWarningsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateResponse) GetLinterWarningsOk ¶ added in v0.0.6
func (o *PublishValidateResponse) GetLinterWarningsOk() ([]string, bool)
GetLinterWarningsOk returns a tuple with the LinterWarnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublishValidateResponse) HasLinterWarnings ¶ added in v0.0.6
func (o *PublishValidateResponse) HasLinterWarnings() bool
HasLinterWarnings returns a boolean if a field has been set.
func (*PublishValidateResponse) HasLinterWarningsCount ¶ added in v0.0.6
func (o *PublishValidateResponse) HasLinterWarningsCount() bool
HasLinterWarningsCount returns a boolean if a field has been set.
func (PublishValidateResponse) MarshalJSON ¶ added in v0.0.6
func (o PublishValidateResponse) MarshalJSON() ([]byte, error)
func (*PublishValidateResponse) SetLinterWarnings ¶ added in v0.0.6
func (o *PublishValidateResponse) SetLinterWarnings(v []string)
SetLinterWarnings gets a reference to the given []string and assigns it to the LinterWarnings field.
func (*PublishValidateResponse) SetLinterWarningsCount ¶ added in v0.0.6
func (o *PublishValidateResponse) SetLinterWarningsCount(v string)
SetLinterWarningsCount gets a reference to the given string and assigns it to the LinterWarningsCount field.
type RetireMetadata ¶ added in v0.0.3
type RetireMetadata struct { Identifier *string `json:"identifier,omitempty"` ProjectId *string `json:"projectId,omitempty"` }
RetireMetadata struct for RetireMetadata
func NewRetireMetadata ¶ added in v0.0.3
func NewRetireMetadata() *RetireMetadata
NewRetireMetadata instantiates a new RetireMetadata 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 NewRetireMetadataWithDefaults ¶ added in v0.0.3
func NewRetireMetadataWithDefaults() *RetireMetadata
NewRetireMetadataWithDefaults instantiates a new RetireMetadata 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 (*RetireMetadata) GetIdentifier ¶ added in v0.0.3
func (o *RetireMetadata) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*RetireMetadata) GetIdentifierOk ¶ added in v0.0.3
func (o *RetireMetadata) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireMetadata) GetProjectId ¶ added in v0.0.3
func (o *RetireMetadata) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*RetireMetadata) GetProjectIdOk ¶ added in v0.0.3
func (o *RetireMetadata) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireMetadata) HasIdentifier ¶ added in v0.0.3
func (o *RetireMetadata) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*RetireMetadata) HasProjectId ¶ added in v0.0.3
func (o *RetireMetadata) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (RetireMetadata) MarshalJSON ¶ added in v0.0.3
func (o RetireMetadata) MarshalJSON() ([]byte, error)
func (*RetireMetadata) SetIdentifier ¶ added in v0.0.3
func (o *RetireMetadata) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*RetireMetadata) SetProjectId ¶ added in v0.0.3
func (o *RetireMetadata) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
type RetireRequest ¶ added in v0.0.2
type RetireRequest struct { ApiVersion *string `json:"apiVersion,omitempty"` // Identifier of API to be retired Identifier *string `json:"identifier,omitempty"` // Project ID for API to be retired ProjectId *string `json:"projectId,omitempty"` }
RetireRequest struct for RetireRequest
func NewRetireRequest ¶ added in v0.0.2
func NewRetireRequest() *RetireRequest
NewRetireRequest instantiates a new RetireRequest 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 NewRetireRequestWithDefaults ¶ added in v0.0.2
func NewRetireRequestWithDefaults() *RetireRequest
NewRetireRequestWithDefaults instantiates a new RetireRequest 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 (*RetireRequest) GetApiVersion ¶ added in v0.0.11
func (o *RetireRequest) GetApiVersion() string
GetApiVersion returns the ApiVersion field value if set, zero value otherwise.
func (*RetireRequest) GetApiVersionOk ¶ added in v0.0.11
func (o *RetireRequest) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireRequest) GetIdentifier ¶ added in v0.0.4
func (o *RetireRequest) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*RetireRequest) GetIdentifierOk ¶ added in v0.0.4
func (o *RetireRequest) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireRequest) GetProjectId ¶ added in v0.0.4
func (o *RetireRequest) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*RetireRequest) GetProjectIdOk ¶ added in v0.0.4
func (o *RetireRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireRequest) HasApiVersion ¶ added in v0.0.11
func (o *RetireRequest) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (*RetireRequest) HasIdentifier ¶ added in v0.0.4
func (o *RetireRequest) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*RetireRequest) HasProjectId ¶ added in v0.0.4
func (o *RetireRequest) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (RetireRequest) MarshalJSON ¶ added in v0.0.2
func (o RetireRequest) MarshalJSON() ([]byte, error)
func (*RetireRequest) SetApiVersion ¶ added in v0.0.11
func (o *RetireRequest) SetApiVersion(v string)
SetApiVersion gets a reference to the given string and assigns it to the ApiVersion field.
func (*RetireRequest) SetIdentifier ¶ added in v0.0.4
func (o *RetireRequest) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*RetireRequest) SetProjectId ¶ added in v0.0.4
func (o *RetireRequest) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
type RetireVersionRequest ¶ added in v0.0.11
type RetireVersionRequest struct { // Identifier of API to be retired Identifier *string `json:"identifier,omitempty"` // Project ID for API to be retired ProjectId *string `json:"projectId,omitempty"` // API version to be retired Version *string `json:"version,omitempty"` }
RetireVersionRequest struct for RetireVersionRequest
func NewRetireVersionRequest ¶ added in v0.0.11
func NewRetireVersionRequest() *RetireVersionRequest
NewRetireVersionRequest instantiates a new RetireVersionRequest 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 NewRetireVersionRequestWithDefaults ¶ added in v0.0.11
func NewRetireVersionRequestWithDefaults() *RetireVersionRequest
NewRetireVersionRequestWithDefaults instantiates a new RetireVersionRequest 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 (*RetireVersionRequest) GetIdentifier ¶ added in v0.0.11
func (o *RetireVersionRequest) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*RetireVersionRequest) GetIdentifierOk ¶ added in v0.0.11
func (o *RetireVersionRequest) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireVersionRequest) GetProjectId ¶ added in v0.0.11
func (o *RetireVersionRequest) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*RetireVersionRequest) GetProjectIdOk ¶ added in v0.0.11
func (o *RetireVersionRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetireVersionRequest) GetVersion ¶ added in v0.0.11
func (o *RetireVersionRequest) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*RetireVersionRequest) GetVersionOk ¶ added in v0.0.11
func (o *RetireVersionRequest) GetVersionOk() (*string, 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 (*RetireVersionRequest) HasIdentifier ¶ added in v0.0.11
func (o *RetireVersionRequest) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*RetireVersionRequest) HasProjectId ¶ added in v0.0.11
func (o *RetireVersionRequest) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*RetireVersionRequest) HasVersion ¶ added in v0.0.11
func (o *RetireVersionRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (RetireVersionRequest) MarshalJSON ¶ added in v0.0.11
func (o RetireVersionRequest) MarshalJSON() ([]byte, error)
func (*RetireVersionRequest) SetIdentifier ¶ added in v0.0.11
func (o *RetireVersionRequest) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*RetireVersionRequest) SetProjectId ¶ added in v0.0.11
func (o *RetireVersionRequest) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*RetireVersionRequest) SetVersion ¶ added in v0.0.11
func (o *RetireVersionRequest) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Spec ¶ added in v0.0.3
type Spec struct {
OpenApi *SpecOpenApi `json:"openApi,omitempty"`
}
Spec struct for Spec
func NewSpec ¶ added in v0.0.3
func NewSpec() *Spec
NewSpec instantiates a new Spec 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 NewSpecWithDefaults ¶ added in v0.0.3
func NewSpecWithDefaults() *Spec
NewSpecWithDefaults instantiates a new Spec 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 (*Spec) GetOpenApi ¶ added in v0.0.3
func (o *Spec) GetOpenApi() SpecOpenApi
GetOpenApi returns the OpenApi field value if set, zero value otherwise.
func (*Spec) GetOpenApiOk ¶ added in v0.0.3
func (o *Spec) GetOpenApiOk() (*SpecOpenApi, bool)
GetOpenApiOk returns a tuple with the OpenApi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Spec) HasOpenApi ¶ added in v0.0.3
HasOpenApi returns a boolean if a field has been set.
func (Spec) MarshalJSON ¶ added in v0.0.3
func (*Spec) SetOpenApi ¶ added in v0.0.3
func (o *Spec) SetOpenApi(v SpecOpenApi)
SetOpenApi gets a reference to the given SpecOpenApi and assigns it to the OpenApi field.
type SpecOpenApi ¶ added in v0.0.3
type SpecOpenApi struct { // Base64 encoded OpenAPI specification Base64Encoded *string `json:"base64Encoded,omitempty"` }
SpecOpenApi struct for SpecOpenApi
func NewSpecOpenApi ¶ added in v0.0.3
func NewSpecOpenApi() *SpecOpenApi
NewSpecOpenApi instantiates a new SpecOpenApi 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 NewSpecOpenApiWithDefaults ¶ added in v0.0.3
func NewSpecOpenApiWithDefaults() *SpecOpenApi
NewSpecOpenApiWithDefaults instantiates a new SpecOpenApi 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 (*SpecOpenApi) GetBase64Encoded ¶ added in v0.0.3
func (o *SpecOpenApi) GetBase64Encoded() string
GetBase64Encoded returns the Base64Encoded field value if set, zero value otherwise.
func (*SpecOpenApi) GetBase64EncodedOk ¶ added in v0.0.3
func (o *SpecOpenApi) GetBase64EncodedOk() (*string, bool)
GetBase64EncodedOk returns a tuple with the Base64Encoded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecOpenApi) HasBase64Encoded ¶ added in v0.0.3
func (o *SpecOpenApi) HasBase64Encoded() bool
HasBase64Encoded returns a boolean if a field has been set.
func (SpecOpenApi) MarshalJSON ¶ added in v0.0.3
func (o SpecOpenApi) MarshalJSON() ([]byte, error)
func (*SpecOpenApi) SetBase64Encoded ¶ added in v0.0.3
func (o *SpecOpenApi) SetBase64Encoded(v string)
SetBase64Encoded gets a reference to the given string and assigns it to the Base64Encoded field.
type Status ¶ added in v0.0.2
type Status struct { // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. Code *int32 `json:"code,omitempty"` // A list of messages that carry the error details. There is a common set of message types for APIs to use. Details []GoogleProtobufAny `json:"details,omitempty"` // A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. Message *string `json:"message,omitempty"` }
Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func NewStatus ¶ added in v0.0.2
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶ added in v0.0.2
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode ¶ added in v0.0.2
GetCode returns the Code field value if set, zero value otherwise.
func (*Status) GetCodeOk ¶ added in v0.0.2
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶ added in v0.0.2
func (o *Status) GetDetails() []GoogleProtobufAny
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶ added in v0.0.2
func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetMessage ¶ added in v0.0.2
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶ added in v0.0.2
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶ added in v0.0.2
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶ added in v0.0.2
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶ added in v0.0.2
func (*Status) SetCode ¶ added in v0.0.2
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶ added in v0.0.2
func (o *Status) SetDetails(v []GoogleProtobufAny)
SetDetails gets a reference to the given []GoogleProtobufAny and assigns it to the Details field.
func (*Status) SetMessage ¶ added in v0.0.2
SetMessage gets a reference to the given string and assigns it to the Message field.
Source Files
¶
- api_api_manager_service.go
- client.go
- configuration.go
- model_fetch_api_response.go
- model_fetch_project_api_identifiers_response.go
- model_google_protobuf_any.go
- model_publish_metadata.go
- model_publish_request.go
- model_publish_response.go
- model_publish_validate_request.go
- model_publish_validate_response.go
- model_retire_metadata.go
- model_retire_request.go
- model_retire_version_request.go
- model_spec.go
- model_spec_open_api.go
- model_status.go
- response.go
- utils.go