class Azure::Web::Mgmt::V2020_09_01::Models::AppserviceGithubToken
Github access token for Appservice CLI github integration.
Attributes
access_token[RW]
@return [String] Github access token for Appservice CLI github integration
error_message[RW]
@return [String] Error message if unable to get token
got_token[RW]
@return [Boolean] True if valid github token received, False otherwise
scope[RW]
@return [String] Scope of the github access token
token_type[RW]
@return [String] token type
Private Class Methods
mapper()
click to toggle source
Mapper for AppserviceGithubToken
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-01/generated/azure_mgmt_web/models/appservice_github_token.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AppserviceGithubToken', type: { name: 'Composite', class_name: 'AppserviceGithubToken', model_properties: { access_token: { client_side_validation: true, required: false, serialized_name: 'accessToken', type: { name: 'String' } }, scope: { client_side_validation: true, required: false, serialized_name: 'scope', type: { name: 'String' } }, token_type: { client_side_validation: true, required: false, serialized_name: 'tokenType', type: { name: 'String' } }, got_token: { client_side_validation: true, required: false, serialized_name: 'gotToken', type: { name: 'Boolean' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { name: 'String' } } } } } end