lib/api/research/research_models/financial_statement.go

100 lines
2.3 KiB
Go
Raw Normal View History

// 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 research_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
2023-04-15 14:27:18 +00:00
AccessNumber *string `json:"AccessNumber,omitempty"`
// Account ID
2023-04-15 14:27:18 +00:00
AccountID *string `json:"AccountID,omitempty"`
// Cloud Revenue
2023-04-15 14:27:18 +00:00
CloudRevenue *float64 `json:"CloudRevenue,omitempty"`
// Created By User ID
2023-04-15 14:27:18 +00:00
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
2023-04-15 14:27:18 +00:00
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
2023-04-15 14:27:18 +00:00
Description *string `json:"Description,omitempty"`
// EDGAR URL
2023-04-15 14:27:18 +00:00
EdgarURL *string `json:"EdgarURL,omitempty"`
// Filing Type
2023-04-15 14:27:18 +00:00
FilingType *string `json:"FilingType,omitempty"`
// Gross Profit
2023-04-15 14:27:18 +00:00
GrossProfit *float64 `json:"GrossProfit,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
2023-04-15 14:27:18 +00:00
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
2023-04-15 14:27:18 +00:00
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Net Income
2023-04-15 14:27:18 +00:00
NetIncome *float64 `json:"NetIncome,omitempty"`
// Period End Date
2023-04-15 14:27:18 +00:00
PeriodEndDate *string `json:"PeriodEndDate,omitempty"`
// Total Revenue
2023-04-15 14:27:18 +00:00
TotalRevenue *float64 `json:"TotalRevenue,omitempty"`
// Year
2023-04-15 14:27:18 +00:00
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
}