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

package ops

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

// JumpJumppodConnectParam jump jumppod connect param
//
// swagger:model jump.JumppodConnectParam
type JumpJumppodConnectParam struct {

	// connection token
	ConnectionToken string `json:"connection_token,omitempty"`

	// ctx name
	CtxName string `json:"ctx_name,omitempty"`

	// jumppod name
	JumppodName string `json:"jumppod_name,omitempty"`

	// jumpserver accessurl
	JumpserverAccessurl string `json:"jumpserver_accessurl,omitempty"`

	// jumpserver ssh addr
	JumpserverSSHAddr string `json:"jumpserver_ssh_addr,omitempty"`
}

// Validate validates this jump jumppod connect param
func (m *JumpJumppodConnectParam) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this jump jumppod connect param based on context it is used
func (m *JumpJumppodConnectParam) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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