hcf.Product
hcf.Product
Classes
Name | Description |
---|---|
Product | Product. |
ProductT | ProductT. |
Product
hcf.Product.Product()
Product.
Methods
Name | Description |
---|---|
Brand | Brand. |
Description | Description. |
GetRootAs | GetRootAs. |
GetRootAsProduct | This method is deprecated. Please switch to GetRootAs. |
Id | Id. |
Init | Init. |
Url | Url. |
Brand
hcf.Product.Product.Brand()
Brand.
Parameters
Name | Type | Description | Default |
---|---|---|---|
Returns |
required | ||
Optional |
required |
Description
hcf.Product.Product.Description()
Description.
Parameters
Name | Type | Description | Default |
---|---|---|---|
Returns |
required | ||
Optional |
required |
GetRootAs
hcf.Product.Product.GetRootAs(buf, offset=0)
GetRootAs.
Parameters
Name | Type | Description | Default |
---|---|---|---|
buf |
buf | required | |
offset |
int | offset | 0 |
GetRootAsProduct
hcf.Product.Product.GetRootAsProduct(buf, offset=0)
This method is deprecated. Please switch to GetRootAs.
Id
hcf.Product.Product.Id()
Id.
Parameters
Name | Type | Description | Default |
---|---|---|---|
Returns |
required | ||
Optional |
required |
Init
hcf.Product.Product.Init(buf, pos)
Init.
Parameters
Name | Type | Description | Default |
---|---|---|---|
buf |
bytes | buf | required |
pos |
int | pos | required |
Url
hcf.Product.Product.Url()
Url.
Parameters
Name | Type | Description | Default |
---|---|---|---|
Returns |
required | ||
Optional |
required |
ProductT
hcf.Product.ProductT(self)
ProductT.
Methods
Name | Description |
---|---|
InitFromBuf | InitFromBuf. |
InitFromObj | InitFromObj. |
InitFromPackedBuf | InitFromPackedBuf. |
Pack | Pack. |
InitFromBuf
hcf.Product.ProductT.InitFromBuf(buf, pos)
InitFromBuf.
Parameters
Name | Type | Description | Default |
---|---|---|---|
buf |
buf | required | |
pos |
pos | required |
InitFromObj
hcf.Product.ProductT.InitFromObj(product)
InitFromObj.
Parameters
Name | Type | Description | Default |
---|---|---|---|
product |
product | required |
InitFromPackedBuf
hcf.Product.ProductT.InitFromPackedBuf(buf, pos=0)
InitFromPackedBuf.
Parameters
Name | Type | Description | Default |
---|---|---|---|
buf |
buf | required | |
pos |
pos | 0 |
Pack
hcf.Product.ProductT.Pack(builder)
Pack.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
builder | required |
Functions
Name | Description |
---|---|
AddBrand | AddBrand. |
AddDescription | AddDescription. |
AddId | AddId. |
AddUrl | AddUrl. |
End | End. |
ProductAddBrand | ProductAddBrand. |
ProductAddDescription | ProductAddDescription. |
ProductAddId | ProductAddId. |
ProductAddUrl | ProductAddUrl. |
ProductEnd | ProductEnd. |
ProductStart | ProductStart. |
Start | Start. |
AddBrand
hcf.Product.AddBrand(builder, brand)
AddBrand.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
brand |
int | brand | required |
AddDescription
hcf.Product.AddDescription(builder, description)
AddDescription.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
description |
int | description | required |
AddId
hcf.Product.AddId(builder, id)
AddId.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
id |
int | id | required |
AddUrl
hcf.Product.AddUrl(builder, url)
AddUrl.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
url |
int | url | required |
End
hcf.Product.End(builder)
End.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
Returns
Type | Description |
---|---|
int |
ProductAddBrand
hcf.Product.ProductAddBrand(builder, brand)
ProductAddBrand.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
brand |
int | brand | required |
ProductAddDescription
hcf.Product.ProductAddDescription(builder, description)
ProductAddDescription.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
description |
int | description | required |
ProductAddId
hcf.Product.ProductAddId(builder, id)
ProductAddId.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
id |
int | id | required |
ProductAddUrl
hcf.Product.ProductAddUrl(builder, url)
ProductAddUrl.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
url |
int | url | required |
ProductEnd
hcf.Product.ProductEnd(builder)
ProductEnd.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
Returns
Type | Description |
---|---|
int |
ProductStart
hcf.Product.ProductStart(builder)
ProductStart.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |
Start
hcf.Product.Start(builder)
Start.
Parameters
Name | Type | Description | Default |
---|---|---|---|
builder |
flatbuffers.Builder | builder | required |