// 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"
)

// VaultRadar20230501Resource deprecated: Use ResourceV2 instead.
//
// swagger:model vault_radar_20230501Resource
type VaultRadar20230501Resource struct {

	// connection url
	ConnectionURL string `json:"connection_url,omitempty"`

	// data source info
	DataSourceInfo string `json:"data_source_info,omitempty"`

	// data source name
	DataSourceName string `json:"data_source_name,omitempty"`

	// data source type
	DataSourceType string `json:"data_source_type,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// detector type
	DetectorType string `json:"detector_type,omitempty"`

	// hcp resource id
	HcpResourceID string `json:"hcp_resource_id,omitempty"`

	// hcp resource name
	HcpResourceName string `json:"hcp_resource_name,omitempty"`

	// hcp resource status
	HcpResourceStatus string `json:"hcp_resource_status,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// uri
	URI string `json:"uri,omitempty"`

	// visibility
	Visibility string `json:"visibility,omitempty"`
}

// Validate validates this vault radar 20230501 resource
func (m *VaultRadar20230501Resource) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this vault radar 20230501 resource based on context it is used
func (m *VaultRadar20230501Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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