// Code generated by go-swagger; DO NOT EDIT.

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// CentralGenerateTestTokenReq central generate test token req
//
// swagger:model centralGenerateTestTokenReq
type CentralGenerateTestTokenReq struct {

	// auth0 client id
	Auth0ClientID string `json:"auth0_client_id,omitempty"`

	// auth0 client secret
	Auth0ClientSecret string `json:"auth0_client_secret,omitempty"`

	// auth0 domain
	Auth0Domain string `json:"auth0_domain,omitempty"`

	// email
	Email string `json:"email,omitempty"`
}

// Validate validates this central generate test token req
func (m *CentralGenerateTestTokenReq) Validate(formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *CentralGenerateTestTokenReq) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *CentralGenerateTestTokenReq) UnmarshalBinary(b []byte) error {
	var res CentralGenerateTestTokenReq
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
