developers

package
v0.0.0-...-1b1c9e3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 10 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 developers API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) V2AvailableProperties

func (a *Client) V2AvailableProperties(params *V2AvailablePropertiesParams) (*V2AvailablePropertiesOK, error)

V2AvailableProperties alls current available properties with detailed data

This shows all 'Available Properties' with detailed data

func (*Client) V2AvailablePropertyImages

func (a *Client) V2AvailablePropertyImages(params *V2AvailablePropertyImagesParams) (*V2AvailablePropertyImagesOK, error)

V2AvailablePropertyImages arrays of images and meta data

Images (Base64 encoded) and meta data related to 'Available Property'

func (*Client) V2AvailablePropertyImagesURL

func (a *Client) V2AvailablePropertyImagesURL(params *V2AvailablePropertyImagesURLParams) (*V2AvailablePropertyImagesURLOK, error)

V2AvailablePropertyImagesURL arrays of image URL s and meta data

Images (URL Links) and meta data related to 'Available Property'

func (*Client) V2PreviousAvailableProperty

func (a *Client) V2PreviousAvailableProperty(params *V2PreviousAvailablePropertyParams) (*V2PreviousAvailablePropertyOK, error)

V2PreviousAvailableProperty withdrawns or leased details

This shows withdrawn or leased details of a previous 'Available Property'

type ClientService

type ClientService interface {
	V2AvailableProperties(params *V2AvailablePropertiesParams) (*V2AvailablePropertiesOK, error)

	V2AvailablePropertyImages(params *V2AvailablePropertyImagesParams) (*V2AvailablePropertyImagesOK, error)

	V2AvailablePropertyImagesURL(params *V2AvailablePropertyImagesURLParams) (*V2AvailablePropertyImagesURLOK, error)

	V2PreviousAvailableProperty(params *V2PreviousAvailablePropertyParams) (*V2PreviousAvailablePropertyOK, 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 developers API client.

type V2AvailablePropertiesOK

type V2AvailablePropertiesOK struct {
	Payload []*models.V2AvailablePropertyDetails
}

V2AvailablePropertiesOK handles this case with default header values.

All 'Available Properties' with detailed data

func NewV2AvailablePropertiesOK

func NewV2AvailablePropertiesOK() *V2AvailablePropertiesOK

NewV2AvailablePropertiesOK creates a V2AvailablePropertiesOK with default headers values

func (*V2AvailablePropertiesOK) Error

func (o *V2AvailablePropertiesOK) Error() string

func (*V2AvailablePropertiesOK) GetPayload

type V2AvailablePropertiesParams

type V2AvailablePropertiesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

V2AvailablePropertiesParams contains all the parameters to send to the API endpoint for the v2 available properties operation typically these are written to a http.Request

func NewV2AvailablePropertiesParams

func NewV2AvailablePropertiesParams() *V2AvailablePropertiesParams

NewV2AvailablePropertiesParams creates a new V2AvailablePropertiesParams object with the default values initialized.

func NewV2AvailablePropertiesParamsWithContext

func NewV2AvailablePropertiesParamsWithContext(ctx context.Context) *V2AvailablePropertiesParams

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

func NewV2AvailablePropertiesParamsWithHTTPClient

func NewV2AvailablePropertiesParamsWithHTTPClient(client *http.Client) *V2AvailablePropertiesParams

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

func NewV2AvailablePropertiesParamsWithTimeout

func NewV2AvailablePropertiesParamsWithTimeout(timeout time.Duration) *V2AvailablePropertiesParams

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

func (*V2AvailablePropertiesParams) SetContext

func (o *V2AvailablePropertiesParams) SetContext(ctx context.Context)

SetContext adds the context to the v2 available properties params

func (*V2AvailablePropertiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 available properties params

func (*V2AvailablePropertiesParams) SetTimeout

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

SetTimeout adds the timeout to the v2 available properties params

func (*V2AvailablePropertiesParams) WithContext

WithContext adds the context to the v2 available properties params

func (*V2AvailablePropertiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 available properties params

func (*V2AvailablePropertiesParams) WithTimeout

WithTimeout adds the timeout to the v2 available properties params

func (*V2AvailablePropertiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2AvailablePropertiesReader

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

V2AvailablePropertiesReader is a Reader for the V2AvailableProperties structure.

func (*V2AvailablePropertiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2AvailablePropertyImagesOK

type V2AvailablePropertyImagesOK struct {
	Payload []*models.V2AvailablePropertyImages
}

V2AvailablePropertyImagesOK handles this case with default header values.

Images (Base64 encoded) and meta data related to 'Available Property'

func NewV2AvailablePropertyImagesOK

func NewV2AvailablePropertyImagesOK() *V2AvailablePropertyImagesOK

NewV2AvailablePropertyImagesOK creates a V2AvailablePropertyImagesOK with default headers values

func (*V2AvailablePropertyImagesOK) Error

func (*V2AvailablePropertyImagesOK) GetPayload

type V2AvailablePropertyImagesParams

type V2AvailablePropertyImagesParams struct {

	/*PropertyCode
	  Internal 'Property Code'

	*/
	PropertyCode string

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

V2AvailablePropertyImagesParams contains all the parameters to send to the API endpoint for the v2 available property images operation typically these are written to a http.Request

func NewV2AvailablePropertyImagesParams

func NewV2AvailablePropertyImagesParams() *V2AvailablePropertyImagesParams

NewV2AvailablePropertyImagesParams creates a new V2AvailablePropertyImagesParams object with the default values initialized.

func NewV2AvailablePropertyImagesParamsWithContext

func NewV2AvailablePropertyImagesParamsWithContext(ctx context.Context) *V2AvailablePropertyImagesParams

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

func NewV2AvailablePropertyImagesParamsWithHTTPClient

func NewV2AvailablePropertyImagesParamsWithHTTPClient(client *http.Client) *V2AvailablePropertyImagesParams

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

func NewV2AvailablePropertyImagesParamsWithTimeout

func NewV2AvailablePropertyImagesParamsWithTimeout(timeout time.Duration) *V2AvailablePropertyImagesParams

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

func (*V2AvailablePropertyImagesParams) SetContext

func (o *V2AvailablePropertyImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the v2 available property images params

func (*V2AvailablePropertyImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 available property images params

func (*V2AvailablePropertyImagesParams) SetPropertyCode

func (o *V2AvailablePropertyImagesParams) SetPropertyCode(propertyCode string)

SetPropertyCode adds the propertyCode to the v2 available property images params

func (*V2AvailablePropertyImagesParams) SetTimeout

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

SetTimeout adds the timeout to the v2 available property images params

func (*V2AvailablePropertyImagesParams) WithContext

WithContext adds the context to the v2 available property images params

func (*V2AvailablePropertyImagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 available property images params

func (*V2AvailablePropertyImagesParams) WithPropertyCode

func (o *V2AvailablePropertyImagesParams) WithPropertyCode(propertyCode string) *V2AvailablePropertyImagesParams

WithPropertyCode adds the propertyCode to the v2 available property images params

func (*V2AvailablePropertyImagesParams) WithTimeout

WithTimeout adds the timeout to the v2 available property images params

func (*V2AvailablePropertyImagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2AvailablePropertyImagesReader

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

V2AvailablePropertyImagesReader is a Reader for the V2AvailablePropertyImages structure.

func (*V2AvailablePropertyImagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2AvailablePropertyImagesURLOK

type V2AvailablePropertyImagesURLOK struct {
	Payload []*models.V2AvailablePropertyImagesURL
}

V2AvailablePropertyImagesURLOK handles this case with default header values.

Images (URL Links) and meta data related to 'Available Property'

func NewV2AvailablePropertyImagesURLOK

func NewV2AvailablePropertyImagesURLOK() *V2AvailablePropertyImagesURLOK

NewV2AvailablePropertyImagesURLOK creates a V2AvailablePropertyImagesURLOK with default headers values

func (*V2AvailablePropertyImagesURLOK) Error

func (*V2AvailablePropertyImagesURLOK) GetPayload

type V2AvailablePropertyImagesURLParams

type V2AvailablePropertyImagesURLParams struct {

	/*PropertyCode
	  Internal 'Property Code'

	*/
	PropertyCode string
	/*Encrypt
	  'encrypt' indicates if the URL image links to be returned are links with 'http' or encrypted 'https'.  The options are 'yes' or 'no'.<BR><BR> NOTE: The following is an example of a request using the the 'encrypt' parameter...<BR><BR>https://api.getpalace.com/Service.svc/RestService/v2AvailablePropertyImagesURL/JSON/RBPR000005?encrypt=yes

	*/
	Encrypt *string

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

V2AvailablePropertyImagesURLParams contains all the parameters to send to the API endpoint for the v2 available property images URL operation typically these are written to a http.Request

func NewV2AvailablePropertyImagesURLParams

func NewV2AvailablePropertyImagesURLParams() *V2AvailablePropertyImagesURLParams

NewV2AvailablePropertyImagesURLParams creates a new V2AvailablePropertyImagesURLParams object with the default values initialized.

func NewV2AvailablePropertyImagesURLParamsWithContext

func NewV2AvailablePropertyImagesURLParamsWithContext(ctx context.Context) *V2AvailablePropertyImagesURLParams

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

func NewV2AvailablePropertyImagesURLParamsWithHTTPClient

func NewV2AvailablePropertyImagesURLParamsWithHTTPClient(client *http.Client) *V2AvailablePropertyImagesURLParams

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

func NewV2AvailablePropertyImagesURLParamsWithTimeout

func NewV2AvailablePropertyImagesURLParamsWithTimeout(timeout time.Duration) *V2AvailablePropertyImagesURLParams

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

func (*V2AvailablePropertyImagesURLParams) SetContext

SetContext adds the context to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) SetEncrypt

func (o *V2AvailablePropertyImagesURLParams) SetEncrypt(encrypt *string)

SetEncrypt adds the encrypt to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) SetPropertyCode

func (o *V2AvailablePropertyImagesURLParams) SetPropertyCode(propertyCode string)

SetPropertyCode adds the propertyCode to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) SetTimeout

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

SetTimeout adds the timeout to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WithContext

WithContext adds the context to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WithEncrypt

WithEncrypt adds the encrypt to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WithPropertyCode

WithPropertyCode adds the propertyCode to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WithTimeout

WithTimeout adds the timeout to the v2 available property images URL params

func (*V2AvailablePropertyImagesURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2AvailablePropertyImagesURLReader

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

V2AvailablePropertyImagesURLReader is a Reader for the V2AvailablePropertyImagesURL structure.

func (*V2AvailablePropertyImagesURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2PreviousAvailablePropertyOK

type V2PreviousAvailablePropertyOK struct {
	Payload *models.V2AvailablePropertyPrevious
}

V2PreviousAvailablePropertyOK handles this case with default header values.

Withdrawn or leased details of a previous 'Available Property'

func NewV2PreviousAvailablePropertyOK

func NewV2PreviousAvailablePropertyOK() *V2PreviousAvailablePropertyOK

NewV2PreviousAvailablePropertyOK creates a V2PreviousAvailablePropertyOK with default headers values

func (*V2PreviousAvailablePropertyOK) Error

func (*V2PreviousAvailablePropertyOK) GetPayload

type V2PreviousAvailablePropertyParams

type V2PreviousAvailablePropertyParams struct {

	/*PropertyCode
	  Internal 'Property Code'

	*/
	PropertyCode string

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

V2PreviousAvailablePropertyParams contains all the parameters to send to the API endpoint for the v2 previous available property operation typically these are written to a http.Request

func NewV2PreviousAvailablePropertyParams

func NewV2PreviousAvailablePropertyParams() *V2PreviousAvailablePropertyParams

NewV2PreviousAvailablePropertyParams creates a new V2PreviousAvailablePropertyParams object with the default values initialized.

func NewV2PreviousAvailablePropertyParamsWithContext

func NewV2PreviousAvailablePropertyParamsWithContext(ctx context.Context) *V2PreviousAvailablePropertyParams

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

func NewV2PreviousAvailablePropertyParamsWithHTTPClient

func NewV2PreviousAvailablePropertyParamsWithHTTPClient(client *http.Client) *V2PreviousAvailablePropertyParams

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

func NewV2PreviousAvailablePropertyParamsWithTimeout

func NewV2PreviousAvailablePropertyParamsWithTimeout(timeout time.Duration) *V2PreviousAvailablePropertyParams

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

func (*V2PreviousAvailablePropertyParams) SetContext

SetContext adds the context to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) SetPropertyCode

func (o *V2PreviousAvailablePropertyParams) SetPropertyCode(propertyCode string)

SetPropertyCode adds the propertyCode to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) SetTimeout

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

SetTimeout adds the timeout to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) WithContext

WithContext adds the context to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) WithPropertyCode

WithPropertyCode adds the propertyCode to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) WithTimeout

WithTimeout adds the timeout to the v2 previous available property params

func (*V2PreviousAvailablePropertyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2PreviousAvailablePropertyReader

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

V2PreviousAvailablePropertyReader is a Reader for the V2PreviousAvailableProperty structure.

func (*V2PreviousAvailablePropertyReader) ReadResponse

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