suscripciones

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: MIT 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 suscripciones API

func New

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

New creates a new suscripciones API client.

func (*Client) POSTSuscripciones

func (a *Client) POSTSuscripciones(params *POSTSuscripcionesParams, authInfo runtime.ClientAuthInfoWriter) (*POSTSuscripcionesOK, error)

POSTSuscripciones crears suscripción

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type POSTSuscripcionesBody

type POSTSuscripcionesBody struct {

	// apellido
	// Required: true
	Apellido *string `json:"apellido"`

	// ciudad
	// Required: true
	Ciudad *string `json:"ciudad"`

	// codigo pais
	// Required: true
	CodigoPais *string `json:"codigo_pais"`

	// correo electronico
	// Required: true
	CorreoElectronico *string `json:"correo_electronico"`

	// direccion
	// Required: true
	Direccion *string `json:"direccion"`

	// nombre
	// Required: true
	Nombre *string `json:"nombre"`

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// telefono
	// Required: true
	Telefono *int64 `json:"telefono"`

	// token
	// Required: true
	Token *string `json:"token"`

	// usuario
	// Required: true
	Usuario *string `json:"usuario"`
}

POSTSuscripcionesBody p o s t suscripciones body swagger:model POSTSuscripcionesBody

type POSTSuscripcionesOK

type POSTSuscripcionesOK struct {
	Payload POSTSuscripcionesOKBody
}

POSTSuscripcionesOK handles this case with default header values.

POSTSuscripcionesOK p o s t suscripciones o k

func NewPOSTSuscripcionesOK

func NewPOSTSuscripcionesOK() *POSTSuscripcionesOK

NewPOSTSuscripcionesOK creates a POSTSuscripcionesOK with default headers values

func (*POSTSuscripcionesOK) Error

func (o *POSTSuscripcionesOK) Error() string

type POSTSuscripcionesOKBody

type POSTSuscripcionesOKBody interface{}

POSTSuscripcionesOKBody p o s t suscripciones o k body swagger:model POSTSuscripcionesOKBody

type POSTSuscripcionesParams

type POSTSuscripcionesParams struct {

	/*Authorization*/
	Authorization string
	/*Body*/
	Body POSTSuscripcionesBody

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

POSTSuscripcionesParams contains all the parameters to send to the API endpoint for the p o s t suscripciones operation typically these are written to a http.Request

func NewPOSTSuscripcionesParams

func NewPOSTSuscripcionesParams() *POSTSuscripcionesParams

NewPOSTSuscripcionesParams creates a new POSTSuscripcionesParams object with the default values initialized.

func NewPOSTSuscripcionesParamsWithContext

func NewPOSTSuscripcionesParamsWithContext(ctx context.Context) *POSTSuscripcionesParams

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

func NewPOSTSuscripcionesParamsWithHTTPClient

func NewPOSTSuscripcionesParamsWithHTTPClient(client *http.Client) *POSTSuscripcionesParams

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

func NewPOSTSuscripcionesParamsWithTimeout

func NewPOSTSuscripcionesParamsWithTimeout(timeout time.Duration) *POSTSuscripcionesParams

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

func (*POSTSuscripcionesParams) SetAuthorization

func (o *POSTSuscripcionesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the p o s t suscripciones params

func (*POSTSuscripcionesParams) SetBody

SetBody adds the body to the p o s t suscripciones params

func (*POSTSuscripcionesParams) SetContext

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

SetContext adds the context to the p o s t suscripciones params

func (*POSTSuscripcionesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the p o s t suscripciones params

func (*POSTSuscripcionesParams) SetTimeout

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

SetTimeout adds the timeout to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WithAuthorization

func (o *POSTSuscripcionesParams) WithAuthorization(authorization string) *POSTSuscripcionesParams

WithAuthorization adds the authorization to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WithBody

WithBody adds the body to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WithContext

WithContext adds the context to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WithHTTPClient

func (o *POSTSuscripcionesParams) WithHTTPClient(client *http.Client) *POSTSuscripcionesParams

WithHTTPClient adds the HTTPClient to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WithTimeout

WithTimeout adds the timeout to the p o s t suscripciones params

func (*POSTSuscripcionesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type POSTSuscripcionesReader

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

POSTSuscripcionesReader is a Reader for the POSTSuscripciones structure.

func (*POSTSuscripcionesReader) ReadResponse

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