Пример #1
0
func (m *WeightDto) validateValue(formats strfmt.Registry) error {

	if err := validate.Required("value", "body", m.Value); err != nil {
		return err
	}

	return nil
}
Пример #2
0
func (m *ShipmentDto) validateShipmentID(formats strfmt.Registry) error {

	if err := validate.Required("shipmentId", "body", m.ShipmentID); err != nil {
		return err
	}

	return nil
}
Пример #3
0
func (m *CoordinateDto) validateCountryCode(formats strfmt.Registry) error {

	if err := validate.Required("countryCode", "body", m.CountryCode); err != nil {
		return err
	}

	return nil
}
func (m *PaymentMethodPagedMetadata) validateNextPage(formats strfmt.Registry) error {

	if err := validate.Required("nextPage", "body", m.NextPage); err != nil {
		return err
	}

	return nil
}
func (m *PaymentMethodPagedMetadata) validateResults(formats strfmt.Registry) error {

	if err := validate.Required("results", "body", m.Results); err != nil {
		return err
	}

	return nil
}
Пример #6
0
func (m *ProductRatePlan) validateName(formats strfmt.Registry) error {

	if err := validate.Required("name", "body", m.Name); err != nil {
		return err
	}

	return nil
}
func (m *PaymentMethodPagedMetadata) validateCurrentOffset(formats strfmt.Registry) error {

	if err := validate.Required("currentOffset", "body", m.CurrentOffset); err != nil {
		return err
	}

	return nil
}
Пример #8
0
func (m *Fault) validateExplanationText(formats strfmt.Registry) error {

	if err := validate.Required("explanationText", "body", m.ExplanationText); err != nil {
		return err
	}

	return nil
}
Пример #9
0
func (m *Fault) validateFaultCode(formats strfmt.Registry) error {

	if err := validate.Required("faultCode", "body", m.FaultCode); err != nil {
		return err
	}

	return nil
}
Пример #10
0
func (m *WebhookPagedMetadata) validateRecordsReturned(formats strfmt.Registry) error {

	if err := validate.Required("recordsReturned", "body", m.RecordsReturned); err != nil {
		return err
	}

	return nil
}
Пример #11
0
func (m *Pet) validatePhotoUrls(formats strfmt.Registry) error {

	if err := validate.Required("photoUrls", "body", m.PhotoUrls); err != nil {
		return err
	}

	return nil
}
Пример #12
0
func (m *WebhookPagedMetadata) validateCurrentPage(formats strfmt.Registry) error {

	if err := validate.Required("currentPage", "body", m.CurrentPage); err != nil {
		return err
	}

	return nil
}
func (m *AdditionalServiceDto) validateSourceSystem(formats strfmt.Registry) error {

	if err := validate.Required("sourceSystem", "body", m.SourceSystem); err != nil {
		return err
	}

	return nil
}
func (m *AdditionalServiceDto) validateCode(formats strfmt.Registry) error {

	if err := validate.Required("code", "body", m.Code); err != nil {
		return err
	}

	return nil
}
Пример #15
0
func (m *ProductRatePlan) validateCreateZeroValuedInvoices(formats strfmt.Registry) error {

	if err := validate.Required("createZeroValuedInvoices", "body", bool(m.CreateZeroValuedInvoices)); err != nil {
		return err
	}

	return nil
}
Пример #16
0
func (m *InvoicePayment) validateCurrency(formats strfmt.Registry) error {

	if err := validate.Required("currency", "body", m.Currency); err != nil {
		return err
	}

	return nil
}
Пример #17
0
func (m *ProductRatePlan) validateCurrency(formats strfmt.Registry) error {

	if err := validate.Required("currency", "body", m.Currency); err != nil {
		return err
	}

	return nil
}
Пример #18
0
func (m *InvoicePayment) validateInvoiceID(formats strfmt.Registry) error {

	if err := validate.Required("invoiceID", "body", m.InvoiceID); err != nil {
		return err
	}

	return nil
}
Пример #19
0
func (m *ProductRatePlan) validateProductID(formats strfmt.Registry) error {

	if err := validate.Required("productID", "body", m.ProductID); err != nil {
		return err
	}

	return nil
}
Пример #20
0
func (m *InvoicePayment) validateOrganizationID(formats strfmt.Registry) error {

	if err := validate.Required("organizationID", "body", m.OrganizationID); err != nil {
		return err
	}

	return nil
}
func (m *PaymentMethodPagedMetadata) validateExecutionTime(formats strfmt.Registry) error {

	if err := validate.Required("executionTime", "body", m.ExecutionTime); err != nil {
		return err
	}

	return nil
}
Пример #22
0
func (m *InvoicePayment) validatePaymentReceived(formats strfmt.Registry) error {

	if err := validate.Required("paymentReceived", "body", m.PaymentReceived); err != nil {
		return err
	}

	return nil
}
func (m *PaymentMethodPagedMetadata) validateRecordsRequested(formats strfmt.Registry) error {

	if err := validate.Required("recordsRequested", "body", m.RecordsRequested); err != nil {
		return err
	}

	return nil
}
Пример #24
0
func (m *InvoicePayment) validateRefundedAmount(formats strfmt.Registry) error {

	if err := validate.Required("refundedAmount", "body", m.RefundedAmount); err != nil {
		return err
	}

	return nil
}
Пример #25
0
func (m *PricingComponentTier) validatePricingComponentVersionID(formats strfmt.Registry) error {

	if err := validate.Required("pricingComponentVersionID", "body", m.PricingComponentVersionID); err != nil {
		return err
	}

	return nil
}
Пример #26
0
func (m *LocationDto) validateName(formats strfmt.Registry) error {

	if err := validate.Required("name", "body", m.Name); err != nil {
		return err
	}

	return nil
}
Пример #27
0
func (m *CoordinateDto) validateSrID(formats strfmt.Registry) error {

	if err := validate.Required("srId", "body", m.SrID); err != nil {
		return err
	}

	return nil
}
Пример #28
0
func (m *LocationDto) validateCountry(formats strfmt.Registry) error {

	if err := validate.Required("country", "body", m.Country); err != nil {
		return err
	}

	return nil
}
Пример #29
0
func (m *CoordinateDto) validateNorthing(formats strfmt.Registry) error {

	if err := validate.Required("northing", "body", m.Northing); err != nil {
		return err
	}

	return nil
}
Пример #30
0
func (m *AccountDto) validateAccountNumber(formats strfmt.Registry) error {

	if err := validate.Required("accountNumber", "body", m.AccountNumber); err != nil {
		return err
	}

	return nil
}