Class: SDM::ResourceCreateResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

ResourceCreateResponse reports how the Resources were created in the system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta: nil, resource: nil, rate_limit: nil) ⇒ ResourceCreateResponse

Returns a new instance of ResourceCreateResponse.



3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/models/porcelain.rb', line 3623

def initialize(
	meta:nil \
,
	resource:nil \
,
	rate_limit:nil \
)
	if meta != nil
		@meta = meta
	end
	if resource != nil
		@resource = resource
	end
	if rate_limit != nil
		@rate_limit = rate_limit
	end
end

Instance Attribute Details

#metaObject

Reserved for future use.



3618
3619
3620
# File 'lib/models/porcelain.rb', line 3618

def meta
  @meta
end

#rate_limitObject

Rate limit information.



3622
3623
3624
# File 'lib/models/porcelain.rb', line 3622

def rate_limit
  @rate_limit
end

#resourceObject

The created Resource.



3620
3621
3622
# File 'lib/models/porcelain.rb', line 3620

def resource
  @resource
end