# ConsumptionEntry

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | Pointer to **string** | The ID of your OUTSCALE account. | [optional] 
**Category** | Pointer to **string** | The category of the resource (for example, &#x60;network&#x60;). | [optional] 
**FromDate** | Pointer to **string** | The beginning of the time period (UTC). | [optional] 
**Operation** | Pointer to **string** | The API call that triggered the resource consumption (for example, &#x60;RunInstances&#x60; or &#x60;CreateVolume&#x60;). | [optional] 
**PayingAccountId** | Pointer to **string** | The ID of the OUTSCALE account which is billed for your consumption. It can be different from your account in the &#x60;AccountId&#x60; parameter. | [optional] 
**Price** | Pointer to **float64** | The total price of the consumed resource during the specified time period, in the currency of the Region&#39;s catalog. | [optional] 
**ResourceId** | Pointer to **string** | The ID of the consumed resource. | [optional] 
**Service** | Pointer to **string** | The service of the API call (&#x60;TinaOS-FCU&#x60;, &#x60;TinaOS-LBU&#x60;, &#x60;TinaOS-DirectLink&#x60;, &#x60;TinaOS-OOS&#x60;, &#x60;TinaOS-OSU&#x60;, or &#x60;OKS&#x60;). | [optional] 
**SubregionName** | Pointer to **string** | The name of the Subregion. | [optional] 
**Title** | Pointer to **string** | A description of the consumed resource. | [optional] 
**ToDate** | Pointer to **string** | The end of the time period (UTC). | [optional] 
**Type** | Pointer to **string** | The type of resource, depending on the API call. | [optional] 
**UnitPrice** | Pointer to **float64** | The unit price of the consumed resource in the currency of your account, in the ISO-4217 format (for example, &#x60;EUR&#x60;). | [optional] 
**Value** | Pointer to **float64** | The consumed amount for the resource. The unit depends on the resource type. For more information, see the &#x60;Title&#x60; element. | [optional] 

## Methods

### NewConsumptionEntry

`func NewConsumptionEntry() *ConsumptionEntry`

NewConsumptionEntry instantiates a new ConsumptionEntry 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

### NewConsumptionEntryWithDefaults

`func NewConsumptionEntryWithDefaults() *ConsumptionEntry`

NewConsumptionEntryWithDefaults instantiates a new ConsumptionEntry 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

### GetAccountId

`func (o *ConsumptionEntry) GetAccountId() string`

GetAccountId returns the AccountId field if non-nil, zero value otherwise.

### GetAccountIdOk

`func (o *ConsumptionEntry) GetAccountIdOk() (*string, bool)`

GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAccountId

`func (o *ConsumptionEntry) SetAccountId(v string)`

SetAccountId sets AccountId field to given value.

### HasAccountId

`func (o *ConsumptionEntry) HasAccountId() bool`

HasAccountId returns a boolean if a field has been set.

### GetCategory

`func (o *ConsumptionEntry) GetCategory() string`

GetCategory returns the Category field if non-nil, zero value otherwise.

### GetCategoryOk

`func (o *ConsumptionEntry) GetCategoryOk() (*string, bool)`

GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCategory

`func (o *ConsumptionEntry) SetCategory(v string)`

SetCategory sets Category field to given value.

### HasCategory

`func (o *ConsumptionEntry) HasCategory() bool`

HasCategory returns a boolean if a field has been set.

### GetFromDate

`func (o *ConsumptionEntry) GetFromDate() string`

GetFromDate returns the FromDate field if non-nil, zero value otherwise.

### GetFromDateOk

`func (o *ConsumptionEntry) GetFromDateOk() (*string, bool)`

GetFromDateOk returns a tuple with the FromDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetFromDate

`func (o *ConsumptionEntry) SetFromDate(v string)`

SetFromDate sets FromDate field to given value.

### HasFromDate

`func (o *ConsumptionEntry) HasFromDate() bool`

HasFromDate returns a boolean if a field has been set.

### GetOperation

`func (o *ConsumptionEntry) GetOperation() string`

GetOperation returns the Operation field if non-nil, zero value otherwise.

### GetOperationOk

`func (o *ConsumptionEntry) GetOperationOk() (*string, bool)`

GetOperationOk returns a tuple with the Operation field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOperation

`func (o *ConsumptionEntry) SetOperation(v string)`

SetOperation sets Operation field to given value.

### HasOperation

`func (o *ConsumptionEntry) HasOperation() bool`

HasOperation returns a boolean if a field has been set.

### GetPayingAccountId

`func (o *ConsumptionEntry) GetPayingAccountId() string`

GetPayingAccountId returns the PayingAccountId field if non-nil, zero value otherwise.

### GetPayingAccountIdOk

`func (o *ConsumptionEntry) GetPayingAccountIdOk() (*string, bool)`

GetPayingAccountIdOk returns a tuple with the PayingAccountId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPayingAccountId

`func (o *ConsumptionEntry) SetPayingAccountId(v string)`

SetPayingAccountId sets PayingAccountId field to given value.

### HasPayingAccountId

`func (o *ConsumptionEntry) HasPayingAccountId() bool`

HasPayingAccountId returns a boolean if a field has been set.

### GetPrice

`func (o *ConsumptionEntry) GetPrice() float64`

GetPrice returns the Price field if non-nil, zero value otherwise.

### GetPriceOk

`func (o *ConsumptionEntry) GetPriceOk() (*float64, bool)`

GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPrice

`func (o *ConsumptionEntry) SetPrice(v float64)`

SetPrice sets Price field to given value.

### HasPrice

`func (o *ConsumptionEntry) HasPrice() bool`

HasPrice returns a boolean if a field has been set.

### GetResourceId

`func (o *ConsumptionEntry) GetResourceId() string`

GetResourceId returns the ResourceId field if non-nil, zero value otherwise.

### GetResourceIdOk

`func (o *ConsumptionEntry) GetResourceIdOk() (*string, bool)`

GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetResourceId

`func (o *ConsumptionEntry) SetResourceId(v string)`

SetResourceId sets ResourceId field to given value.

### HasResourceId

`func (o *ConsumptionEntry) HasResourceId() bool`

HasResourceId returns a boolean if a field has been set.

### GetService

`func (o *ConsumptionEntry) GetService() string`

GetService returns the Service field if non-nil, zero value otherwise.

### GetServiceOk

`func (o *ConsumptionEntry) GetServiceOk() (*string, bool)`

GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetService

`func (o *ConsumptionEntry) SetService(v string)`

SetService sets Service field to given value.

### HasService

`func (o *ConsumptionEntry) HasService() bool`

HasService returns a boolean if a field has been set.

### GetSubregionName

`func (o *ConsumptionEntry) GetSubregionName() string`

GetSubregionName returns the SubregionName field if non-nil, zero value otherwise.

### GetSubregionNameOk

`func (o *ConsumptionEntry) GetSubregionNameOk() (*string, bool)`

GetSubregionNameOk returns a tuple with the SubregionName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetSubregionName

`func (o *ConsumptionEntry) SetSubregionName(v string)`

SetSubregionName sets SubregionName field to given value.

### HasSubregionName

`func (o *ConsumptionEntry) HasSubregionName() bool`

HasSubregionName returns a boolean if a field has been set.

### GetTitle

`func (o *ConsumptionEntry) GetTitle() string`

GetTitle returns the Title field if non-nil, zero value otherwise.

### GetTitleOk

`func (o *ConsumptionEntry) GetTitleOk() (*string, bool)`

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTitle

`func (o *ConsumptionEntry) SetTitle(v string)`

SetTitle sets Title field to given value.

### HasTitle

`func (o *ConsumptionEntry) HasTitle() bool`

HasTitle returns a boolean if a field has been set.

### GetToDate

`func (o *ConsumptionEntry) GetToDate() string`

GetToDate returns the ToDate field if non-nil, zero value otherwise.

### GetToDateOk

`func (o *ConsumptionEntry) GetToDateOk() (*string, bool)`

GetToDateOk returns a tuple with the ToDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetToDate

`func (o *ConsumptionEntry) SetToDate(v string)`

SetToDate sets ToDate field to given value.

### HasToDate

`func (o *ConsumptionEntry) HasToDate() bool`

HasToDate returns a boolean if a field has been set.

### GetType

`func (o *ConsumptionEntry) GetType() string`

GetType returns the Type field if non-nil, zero value otherwise.

### GetTypeOk

`func (o *ConsumptionEntry) GetTypeOk() (*string, bool)`

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetType

`func (o *ConsumptionEntry) SetType(v string)`

SetType sets Type field to given value.

### HasType

`func (o *ConsumptionEntry) HasType() bool`

HasType returns a boolean if a field has been set.

### GetUnitPrice

`func (o *ConsumptionEntry) GetUnitPrice() float64`

GetUnitPrice returns the UnitPrice field if non-nil, zero value otherwise.

### GetUnitPriceOk

`func (o *ConsumptionEntry) GetUnitPriceOk() (*float64, bool)`

GetUnitPriceOk returns a tuple with the UnitPrice field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUnitPrice

`func (o *ConsumptionEntry) SetUnitPrice(v float64)`

SetUnitPrice sets UnitPrice field to given value.

### HasUnitPrice

`func (o *ConsumptionEntry) HasUnitPrice() bool`

HasUnitPrice returns a boolean if a field has been set.

### GetValue

`func (o *ConsumptionEntry) GetValue() float64`

GetValue returns the Value field if non-nil, zero value otherwise.

### GetValueOk

`func (o *ConsumptionEntry) GetValueOk() (*float64, bool)`

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetValue

`func (o *ConsumptionEntry) SetValue(v float64)`

SetValue sets Value field to given value.

### HasValue

`func (o *ConsumptionEntry) HasValue() bool`

HasValue returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


