Class: TencentCloud::Dasb::V20191018::ModifyOAuthSettingRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191018/models.rb

Overview

ModifyOAuthSetting请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable = nil, authmethod = nil, clientid = nil, clientsecret = nil, codeurl = nil, tokenurl = nil, userinfourl = nil, scopes = nil) ⇒ ModifyOAuthSettingRequest



3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
# File 'lib/v20191018/models.rb', line 3791

def initialize(enable=nil, authmethod=nil, clientid=nil, clientsecret=nil, codeurl=nil, tokenurl=nil, userinfourl=nil, scopes=nil)
  @Enable = enable
  @AuthMethod = authmethod
  @ClientId = clientid
  @ClientSecret = clientsecret
  @CodeUrl = codeurl
  @TokenUrl = tokenurl
  @UserInfoUrl = userinfourl
  @Scopes = scopes
end

Instance Attribute Details

#AuthMethodObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def AuthMethod
  @AuthMethod
end

#ClientIdObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def ClientId
  @ClientId
end

#ClientSecretObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def ClientSecret
  @ClientSecret
end

#CodeUrlObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def CodeUrl
  @CodeUrl
end

#EnableObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def Enable
  @Enable
end

#ScopesObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def Scopes
  @Scopes
end

#TokenUrlObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def TokenUrl
  @TokenUrl
end

#UserInfoUrlObject



3789
3790
3791
# File 'lib/v20191018/models.rb', line 3789

def UserInfoUrl
  @UserInfoUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
# File 'lib/v20191018/models.rb', line 3802

def deserialize(params)
  @Enable = params['Enable']
  @AuthMethod = params['AuthMethod']
  @ClientId = params['ClientId']
  @ClientSecret = params['ClientSecret']
  @CodeUrl = params['CodeUrl']
  @TokenUrl = params['TokenUrl']
  @UserInfoUrl = params['UserInfoUrl']
  @Scopes = params['Scopes']
end