class Twilio::REST::Numbers::V2::RegulatoryComplianceList::BundleContext::ItemAssignmentPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the ItemAssignmentPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [ItemAssignmentPage] ItemAssignmentPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb 137 def initialize(version, response, solution) 138 super(version, response) 139 140 # Path Solution 141 @solution = solution 142 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of ItemAssignmentInstance
@param [Hash] payload Payload response from the API @return [ItemAssignmentInstance] ItemAssignmentInstance
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb 148 def get_instance(payload) 149 ItemAssignmentInstance.new(@version, payload, bundle_sid: @solution[:bundle_sid], ) 150 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb 154 def to_s 155 '<Twilio.Numbers.V2.ItemAssignmentPage>' 156 end