client

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 22 Imported by: 0

README

Go API client for client

FMP provides one of the most accurate data available on the market. Every endpoint is available in JSON format and most of them also in CSV format. Data is coming right from SEC filings after being serialized by us. Our API has over 50 endpoints and we are still growing by adding new endpoints every week. We also provide on demand custom endpoint available for our business clients.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 3.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://financialmodelingprep.com/api/v3

Class Method HTTP request Description
FinancialStatementsApi GetIncomeStatements Get /income-statement/{symbol} Get Income Statements

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	FinancialStatementsApi *FinancialStatementsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Financial Modeling Prep API API v3.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiGetIncomeStatementsRequest

type ApiGetIncomeStatementsRequest struct {
	ApiService *FinancialStatementsApiService
	// contains filtered or unexported fields
}

func (ApiGetIncomeStatementsRequest) Apikey

API key for authn / authz

func (ApiGetIncomeStatementsRequest) Datatype

Format of data to return

func (ApiGetIncomeStatementsRequest) Execute

func (ApiGetIncomeStatementsRequest) Limit

Number of results to return.

func (ApiGetIncomeStatementsRequest) Period

Specify a quarterly income statement. Default is annual.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type FinancialStatementsApiService

type FinancialStatementsApiService service

FinancialStatementsApiService FinancialStatementsApi service

func (*FinancialStatementsApiService) GetIncomeStatements

GetIncomeStatements Get Income Statements

Retreive income statements for stocks by symbol or CIK.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param symbol
@return ApiGetIncomeStatementsRequest

func (*FinancialStatementsApiService) GetIncomeStatementsExecute

Execute executes the request

@return IncomeStatementListResponse

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type IncomeStatement

type IncomeStatement struct {
	AcceptedDate                            *string  `json:"acceptedDate,omitempty"`
	CalendarYear                            *string  `json:"calendarYear,omitempty"`
	Cik                                     *string  `json:"cik,omitempty"`
	CostAndExpenses                         *float32 `json:"costAndExpenses,omitempty"`
	CostOfRevenue                           *float32 `json:"costOfRevenue,omitempty"`
	Date                                    *string  `json:"date,omitempty"`
	DepreciationAndAmortization             *float32 `json:"depreciationAndAmortization,omitempty"`
	Ebitda                                  *float32 `json:"ebitda,omitempty"`
	Ebitdaratio                             *float32 `json:"ebitdaratio,omitempty"`
	Eps                                     *float32 `json:"eps,omitempty"`
	Epsdiluted                              *float32 `json:"epsdiluted,omitempty"`
	FillingDate                             *string  `json:"fillingDate,omitempty"`
	FinalLink                               *string  `json:"finalLink,omitempty"`
	GeneralAndAdministrativeExpenses        *float32 `json:"generalAndAdministrativeExpenses,omitempty"`
	GrossProfit                             *float32 `json:"grossProfit,omitempty"`
	GrossProfitRatio                        *float32 `json:"grossProfitRatio,omitempty"`
	IncomeBeforeTax                         *float32 `json:"incomeBeforeTax,omitempty"`
	IncomeBeforeTaxRatio                    *float32 `json:"incomeBeforeTaxRatio,omitempty"`
	IncomeTaxExpense                        *float32 `json:"incomeTaxExpense,omitempty"`
	InterestExpense                         *float32 `json:"interestExpense,omitempty"`
	InterestIncome                          *float32 `json:"interestIncome,omitempty"`
	Interestincome                          *float32 `json:"interestincome,omitempty"`
	Link                                    *string  `json:"link,omitempty"`
	NetIncome                               *float32 `json:"netIncome,omitempty"`
	NetIncomeRatio                          *float32 `json:"netIncomeRatio,omitempty"`
	OperatingExpenses                       *float32 `json:"operatingExpenses,omitempty"`
	OperatingIncome                         *float32 `json:"operatingIncome,omitempty"`
	OperatingIncomeRatio                    *float32 `json:"operatingIncomeRatio,omitempty"`
	OtherExpenses                           *float32 `json:"otherExpenses,omitempty"`
	Period                                  *string  `json:"period,omitempty"`
	ReportedCurrency                        *string  `json:"reportedCurrency,omitempty"`
	ResearchAndDevelopmentExpenses          *float32 `json:"researchAndDevelopmentExpenses,omitempty"`
	Revenue                                 *float32 `json:"revenue,omitempty"`
	SellingAndMarketingExpenses             *float32 `json:"sellingAndMarketingExpenses,omitempty"`
	SellingGeneralAndAdministrativeExpenses *float32 `json:"sellingGeneralAndAdministrativeExpenses,omitempty"`
	Symbol                                  *string  `json:"symbol,omitempty"`
	TotalOtherIncomeExpensesNet             *float32 `json:"totalOtherIncomeExpensesNet,omitempty"`
	WeightedAverageShsOut                   *float32 `json:"weightedAverageShsOut,omitempty"`
	WeightedAverageShsOutDil                *float32 `json:"weightedAverageShsOutDil,omitempty"`
}

IncomeStatement Income Statement

func NewIncomeStatement

func NewIncomeStatement() *IncomeStatement

NewIncomeStatement instantiates a new IncomeStatement 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

func NewIncomeStatementWithDefaults

func NewIncomeStatementWithDefaults() *IncomeStatement

NewIncomeStatementWithDefaults instantiates a new IncomeStatement 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

func (*IncomeStatement) GetAcceptedDate

func (o *IncomeStatement) GetAcceptedDate() string

GetAcceptedDate returns the AcceptedDate field value if set, zero value otherwise.

func (*IncomeStatement) GetAcceptedDateOk

func (o *IncomeStatement) GetAcceptedDateOk() (*string, bool)

GetAcceptedDateOk returns a tuple with the AcceptedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetCalendarYear

func (o *IncomeStatement) GetCalendarYear() string

GetCalendarYear returns the CalendarYear field value if set, zero value otherwise.

func (*IncomeStatement) GetCalendarYearOk

func (o *IncomeStatement) GetCalendarYearOk() (*string, bool)

GetCalendarYearOk returns a tuple with the CalendarYear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetCik

func (o *IncomeStatement) GetCik() string

GetCik returns the Cik field value if set, zero value otherwise.

func (*IncomeStatement) GetCikOk

func (o *IncomeStatement) GetCikOk() (*string, bool)

GetCikOk returns a tuple with the Cik field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetCostAndExpenses

func (o *IncomeStatement) GetCostAndExpenses() float32

GetCostAndExpenses returns the CostAndExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetCostAndExpensesOk

func (o *IncomeStatement) GetCostAndExpensesOk() (*float32, bool)

GetCostAndExpensesOk returns a tuple with the CostAndExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetCostOfRevenue

func (o *IncomeStatement) GetCostOfRevenue() float32

GetCostOfRevenue returns the CostOfRevenue field value if set, zero value otherwise.

func (*IncomeStatement) GetCostOfRevenueOk

func (o *IncomeStatement) GetCostOfRevenueOk() (*float32, bool)

GetCostOfRevenueOk returns a tuple with the CostOfRevenue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetDate

func (o *IncomeStatement) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*IncomeStatement) GetDateOk

func (o *IncomeStatement) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetDepreciationAndAmortization

func (o *IncomeStatement) GetDepreciationAndAmortization() float32

GetDepreciationAndAmortization returns the DepreciationAndAmortization field value if set, zero value otherwise.

func (*IncomeStatement) GetDepreciationAndAmortizationOk

func (o *IncomeStatement) GetDepreciationAndAmortizationOk() (*float32, bool)

GetDepreciationAndAmortizationOk returns a tuple with the DepreciationAndAmortization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetEbitda

func (o *IncomeStatement) GetEbitda() float32

GetEbitda returns the Ebitda field value if set, zero value otherwise.

func (*IncomeStatement) GetEbitdaOk

func (o *IncomeStatement) GetEbitdaOk() (*float32, bool)

GetEbitdaOk returns a tuple with the Ebitda field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetEbitdaratio

func (o *IncomeStatement) GetEbitdaratio() float32

GetEbitdaratio returns the Ebitdaratio field value if set, zero value otherwise.

func (*IncomeStatement) GetEbitdaratioOk

func (o *IncomeStatement) GetEbitdaratioOk() (*float32, bool)

GetEbitdaratioOk returns a tuple with the Ebitdaratio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetEps

func (o *IncomeStatement) GetEps() float32

GetEps returns the Eps field value if set, zero value otherwise.

func (*IncomeStatement) GetEpsOk

func (o *IncomeStatement) GetEpsOk() (*float32, bool)

GetEpsOk returns a tuple with the Eps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetEpsdiluted

func (o *IncomeStatement) GetEpsdiluted() float32

GetEpsdiluted returns the Epsdiluted field value if set, zero value otherwise.

func (*IncomeStatement) GetEpsdilutedOk

func (o *IncomeStatement) GetEpsdilutedOk() (*float32, bool)

GetEpsdilutedOk returns a tuple with the Epsdiluted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetFillingDate

func (o *IncomeStatement) GetFillingDate() string

GetFillingDate returns the FillingDate field value if set, zero value otherwise.

func (*IncomeStatement) GetFillingDateOk

func (o *IncomeStatement) GetFillingDateOk() (*string, bool)

GetFillingDateOk returns a tuple with the FillingDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IncomeStatement) GetFinalLink() string

GetFinalLink returns the FinalLink field value if set, zero value otherwise.

func (*IncomeStatement) GetFinalLinkOk

func (o *IncomeStatement) GetFinalLinkOk() (*string, bool)

GetFinalLinkOk returns a tuple with the FinalLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetGeneralAndAdministrativeExpenses

func (o *IncomeStatement) GetGeneralAndAdministrativeExpenses() float32

GetGeneralAndAdministrativeExpenses returns the GeneralAndAdministrativeExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetGeneralAndAdministrativeExpensesOk

func (o *IncomeStatement) GetGeneralAndAdministrativeExpensesOk() (*float32, bool)

GetGeneralAndAdministrativeExpensesOk returns a tuple with the GeneralAndAdministrativeExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetGrossProfit

func (o *IncomeStatement) GetGrossProfit() float32

GetGrossProfit returns the GrossProfit field value if set, zero value otherwise.

func (*IncomeStatement) GetGrossProfitOk

func (o *IncomeStatement) GetGrossProfitOk() (*float32, bool)

GetGrossProfitOk returns a tuple with the GrossProfit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetGrossProfitRatio

func (o *IncomeStatement) GetGrossProfitRatio() float32

GetGrossProfitRatio returns the GrossProfitRatio field value if set, zero value otherwise.

func (*IncomeStatement) GetGrossProfitRatioOk

func (o *IncomeStatement) GetGrossProfitRatioOk() (*float32, bool)

GetGrossProfitRatioOk returns a tuple with the GrossProfitRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetIncomeBeforeTax

func (o *IncomeStatement) GetIncomeBeforeTax() float32

GetIncomeBeforeTax returns the IncomeBeforeTax field value if set, zero value otherwise.

func (*IncomeStatement) GetIncomeBeforeTaxOk

func (o *IncomeStatement) GetIncomeBeforeTaxOk() (*float32, bool)

GetIncomeBeforeTaxOk returns a tuple with the IncomeBeforeTax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetIncomeBeforeTaxRatio

func (o *IncomeStatement) GetIncomeBeforeTaxRatio() float32

GetIncomeBeforeTaxRatio returns the IncomeBeforeTaxRatio field value if set, zero value otherwise.

func (*IncomeStatement) GetIncomeBeforeTaxRatioOk

func (o *IncomeStatement) GetIncomeBeforeTaxRatioOk() (*float32, bool)

GetIncomeBeforeTaxRatioOk returns a tuple with the IncomeBeforeTaxRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetIncomeTaxExpense

func (o *IncomeStatement) GetIncomeTaxExpense() float32

GetIncomeTaxExpense returns the IncomeTaxExpense field value if set, zero value otherwise.

func (*IncomeStatement) GetIncomeTaxExpenseOk

func (o *IncomeStatement) GetIncomeTaxExpenseOk() (*float32, bool)

GetIncomeTaxExpenseOk returns a tuple with the IncomeTaxExpense field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetInterestExpense

func (o *IncomeStatement) GetInterestExpense() float32

GetInterestExpense returns the InterestExpense field value if set, zero value otherwise.

func (*IncomeStatement) GetInterestExpenseOk

func (o *IncomeStatement) GetInterestExpenseOk() (*float32, bool)

GetInterestExpenseOk returns a tuple with the InterestExpense field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetInterestIncome

func (o *IncomeStatement) GetInterestIncome() float32

GetInterestIncome returns the InterestIncome field value if set, zero value otherwise.

func (*IncomeStatement) GetInterestIncomeOk

func (o *IncomeStatement) GetInterestIncomeOk() (*float32, bool)

GetInterestIncomeOk returns a tuple with the InterestIncome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetInterestincome

func (o *IncomeStatement) GetInterestincome() float32

GetInterestincome returns the Interestincome field value if set, zero value otherwise.

func (*IncomeStatement) GetInterestincomeOk

func (o *IncomeStatement) GetInterestincomeOk() (*float32, bool)

GetInterestincomeOk returns a tuple with the Interestincome field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IncomeStatement) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*IncomeStatement) GetLinkOk

func (o *IncomeStatement) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetNetIncome

func (o *IncomeStatement) GetNetIncome() float32

GetNetIncome returns the NetIncome field value if set, zero value otherwise.

func (*IncomeStatement) GetNetIncomeOk

func (o *IncomeStatement) GetNetIncomeOk() (*float32, bool)

GetNetIncomeOk returns a tuple with the NetIncome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetNetIncomeRatio

func (o *IncomeStatement) GetNetIncomeRatio() float32

GetNetIncomeRatio returns the NetIncomeRatio field value if set, zero value otherwise.

func (*IncomeStatement) GetNetIncomeRatioOk

func (o *IncomeStatement) GetNetIncomeRatioOk() (*float32, bool)

GetNetIncomeRatioOk returns a tuple with the NetIncomeRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetOperatingExpenses

func (o *IncomeStatement) GetOperatingExpenses() float32

GetOperatingExpenses returns the OperatingExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetOperatingExpensesOk

func (o *IncomeStatement) GetOperatingExpensesOk() (*float32, bool)

GetOperatingExpensesOk returns a tuple with the OperatingExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetOperatingIncome

func (o *IncomeStatement) GetOperatingIncome() float32

GetOperatingIncome returns the OperatingIncome field value if set, zero value otherwise.

func (*IncomeStatement) GetOperatingIncomeOk

func (o *IncomeStatement) GetOperatingIncomeOk() (*float32, bool)

GetOperatingIncomeOk returns a tuple with the OperatingIncome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetOperatingIncomeRatio

func (o *IncomeStatement) GetOperatingIncomeRatio() float32

GetOperatingIncomeRatio returns the OperatingIncomeRatio field value if set, zero value otherwise.

func (*IncomeStatement) GetOperatingIncomeRatioOk

func (o *IncomeStatement) GetOperatingIncomeRatioOk() (*float32, bool)

GetOperatingIncomeRatioOk returns a tuple with the OperatingIncomeRatio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetOtherExpenses

func (o *IncomeStatement) GetOtherExpenses() float32

GetOtherExpenses returns the OtherExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetOtherExpensesOk

func (o *IncomeStatement) GetOtherExpensesOk() (*float32, bool)

GetOtherExpensesOk returns a tuple with the OtherExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetPeriod

func (o *IncomeStatement) GetPeriod() string

GetPeriod returns the Period field value if set, zero value otherwise.

func (*IncomeStatement) GetPeriodOk

func (o *IncomeStatement) GetPeriodOk() (*string, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetReportedCurrency

func (o *IncomeStatement) GetReportedCurrency() string

GetReportedCurrency returns the ReportedCurrency field value if set, zero value otherwise.

func (*IncomeStatement) GetReportedCurrencyOk

func (o *IncomeStatement) GetReportedCurrencyOk() (*string, bool)

GetReportedCurrencyOk returns a tuple with the ReportedCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetResearchAndDevelopmentExpenses

func (o *IncomeStatement) GetResearchAndDevelopmentExpenses() float32

GetResearchAndDevelopmentExpenses returns the ResearchAndDevelopmentExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetResearchAndDevelopmentExpensesOk

func (o *IncomeStatement) GetResearchAndDevelopmentExpensesOk() (*float32, bool)

GetResearchAndDevelopmentExpensesOk returns a tuple with the ResearchAndDevelopmentExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetRevenue

func (o *IncomeStatement) GetRevenue() float32

GetRevenue returns the Revenue field value if set, zero value otherwise.

func (*IncomeStatement) GetRevenueOk

func (o *IncomeStatement) GetRevenueOk() (*float32, bool)

GetRevenueOk returns a tuple with the Revenue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetSellingAndMarketingExpenses

func (o *IncomeStatement) GetSellingAndMarketingExpenses() float32

GetSellingAndMarketingExpenses returns the SellingAndMarketingExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetSellingAndMarketingExpensesOk

func (o *IncomeStatement) GetSellingAndMarketingExpensesOk() (*float32, bool)

GetSellingAndMarketingExpensesOk returns a tuple with the SellingAndMarketingExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetSellingGeneralAndAdministrativeExpenses

func (o *IncomeStatement) GetSellingGeneralAndAdministrativeExpenses() float32

GetSellingGeneralAndAdministrativeExpenses returns the SellingGeneralAndAdministrativeExpenses field value if set, zero value otherwise.

func (*IncomeStatement) GetSellingGeneralAndAdministrativeExpensesOk

func (o *IncomeStatement) GetSellingGeneralAndAdministrativeExpensesOk() (*float32, bool)

GetSellingGeneralAndAdministrativeExpensesOk returns a tuple with the SellingGeneralAndAdministrativeExpenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetSymbol

func (o *IncomeStatement) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*IncomeStatement) GetSymbolOk

func (o *IncomeStatement) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetTotalOtherIncomeExpensesNet

func (o *IncomeStatement) GetTotalOtherIncomeExpensesNet() float32

GetTotalOtherIncomeExpensesNet returns the TotalOtherIncomeExpensesNet field value if set, zero value otherwise.

func (*IncomeStatement) GetTotalOtherIncomeExpensesNetOk

func (o *IncomeStatement) GetTotalOtherIncomeExpensesNetOk() (*float32, bool)

GetTotalOtherIncomeExpensesNetOk returns a tuple with the TotalOtherIncomeExpensesNet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetWeightedAverageShsOut

func (o *IncomeStatement) GetWeightedAverageShsOut() float32

GetWeightedAverageShsOut returns the WeightedAverageShsOut field value if set, zero value otherwise.

func (*IncomeStatement) GetWeightedAverageShsOutDil

func (o *IncomeStatement) GetWeightedAverageShsOutDil() float32

GetWeightedAverageShsOutDil returns the WeightedAverageShsOutDil field value if set, zero value otherwise.

func (*IncomeStatement) GetWeightedAverageShsOutDilOk

func (o *IncomeStatement) GetWeightedAverageShsOutDilOk() (*float32, bool)

GetWeightedAverageShsOutDilOk returns a tuple with the WeightedAverageShsOutDil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) GetWeightedAverageShsOutOk

func (o *IncomeStatement) GetWeightedAverageShsOutOk() (*float32, bool)

GetWeightedAverageShsOutOk returns a tuple with the WeightedAverageShsOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatement) HasAcceptedDate

func (o *IncomeStatement) HasAcceptedDate() bool

HasAcceptedDate returns a boolean if a field has been set.

func (*IncomeStatement) HasCalendarYear

func (o *IncomeStatement) HasCalendarYear() bool

HasCalendarYear returns a boolean if a field has been set.

func (*IncomeStatement) HasCik

func (o *IncomeStatement) HasCik() bool

HasCik returns a boolean if a field has been set.

func (*IncomeStatement) HasCostAndExpenses

func (o *IncomeStatement) HasCostAndExpenses() bool

HasCostAndExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasCostOfRevenue

func (o *IncomeStatement) HasCostOfRevenue() bool

HasCostOfRevenue returns a boolean if a field has been set.

func (*IncomeStatement) HasDate

func (o *IncomeStatement) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*IncomeStatement) HasDepreciationAndAmortization

func (o *IncomeStatement) HasDepreciationAndAmortization() bool

HasDepreciationAndAmortization returns a boolean if a field has been set.

func (*IncomeStatement) HasEbitda

func (o *IncomeStatement) HasEbitda() bool

HasEbitda returns a boolean if a field has been set.

func (*IncomeStatement) HasEbitdaratio

func (o *IncomeStatement) HasEbitdaratio() bool

HasEbitdaratio returns a boolean if a field has been set.

func (*IncomeStatement) HasEps

func (o *IncomeStatement) HasEps() bool

HasEps returns a boolean if a field has been set.

func (*IncomeStatement) HasEpsdiluted

func (o *IncomeStatement) HasEpsdiluted() bool

HasEpsdiluted returns a boolean if a field has been set.

func (*IncomeStatement) HasFillingDate

func (o *IncomeStatement) HasFillingDate() bool

HasFillingDate returns a boolean if a field has been set.

func (o *IncomeStatement) HasFinalLink() bool

HasFinalLink returns a boolean if a field has been set.

func (*IncomeStatement) HasGeneralAndAdministrativeExpenses

func (o *IncomeStatement) HasGeneralAndAdministrativeExpenses() bool

HasGeneralAndAdministrativeExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasGrossProfit

func (o *IncomeStatement) HasGrossProfit() bool

HasGrossProfit returns a boolean if a field has been set.

func (*IncomeStatement) HasGrossProfitRatio

func (o *IncomeStatement) HasGrossProfitRatio() bool

HasGrossProfitRatio returns a boolean if a field has been set.

func (*IncomeStatement) HasIncomeBeforeTax

func (o *IncomeStatement) HasIncomeBeforeTax() bool

HasIncomeBeforeTax returns a boolean if a field has been set.

func (*IncomeStatement) HasIncomeBeforeTaxRatio

func (o *IncomeStatement) HasIncomeBeforeTaxRatio() bool

HasIncomeBeforeTaxRatio returns a boolean if a field has been set.

func (*IncomeStatement) HasIncomeTaxExpense

func (o *IncomeStatement) HasIncomeTaxExpense() bool

HasIncomeTaxExpense returns a boolean if a field has been set.

func (*IncomeStatement) HasInterestExpense

func (o *IncomeStatement) HasInterestExpense() bool

HasInterestExpense returns a boolean if a field has been set.

func (*IncomeStatement) HasInterestIncome

func (o *IncomeStatement) HasInterestIncome() bool

HasInterestIncome returns a boolean if a field has been set.

func (*IncomeStatement) HasInterestincome

func (o *IncomeStatement) HasInterestincome() bool

HasInterestincome returns a boolean if a field has been set.

func (o *IncomeStatement) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*IncomeStatement) HasNetIncome

func (o *IncomeStatement) HasNetIncome() bool

HasNetIncome returns a boolean if a field has been set.

func (*IncomeStatement) HasNetIncomeRatio

func (o *IncomeStatement) HasNetIncomeRatio() bool

HasNetIncomeRatio returns a boolean if a field has been set.

func (*IncomeStatement) HasOperatingExpenses

func (o *IncomeStatement) HasOperatingExpenses() bool

HasOperatingExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasOperatingIncome

func (o *IncomeStatement) HasOperatingIncome() bool

HasOperatingIncome returns a boolean if a field has been set.

func (*IncomeStatement) HasOperatingIncomeRatio

func (o *IncomeStatement) HasOperatingIncomeRatio() bool

HasOperatingIncomeRatio returns a boolean if a field has been set.

func (*IncomeStatement) HasOtherExpenses

func (o *IncomeStatement) HasOtherExpenses() bool

HasOtherExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasPeriod

func (o *IncomeStatement) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*IncomeStatement) HasReportedCurrency

func (o *IncomeStatement) HasReportedCurrency() bool

HasReportedCurrency returns a boolean if a field has been set.

func (*IncomeStatement) HasResearchAndDevelopmentExpenses

func (o *IncomeStatement) HasResearchAndDevelopmentExpenses() bool

HasResearchAndDevelopmentExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasRevenue

func (o *IncomeStatement) HasRevenue() bool

HasRevenue returns a boolean if a field has been set.

func (*IncomeStatement) HasSellingAndMarketingExpenses

func (o *IncomeStatement) HasSellingAndMarketingExpenses() bool

HasSellingAndMarketingExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasSellingGeneralAndAdministrativeExpenses

func (o *IncomeStatement) HasSellingGeneralAndAdministrativeExpenses() bool

HasSellingGeneralAndAdministrativeExpenses returns a boolean if a field has been set.

func (*IncomeStatement) HasSymbol

func (o *IncomeStatement) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (*IncomeStatement) HasTotalOtherIncomeExpensesNet

func (o *IncomeStatement) HasTotalOtherIncomeExpensesNet() bool

HasTotalOtherIncomeExpensesNet returns a boolean if a field has been set.

func (*IncomeStatement) HasWeightedAverageShsOut

func (o *IncomeStatement) HasWeightedAverageShsOut() bool

HasWeightedAverageShsOut returns a boolean if a field has been set.

func (*IncomeStatement) HasWeightedAverageShsOutDil

func (o *IncomeStatement) HasWeightedAverageShsOutDil() bool

HasWeightedAverageShsOutDil returns a boolean if a field has been set.

func (IncomeStatement) MarshalJSON

func (o IncomeStatement) MarshalJSON() ([]byte, error)

func (*IncomeStatement) SetAcceptedDate

func (o *IncomeStatement) SetAcceptedDate(v string)

SetAcceptedDate gets a reference to the given string and assigns it to the AcceptedDate field.

func (*IncomeStatement) SetCalendarYear

func (o *IncomeStatement) SetCalendarYear(v string)

SetCalendarYear gets a reference to the given string and assigns it to the CalendarYear field.

func (*IncomeStatement) SetCik

func (o *IncomeStatement) SetCik(v string)

SetCik gets a reference to the given string and assigns it to the Cik field.

func (*IncomeStatement) SetCostAndExpenses

func (o *IncomeStatement) SetCostAndExpenses(v float32)

SetCostAndExpenses gets a reference to the given float32 and assigns it to the CostAndExpenses field.

func (*IncomeStatement) SetCostOfRevenue

func (o *IncomeStatement) SetCostOfRevenue(v float32)

SetCostOfRevenue gets a reference to the given float32 and assigns it to the CostOfRevenue field.

func (*IncomeStatement) SetDate

func (o *IncomeStatement) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*IncomeStatement) SetDepreciationAndAmortization

func (o *IncomeStatement) SetDepreciationAndAmortization(v float32)

SetDepreciationAndAmortization gets a reference to the given float32 and assigns it to the DepreciationAndAmortization field.

func (*IncomeStatement) SetEbitda

func (o *IncomeStatement) SetEbitda(v float32)

SetEbitda gets a reference to the given float32 and assigns it to the Ebitda field.

func (*IncomeStatement) SetEbitdaratio

func (o *IncomeStatement) SetEbitdaratio(v float32)

SetEbitdaratio gets a reference to the given float32 and assigns it to the Ebitdaratio field.

func (*IncomeStatement) SetEps

func (o *IncomeStatement) SetEps(v float32)

SetEps gets a reference to the given float32 and assigns it to the Eps field.

func (*IncomeStatement) SetEpsdiluted

func (o *IncomeStatement) SetEpsdiluted(v float32)

SetEpsdiluted gets a reference to the given float32 and assigns it to the Epsdiluted field.

func (*IncomeStatement) SetFillingDate

func (o *IncomeStatement) SetFillingDate(v string)

SetFillingDate gets a reference to the given string and assigns it to the FillingDate field.

func (o *IncomeStatement) SetFinalLink(v string)

SetFinalLink gets a reference to the given string and assigns it to the FinalLink field.

func (*IncomeStatement) SetGeneralAndAdministrativeExpenses

func (o *IncomeStatement) SetGeneralAndAdministrativeExpenses(v float32)

SetGeneralAndAdministrativeExpenses gets a reference to the given float32 and assigns it to the GeneralAndAdministrativeExpenses field.

func (*IncomeStatement) SetGrossProfit

func (o *IncomeStatement) SetGrossProfit(v float32)

SetGrossProfit gets a reference to the given float32 and assigns it to the GrossProfit field.

func (*IncomeStatement) SetGrossProfitRatio

func (o *IncomeStatement) SetGrossProfitRatio(v float32)

SetGrossProfitRatio gets a reference to the given float32 and assigns it to the GrossProfitRatio field.

func (*IncomeStatement) SetIncomeBeforeTax

func (o *IncomeStatement) SetIncomeBeforeTax(v float32)

SetIncomeBeforeTax gets a reference to the given float32 and assigns it to the IncomeBeforeTax field.

func (*IncomeStatement) SetIncomeBeforeTaxRatio

func (o *IncomeStatement) SetIncomeBeforeTaxRatio(v float32)

SetIncomeBeforeTaxRatio gets a reference to the given float32 and assigns it to the IncomeBeforeTaxRatio field.

func (*IncomeStatement) SetIncomeTaxExpense

func (o *IncomeStatement) SetIncomeTaxExpense(v float32)

SetIncomeTaxExpense gets a reference to the given float32 and assigns it to the IncomeTaxExpense field.

func (*IncomeStatement) SetInterestExpense

func (o *IncomeStatement) SetInterestExpense(v float32)

SetInterestExpense gets a reference to the given float32 and assigns it to the InterestExpense field.

func (*IncomeStatement) SetInterestIncome

func (o *IncomeStatement) SetInterestIncome(v float32)

SetInterestIncome gets a reference to the given float32 and assigns it to the InterestIncome field.

func (*IncomeStatement) SetInterestincome

func (o *IncomeStatement) SetInterestincome(v float32)

SetInterestincome gets a reference to the given float32 and assigns it to the Interestincome field.

func (o *IncomeStatement) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*IncomeStatement) SetNetIncome

func (o *IncomeStatement) SetNetIncome(v float32)

SetNetIncome gets a reference to the given float32 and assigns it to the NetIncome field.

func (*IncomeStatement) SetNetIncomeRatio

func (o *IncomeStatement) SetNetIncomeRatio(v float32)

SetNetIncomeRatio gets a reference to the given float32 and assigns it to the NetIncomeRatio field.

func (*IncomeStatement) SetOperatingExpenses

func (o *IncomeStatement) SetOperatingExpenses(v float32)

SetOperatingExpenses gets a reference to the given float32 and assigns it to the OperatingExpenses field.

func (*IncomeStatement) SetOperatingIncome

func (o *IncomeStatement) SetOperatingIncome(v float32)

SetOperatingIncome gets a reference to the given float32 and assigns it to the OperatingIncome field.

func (*IncomeStatement) SetOperatingIncomeRatio

func (o *IncomeStatement) SetOperatingIncomeRatio(v float32)

SetOperatingIncomeRatio gets a reference to the given float32 and assigns it to the OperatingIncomeRatio field.

func (*IncomeStatement) SetOtherExpenses

func (o *IncomeStatement) SetOtherExpenses(v float32)

SetOtherExpenses gets a reference to the given float32 and assigns it to the OtherExpenses field.

func (*IncomeStatement) SetPeriod

func (o *IncomeStatement) SetPeriod(v string)

SetPeriod gets a reference to the given string and assigns it to the Period field.

func (*IncomeStatement) SetReportedCurrency

func (o *IncomeStatement) SetReportedCurrency(v string)

SetReportedCurrency gets a reference to the given string and assigns it to the ReportedCurrency field.

func (*IncomeStatement) SetResearchAndDevelopmentExpenses

func (o *IncomeStatement) SetResearchAndDevelopmentExpenses(v float32)

SetResearchAndDevelopmentExpenses gets a reference to the given float32 and assigns it to the ResearchAndDevelopmentExpenses field.

func (*IncomeStatement) SetRevenue

func (o *IncomeStatement) SetRevenue(v float32)

SetRevenue gets a reference to the given float32 and assigns it to the Revenue field.

func (*IncomeStatement) SetSellingAndMarketingExpenses

func (o *IncomeStatement) SetSellingAndMarketingExpenses(v float32)

SetSellingAndMarketingExpenses gets a reference to the given float32 and assigns it to the SellingAndMarketingExpenses field.

func (*IncomeStatement) SetSellingGeneralAndAdministrativeExpenses

func (o *IncomeStatement) SetSellingGeneralAndAdministrativeExpenses(v float32)

SetSellingGeneralAndAdministrativeExpenses gets a reference to the given float32 and assigns it to the SellingGeneralAndAdministrativeExpenses field.

func (*IncomeStatement) SetSymbol

func (o *IncomeStatement) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (*IncomeStatement) SetTotalOtherIncomeExpensesNet

func (o *IncomeStatement) SetTotalOtherIncomeExpensesNet(v float32)

SetTotalOtherIncomeExpensesNet gets a reference to the given float32 and assigns it to the TotalOtherIncomeExpensesNet field.

func (*IncomeStatement) SetWeightedAverageShsOut

func (o *IncomeStatement) SetWeightedAverageShsOut(v float32)

SetWeightedAverageShsOut gets a reference to the given float32 and assigns it to the WeightedAverageShsOut field.

func (*IncomeStatement) SetWeightedAverageShsOutDil

func (o *IncomeStatement) SetWeightedAverageShsOutDil(v float32)

SetWeightedAverageShsOutDil gets a reference to the given float32 and assigns it to the WeightedAverageShsOutDil field.

type IncomeStatementListResponse

type IncomeStatementListResponse struct {
	Data []IncomeStatement `json:"data,omitempty"`
}

IncomeStatementListResponse struct for IncomeStatementListResponse

func NewIncomeStatementListResponse

func NewIncomeStatementListResponse() *IncomeStatementListResponse

NewIncomeStatementListResponse instantiates a new IncomeStatementListResponse 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

func NewIncomeStatementListResponseWithDefaults

func NewIncomeStatementListResponseWithDefaults() *IncomeStatementListResponse

NewIncomeStatementListResponseWithDefaults instantiates a new IncomeStatementListResponse 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

func (*IncomeStatementListResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*IncomeStatementListResponse) GetDataOk

func (o *IncomeStatementListResponse) GetDataOk() ([]IncomeStatement, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncomeStatementListResponse) HasData

func (o *IncomeStatementListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (IncomeStatementListResponse) MarshalJSON

func (o IncomeStatementListResponse) MarshalJSON() ([]byte, error)

func (*IncomeStatementListResponse) SetData

SetData gets a reference to the given []IncomeStatement and assigns it to the Data field.

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableIncomeStatement

type NullableIncomeStatement struct {
	// contains filtered or unexported fields
}

func NewNullableIncomeStatement

func NewNullableIncomeStatement(val *IncomeStatement) *NullableIncomeStatement

func (NullableIncomeStatement) Get

func (NullableIncomeStatement) IsSet

func (v NullableIncomeStatement) IsSet() bool

func (NullableIncomeStatement) MarshalJSON

func (v NullableIncomeStatement) MarshalJSON() ([]byte, error)

func (*NullableIncomeStatement) Set

func (*NullableIncomeStatement) UnmarshalJSON

func (v *NullableIncomeStatement) UnmarshalJSON(src []byte) error

func (*NullableIncomeStatement) Unset

func (v *NullableIncomeStatement) Unset()

type NullableIncomeStatementListResponse

type NullableIncomeStatementListResponse struct {
	// contains filtered or unexported fields
}

func (NullableIncomeStatementListResponse) Get

func (NullableIncomeStatementListResponse) IsSet

func (NullableIncomeStatementListResponse) MarshalJSON

func (v NullableIncomeStatementListResponse) MarshalJSON() ([]byte, error)

func (*NullableIncomeStatementListResponse) Set

func (*NullableIncomeStatementListResponse) UnmarshalJSON

func (v *NullableIncomeStatementListResponse) UnmarshalJSON(src []byte) error

func (*NullableIncomeStatementListResponse) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL