Documentation ¶
Index ¶
- type AttachmentsGetAttachmentBadRequest
- type AttachmentsGetAttachmentForbidden
- type AttachmentsGetAttachmentFound
- type AttachmentsGetAttachmentInfoBadRequest
- type AttachmentsGetAttachmentInfoForbidden
- type AttachmentsGetAttachmentInfoInternalServerError
- type AttachmentsGetAttachmentInfoNotFound
- type AttachmentsGetAttachmentInfoOK
- type AttachmentsGetAttachmentInfoParams
- func NewAttachmentsGetAttachmentInfoParams() *AttachmentsGetAttachmentInfoParams
- func NewAttachmentsGetAttachmentInfoParamsWithContext(ctx context.Context) *AttachmentsGetAttachmentInfoParams
- func NewAttachmentsGetAttachmentInfoParamsWithTimeout(timeout time.Duration) *AttachmentsGetAttachmentInfoParams
- func (o *AttachmentsGetAttachmentInfoParams) SetAttachmentID(attachmentID string)
- func (o *AttachmentsGetAttachmentInfoParams) SetContext(ctx context.Context)
- func (o *AttachmentsGetAttachmentInfoParams) SetTimeout(timeout time.Duration)
- func (o *AttachmentsGetAttachmentInfoParams) WithAttachmentID(attachmentID string) *AttachmentsGetAttachmentInfoParams
- func (o *AttachmentsGetAttachmentInfoParams) WithContext(ctx context.Context) *AttachmentsGetAttachmentInfoParams
- func (o *AttachmentsGetAttachmentInfoParams) WithTimeout(timeout time.Duration) *AttachmentsGetAttachmentInfoParams
- func (o *AttachmentsGetAttachmentInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachmentsGetAttachmentInfoReader
- type AttachmentsGetAttachmentInfoServiceUnavailable
- type AttachmentsGetAttachmentInfoUnauthorized
- type AttachmentsGetAttachmentInternalServerError
- type AttachmentsGetAttachmentMovedPermanently
- type AttachmentsGetAttachmentNotFound
- type AttachmentsGetAttachmentOK
- type AttachmentsGetAttachmentParams
- func (o *AttachmentsGetAttachmentParams) SetAttachmentID(attachmentID string)
- func (o *AttachmentsGetAttachmentParams) SetContext(ctx context.Context)
- func (o *AttachmentsGetAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *AttachmentsGetAttachmentParams) SetViewID(viewID string)
- func (o *AttachmentsGetAttachmentParams) WithAttachmentID(attachmentID string) *AttachmentsGetAttachmentParams
- func (o *AttachmentsGetAttachmentParams) WithContext(ctx context.Context) *AttachmentsGetAttachmentParams
- func (o *AttachmentsGetAttachmentParams) WithTimeout(timeout time.Duration) *AttachmentsGetAttachmentParams
- func (o *AttachmentsGetAttachmentParams) WithViewID(viewID string) *AttachmentsGetAttachmentParams
- func (o *AttachmentsGetAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachmentsGetAttachmentReader
- type AttachmentsGetAttachmentServiceUnavailable
- type AttachmentsGetAttachmentUnauthorized
- type Client
- func (a *Client) AttachmentsGetAttachment(params *AttachmentsGetAttachmentParams) (*AttachmentsGetAttachmentOK, error)
- func (a *Client) AttachmentsGetAttachmentInfo(params *AttachmentsGetAttachmentInfoParams) (*AttachmentsGetAttachmentInfoOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentsGetAttachmentBadRequest ¶
type AttachmentsGetAttachmentBadRequest struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentBadRequest handles this case with default header values.
The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.
func NewAttachmentsGetAttachmentBadRequest ¶
func NewAttachmentsGetAttachmentBadRequest() *AttachmentsGetAttachmentBadRequest
NewAttachmentsGetAttachmentBadRequest creates a AttachmentsGetAttachmentBadRequest with default headers values
func (*AttachmentsGetAttachmentBadRequest) Error ¶
func (o *AttachmentsGetAttachmentBadRequest) Error() string
type AttachmentsGetAttachmentForbidden ¶
type AttachmentsGetAttachmentForbidden struct { }
AttachmentsGetAttachmentForbidden handles this case with default header values.
The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource.
func NewAttachmentsGetAttachmentForbidden ¶
func NewAttachmentsGetAttachmentForbidden() *AttachmentsGetAttachmentForbidden
NewAttachmentsGetAttachmentForbidden creates a AttachmentsGetAttachmentForbidden with default headers values
func (*AttachmentsGetAttachmentForbidden) Error ¶
func (o *AttachmentsGetAttachmentForbidden) Error() string
type AttachmentsGetAttachmentFound ¶
type AttachmentsGetAttachmentFound struct { }
AttachmentsGetAttachmentFound handles this case with default header values.
The Location header describes where the content is now.
func NewAttachmentsGetAttachmentFound ¶
func NewAttachmentsGetAttachmentFound() *AttachmentsGetAttachmentFound
NewAttachmentsGetAttachmentFound creates a AttachmentsGetAttachmentFound with default headers values
func (*AttachmentsGetAttachmentFound) Error ¶
func (o *AttachmentsGetAttachmentFound) Error() string
type AttachmentsGetAttachmentInfoBadRequest ¶
type AttachmentsGetAttachmentInfoBadRequest struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentInfoBadRequest handles this case with default header values.
The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.
func NewAttachmentsGetAttachmentInfoBadRequest ¶
func NewAttachmentsGetAttachmentInfoBadRequest() *AttachmentsGetAttachmentInfoBadRequest
NewAttachmentsGetAttachmentInfoBadRequest creates a AttachmentsGetAttachmentInfoBadRequest with default headers values
func (*AttachmentsGetAttachmentInfoBadRequest) Error ¶
func (o *AttachmentsGetAttachmentInfoBadRequest) Error() string
type AttachmentsGetAttachmentInfoForbidden ¶
type AttachmentsGetAttachmentInfoForbidden struct { }
AttachmentsGetAttachmentInfoForbidden handles this case with default header values.
The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource.
func NewAttachmentsGetAttachmentInfoForbidden ¶
func NewAttachmentsGetAttachmentInfoForbidden() *AttachmentsGetAttachmentInfoForbidden
NewAttachmentsGetAttachmentInfoForbidden creates a AttachmentsGetAttachmentInfoForbidden with default headers values
func (*AttachmentsGetAttachmentInfoForbidden) Error ¶
func (o *AttachmentsGetAttachmentInfoForbidden) Error() string
type AttachmentsGetAttachmentInfoInternalServerError ¶
type AttachmentsGetAttachmentInfoInternalServerError struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentInfoInternalServerError handles this case with default header values.
An internal server has occurred. Inspect the message for a more detailed description.
func NewAttachmentsGetAttachmentInfoInternalServerError ¶
func NewAttachmentsGetAttachmentInfoInternalServerError() *AttachmentsGetAttachmentInfoInternalServerError
NewAttachmentsGetAttachmentInfoInternalServerError creates a AttachmentsGetAttachmentInfoInternalServerError with default headers values
func (*AttachmentsGetAttachmentInfoInternalServerError) Error ¶
func (o *AttachmentsGetAttachmentInfoInternalServerError) Error() string
type AttachmentsGetAttachmentInfoNotFound ¶
type AttachmentsGetAttachmentInfoNotFound struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentInfoNotFound handles this case with default header values.
The resource was not found.
func NewAttachmentsGetAttachmentInfoNotFound ¶
func NewAttachmentsGetAttachmentInfoNotFound() *AttachmentsGetAttachmentInfoNotFound
NewAttachmentsGetAttachmentInfoNotFound creates a AttachmentsGetAttachmentInfoNotFound with default headers values
func (*AttachmentsGetAttachmentInfoNotFound) Error ¶
func (o *AttachmentsGetAttachmentInfoNotFound) Error() string
type AttachmentsGetAttachmentInfoOK ¶
type AttachmentsGetAttachmentInfoOK struct {
Payload *models.AttachmentInfo
}
AttachmentsGetAttachmentInfoOK handles this case with default header values.
An attachmentInfo object is returned which describes the: * type of the attachment * name of the attachment
and an array of views: * Size - size of the object * ViewId - View Id which can be used to fetch a variation on the content (ex: original or thumbnail)
func NewAttachmentsGetAttachmentInfoOK ¶
func NewAttachmentsGetAttachmentInfoOK() *AttachmentsGetAttachmentInfoOK
NewAttachmentsGetAttachmentInfoOK creates a AttachmentsGetAttachmentInfoOK with default headers values
func (*AttachmentsGetAttachmentInfoOK) Error ¶
func (o *AttachmentsGetAttachmentInfoOK) Error() string
type AttachmentsGetAttachmentInfoParams ¶
type AttachmentsGetAttachmentInfoParams struct { /*AttachmentID attachment id */ AttachmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachmentsGetAttachmentInfoParams contains all the parameters to send to the API endpoint for the attachments get attachment info operation typically these are written to a http.Request
func NewAttachmentsGetAttachmentInfoParams ¶
func NewAttachmentsGetAttachmentInfoParams() *AttachmentsGetAttachmentInfoParams
NewAttachmentsGetAttachmentInfoParams creates a new AttachmentsGetAttachmentInfoParams object with the default values initialized.
func NewAttachmentsGetAttachmentInfoParamsWithContext ¶
func NewAttachmentsGetAttachmentInfoParamsWithContext(ctx context.Context) *AttachmentsGetAttachmentInfoParams
NewAttachmentsGetAttachmentInfoParamsWithContext creates a new AttachmentsGetAttachmentInfoParams object with the default values initialized, and the ability to set a context for a request
func NewAttachmentsGetAttachmentInfoParamsWithTimeout ¶
func NewAttachmentsGetAttachmentInfoParamsWithTimeout(timeout time.Duration) *AttachmentsGetAttachmentInfoParams
NewAttachmentsGetAttachmentInfoParamsWithTimeout creates a new AttachmentsGetAttachmentInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*AttachmentsGetAttachmentInfoParams) SetAttachmentID ¶
func (o *AttachmentsGetAttachmentInfoParams) SetAttachmentID(attachmentID string)
SetAttachmentID adds the attachmentId to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) SetContext ¶
func (o *AttachmentsGetAttachmentInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) SetTimeout ¶
func (o *AttachmentsGetAttachmentInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) WithAttachmentID ¶
func (o *AttachmentsGetAttachmentInfoParams) WithAttachmentID(attachmentID string) *AttachmentsGetAttachmentInfoParams
WithAttachmentID adds the attachmentID to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) WithContext ¶
func (o *AttachmentsGetAttachmentInfoParams) WithContext(ctx context.Context) *AttachmentsGetAttachmentInfoParams
WithContext adds the context to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) WithTimeout ¶
func (o *AttachmentsGetAttachmentInfoParams) WithTimeout(timeout time.Duration) *AttachmentsGetAttachmentInfoParams
WithTimeout adds the timeout to the attachments get attachment info params
func (*AttachmentsGetAttachmentInfoParams) WriteToRequest ¶
func (o *AttachmentsGetAttachmentInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachmentsGetAttachmentInfoReader ¶
type AttachmentsGetAttachmentInfoReader struct {
// contains filtered or unexported fields
}
AttachmentsGetAttachmentInfoReader is a Reader for the AttachmentsGetAttachmentInfo structure.
func (*AttachmentsGetAttachmentInfoReader) ReadResponse ¶
func (o *AttachmentsGetAttachmentInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachmentsGetAttachmentInfoServiceUnavailable ¶
type AttachmentsGetAttachmentInfoServiceUnavailable struct {
}AttachmentsGetAttachmentInfoServiceUnavailable handles this case with default header values.
The service you are trying to communciate with is unavailable.
func NewAttachmentsGetAttachmentInfoServiceUnavailable ¶
func NewAttachmentsGetAttachmentInfoServiceUnavailable() *AttachmentsGetAttachmentInfoServiceUnavailable
NewAttachmentsGetAttachmentInfoServiceUnavailable creates a AttachmentsGetAttachmentInfoServiceUnavailable with default headers values
func (*AttachmentsGetAttachmentInfoServiceUnavailable) Error ¶
func (o *AttachmentsGetAttachmentInfoServiceUnavailable) Error() string
type AttachmentsGetAttachmentInfoUnauthorized ¶
type AttachmentsGetAttachmentInfoUnauthorized struct { }
AttachmentsGetAttachmentInfoUnauthorized handles this case with default header values.
The bot is not authorized to make this request. Please check your Microsoft App ID and Microsoft App password.
func NewAttachmentsGetAttachmentInfoUnauthorized ¶
func NewAttachmentsGetAttachmentInfoUnauthorized() *AttachmentsGetAttachmentInfoUnauthorized
NewAttachmentsGetAttachmentInfoUnauthorized creates a AttachmentsGetAttachmentInfoUnauthorized with default headers values
func (*AttachmentsGetAttachmentInfoUnauthorized) Error ¶
func (o *AttachmentsGetAttachmentInfoUnauthorized) Error() string
type AttachmentsGetAttachmentInternalServerError ¶
type AttachmentsGetAttachmentInternalServerError struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentInternalServerError handles this case with default header values.
An internal server has occurred. Inspect the message for a more detailed description.
func NewAttachmentsGetAttachmentInternalServerError ¶
func NewAttachmentsGetAttachmentInternalServerError() *AttachmentsGetAttachmentInternalServerError
NewAttachmentsGetAttachmentInternalServerError creates a AttachmentsGetAttachmentInternalServerError with default headers values
func (*AttachmentsGetAttachmentInternalServerError) Error ¶
func (o *AttachmentsGetAttachmentInternalServerError) Error() string
type AttachmentsGetAttachmentMovedPermanently ¶
type AttachmentsGetAttachmentMovedPermanently struct { }
AttachmentsGetAttachmentMovedPermanently handles this case with default header values.
The Location header describes where the content is now.
func NewAttachmentsGetAttachmentMovedPermanently ¶
func NewAttachmentsGetAttachmentMovedPermanently() *AttachmentsGetAttachmentMovedPermanently
NewAttachmentsGetAttachmentMovedPermanently creates a AttachmentsGetAttachmentMovedPermanently with default headers values
func (*AttachmentsGetAttachmentMovedPermanently) Error ¶
func (o *AttachmentsGetAttachmentMovedPermanently) Error() string
type AttachmentsGetAttachmentNotFound ¶
type AttachmentsGetAttachmentNotFound struct {
Payload *models.ErrorResponse
}
AttachmentsGetAttachmentNotFound handles this case with default header values.
The resource was not found.
func NewAttachmentsGetAttachmentNotFound ¶
func NewAttachmentsGetAttachmentNotFound() *AttachmentsGetAttachmentNotFound
NewAttachmentsGetAttachmentNotFound creates a AttachmentsGetAttachmentNotFound with default headers values
func (*AttachmentsGetAttachmentNotFound) Error ¶
func (o *AttachmentsGetAttachmentNotFound) Error() string
type AttachmentsGetAttachmentOK ¶
AttachmentsGetAttachmentOK handles this case with default header values.
An array of bytes which represent the content.
func NewAttachmentsGetAttachmentOK ¶
func NewAttachmentsGetAttachmentOK() *AttachmentsGetAttachmentOK
NewAttachmentsGetAttachmentOK creates a AttachmentsGetAttachmentOK with default headers values
func (*AttachmentsGetAttachmentOK) Error ¶
func (o *AttachmentsGetAttachmentOK) Error() string
type AttachmentsGetAttachmentParams ¶
type AttachmentsGetAttachmentParams struct { /*AttachmentID attachment id */ AttachmentID string /*ViewID View id from attachmentInfo */ ViewID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachmentsGetAttachmentParams contains all the parameters to send to the API endpoint for the attachments get attachment operation typically these are written to a http.Request
func NewAttachmentsGetAttachmentParams ¶
func NewAttachmentsGetAttachmentParams() *AttachmentsGetAttachmentParams
NewAttachmentsGetAttachmentParams creates a new AttachmentsGetAttachmentParams object with the default values initialized.
func NewAttachmentsGetAttachmentParamsWithContext ¶
func NewAttachmentsGetAttachmentParamsWithContext(ctx context.Context) *AttachmentsGetAttachmentParams
NewAttachmentsGetAttachmentParamsWithContext creates a new AttachmentsGetAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewAttachmentsGetAttachmentParamsWithTimeout ¶
func NewAttachmentsGetAttachmentParamsWithTimeout(timeout time.Duration) *AttachmentsGetAttachmentParams
NewAttachmentsGetAttachmentParamsWithTimeout creates a new AttachmentsGetAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*AttachmentsGetAttachmentParams) SetAttachmentID ¶
func (o *AttachmentsGetAttachmentParams) SetAttachmentID(attachmentID string)
SetAttachmentID adds the attachmentId to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) SetContext ¶
func (o *AttachmentsGetAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) SetTimeout ¶
func (o *AttachmentsGetAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) SetViewID ¶
func (o *AttachmentsGetAttachmentParams) SetViewID(viewID string)
SetViewID adds the viewId to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) WithAttachmentID ¶
func (o *AttachmentsGetAttachmentParams) WithAttachmentID(attachmentID string) *AttachmentsGetAttachmentParams
WithAttachmentID adds the attachmentID to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) WithContext ¶
func (o *AttachmentsGetAttachmentParams) WithContext(ctx context.Context) *AttachmentsGetAttachmentParams
WithContext adds the context to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) WithTimeout ¶
func (o *AttachmentsGetAttachmentParams) WithTimeout(timeout time.Duration) *AttachmentsGetAttachmentParams
WithTimeout adds the timeout to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) WithViewID ¶
func (o *AttachmentsGetAttachmentParams) WithViewID(viewID string) *AttachmentsGetAttachmentParams
WithViewID adds the viewID to the attachments get attachment params
func (*AttachmentsGetAttachmentParams) WriteToRequest ¶
func (o *AttachmentsGetAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachmentsGetAttachmentReader ¶
type AttachmentsGetAttachmentReader struct {
// contains filtered or unexported fields
}
AttachmentsGetAttachmentReader is a Reader for the AttachmentsGetAttachment structure.
func (*AttachmentsGetAttachmentReader) ReadResponse ¶
func (o *AttachmentsGetAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachmentsGetAttachmentServiceUnavailable ¶
type AttachmentsGetAttachmentServiceUnavailable struct {
}AttachmentsGetAttachmentServiceUnavailable handles this case with default header values.
The service you are trying to communciate with is unavailable.
func NewAttachmentsGetAttachmentServiceUnavailable ¶
func NewAttachmentsGetAttachmentServiceUnavailable() *AttachmentsGetAttachmentServiceUnavailable
NewAttachmentsGetAttachmentServiceUnavailable creates a AttachmentsGetAttachmentServiceUnavailable with default headers values
func (*AttachmentsGetAttachmentServiceUnavailable) Error ¶
func (o *AttachmentsGetAttachmentServiceUnavailable) Error() string
type AttachmentsGetAttachmentUnauthorized ¶
type AttachmentsGetAttachmentUnauthorized struct { }
AttachmentsGetAttachmentUnauthorized handles this case with default header values.
The bot is not authorized to make this request. Please check your Microsoft App ID and Microsoft App password.
func NewAttachmentsGetAttachmentUnauthorized ¶
func NewAttachmentsGetAttachmentUnauthorized() *AttachmentsGetAttachmentUnauthorized
NewAttachmentsGetAttachmentUnauthorized creates a AttachmentsGetAttachmentUnauthorized with default headers values
func (*AttachmentsGetAttachmentUnauthorized) Error ¶
func (o *AttachmentsGetAttachmentUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for attachments API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new attachments API client.
func (*Client) AttachmentsGetAttachment ¶
func (a *Client) AttachmentsGetAttachment(params *AttachmentsGetAttachmentParams) (*AttachmentsGetAttachmentOK, error)
AttachmentsGetAttachment gets attachment
Get the named view as binary content
func (*Client) AttachmentsGetAttachmentInfo ¶
func (a *Client) AttachmentsGetAttachmentInfo(params *AttachmentsGetAttachmentInfoParams) (*AttachmentsGetAttachmentInfoOK, error)
AttachmentsGetAttachmentInfo gets attachment info
Get AttachmentInfo structure describing the attachment views
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client