5.2 KiB
FunctionInvocationView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DurationMs | Pointer to int64 | how long it took | [optional] |
| Id | Pointer to string | the invocation's handle | [optional] |
| Method | Pointer to string | the HTTP method that triggered it | [optional] |
| Status | Pointer to string | how the run ended: ok, error or timeout | [optional] |
| StatusCode | Pointer to int64 | Code is the status the function's OWN code answered with, which is not the status of the reply — a program can answer 500 through a healthy sandbox. | [optional] |
| Time | Pointer to string | when it ran, RFC3339 | [optional] |
Methods
NewFunctionInvocationView
func NewFunctionInvocationView() *FunctionInvocationView
NewFunctionInvocationView instantiates a new FunctionInvocationView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewFunctionInvocationViewWithDefaults
func NewFunctionInvocationViewWithDefaults() *FunctionInvocationView
NewFunctionInvocationViewWithDefaults instantiates a new FunctionInvocationView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetDurationMs
func (o *FunctionInvocationView) GetDurationMs() int64
GetDurationMs returns the DurationMs field if non-nil, zero value otherwise.
GetDurationMsOk
func (o *FunctionInvocationView) GetDurationMsOk() (*int64, bool)
GetDurationMsOk returns a tuple with the DurationMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDurationMs
func (o *FunctionInvocationView) SetDurationMs(v int64)
SetDurationMs sets DurationMs field to given value.
HasDurationMs
func (o *FunctionInvocationView) HasDurationMs() bool
HasDurationMs returns a boolean if a field has been set.
GetId
func (o *FunctionInvocationView) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *FunctionInvocationView) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *FunctionInvocationView) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *FunctionInvocationView) HasId() bool
HasId returns a boolean if a field has been set.
GetMethod
func (o *FunctionInvocationView) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
GetMethodOk
func (o *FunctionInvocationView) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMethod
func (o *FunctionInvocationView) SetMethod(v string)
SetMethod sets Method field to given value.
HasMethod
func (o *FunctionInvocationView) HasMethod() bool
HasMethod returns a boolean if a field has been set.
GetStatus
func (o *FunctionInvocationView) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *FunctionInvocationView) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *FunctionInvocationView) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *FunctionInvocationView) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetStatusCode
func (o *FunctionInvocationView) GetStatusCode() int64
GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.
GetStatusCodeOk
func (o *FunctionInvocationView) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatusCode
func (o *FunctionInvocationView) SetStatusCode(v int64)
SetStatusCode sets StatusCode field to given value.
HasStatusCode
func (o *FunctionInvocationView) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
GetTime
func (o *FunctionInvocationView) GetTime() string
GetTime returns the Time field if non-nil, zero value otherwise.
GetTimeOk
func (o *FunctionInvocationView) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTime
func (o *FunctionInvocationView) SetTime(v string)
SetTime sets Time field to given value.
HasTime
func (o *FunctionInvocationView) HasTime() bool
HasTime returns a boolean if a field has been set.