class Authlete::Model::Response::GrantedScopesGetResponse

Attributes

clientId[RW]
client_id[RW]
client_id=[RW]
latestGrantedScopes[RW]
latest_granted_scopes[RW]
latest_granted_scopes=[RW]
mergedGrantedScopes[RW]
merged_granted_scopes[RW]
merged_granted_scopes=[RW]
modifiedAt[RW]
modified_at[RW]
modified_at=[RW]
serviceApiKey[RW]
service_api_key[RW]
service_api_key=[RW]
subject[RW]

Private Instance Methods

defaults() click to toggle source
Calls superclass method Authlete::Model::Result#defaults
# File lib/authlete/model/response/granted-scopes-get-response.rb, line 47
def defaults
  super.merge(
    serviceApiKey:       nil,
    clientId:            0,
    subject:             nil,
    latestGrantedScopes: nil,
    mergedGrantedScopes: nil,
    modifiedAt:          0
  )
end
set_params(hash) click to toggle source
Calls superclass method Authlete::Model::Result#set_params
# File lib/authlete/model/response/granted-scopes-get-response.rb, line 58
def set_params(hash)
  super(hash)

  @serviceApiKey       = hash[:serviceApiKey]
  @clientId            = hash[:clientId]
  @subject             = hash[:subject]
  @latestGrantedScopes = hash[:latestGrantedScopes]
  @mergedGrantedScopes = hash[:mergedGrantedScopes]
  @modifiedAt          = hash[:modifiedAt]
end