open_api_spec

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for open api spec API

func (*Client) GetOrganizationOpenapiSpec

func (a *Client) GetOrganizationOpenapiSpec(params *GetOrganizationOpenapiSpecParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOpenapiSpecOK, error)

GetOrganizationOpenapiSpec gets organization openapi spec

Return the OpenAPI 2.0 Specification of the organization's API documentation in JSON

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetOrganizationOpenapiSpec(params *GetOrganizationOpenapiSpecParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOpenapiSpecOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new open api spec API client.

type GetOrganizationOpenapiSpecOK

type GetOrganizationOpenapiSpecOK struct {
	Payload interface{}
}

GetOrganizationOpenapiSpecOK handles this case with default header values.

Successful operation

func NewGetOrganizationOpenapiSpecOK

func NewGetOrganizationOpenapiSpecOK() *GetOrganizationOpenapiSpecOK

NewGetOrganizationOpenapiSpecOK creates a GetOrganizationOpenapiSpecOK with default headers values

func (*GetOrganizationOpenapiSpecOK) Error

func (*GetOrganizationOpenapiSpecOK) GetPayload

func (o *GetOrganizationOpenapiSpecOK) GetPayload() interface{}

type GetOrganizationOpenapiSpecParams

type GetOrganizationOpenapiSpecParams struct {

	/*OrganizationID*/
	OrganizationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationOpenapiSpecParams contains all the parameters to send to the API endpoint for the get organization openapi spec operation typically these are written to a http.Request

func NewGetOrganizationOpenapiSpecParams

func NewGetOrganizationOpenapiSpecParams() *GetOrganizationOpenapiSpecParams

NewGetOrganizationOpenapiSpecParams creates a new GetOrganizationOpenapiSpecParams object with the default values initialized.

func NewGetOrganizationOpenapiSpecParamsWithContext

func NewGetOrganizationOpenapiSpecParamsWithContext(ctx context.Context) *GetOrganizationOpenapiSpecParams

NewGetOrganizationOpenapiSpecParamsWithContext creates a new GetOrganizationOpenapiSpecParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrganizationOpenapiSpecParamsWithHTTPClient

func NewGetOrganizationOpenapiSpecParamsWithHTTPClient(client *http.Client) *GetOrganizationOpenapiSpecParams

NewGetOrganizationOpenapiSpecParamsWithHTTPClient creates a new GetOrganizationOpenapiSpecParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrganizationOpenapiSpecParamsWithTimeout

func NewGetOrganizationOpenapiSpecParamsWithTimeout(timeout time.Duration) *GetOrganizationOpenapiSpecParams

NewGetOrganizationOpenapiSpecParamsWithTimeout creates a new GetOrganizationOpenapiSpecParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrganizationOpenapiSpecParams) SetContext

SetContext adds the context to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) SetHTTPClient

func (o *GetOrganizationOpenapiSpecParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) SetOrganizationID

func (o *GetOrganizationOpenapiSpecParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) SetTimeout

func (o *GetOrganizationOpenapiSpecParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) WithContext

WithContext adds the context to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) WithOrganizationID

func (o *GetOrganizationOpenapiSpecParams) WithOrganizationID(organizationID string) *GetOrganizationOpenapiSpecParams

WithOrganizationID adds the organizationID to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) WithTimeout

WithTimeout adds the timeout to the get organization openapi spec params

func (*GetOrganizationOpenapiSpecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationOpenapiSpecReader

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

GetOrganizationOpenapiSpecReader is a Reader for the GetOrganizationOpenapiSpec structure.

func (*GetOrganizationOpenapiSpecReader) ReadResponse

func (o *GetOrganizationOpenapiSpecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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