Class: Saklient::Cloud::Resources::CommonServiceProvider
- Defined in:
- lib/saklient/cloud/resources/common_service_provider.rb
Overview
ライセンス種別情報.
Instance Attribute Summary collapse
-
#clazz ⇒ String
readonly
クラス ECommonServiceClass.
-
#id ⇒ String
readonly
ID.
-
#name ⇒ String
readonly
名前.
Attributes inherited from Resource
Instance Method Summary collapse
- #_class_name ⇒ String
- #_id ⇒ String
-
#initialize(client, obj, wrapped = false) ⇒ CommonServiceProvider
constructor
A new instance of CommonServiceProvider.
Methods inherited from Resource
#api_deserialize, #api_serialize, create_with, #destroy, #dump, #exists, #request_retry, #set_param
Constructor Details
#initialize(client, obj, wrapped = false) ⇒ CommonServiceProvider
Returns a new instance of CommonServiceProvider.
69 70 71 72 73 74 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 69 def initialize(client, obj, wrapped = false) super(client) Saklient::Util::validate_type(client, 'Saklient::Cloud::Client') Saklient::Util::validate_type(wrapped, 'bool') api_deserialize(obj, wrapped) end |
Instance Attribute Details
#clazz ⇒ String (readonly)
クラス ECommonServiceClass
118 119 120 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 118 def clazz @clazz end |
#id ⇒ String (readonly)
ID
94 95 96 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 94 def id @id end |
#name ⇒ String (readonly)
名前
142 143 144 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 142 def name @name end |
Instance Method Details
#_class_name ⇒ String
55 56 57 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 55 def _class_name return 'CommonServiceProvider' end |
#_id ⇒ String
61 62 63 |
# File 'lib/saklient/cloud/resources/common_service_provider.rb', line 61 def _id return get_id end |