lib/api/sfgate/sfgate_models/financial_statement.go

100 lines
2.3 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package sfgate_models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// FinancialStatement A financial statement for a company
//
// swagger:model FinancialStatement
type FinancialStatement struct {
// EDGAR Access Number
AccessNumber *string `json:"AccessNumber,omitempty"`
// Account ID
AccountID *string `json:"AccountID,omitempty"`
// Cloud Revenue
CloudRevenue *float64 `json:"CloudRevenue,omitempty"`
// Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description *string `json:"Description,omitempty"`
// EDGAR URL
EdgarURL *string `json:"EdgarURL,omitempty"`
// Filing Type
FilingType *string `json:"FilingType,omitempty"`
// Gross Profit
GrossProfit *float64 `json:"GrossProfit,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Net Income
NetIncome *float64 `json:"NetIncome,omitempty"`
// Period End Date
PeriodEndDate *string `json:"PeriodEndDate,omitempty"`
// Total Revenue
TotalRevenue *float64 `json:"TotalRevenue,omitempty"`
// Year
Year *string `json:"Year,omitempty"`
}
// Validate validates this financial statement
func (m *FinancialStatement) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this financial statement based on context it is used
func (m *FinancialStatement) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *FinancialStatement) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *FinancialStatement) UnmarshalBinary(b []byte) error {
var res FinancialStatement
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}