github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_message_info_resource.go (about)

     1  /*
     2   * RingCentral Connect Platform API Explorer
     3   *
     4   * <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul>
     5   *
     6   * API version: 1.0
     7   * Generated by: OpenAPI Generator (https://openapi-generator.tech)
     8   */
     9  
    10  package ringcentral
    11  
    12  import (
    13  	"time"
    14  )
    15  
    16  type MessageInfoResource struct {
    17  	Uri                     string                  `json:"uri,omitempty"`
    18  	Id                      string                  `json:"id,omitempty"`
    19  	To                      []CallerInfo            `json:"to,omitempty"`
    20  	From                    CallerInfo              `json:"from,omitempty"`
    21  	Type                    string                  `json:"type,omitempty"`
    22  	CreationTime            time.Time               `json:"creationTime,omitempty"`
    23  	ReadStatus              string                  `json:"readStatus,omitempty"`
    24  	Priority                string                  `json:"priority,omitempty"`
    25  	Attachments             []MessageAttachmentInfo `json:"attachments,omitempty"`
    26  	Direction               string                  `json:"direction,omitempty"`
    27  	Availability            string                  `json:"availability,omitempty"`
    28  	Subject                 string                  `json:"subject,omitempty"`
    29  	MessageStatus           string                  `json:"messageStatus,omitempty"`
    30  	FaxResolution           string                  `json:"faxResolution,omitempty"`
    31  	FaxPageCount            int32                   `json:"faxPageCount,omitempty"`
    32  	DeliveryErrorCode       string                  `json:"deliveryErrorCode,omitempty"`
    33  	SmsDeliveryTime         time.Time               `json:"smsDeliveryTime,omitempty"`
    34  	SmsSendingAttemptsCount int64                   `json:"smsSendingAttemptsCount,omitempty"`
    35  	ConversationId          int64                   `json:"conversationId,omitempty"`
    36  	Conversation            ConversationResource    `json:"conversation,omitempty"`
    37  	LastModifiedTime        time.Time               `json:"lastModifiedTime,omitempty"`
    38  	PgToDepartment          bool                    `json:"pgToDepartment,omitempty"`
    39  	VmTranscriptionStatus   string                  `json:"vmTranscriptionStatus,omitempty"`
    40  	SourceFilePath          string                  `json:"sourceFilePath,omitempty"`
    41  	CoverIndex              int32                   `json:"coverIndex,omitempty"`
    42  	CoverPageText           string                  `json:"coverPageText,omitempty"`
    43  }