conversations

package
v0.9.0-pre2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 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 conversations API

func New

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

New creates a new conversations API client.

func (*Client) ConversationsCreateConversation

ConversationsCreateConversation creates conversation

Create a new Conversation.

POST to this method with a * Bot being the bot creating the conversation * IsGroup set to true if this is not a direct message (default is false) * Members array contining the members you want to have be in the conversation.

The return value is a ResourceResponse which contains a conversation id which is suitable for use in the message payload and REST API uris.

Most channels only support the semantics of bots initiating a direct message conversation. An example of how to do that would be:

``` var resource = await connector.conversations.CreateConversation(new ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new ChannelAccount("user1") } ); await connect.Conversations.SendToConversationAsync(resource.Id, new Activity() ... ) ;

```

func (*Client) ConversationsDeleteActivity

ConversationsDeleteActivity deletes activity

Delete an existing activity.

Some channels allow you to delete an existing activity, and if successful this method will remove the specified activity.

func (*Client) ConversationsGetActivityMembers

func (a *Client) ConversationsGetActivityMembers(params *ConversationsGetActivityMembersParams) (*ConversationsGetActivityMembersOK, error)

ConversationsGetActivityMembers gets activity members

Enumerate the members of an activity.

This REST API takes a ConversationId and a ActivityId, returning an array of ChannelAccount objects representing the members of the particular activity in the conversation.

func (*Client) ConversationsGetConversationMembers

func (a *Client) ConversationsGetConversationMembers(params *ConversationsGetConversationMembersParams) (*ConversationsGetConversationMembersOK, error)

ConversationsGetConversationMembers gets conversation members

Enumerate the members of a converstion.

This REST API takes a ConversationId and returns an array of ChannelAccount objects representing the members of the conversation.

func (*Client) ConversationsReplyToActivity

ConversationsReplyToActivity replies to activity

This method allows you to reply to an activity.

This is slightly different from SendToConversation(). * SendToConverstion(conversationId) - will append the activity to the end of the conversation according to the timestamp or semantics of the channel. * ReplyToActivity(conversationId,ActivityId) - adds the activity as a reply to another activity, if the channel supports it. If the channel does not support nested replies, ReplyToActivity falls back to SendToConversation.

Use ReplyToActivity when replying to a specific activity in the conversation.

Use SendToConversation in all other cases.

func (*Client) ConversationsSendToConversation

ConversationsSendToConversation sends to conversation

This method allows you to send an activity to the end of a conversation.

This is slightly different from ReplyToActivity(). * SendToConverstion(conversationId) - will append the activity to the end of the conversation according to the timestamp or semantics of the channel. * ReplyToActivity(conversationId,ActivityId) - adds the activity as a reply to another activity, if the channel supports it. If the channel does not support nested replies, ReplyToActivity falls back to SendToConversation.

Use ReplyToActivity when replying to a specific activity in the conversation.

Use SendToConversation in all other cases.

func (*Client) ConversationsUpdateActivity

ConversationsUpdateActivity updates activity

Edit an existing activity.

Some channels allow you to edit an existing activity to reflect the new state of a bot conversation.

For example, you can remove buttons after someone has clicked "Approve" button.

func (*Client) ConversationsUploadAttachment

ConversationsUploadAttachment uploads attachment

Upload an attachment directly into a channel's blob storage.

This is useful because it allows you to store data in a compliant store when dealing with enterprises.

The response is a ResourceResponse which contains an AttachmentId which is suitable for using with the attachments API.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ConversationsCreateConversationAccepted

type ConversationsCreateConversationAccepted struct {
	Payload *models.ConversationResourceResponse
}

ConversationsCreateConversationAccepted handles this case with default header values.

ConversationsCreateConversationAccepted conversations create conversation accepted

func NewConversationsCreateConversationAccepted

func NewConversationsCreateConversationAccepted() *ConversationsCreateConversationAccepted

NewConversationsCreateConversationAccepted creates a ConversationsCreateConversationAccepted with default headers values

func (*ConversationsCreateConversationAccepted) Error

type ConversationsCreateConversationBadRequest

type ConversationsCreateConversationBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsCreateConversationBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsCreateConversationBadRequest

func NewConversationsCreateConversationBadRequest() *ConversationsCreateConversationBadRequest

NewConversationsCreateConversationBadRequest creates a ConversationsCreateConversationBadRequest with default headers values

func (*ConversationsCreateConversationBadRequest) Error

type ConversationsCreateConversationCreated

type ConversationsCreateConversationCreated struct {
	Payload *models.ConversationResourceResponse
}

ConversationsCreateConversationCreated handles this case with default header values.

ConversationsCreateConversationCreated conversations create conversation created

func NewConversationsCreateConversationCreated

func NewConversationsCreateConversationCreated() *ConversationsCreateConversationCreated

NewConversationsCreateConversationCreated creates a ConversationsCreateConversationCreated with default headers values

func (*ConversationsCreateConversationCreated) Error

type ConversationsCreateConversationForbidden

type ConversationsCreateConversationForbidden struct {
}

ConversationsCreateConversationForbidden 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 NewConversationsCreateConversationForbidden

func NewConversationsCreateConversationForbidden() *ConversationsCreateConversationForbidden

NewConversationsCreateConversationForbidden creates a ConversationsCreateConversationForbidden with default headers values

func (*ConversationsCreateConversationForbidden) Error

type ConversationsCreateConversationInternalServerError

type ConversationsCreateConversationInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsCreateConversationInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsCreateConversationInternalServerError

func NewConversationsCreateConversationInternalServerError() *ConversationsCreateConversationInternalServerError

NewConversationsCreateConversationInternalServerError creates a ConversationsCreateConversationInternalServerError with default headers values

func (*ConversationsCreateConversationInternalServerError) Error

type ConversationsCreateConversationMethodNotAllowed

type ConversationsCreateConversationMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsCreateConversationMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsCreateConversationMethodNotAllowed

func NewConversationsCreateConversationMethodNotAllowed() *ConversationsCreateConversationMethodNotAllowed

NewConversationsCreateConversationMethodNotAllowed creates a ConversationsCreateConversationMethodNotAllowed with default headers values

func (*ConversationsCreateConversationMethodNotAllowed) Error

type ConversationsCreateConversationNotFound

type ConversationsCreateConversationNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsCreateConversationNotFound handles this case with default header values.

The resource was not found.

func NewConversationsCreateConversationNotFound

func NewConversationsCreateConversationNotFound() *ConversationsCreateConversationNotFound

NewConversationsCreateConversationNotFound creates a ConversationsCreateConversationNotFound with default headers values

func (*ConversationsCreateConversationNotFound) Error

type ConversationsCreateConversationOK

type ConversationsCreateConversationOK struct {
	Payload *models.ConversationResourceResponse
}

ConversationsCreateConversationOK handles this case with default header values.

ConversationsCreateConversationOK conversations create conversation o k

func NewConversationsCreateConversationOK

func NewConversationsCreateConversationOK() *ConversationsCreateConversationOK

NewConversationsCreateConversationOK creates a ConversationsCreateConversationOK with default headers values

func (*ConversationsCreateConversationOK) Error

type ConversationsCreateConversationParams

type ConversationsCreateConversationParams struct {

	/*Parameters
	  Parameters to create the conversation from

	*/
	Parameters *models.ConversationParameters

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

ConversationsCreateConversationParams contains all the parameters to send to the API endpoint for the conversations create conversation operation typically these are written to a http.Request

func NewConversationsCreateConversationParams

func NewConversationsCreateConversationParams() *ConversationsCreateConversationParams

NewConversationsCreateConversationParams creates a new ConversationsCreateConversationParams object with the default values initialized.

func NewConversationsCreateConversationParamsWithContext

func NewConversationsCreateConversationParamsWithContext(ctx context.Context) *ConversationsCreateConversationParams

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

func NewConversationsCreateConversationParamsWithTimeout

func NewConversationsCreateConversationParamsWithTimeout(timeout time.Duration) *ConversationsCreateConversationParams

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

func (*ConversationsCreateConversationParams) SetContext

SetContext adds the context to the conversations create conversation params

func (*ConversationsCreateConversationParams) SetParameters

SetParameters adds the parameters to the conversations create conversation params

func (*ConversationsCreateConversationParams) SetTimeout

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

SetTimeout adds the timeout to the conversations create conversation params

func (*ConversationsCreateConversationParams) WithContext

WithContext adds the context to the conversations create conversation params

func (*ConversationsCreateConversationParams) WithParameters

WithParameters adds the parameters to the conversations create conversation params

func (*ConversationsCreateConversationParams) WithTimeout

WithTimeout adds the timeout to the conversations create conversation params

func (*ConversationsCreateConversationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsCreateConversationReader

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

ConversationsCreateConversationReader is a Reader for the ConversationsCreateConversation structure.

func (*ConversationsCreateConversationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsCreateConversationServiceUnavailable

type ConversationsCreateConversationServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsCreateConversationServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsCreateConversationServiceUnavailable

func NewConversationsCreateConversationServiceUnavailable() *ConversationsCreateConversationServiceUnavailable

NewConversationsCreateConversationServiceUnavailable creates a ConversationsCreateConversationServiceUnavailable with default headers values

func (*ConversationsCreateConversationServiceUnavailable) Error

type ConversationsCreateConversationUnauthorized

type ConversationsCreateConversationUnauthorized struct {
}

ConversationsCreateConversationUnauthorized 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 NewConversationsCreateConversationUnauthorized

func NewConversationsCreateConversationUnauthorized() *ConversationsCreateConversationUnauthorized

NewConversationsCreateConversationUnauthorized creates a ConversationsCreateConversationUnauthorized with default headers values

func (*ConversationsCreateConversationUnauthorized) Error

type ConversationsDeleteActivityAccepted

type ConversationsDeleteActivityAccepted struct {
}

ConversationsDeleteActivityAccepted handles this case with default header values.

The request has been accepted for processing, but the processing has not been completed

func NewConversationsDeleteActivityAccepted

func NewConversationsDeleteActivityAccepted() *ConversationsDeleteActivityAccepted

NewConversationsDeleteActivityAccepted creates a ConversationsDeleteActivityAccepted with default headers values

func (*ConversationsDeleteActivityAccepted) Error

type ConversationsDeleteActivityBadRequest

type ConversationsDeleteActivityBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsDeleteActivityBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsDeleteActivityBadRequest

func NewConversationsDeleteActivityBadRequest() *ConversationsDeleteActivityBadRequest

NewConversationsDeleteActivityBadRequest creates a ConversationsDeleteActivityBadRequest with default headers values

func (*ConversationsDeleteActivityBadRequest) Error

type ConversationsDeleteActivityForbidden

type ConversationsDeleteActivityForbidden struct {
}

ConversationsDeleteActivityForbidden 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 NewConversationsDeleteActivityForbidden

func NewConversationsDeleteActivityForbidden() *ConversationsDeleteActivityForbidden

NewConversationsDeleteActivityForbidden creates a ConversationsDeleteActivityForbidden with default headers values

func (*ConversationsDeleteActivityForbidden) Error

type ConversationsDeleteActivityInternalServerError

type ConversationsDeleteActivityInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsDeleteActivityInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsDeleteActivityInternalServerError

func NewConversationsDeleteActivityInternalServerError() *ConversationsDeleteActivityInternalServerError

NewConversationsDeleteActivityInternalServerError creates a ConversationsDeleteActivityInternalServerError with default headers values

func (*ConversationsDeleteActivityInternalServerError) Error

type ConversationsDeleteActivityMethodNotAllowed

type ConversationsDeleteActivityMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsDeleteActivityMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsDeleteActivityMethodNotAllowed

func NewConversationsDeleteActivityMethodNotAllowed() *ConversationsDeleteActivityMethodNotAllowed

NewConversationsDeleteActivityMethodNotAllowed creates a ConversationsDeleteActivityMethodNotAllowed with default headers values

func (*ConversationsDeleteActivityMethodNotAllowed) Error

type ConversationsDeleteActivityNotFound

type ConversationsDeleteActivityNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsDeleteActivityNotFound handles this case with default header values.

The resource was not found.

func NewConversationsDeleteActivityNotFound

func NewConversationsDeleteActivityNotFound() *ConversationsDeleteActivityNotFound

NewConversationsDeleteActivityNotFound creates a ConversationsDeleteActivityNotFound with default headers values

func (*ConversationsDeleteActivityNotFound) Error

type ConversationsDeleteActivityOK

type ConversationsDeleteActivityOK struct {
}

ConversationsDeleteActivityOK handles this case with default header values.

The operation succeeded, there is no response.

func NewConversationsDeleteActivityOK

func NewConversationsDeleteActivityOK() *ConversationsDeleteActivityOK

NewConversationsDeleteActivityOK creates a ConversationsDeleteActivityOK with default headers values

func (*ConversationsDeleteActivityOK) Error

type ConversationsDeleteActivityParams

type ConversationsDeleteActivityParams struct {

	/*ActivityID
	  activityId to delete

	*/
	ActivityID string
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsDeleteActivityParams contains all the parameters to send to the API endpoint for the conversations delete activity operation typically these are written to a http.Request

func NewConversationsDeleteActivityParams

func NewConversationsDeleteActivityParams() *ConversationsDeleteActivityParams

NewConversationsDeleteActivityParams creates a new ConversationsDeleteActivityParams object with the default values initialized.

func NewConversationsDeleteActivityParamsWithContext

func NewConversationsDeleteActivityParamsWithContext(ctx context.Context) *ConversationsDeleteActivityParams

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

func NewConversationsDeleteActivityParamsWithTimeout

func NewConversationsDeleteActivityParamsWithTimeout(timeout time.Duration) *ConversationsDeleteActivityParams

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

func (*ConversationsDeleteActivityParams) SetActivityID

func (o *ConversationsDeleteActivityParams) SetActivityID(activityID string)

SetActivityID adds the activityId to the conversations delete activity params

func (*ConversationsDeleteActivityParams) SetContext

SetContext adds the context to the conversations delete activity params

func (*ConversationsDeleteActivityParams) SetConversationID

func (o *ConversationsDeleteActivityParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations delete activity params

func (*ConversationsDeleteActivityParams) SetTimeout

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

SetTimeout adds the timeout to the conversations delete activity params

func (*ConversationsDeleteActivityParams) WithActivityID

WithActivityID adds the activityID to the conversations delete activity params

func (*ConversationsDeleteActivityParams) WithContext

WithContext adds the context to the conversations delete activity params

func (*ConversationsDeleteActivityParams) WithConversationID

func (o *ConversationsDeleteActivityParams) WithConversationID(conversationID string) *ConversationsDeleteActivityParams

WithConversationID adds the conversationID to the conversations delete activity params

func (*ConversationsDeleteActivityParams) WithTimeout

WithTimeout adds the timeout to the conversations delete activity params

func (*ConversationsDeleteActivityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsDeleteActivityReader

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

ConversationsDeleteActivityReader is a Reader for the ConversationsDeleteActivity structure.

func (*ConversationsDeleteActivityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsDeleteActivityServiceUnavailable

type ConversationsDeleteActivityServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsDeleteActivityServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsDeleteActivityServiceUnavailable

func NewConversationsDeleteActivityServiceUnavailable() *ConversationsDeleteActivityServiceUnavailable

NewConversationsDeleteActivityServiceUnavailable creates a ConversationsDeleteActivityServiceUnavailable with default headers values

func (*ConversationsDeleteActivityServiceUnavailable) Error

type ConversationsDeleteActivityUnauthorized

type ConversationsDeleteActivityUnauthorized struct {
}

ConversationsDeleteActivityUnauthorized 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 NewConversationsDeleteActivityUnauthorized

func NewConversationsDeleteActivityUnauthorized() *ConversationsDeleteActivityUnauthorized

NewConversationsDeleteActivityUnauthorized creates a ConversationsDeleteActivityUnauthorized with default headers values

func (*ConversationsDeleteActivityUnauthorized) Error

type ConversationsGetActivityMembersBadRequest

type ConversationsGetActivityMembersBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsGetActivityMembersBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsGetActivityMembersBadRequest

func NewConversationsGetActivityMembersBadRequest() *ConversationsGetActivityMembersBadRequest

NewConversationsGetActivityMembersBadRequest creates a ConversationsGetActivityMembersBadRequest with default headers values

func (*ConversationsGetActivityMembersBadRequest) Error

type ConversationsGetActivityMembersForbidden

type ConversationsGetActivityMembersForbidden struct {
}

ConversationsGetActivityMembersForbidden 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 NewConversationsGetActivityMembersForbidden

func NewConversationsGetActivityMembersForbidden() *ConversationsGetActivityMembersForbidden

NewConversationsGetActivityMembersForbidden creates a ConversationsGetActivityMembersForbidden with default headers values

func (*ConversationsGetActivityMembersForbidden) Error

type ConversationsGetActivityMembersInternalServerError

type ConversationsGetActivityMembersInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsGetActivityMembersInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsGetActivityMembersInternalServerError

func NewConversationsGetActivityMembersInternalServerError() *ConversationsGetActivityMembersInternalServerError

NewConversationsGetActivityMembersInternalServerError creates a ConversationsGetActivityMembersInternalServerError with default headers values

func (*ConversationsGetActivityMembersInternalServerError) Error

type ConversationsGetActivityMembersMethodNotAllowed

type ConversationsGetActivityMembersMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsGetActivityMembersMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsGetActivityMembersMethodNotAllowed

func NewConversationsGetActivityMembersMethodNotAllowed() *ConversationsGetActivityMembersMethodNotAllowed

NewConversationsGetActivityMembersMethodNotAllowed creates a ConversationsGetActivityMembersMethodNotAllowed with default headers values

func (*ConversationsGetActivityMembersMethodNotAllowed) Error

type ConversationsGetActivityMembersNotFound

type ConversationsGetActivityMembersNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsGetActivityMembersNotFound handles this case with default header values.

The resource was not found.

func NewConversationsGetActivityMembersNotFound

func NewConversationsGetActivityMembersNotFound() *ConversationsGetActivityMembersNotFound

NewConversationsGetActivityMembersNotFound creates a ConversationsGetActivityMembersNotFound with default headers values

func (*ConversationsGetActivityMembersNotFound) Error

type ConversationsGetActivityMembersOK

type ConversationsGetActivityMembersOK struct {
	Payload []*models.ChannelAccount
}

ConversationsGetActivityMembersOK handles this case with default header values.

An array of ChannelAccount objects

func NewConversationsGetActivityMembersOK

func NewConversationsGetActivityMembersOK() *ConversationsGetActivityMembersOK

NewConversationsGetActivityMembersOK creates a ConversationsGetActivityMembersOK with default headers values

func (*ConversationsGetActivityMembersOK) Error

type ConversationsGetActivityMembersParams

type ConversationsGetActivityMembersParams struct {

	/*ActivityID
	  Activity ID

	*/
	ActivityID string
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsGetActivityMembersParams contains all the parameters to send to the API endpoint for the conversations get activity members operation typically these are written to a http.Request

func NewConversationsGetActivityMembersParams

func NewConversationsGetActivityMembersParams() *ConversationsGetActivityMembersParams

NewConversationsGetActivityMembersParams creates a new ConversationsGetActivityMembersParams object with the default values initialized.

func NewConversationsGetActivityMembersParamsWithContext

func NewConversationsGetActivityMembersParamsWithContext(ctx context.Context) *ConversationsGetActivityMembersParams

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

func NewConversationsGetActivityMembersParamsWithTimeout

func NewConversationsGetActivityMembersParamsWithTimeout(timeout time.Duration) *ConversationsGetActivityMembersParams

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

func (*ConversationsGetActivityMembersParams) SetActivityID

func (o *ConversationsGetActivityMembersParams) SetActivityID(activityID string)

SetActivityID adds the activityId to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) SetContext

SetContext adds the context to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) SetConversationID

func (o *ConversationsGetActivityMembersParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) SetTimeout

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

SetTimeout adds the timeout to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) WithActivityID

WithActivityID adds the activityID to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) WithContext

WithContext adds the context to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) WithConversationID

WithConversationID adds the conversationID to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) WithTimeout

WithTimeout adds the timeout to the conversations get activity members params

func (*ConversationsGetActivityMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsGetActivityMembersReader

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

ConversationsGetActivityMembersReader is a Reader for the ConversationsGetActivityMembers structure.

func (*ConversationsGetActivityMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsGetActivityMembersServiceUnavailable

type ConversationsGetActivityMembersServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsGetActivityMembersServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsGetActivityMembersServiceUnavailable

func NewConversationsGetActivityMembersServiceUnavailable() *ConversationsGetActivityMembersServiceUnavailable

NewConversationsGetActivityMembersServiceUnavailable creates a ConversationsGetActivityMembersServiceUnavailable with default headers values

func (*ConversationsGetActivityMembersServiceUnavailable) Error

type ConversationsGetActivityMembersUnauthorized

type ConversationsGetActivityMembersUnauthorized struct {
}

ConversationsGetActivityMembersUnauthorized 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 NewConversationsGetActivityMembersUnauthorized

func NewConversationsGetActivityMembersUnauthorized() *ConversationsGetActivityMembersUnauthorized

NewConversationsGetActivityMembersUnauthorized creates a ConversationsGetActivityMembersUnauthorized with default headers values

func (*ConversationsGetActivityMembersUnauthorized) Error

type ConversationsGetConversationMembersBadRequest

type ConversationsGetConversationMembersBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsGetConversationMembersBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsGetConversationMembersBadRequest

func NewConversationsGetConversationMembersBadRequest() *ConversationsGetConversationMembersBadRequest

NewConversationsGetConversationMembersBadRequest creates a ConversationsGetConversationMembersBadRequest with default headers values

func (*ConversationsGetConversationMembersBadRequest) Error

type ConversationsGetConversationMembersForbidden

type ConversationsGetConversationMembersForbidden struct {
}

ConversationsGetConversationMembersForbidden 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 NewConversationsGetConversationMembersForbidden

func NewConversationsGetConversationMembersForbidden() *ConversationsGetConversationMembersForbidden

NewConversationsGetConversationMembersForbidden creates a ConversationsGetConversationMembersForbidden with default headers values

func (*ConversationsGetConversationMembersForbidden) Error

type ConversationsGetConversationMembersInternalServerError

type ConversationsGetConversationMembersInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsGetConversationMembersInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsGetConversationMembersInternalServerError

func NewConversationsGetConversationMembersInternalServerError() *ConversationsGetConversationMembersInternalServerError

NewConversationsGetConversationMembersInternalServerError creates a ConversationsGetConversationMembersInternalServerError with default headers values

func (*ConversationsGetConversationMembersInternalServerError) Error

type ConversationsGetConversationMembersMethodNotAllowed

type ConversationsGetConversationMembersMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsGetConversationMembersMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsGetConversationMembersMethodNotAllowed

func NewConversationsGetConversationMembersMethodNotAllowed() *ConversationsGetConversationMembersMethodNotAllowed

NewConversationsGetConversationMembersMethodNotAllowed creates a ConversationsGetConversationMembersMethodNotAllowed with default headers values

func (*ConversationsGetConversationMembersMethodNotAllowed) Error

type ConversationsGetConversationMembersNotFound

type ConversationsGetConversationMembersNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsGetConversationMembersNotFound handles this case with default header values.

The resource was not found.

func NewConversationsGetConversationMembersNotFound

func NewConversationsGetConversationMembersNotFound() *ConversationsGetConversationMembersNotFound

NewConversationsGetConversationMembersNotFound creates a ConversationsGetConversationMembersNotFound with default headers values

func (*ConversationsGetConversationMembersNotFound) Error

type ConversationsGetConversationMembersOK

type ConversationsGetConversationMembersOK struct {
	Payload []*models.ChannelAccount
}

ConversationsGetConversationMembersOK handles this case with default header values.

An array of ChannelAccount objects

func NewConversationsGetConversationMembersOK

func NewConversationsGetConversationMembersOK() *ConversationsGetConversationMembersOK

NewConversationsGetConversationMembersOK creates a ConversationsGetConversationMembersOK with default headers values

func (*ConversationsGetConversationMembersOK) Error

type ConversationsGetConversationMembersParams

type ConversationsGetConversationMembersParams struct {

	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsGetConversationMembersParams contains all the parameters to send to the API endpoint for the conversations get conversation members operation typically these are written to a http.Request

func NewConversationsGetConversationMembersParams

func NewConversationsGetConversationMembersParams() *ConversationsGetConversationMembersParams

NewConversationsGetConversationMembersParams creates a new ConversationsGetConversationMembersParams object with the default values initialized.

func NewConversationsGetConversationMembersParamsWithContext

func NewConversationsGetConversationMembersParamsWithContext(ctx context.Context) *ConversationsGetConversationMembersParams

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

func NewConversationsGetConversationMembersParamsWithTimeout

func NewConversationsGetConversationMembersParamsWithTimeout(timeout time.Duration) *ConversationsGetConversationMembersParams

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

func (*ConversationsGetConversationMembersParams) SetContext

SetContext adds the context to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) SetConversationID

func (o *ConversationsGetConversationMembersParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) SetTimeout

SetTimeout adds the timeout to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) WithContext

WithContext adds the context to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) WithConversationID

WithConversationID adds the conversationID to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) WithTimeout

WithTimeout adds the timeout to the conversations get conversation members params

func (*ConversationsGetConversationMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsGetConversationMembersReader

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

ConversationsGetConversationMembersReader is a Reader for the ConversationsGetConversationMembers structure.

func (*ConversationsGetConversationMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsGetConversationMembersServiceUnavailable

type ConversationsGetConversationMembersServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsGetConversationMembersServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsGetConversationMembersServiceUnavailable

func NewConversationsGetConversationMembersServiceUnavailable() *ConversationsGetConversationMembersServiceUnavailable

NewConversationsGetConversationMembersServiceUnavailable creates a ConversationsGetConversationMembersServiceUnavailable with default headers values

func (*ConversationsGetConversationMembersServiceUnavailable) Error

type ConversationsGetConversationMembersUnauthorized

type ConversationsGetConversationMembersUnauthorized struct {
}

ConversationsGetConversationMembersUnauthorized 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 NewConversationsGetConversationMembersUnauthorized

func NewConversationsGetConversationMembersUnauthorized() *ConversationsGetConversationMembersUnauthorized

NewConversationsGetConversationMembersUnauthorized creates a ConversationsGetConversationMembersUnauthorized with default headers values

func (*ConversationsGetConversationMembersUnauthorized) Error

type ConversationsReplyToActivityAccepted

type ConversationsReplyToActivityAccepted struct {
	Payload *models.ResourceResponse
}

ConversationsReplyToActivityAccepted handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsReplyToActivityAccepted

func NewConversationsReplyToActivityAccepted() *ConversationsReplyToActivityAccepted

NewConversationsReplyToActivityAccepted creates a ConversationsReplyToActivityAccepted with default headers values

func (*ConversationsReplyToActivityAccepted) Error

type ConversationsReplyToActivityBadRequest

type ConversationsReplyToActivityBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsReplyToActivityBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsReplyToActivityBadRequest

func NewConversationsReplyToActivityBadRequest() *ConversationsReplyToActivityBadRequest

NewConversationsReplyToActivityBadRequest creates a ConversationsReplyToActivityBadRequest with default headers values

func (*ConversationsReplyToActivityBadRequest) Error

type ConversationsReplyToActivityCreated

type ConversationsReplyToActivityCreated struct {
	Payload *models.ResourceResponse
}

ConversationsReplyToActivityCreated handles this case with default header values.

A ResourceResponse object will be returned containing the ID for the resource.

func NewConversationsReplyToActivityCreated

func NewConversationsReplyToActivityCreated() *ConversationsReplyToActivityCreated

NewConversationsReplyToActivityCreated creates a ConversationsReplyToActivityCreated with default headers values

func (*ConversationsReplyToActivityCreated) Error

type ConversationsReplyToActivityForbidden

type ConversationsReplyToActivityForbidden struct {
}

ConversationsReplyToActivityForbidden 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 NewConversationsReplyToActivityForbidden

func NewConversationsReplyToActivityForbidden() *ConversationsReplyToActivityForbidden

NewConversationsReplyToActivityForbidden creates a ConversationsReplyToActivityForbidden with default headers values

func (*ConversationsReplyToActivityForbidden) Error

type ConversationsReplyToActivityInternalServerError

type ConversationsReplyToActivityInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsReplyToActivityInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsReplyToActivityInternalServerError

func NewConversationsReplyToActivityInternalServerError() *ConversationsReplyToActivityInternalServerError

NewConversationsReplyToActivityInternalServerError creates a ConversationsReplyToActivityInternalServerError with default headers values

func (*ConversationsReplyToActivityInternalServerError) Error

type ConversationsReplyToActivityNotFound

type ConversationsReplyToActivityNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsReplyToActivityNotFound handles this case with default header values.

The resource was not found.

func NewConversationsReplyToActivityNotFound

func NewConversationsReplyToActivityNotFound() *ConversationsReplyToActivityNotFound

NewConversationsReplyToActivityNotFound creates a ConversationsReplyToActivityNotFound with default headers values

func (*ConversationsReplyToActivityNotFound) Error

type ConversationsReplyToActivityOK

type ConversationsReplyToActivityOK struct {
	Payload *models.ResourceResponse
}

ConversationsReplyToActivityOK handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsReplyToActivityOK

func NewConversationsReplyToActivityOK() *ConversationsReplyToActivityOK

NewConversationsReplyToActivityOK creates a ConversationsReplyToActivityOK with default headers values

func (*ConversationsReplyToActivityOK) Error

type ConversationsReplyToActivityParams

type ConversationsReplyToActivityParams struct {

	/*Activity
	  Activity to send

	*/
	Activity *models.Activity
	/*ActivityID
	  activityId the reply is to (OPTIONAL)

	*/
	ActivityID string
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsReplyToActivityParams contains all the parameters to send to the API endpoint for the conversations reply to activity operation typically these are written to a http.Request

func NewConversationsReplyToActivityParams

func NewConversationsReplyToActivityParams() *ConversationsReplyToActivityParams

NewConversationsReplyToActivityParams creates a new ConversationsReplyToActivityParams object with the default values initialized.

func NewConversationsReplyToActivityParamsWithContext

func NewConversationsReplyToActivityParamsWithContext(ctx context.Context) *ConversationsReplyToActivityParams

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

func NewConversationsReplyToActivityParamsWithTimeout

func NewConversationsReplyToActivityParamsWithTimeout(timeout time.Duration) *ConversationsReplyToActivityParams

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

func (*ConversationsReplyToActivityParams) SetActivity

func (o *ConversationsReplyToActivityParams) SetActivity(activity *models.Activity)

SetActivity adds the activity to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) SetActivityID

func (o *ConversationsReplyToActivityParams) SetActivityID(activityID string)

SetActivityID adds the activityId to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) SetContext

SetContext adds the context to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) SetConversationID

func (o *ConversationsReplyToActivityParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) SetTimeout

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

SetTimeout adds the timeout to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WithActivity

WithActivity adds the activity to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WithActivityID

WithActivityID adds the activityID to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WithContext

WithContext adds the context to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WithConversationID

func (o *ConversationsReplyToActivityParams) WithConversationID(conversationID string) *ConversationsReplyToActivityParams

WithConversationID adds the conversationID to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WithTimeout

WithTimeout adds the timeout to the conversations reply to activity params

func (*ConversationsReplyToActivityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsReplyToActivityReader

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

ConversationsReplyToActivityReader is a Reader for the ConversationsReplyToActivity structure.

func (*ConversationsReplyToActivityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsReplyToActivityServiceUnavailable

type ConversationsReplyToActivityServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsReplyToActivityServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsReplyToActivityServiceUnavailable

func NewConversationsReplyToActivityServiceUnavailable() *ConversationsReplyToActivityServiceUnavailable

NewConversationsReplyToActivityServiceUnavailable creates a ConversationsReplyToActivityServiceUnavailable with default headers values

func (*ConversationsReplyToActivityServiceUnavailable) Error

type ConversationsReplyToActivityUnauthorized

type ConversationsReplyToActivityUnauthorized struct {
}

ConversationsReplyToActivityUnauthorized 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 NewConversationsReplyToActivityUnauthorized

func NewConversationsReplyToActivityUnauthorized() *ConversationsReplyToActivityUnauthorized

NewConversationsReplyToActivityUnauthorized creates a ConversationsReplyToActivityUnauthorized with default headers values

func (*ConversationsReplyToActivityUnauthorized) Error

type ConversationsSendToConversationAccepted

type ConversationsSendToConversationAccepted struct {
	Payload *models.ResourceResponse
}

ConversationsSendToConversationAccepted handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsSendToConversationAccepted

func NewConversationsSendToConversationAccepted() *ConversationsSendToConversationAccepted

NewConversationsSendToConversationAccepted creates a ConversationsSendToConversationAccepted with default headers values

func (*ConversationsSendToConversationAccepted) Error

type ConversationsSendToConversationBadRequest

type ConversationsSendToConversationBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsSendToConversationBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsSendToConversationBadRequest

func NewConversationsSendToConversationBadRequest() *ConversationsSendToConversationBadRequest

NewConversationsSendToConversationBadRequest creates a ConversationsSendToConversationBadRequest with default headers values

func (*ConversationsSendToConversationBadRequest) Error

type ConversationsSendToConversationCreated

type ConversationsSendToConversationCreated struct {
	Payload *models.ResourceResponse
}

ConversationsSendToConversationCreated handles this case with default header values.

A ResourceResponse object will be returned containing the ID for the resource.

func NewConversationsSendToConversationCreated

func NewConversationsSendToConversationCreated() *ConversationsSendToConversationCreated

NewConversationsSendToConversationCreated creates a ConversationsSendToConversationCreated with default headers values

func (*ConversationsSendToConversationCreated) Error

type ConversationsSendToConversationForbidden

type ConversationsSendToConversationForbidden struct {
}

ConversationsSendToConversationForbidden 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 NewConversationsSendToConversationForbidden

func NewConversationsSendToConversationForbidden() *ConversationsSendToConversationForbidden

NewConversationsSendToConversationForbidden creates a ConversationsSendToConversationForbidden with default headers values

func (*ConversationsSendToConversationForbidden) Error

type ConversationsSendToConversationInternalServerError

type ConversationsSendToConversationInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsSendToConversationInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsSendToConversationInternalServerError

func NewConversationsSendToConversationInternalServerError() *ConversationsSendToConversationInternalServerError

NewConversationsSendToConversationInternalServerError creates a ConversationsSendToConversationInternalServerError with default headers values

func (*ConversationsSendToConversationInternalServerError) Error

type ConversationsSendToConversationNotFound

type ConversationsSendToConversationNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsSendToConversationNotFound handles this case with default header values.

The resource was not found.

func NewConversationsSendToConversationNotFound

func NewConversationsSendToConversationNotFound() *ConversationsSendToConversationNotFound

NewConversationsSendToConversationNotFound creates a ConversationsSendToConversationNotFound with default headers values

func (*ConversationsSendToConversationNotFound) Error

type ConversationsSendToConversationOK

type ConversationsSendToConversationOK struct {
	Payload *models.ResourceResponse
}

ConversationsSendToConversationOK handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsSendToConversationOK

func NewConversationsSendToConversationOK() *ConversationsSendToConversationOK

NewConversationsSendToConversationOK creates a ConversationsSendToConversationOK with default headers values

func (*ConversationsSendToConversationOK) Error

type ConversationsSendToConversationParams

type ConversationsSendToConversationParams struct {

	/*Activity
	  Activity to send

	*/
	Activity *models.Activity
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsSendToConversationParams contains all the parameters to send to the API endpoint for the conversations send to conversation operation typically these are written to a http.Request

func NewConversationsSendToConversationParams

func NewConversationsSendToConversationParams() *ConversationsSendToConversationParams

NewConversationsSendToConversationParams creates a new ConversationsSendToConversationParams object with the default values initialized.

func NewConversationsSendToConversationParamsWithContext

func NewConversationsSendToConversationParamsWithContext(ctx context.Context) *ConversationsSendToConversationParams

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

func NewConversationsSendToConversationParamsWithTimeout

func NewConversationsSendToConversationParamsWithTimeout(timeout time.Duration) *ConversationsSendToConversationParams

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

func (*ConversationsSendToConversationParams) SetActivity

func (o *ConversationsSendToConversationParams) SetActivity(activity *models.Activity)

SetActivity adds the activity to the conversations send to conversation params

func (*ConversationsSendToConversationParams) SetContext

SetContext adds the context to the conversations send to conversation params

func (*ConversationsSendToConversationParams) SetConversationID

func (o *ConversationsSendToConversationParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations send to conversation params

func (*ConversationsSendToConversationParams) SetTimeout

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

SetTimeout adds the timeout to the conversations send to conversation params

func (*ConversationsSendToConversationParams) WithActivity

WithActivity adds the activity to the conversations send to conversation params

func (*ConversationsSendToConversationParams) WithContext

WithContext adds the context to the conversations send to conversation params

func (*ConversationsSendToConversationParams) WithConversationID

WithConversationID adds the conversationID to the conversations send to conversation params

func (*ConversationsSendToConversationParams) WithTimeout

WithTimeout adds the timeout to the conversations send to conversation params

func (*ConversationsSendToConversationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsSendToConversationReader

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

ConversationsSendToConversationReader is a Reader for the ConversationsSendToConversation structure.

func (*ConversationsSendToConversationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsSendToConversationServiceUnavailable

type ConversationsSendToConversationServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsSendToConversationServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsSendToConversationServiceUnavailable

func NewConversationsSendToConversationServiceUnavailable() *ConversationsSendToConversationServiceUnavailable

NewConversationsSendToConversationServiceUnavailable creates a ConversationsSendToConversationServiceUnavailable with default headers values

func (*ConversationsSendToConversationServiceUnavailable) Error

type ConversationsSendToConversationUnauthorized

type ConversationsSendToConversationUnauthorized struct {
}

ConversationsSendToConversationUnauthorized 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 NewConversationsSendToConversationUnauthorized

func NewConversationsSendToConversationUnauthorized() *ConversationsSendToConversationUnauthorized

NewConversationsSendToConversationUnauthorized creates a ConversationsSendToConversationUnauthorized with default headers values

func (*ConversationsSendToConversationUnauthorized) Error

type ConversationsUpdateActivityAccepted

type ConversationsUpdateActivityAccepted struct {
	Payload *models.ResourceResponse
}

ConversationsUpdateActivityAccepted handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsUpdateActivityAccepted

func NewConversationsUpdateActivityAccepted() *ConversationsUpdateActivityAccepted

NewConversationsUpdateActivityAccepted creates a ConversationsUpdateActivityAccepted with default headers values

func (*ConversationsUpdateActivityAccepted) Error

type ConversationsUpdateActivityBadRequest

type ConversationsUpdateActivityBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsUpdateActivityBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsUpdateActivityBadRequest

func NewConversationsUpdateActivityBadRequest() *ConversationsUpdateActivityBadRequest

NewConversationsUpdateActivityBadRequest creates a ConversationsUpdateActivityBadRequest with default headers values

func (*ConversationsUpdateActivityBadRequest) Error

type ConversationsUpdateActivityCreated

type ConversationsUpdateActivityCreated struct {
	Payload *models.ResourceResponse
}

ConversationsUpdateActivityCreated handles this case with default header values.

A ResourceResponse object will be returned containing the ID for the resource.

func NewConversationsUpdateActivityCreated

func NewConversationsUpdateActivityCreated() *ConversationsUpdateActivityCreated

NewConversationsUpdateActivityCreated creates a ConversationsUpdateActivityCreated with default headers values

func (*ConversationsUpdateActivityCreated) Error

type ConversationsUpdateActivityForbidden

type ConversationsUpdateActivityForbidden struct {
}

ConversationsUpdateActivityForbidden 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 NewConversationsUpdateActivityForbidden

func NewConversationsUpdateActivityForbidden() *ConversationsUpdateActivityForbidden

NewConversationsUpdateActivityForbidden creates a ConversationsUpdateActivityForbidden with default headers values

func (*ConversationsUpdateActivityForbidden) Error

type ConversationsUpdateActivityInternalServerError

type ConversationsUpdateActivityInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsUpdateActivityInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsUpdateActivityInternalServerError

func NewConversationsUpdateActivityInternalServerError() *ConversationsUpdateActivityInternalServerError

NewConversationsUpdateActivityInternalServerError creates a ConversationsUpdateActivityInternalServerError with default headers values

func (*ConversationsUpdateActivityInternalServerError) Error

type ConversationsUpdateActivityMethodNotAllowed

type ConversationsUpdateActivityMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsUpdateActivityMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsUpdateActivityMethodNotAllowed

func NewConversationsUpdateActivityMethodNotAllowed() *ConversationsUpdateActivityMethodNotAllowed

NewConversationsUpdateActivityMethodNotAllowed creates a ConversationsUpdateActivityMethodNotAllowed with default headers values

func (*ConversationsUpdateActivityMethodNotAllowed) Error

type ConversationsUpdateActivityNotFound

type ConversationsUpdateActivityNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsUpdateActivityNotFound handles this case with default header values.

The resource was not found.

func NewConversationsUpdateActivityNotFound

func NewConversationsUpdateActivityNotFound() *ConversationsUpdateActivityNotFound

NewConversationsUpdateActivityNotFound creates a ConversationsUpdateActivityNotFound with default headers values

func (*ConversationsUpdateActivityNotFound) Error

type ConversationsUpdateActivityOK

type ConversationsUpdateActivityOK struct {
	Payload *models.ResourceResponse
}

ConversationsUpdateActivityOK handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsUpdateActivityOK

func NewConversationsUpdateActivityOK() *ConversationsUpdateActivityOK

NewConversationsUpdateActivityOK creates a ConversationsUpdateActivityOK with default headers values

func (*ConversationsUpdateActivityOK) Error

type ConversationsUpdateActivityParams

type ConversationsUpdateActivityParams struct {

	/*Activity
	  replacement Activity

	*/
	Activity *models.Activity
	/*ActivityID
	  activityId to update

	*/
	ActivityID string
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsUpdateActivityParams contains all the parameters to send to the API endpoint for the conversations update activity operation typically these are written to a http.Request

func NewConversationsUpdateActivityParams

func NewConversationsUpdateActivityParams() *ConversationsUpdateActivityParams

NewConversationsUpdateActivityParams creates a new ConversationsUpdateActivityParams object with the default values initialized.

func NewConversationsUpdateActivityParamsWithContext

func NewConversationsUpdateActivityParamsWithContext(ctx context.Context) *ConversationsUpdateActivityParams

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

func NewConversationsUpdateActivityParamsWithTimeout

func NewConversationsUpdateActivityParamsWithTimeout(timeout time.Duration) *ConversationsUpdateActivityParams

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

func (*ConversationsUpdateActivityParams) SetActivity

func (o *ConversationsUpdateActivityParams) SetActivity(activity *models.Activity)

SetActivity adds the activity to the conversations update activity params

func (*ConversationsUpdateActivityParams) SetActivityID

func (o *ConversationsUpdateActivityParams) SetActivityID(activityID string)

SetActivityID adds the activityId to the conversations update activity params

func (*ConversationsUpdateActivityParams) SetContext

SetContext adds the context to the conversations update activity params

func (*ConversationsUpdateActivityParams) SetConversationID

func (o *ConversationsUpdateActivityParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations update activity params

func (*ConversationsUpdateActivityParams) SetTimeout

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

SetTimeout adds the timeout to the conversations update activity params

func (*ConversationsUpdateActivityParams) WithActivity

WithActivity adds the activity to the conversations update activity params

func (*ConversationsUpdateActivityParams) WithActivityID

WithActivityID adds the activityID to the conversations update activity params

func (*ConversationsUpdateActivityParams) WithContext

WithContext adds the context to the conversations update activity params

func (*ConversationsUpdateActivityParams) WithConversationID

func (o *ConversationsUpdateActivityParams) WithConversationID(conversationID string) *ConversationsUpdateActivityParams

WithConversationID adds the conversationID to the conversations update activity params

func (*ConversationsUpdateActivityParams) WithTimeout

WithTimeout adds the timeout to the conversations update activity params

func (*ConversationsUpdateActivityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsUpdateActivityReader

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

ConversationsUpdateActivityReader is a Reader for the ConversationsUpdateActivity structure.

func (*ConversationsUpdateActivityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsUpdateActivityServiceUnavailable

type ConversationsUpdateActivityServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsUpdateActivityServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsUpdateActivityServiceUnavailable

func NewConversationsUpdateActivityServiceUnavailable() *ConversationsUpdateActivityServiceUnavailable

NewConversationsUpdateActivityServiceUnavailable creates a ConversationsUpdateActivityServiceUnavailable with default headers values

func (*ConversationsUpdateActivityServiceUnavailable) Error

type ConversationsUpdateActivityUnauthorized

type ConversationsUpdateActivityUnauthorized struct {
}

ConversationsUpdateActivityUnauthorized 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 NewConversationsUpdateActivityUnauthorized

func NewConversationsUpdateActivityUnauthorized() *ConversationsUpdateActivityUnauthorized

NewConversationsUpdateActivityUnauthorized creates a ConversationsUpdateActivityUnauthorized with default headers values

func (*ConversationsUpdateActivityUnauthorized) Error

type ConversationsUploadAttachmentAccepted

type ConversationsUploadAttachmentAccepted struct {
	Payload *models.ResourceResponse
}

ConversationsUploadAttachmentAccepted handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsUploadAttachmentAccepted

func NewConversationsUploadAttachmentAccepted() *ConversationsUploadAttachmentAccepted

NewConversationsUploadAttachmentAccepted creates a ConversationsUploadAttachmentAccepted with default headers values

func (*ConversationsUploadAttachmentAccepted) Error

type ConversationsUploadAttachmentBadRequest

type ConversationsUploadAttachmentBadRequest struct {
	Payload *models.ErrorResponse
}

ConversationsUploadAttachmentBadRequest handles this case with default header values.

The request was malformed or otherwise incorrect. Inspect the message for a more detailed description.

func NewConversationsUploadAttachmentBadRequest

func NewConversationsUploadAttachmentBadRequest() *ConversationsUploadAttachmentBadRequest

NewConversationsUploadAttachmentBadRequest creates a ConversationsUploadAttachmentBadRequest with default headers values

func (*ConversationsUploadAttachmentBadRequest) Error

type ConversationsUploadAttachmentCreated

type ConversationsUploadAttachmentCreated struct {
	Payload *models.ResourceResponse
}

ConversationsUploadAttachmentCreated handles this case with default header values.

A ResourceResponse object will be returned containing the ID for the resource.

func NewConversationsUploadAttachmentCreated

func NewConversationsUploadAttachmentCreated() *ConversationsUploadAttachmentCreated

NewConversationsUploadAttachmentCreated creates a ConversationsUploadAttachmentCreated with default headers values

func (*ConversationsUploadAttachmentCreated) Error

type ConversationsUploadAttachmentForbidden

type ConversationsUploadAttachmentForbidden struct {
}

ConversationsUploadAttachmentForbidden 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 NewConversationsUploadAttachmentForbidden

func NewConversationsUploadAttachmentForbidden() *ConversationsUploadAttachmentForbidden

NewConversationsUploadAttachmentForbidden creates a ConversationsUploadAttachmentForbidden with default headers values

func (*ConversationsUploadAttachmentForbidden) Error

type ConversationsUploadAttachmentInternalServerError

type ConversationsUploadAttachmentInternalServerError struct {
	Payload *models.ErrorResponse
}

ConversationsUploadAttachmentInternalServerError handles this case with default header values.

An internal server has occurred. Inspect the message for a more detailed description.

func NewConversationsUploadAttachmentInternalServerError

func NewConversationsUploadAttachmentInternalServerError() *ConversationsUploadAttachmentInternalServerError

NewConversationsUploadAttachmentInternalServerError creates a ConversationsUploadAttachmentInternalServerError with default headers values

func (*ConversationsUploadAttachmentInternalServerError) Error

type ConversationsUploadAttachmentMethodNotAllowed

type ConversationsUploadAttachmentMethodNotAllowed struct {
	Payload *models.ErrorResponse
}

ConversationsUploadAttachmentMethodNotAllowed handles this case with default header values.

The method and URI you are trying to use is not allowed on this service. For example, not all services support the DELETE or PUT verbs on an activity URI.

func NewConversationsUploadAttachmentMethodNotAllowed

func NewConversationsUploadAttachmentMethodNotAllowed() *ConversationsUploadAttachmentMethodNotAllowed

NewConversationsUploadAttachmentMethodNotAllowed creates a ConversationsUploadAttachmentMethodNotAllowed with default headers values

func (*ConversationsUploadAttachmentMethodNotAllowed) Error

type ConversationsUploadAttachmentNotFound

type ConversationsUploadAttachmentNotFound struct {
	Payload *models.ErrorResponse
}

ConversationsUploadAttachmentNotFound handles this case with default header values.

The resource was not found.

func NewConversationsUploadAttachmentNotFound

func NewConversationsUploadAttachmentNotFound() *ConversationsUploadAttachmentNotFound

NewConversationsUploadAttachmentNotFound creates a ConversationsUploadAttachmentNotFound with default headers values

func (*ConversationsUploadAttachmentNotFound) Error

type ConversationsUploadAttachmentOK

type ConversationsUploadAttachmentOK struct {
	Payload *models.ResourceResponse
}

ConversationsUploadAttachmentOK handles this case with default header values.

An object will be returned containing the ID for the resource.

func NewConversationsUploadAttachmentOK

func NewConversationsUploadAttachmentOK() *ConversationsUploadAttachmentOK

NewConversationsUploadAttachmentOK creates a ConversationsUploadAttachmentOK with default headers values

func (*ConversationsUploadAttachmentOK) Error

type ConversationsUploadAttachmentParams

type ConversationsUploadAttachmentParams struct {

	/*AttachmentUpload
	  Attachment data

	*/
	AttachmentUpload *models.AttachmentData
	/*ConversationID
	  Conversation ID

	*/
	ConversationID string

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

ConversationsUploadAttachmentParams contains all the parameters to send to the API endpoint for the conversations upload attachment operation typically these are written to a http.Request

func NewConversationsUploadAttachmentParams

func NewConversationsUploadAttachmentParams() *ConversationsUploadAttachmentParams

NewConversationsUploadAttachmentParams creates a new ConversationsUploadAttachmentParams object with the default values initialized.

func NewConversationsUploadAttachmentParamsWithContext

func NewConversationsUploadAttachmentParamsWithContext(ctx context.Context) *ConversationsUploadAttachmentParams

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

func NewConversationsUploadAttachmentParamsWithTimeout

func NewConversationsUploadAttachmentParamsWithTimeout(timeout time.Duration) *ConversationsUploadAttachmentParams

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

func (*ConversationsUploadAttachmentParams) SetAttachmentUpload

func (o *ConversationsUploadAttachmentParams) SetAttachmentUpload(attachmentUpload *models.AttachmentData)

SetAttachmentUpload adds the attachmentUpload to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) SetContext

SetContext adds the context to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) SetConversationID

func (o *ConversationsUploadAttachmentParams) SetConversationID(conversationID string)

SetConversationID adds the conversationId to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) SetTimeout

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

SetTimeout adds the timeout to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) WithAttachmentUpload

WithAttachmentUpload adds the attachmentUpload to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) WithContext

WithContext adds the context to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) WithConversationID

WithConversationID adds the conversationID to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) WithTimeout

WithTimeout adds the timeout to the conversations upload attachment params

func (*ConversationsUploadAttachmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConversationsUploadAttachmentReader

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

ConversationsUploadAttachmentReader is a Reader for the ConversationsUploadAttachment structure.

func (*ConversationsUploadAttachmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConversationsUploadAttachmentServiceUnavailable

type ConversationsUploadAttachmentServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConversationsUploadAttachmentServiceUnavailable handles this case with default header values.

The service you are trying to communciate with is unavailable.

func NewConversationsUploadAttachmentServiceUnavailable

func NewConversationsUploadAttachmentServiceUnavailable() *ConversationsUploadAttachmentServiceUnavailable

NewConversationsUploadAttachmentServiceUnavailable creates a ConversationsUploadAttachmentServiceUnavailable with default headers values

func (*ConversationsUploadAttachmentServiceUnavailable) Error

type ConversationsUploadAttachmentUnauthorized

type ConversationsUploadAttachmentUnauthorized struct {
}

ConversationsUploadAttachmentUnauthorized 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 NewConversationsUploadAttachmentUnauthorized

func NewConversationsUploadAttachmentUnauthorized() *ConversationsUploadAttachmentUnauthorized

NewConversationsUploadAttachmentUnauthorized creates a ConversationsUploadAttachmentUnauthorized with default headers values

func (*ConversationsUploadAttachmentUnauthorized) Error

Jump to

Keyboard shortcuts

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