07sainishanth_SER515-Spring22-Team2/RoverSim/Assets/RosMessages/UnityRoboticsDemo/srv/ObjectPoseServiceRequest.cs
//Do not edit! This file was generated by Unity-ROS MessageGeneration.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Unity.Robotics.ROSTCPConnector.MessageGeneration;

namespace RosMessageTypes.UnityRoboticsDemo
{
    [Serializable]
    public class ObjectPoseServiceRequest : Message
    {
        public const string k_RosMessageName = "unity_robotics_demo_msgs/ObjectPoseService";
        public override string RosMessageName => k_RosMessageName;

        public string object_name;

        public ObjectPoseServiceRequest()
        {
            this.object_name = "";
        }

        public ObjectPoseServiceRequest(string object_name)
        {
            this.object_name = object_name;
        }

        public static ObjectPoseServiceRequest Deserialize(MessageDeserializer deserializer) => new ObjectPoseServiceRequest(deserializer);

        private ObjectPoseServiceRequest(MessageDeserializer deserializer)
        {
            deserializer.Read(out this.object_name);
        }

        public override void SerializeTo(MessageSerializer serializer)
        {
            serializer.Write(this.object_name);
        }

        public override string ToString()
        {
            return "ObjectPoseServiceRequest: " +
            "\nobject_name: " + object_name.ToString();
        }

#if UNITY_EDITOR
        [UnityEditor.InitializeOnLoadMethod]
#else
        [UnityEngine.RuntimeInitializeOnLoadMethod]
#endif
        public static void Register()
        {
            MessageRegistry.Register(k_RosMessageName, Deserialize);
        }
    }
}
