github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_user_update_request.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  type UserUpdateRequest struct {
    13  	// Status of a user
    14  	Active bool `json:"active,omitempty"`
    15  	// User addresses
    16  	Addresses []AddressInfo `json:"addresses,omitempty"`
    17  	// User email addresses
    18  	Emails []EmailInfo `json:"emails"`
    19  	// External identifier of a user
    20  	ExternalId string `json:"externalId,omitempty"`
    21  	// Internal identifier of a user
    22  	Id   string   `json:"id,omitempty"`
    23  	Name NameInfo `json:"name"`
    24  	// User phone numbers
    25  	PhoneNumbers []PhoneNumberInfoRequest `json:"phoneNumbers,omitempty"`
    26  	Photos       []PhotoInfo              `json:"photos,omitempty"`
    27  	// Specification links
    28  	Schemas                                           []string       `json:"schemas"`
    29  	Urnietfparamsscimschemasextensionenterprise20User EnterpriseUser `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"`
    30  	// User mailbox. Must be same as work type email address
    31  	UserName string `json:"userName"`
    32  }