github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_fax_response.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 FaxResponse struct {
    17  	// Internal identifier of a message
    18  	Id int64 `json:"id,omitempty"`
    19  	// Canonical URI of a message
    20  	Uri string `json:"uri,omitempty"`
    21  	// Message type - 'Fax'
    22  	Type string         `json:"type,omitempty"`
    23  	From CallerInfoFrom `json:"from,omitempty"`
    24  	// Recipient information
    25  	To []CallerInfoTo `json:"to,omitempty"`
    26  	// Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
    27  	CreationTime time.Time `json:"creationTime,omitempty"`
    28  	// Message read status
    29  	ReadStatus string `json:"readStatus,omitempty"`
    30  	// Message priority
    31  	Priority string `json:"priority,omitempty"`
    32  	// The list of message attachments
    33  	Attachments []MessageAttachmentInfoIntId `json:"attachments,omitempty"`
    34  	// Message direction
    35  	Direction string `json:"direction,omitempty"`
    36  	// Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly
    37  	Availability string `json:"availability,omitempty"`
    38  	// Message status. 'Queued' - the message is queued for sending; 'Sent' - a message is successfully sent; 'SendingFailed' - a message sending attempt has failed; 'Received' - a message is received (inbound messages have this status by default)
    39  	MessageStatus string `json:"messageStatus,omitempty"`
    40  	// Resolution of a fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)
    41  	FaxResolution string `json:"faxResolution,omitempty"`
    42  	// Page count in a fax message
    43  	FaxPageCount int32 `json:"faxPageCount,omitempty"`
    44  	// Datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
    45  	LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
    46  	// Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages
    47  	CoverIndex int32 `json:"coverIndex,omitempty"`
    48  	// Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols
    49  	CoverPageText string `json:"coverPageText,omitempty"`
    50  }