modelgen

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAddressInput

type CreateAddressInput struct {
	Name       string  `json:"name"`
	Street1    string  `json:"street1"`
	Street2    *string `json:"street2"`
	City       string  `json:"city"`
	State      *string `json:"state"`
	PostalCode int     `json:"postalCode"`
	Country    string  `json:"country"`
}

type CreateClientInput

type CreateClientInput struct {
	Name            string              `json:"name"`
	Website         *string             `json:"website"`
	VatNumber       *string             `json:"vatNumber"`
	BusinessNumber  *string             `json:"businessNumber"`
	Phone           *string             `json:"phone"`
	BillingAddress  *CreateAddressInput `json:"billingAddress"`
	ShippingAddress *CreateAddressInput `json:"shippingAddress"`
}

type CreateCompanyInput

type CreateCompanyInput struct {
	Name            string              `json:"name"`
	Code            string              `json:"code"`
	Domains         []string            `json:"domains"`
	Website         string              `json:"website"`
	BillingAddress  *CreateAddressInput `json:"billingAddress"`
	ShippingAddress *CreateAddressInput `json:"shippingAddress"`
}

type UpdateAddressInput

type UpdateAddressInput struct {
	Name       *string `json:"name"`
	Street1    *string `json:"street1"`
	Street2    *string `json:"street2"`
	City       *string `json:"city"`
	State      *string `json:"state"`
	PostalCode *int    `json:"postalCode"`
	Country    *string `json:"country"`
}

type UpdateClientInput

type UpdateClientInput struct {
	Name            *string             `json:"name"`
	Website         *string             `json:"website"`
	VatNumber       *string             `json:"vatNumber"`
	BusinessNumber  *string             `json:"businessNumber"`
	Phone           *string             `json:"phone"`
	BillingAddress  *CreateAddressInput `json:"billingAddress"`
	ShippingAddress *CreateAddressInput `json:"shippingAddress"`
}

Jump to

Keyboard shortcuts

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