// 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 (
	"context"

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

// CreateDashboardSnapshotOKBody create dashboard snapshot Ok body
//
// swagger:model createDashboardSnapshotOkBody
type CreateDashboardSnapshotOKBody struct {

	// Unique key used to delete the snapshot. It is different from the key so that only the creator can delete the snapshot.
	DeleteKey string `json:"deleteKey,omitempty"`

	// delete Url
	DeleteURL string `json:"deleteUrl,omitempty"`

	// Snapshot id
	ID int64 `json:"id,omitempty"`

	// Unique key
	Key string `json:"key,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

// Validate validates this create dashboard snapshot Ok body
func (m *CreateDashboardSnapshotOKBody) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this create dashboard snapshot Ok body based on context it is used
func (m *CreateDashboardSnapshotOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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