コード例 #1
0
func NewAttributesResponse() *AttributesResponse {
	a := new(AttributesResponse)
	a.Attributes = attributevalue.NewAttributeValueMap()
	a.ConsumedCapacity = capacity.NewConsumedCapacity()
	a.ItemCollectionMetrics = itemcollectionmetrics.NewItemCollectionMetrics()
	return a
}
コード例 #2
0
func NewResponseItemJSON() *ResponseItemJSON {
	r := new(ResponseItemJSON)
	r.ConsumedCapacity = capacity.NewConsumedCapacity()
	return r
}
コード例 #3
0
func NewResponse() *Response {
	r := new(Response)
	r.Item = item.NewItem()
	r.ConsumedCapacity = capacity.NewConsumedCapacity()
	return r
}